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_buffer swig_types[0] 
2467 #define SWIGTYPE_p_char swig_types[1] 
2468 #define SWIGTYPE_p_double swig_types[2] 
2469 #define SWIGTYPE_p_form_ops_t swig_types[3] 
2470 #define SWIGTYPE_p_int swig_types[4] 
2471 #define SWIGTYPE_p_unsigned_char swig_types[5] 
2472 #define SWIGTYPE_p_unsigned_int swig_types[6] 
2473 #define SWIGTYPE_p_unsigned_long swig_types[7] 
2474 #define SWIGTYPE_p_void swig_types[8] 
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9] 
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10] 
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11] 
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12] 
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13] 
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14] 
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15] 
2482 #define SWIGTYPE_p_wxBitmap swig_types[16] 
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17] 
2484 #define SWIGTYPE_p_wxBrush swig_types[18] 
2485 #define SWIGTYPE_p_wxBrushList swig_types[19] 
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20] 
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21] 
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22] 
2489 #define SWIGTYPE_p_wxChar swig_types[23] 
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24] 
2491 #define SWIGTYPE_p_wxClientDC swig_types[25] 
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26] 
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27] 
2494 #define SWIGTYPE_p_wxColor swig_types[28] 
2495 #define SWIGTYPE_p_wxColour swig_types[29] 
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30] 
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31] 
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32] 
2499 #define SWIGTYPE_p_wxControl swig_types[33] 
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34] 
2501 #define SWIGTYPE_p_wxCursor swig_types[35] 
2502 #define SWIGTYPE_p_wxDC swig_types[36] 
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37] 
2504 #define SWIGTYPE_p_wxDash swig_types[38] 
2505 #define SWIGTYPE_p_wxDateEvent swig_types[39] 
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[40] 
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[41] 
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[42] 
2509 #define SWIGTYPE_p_wxEffects swig_types[43] 
2510 #define SWIGTYPE_p_wxEncodingConverter swig_types[44] 
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[45] 
2512 #define SWIGTYPE_p_wxEvent swig_types[46] 
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[47] 
2514 #define SWIGTYPE_p_wxFSFile swig_types[48] 
2515 #define SWIGTYPE_p_wxFileSystem swig_types[49] 
2516 #define SWIGTYPE_p_wxFlexGridSizer swig_types[50] 
2517 #define SWIGTYPE_p_wxFocusEvent swig_types[51] 
2518 #define SWIGTYPE_p_wxFont swig_types[52] 
2519 #define SWIGTYPE_p_wxFontList swig_types[53] 
2520 #define SWIGTYPE_p_wxFontMapper swig_types[54] 
2521 #define SWIGTYPE_p_wxGBSizerItem swig_types[55] 
2522 #define SWIGTYPE_p_wxGCDC swig_types[56] 
2523 #define SWIGTYPE_p_wxGDIObjListBase swig_types[57] 
2524 #define SWIGTYPE_p_wxGDIObject swig_types[58] 
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[59] 
2526 #define SWIGTYPE_p_wxGraphicsContext swig_types[60] 
2527 #define SWIGTYPE_p_wxGraphicsPath swig_types[61] 
2528 #define SWIGTYPE_p_wxGridBagSizer swig_types[62] 
2529 #define SWIGTYPE_p_wxGridSizer swig_types[63] 
2530 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[64] 
2531 #define SWIGTYPE_p_wxICOHandler swig_types[65] 
2532 #define SWIGTYPE_p_wxIcon swig_types[66] 
2533 #define SWIGTYPE_p_wxIconBundle swig_types[67] 
2534 #define SWIGTYPE_p_wxIconLocation swig_types[68] 
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69] 
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70] 
2537 #define SWIGTYPE_p_wxImage swig_types[71] 
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72] 
2539 #define SWIGTYPE_p_wxImageList swig_types[73] 
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74] 
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75] 
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76] 
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77] 
2544 #define SWIGTYPE_p_wxLanguageInfo swig_types[78] 
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79] 
2546 #define SWIGTYPE_p_wxLocale swig_types[80] 
2547 #define SWIGTYPE_p_wxMask swig_types[81] 
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[82] 
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[83] 
2550 #define SWIGTYPE_p_wxMenu swig_types[84] 
2551 #define SWIGTYPE_p_wxMenuBar swig_types[85] 
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[86] 
2553 #define SWIGTYPE_p_wxMenuItem swig_types[87] 
2554 #define SWIGTYPE_p_wxMetaFile swig_types[88] 
2555 #define SWIGTYPE_p_wxMetaFileDC swig_types[89] 
2556 #define SWIGTYPE_p_wxMirrorDC swig_types[90] 
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[91] 
2558 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[92] 
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[93] 
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[94] 
2561 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[95] 
2562 #define SWIGTYPE_p_wxNativeFontInfo swig_types[96] 
2563 #define SWIGTYPE_p_wxNativePixelData swig_types[97] 
2564 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[98] 
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99] 
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[100] 
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[101] 
2568 #define SWIGTYPE_p_wxObject swig_types[102] 
2569 #define SWIGTYPE_p_wxOverlay swig_types[103] 
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[104] 
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[105] 
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[106] 
2573 #define SWIGTYPE_p_wxPaintDC swig_types[107] 
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108] 
2575 #define SWIGTYPE_p_wxPalette swig_types[109] 
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110] 
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111] 
2578 #define SWIGTYPE_p_wxPen swig_types[112] 
2579 #define SWIGTYPE_p_wxPenList swig_types[113] 
2580 #define SWIGTYPE_p_wxPixelDataBase swig_types[114] 
2581 #define SWIGTYPE_p_wxPoint swig_types[115] 
2582 #define SWIGTYPE_p_wxPoint2D swig_types[116] 
2583 #define SWIGTYPE_p_wxPostScriptDC swig_types[117] 
2584 #define SWIGTYPE_p_wxPrintData swig_types[118] 
2585 #define SWIGTYPE_p_wxPrinterDC swig_types[119] 
2586 #define SWIGTYPE_p_wxPseudoDC swig_types[120] 
2587 #define SWIGTYPE_p_wxPyApp swig_types[121] 
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122] 
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123] 
2590 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[124] 
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125] 
2592 #define SWIGTYPE_p_wxPyLocale swig_types[126] 
2593 #define SWIGTYPE_p_wxPySizer swig_types[127] 
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128] 
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129] 
2596 #define SWIGTYPE_p_wxRect swig_types[130] 
2597 #define SWIGTYPE_p_wxRegion swig_types[131] 
2598 #define SWIGTYPE_p_wxRegionIterator swig_types[132] 
2599 #define SWIGTYPE_p_wxRendererNative swig_types[133] 
2600 #define SWIGTYPE_p_wxRendererVersion swig_types[134] 
2601 #define SWIGTYPE_p_wxScreenDC swig_types[135] 
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136] 
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137] 
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138] 
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139] 
2606 #define SWIGTYPE_p_wxSize swig_types[140] 
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141] 
2608 #define SWIGTYPE_p_wxSizer swig_types[142] 
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143] 
2610 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[144] 
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145] 
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146] 
2613 #define SWIGTYPE_p_wxStockGDI swig_types[147] 
2614 #define SWIGTYPE_p_wxString swig_types[148] 
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149] 
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150] 
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151] 
2618 #define SWIGTYPE_p_wxValidator swig_types[152] 
2619 #define SWIGTYPE_p_wxWindow swig_types[153] 
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[154] 
2621 #define SWIGTYPE_p_wxWindowDC swig_types[155] 
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156] 
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[157] 
2624 static swig_type_info 
*swig_types
[159]; 
2625 static swig_module_info swig_module 
= {swig_types
, 158, 0, 0, 0, 0}; 
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2629 /* -------- TYPES TABLE (END) -------- */ 
2631 #if (PY_VERSION_HEX <= 0x02000000) 
2632 # if !defined(SWIG_PYTHON_CLASSIC) 
2633 #  error "This python version requires to use swig with the '-classic' option" 
2636 #if (PY_VERSION_HEX <= 0x02020000) 
2637 # error "This python version requires to use swig with the '-nomodern' option" 
2639 #if (PY_VERSION_HEX <= 0x02020000) 
2640 # error "This python version requires to use swig with the '-nomodernargs' option" 
2643 # error "This python version requires to use swig with the '-nofastunpack' option" 
2646 /*----------------------------------------------- 
2647               @(target):= _gdi_.so 
2648   ------------------------------------------------*/ 
2649 #define SWIG_init    init_gdi_ 
2651 #define SWIG_name    "_gdi_" 
2653 #define SWIGVERSION 0x010329  
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2660 #include <stdexcept> 
2664   class PyObject_ptr 
{ 
2669     PyObject_ptr() :_obj(0) 
2673     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2678     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2680       if (initial_ref
) Py_XINCREF(_obj
); 
2683     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2685       Py_XINCREF(item
._obj
); 
2696     operator PyObject 
*() const 
2701     PyObject 
*operator->() const 
2710   struct PyObject_var 
: PyObject_ptr 
{ 
2711     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2713     PyObject_var 
& operator = (PyObject
* obj
) 
2723 #include "wx/wxPython/wxPython.h" 
2724 #include "wx/wxPython/pyclasses.h" 
2727  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2729   #define SWIG_From_long   PyInt_FromLong  
2732 SWIGINTERNINLINE PyObject 
* 
2733 SWIG_From_int  (int value
) 
2735   return SWIG_From_long  (value
); 
2741 # define LLONG_MIN      LONG_LONG_MIN 
2744 # define LLONG_MAX      LONG_LONG_MAX 
2747 # define ULLONG_MAX     ULONG_LONG_MAX 
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2754     if (PyNumber_Check(obj
)) { 
2755         if (val
) *val 
= PyInt_AsLong(obj
); 
2758     return SWIG_TypeError
; 
2763 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2766     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2767         return SWIG_TypeError
; 
2770         *val 
= (unsigned long)v
; 
2776 SWIG_AsVal_unsigned_SS_char (PyObject 
* obj
, unsigned char *val
) 
2779   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, &v
); 
2780   if (SWIG_IsOK(res
)) { 
2781     if ((v 
> UCHAR_MAX
)) { 
2782       return SWIG_OverflowError
; 
2784       if (val
) *val 
= static_cast< unsigned char >(v
); 
2791 SWIGINTERNINLINE PyObject
*  
2792 SWIG_From_unsigned_SS_long  (unsigned long value
) 
2794   return (value 
> LONG_MAX
) ? 
2795     PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));  
2799 SWIGINTERNINLINE PyObject 
* 
2800 SWIG_From_unsigned_SS_char  (unsigned char value
) 
2802   return SWIG_From_unsigned_SS_long  (value
); 
2805 SWIGINTERN 
bool wxColour___eq__(wxColour 
*self
,PyObject 
*other
){ 
2806             wxColour  temp
, *obj 
= &temp
; 
2807             if ( other 
== Py_None 
) return false; 
2808             if ( ! wxColour_helper(other
, &obj
) ) { 
2812             return self
->operator==(*obj
); 
2814 SWIGINTERN 
bool wxColour___ne__(wxColour 
*self
,PyObject 
*other
){ 
2815             wxColour  temp
, *obj 
= &temp
; 
2816             if ( other 
== Py_None 
) return true; 
2817             if ( ! wxColour_helper(other
, &obj
)) { 
2821             return self
->operator!=(*obj
); 
2825 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2827   if (obj 
== Py_True
) { 
2828     if (val
) *val 
= true; 
2830   } else if (obj 
== Py_False
) { 
2831     if (val
) *val 
= false; 
2835     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2836     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2841 SWIGINTERN PyObject 
*wxColour_Get(wxColour 
*self
,bool includeAlpha
=false){ 
2842             PyObject
* rv 
= PyTuple_New(includeAlpha 
? 4 : 3); 
2846             int alpha 
= wxALPHA_OPAQUE
; 
2849                 green 
= self
->Green(); 
2850                 blue 
=  self
->Blue(); 
2851                 alpha 
= self
->Alpha(); 
2853             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
2854             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
2855             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
2857                 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));                 
2860 SWIGINTERN 
unsigned long wxColour_GetRGB(wxColour 
*self
){ 
2861             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
2865 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2868   int res 
= SWIG_AsVal_long (obj
, &v
); 
2869   if (SWIG_IsOK(res
)) { 
2870     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2871       return SWIG_OverflowError
; 
2873       if (val
) *val 
= static_cast< int >(v
); 
2879 SWIGINTERN PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
2881             int count 
= self
->GetDashes(&dashes
); 
2882             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2883             PyObject
* retval 
= PyList_New(0); 
2884             for (int x
=0; x
<count
; x
++) { 
2885                 PyObject
* pyint 
= PyInt_FromLong(dashes
[x
]); 
2886                 PyList_Append(retval
, pyint
); 
2889             wxPyEndBlockThreads(blocked
); 
2892 SWIGINTERN 
void wxPen__SetDashes(wxPen 
*self
,PyObject 
*_self
,PyObject 
*pyDashes
){ 
2893             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2894             int size 
= PyList_Size(pyDashes
); 
2895             wxDash
* dashes 
= (wxDash
*)byte_LIST_helper(pyDashes
); 
2897             // black magic warning!  The array of wxDashes needs to exist as 
2898             // long as the pen does because wxPen does not copy the array.  So 
2899             // stick a copy in a Python string object and attach it to _self, 
2900             // and then call SetDashes with a pointer to that array.  Then 
2901             // when the Python pen object is destroyed the array will be 
2903             PyObject
* strDashes 
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
)); 
2904             PyObject_SetAttrString(_self
, "_dashes", strDashes
); 
2906             self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
)); 
2908             Py_DECREF(strDashes
); 
2909             wxPyEndBlockThreads(blocked
); 
2911 SWIGINTERN 
bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : false; } 
2912 SWIGINTERN 
bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
2914 #include <wx/rawbmp.h> 
2917 #include <wx/image.h> 
2919     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
2920         char**    cArray 
= NULL
; 
2923         if (!PyList_Check(listOfStrings
)) { 
2924             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
2927         count 
= PyList_Size(listOfStrings
); 
2928         cArray 
= new char*[count
]; 
2930         for(int x
=0; x
<count
; x
++) { 
2931             // TODO: Need some validation and error checking here 
2932             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
2938 SWIGINTERN wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
2939                 char**    cArray 
= NULL
; 
2942                 cArray 
= ConvertListOfStrings(listOfStrings
); 
2945                 bmp 
= new wxBitmap(cArray
); 
2949 SWIGINTERN wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
=1){ 
2952                 PyString_AsStringAndSize(bits
, &buf
, &length
); 
2953                 return new wxBitmap(buf
, width
, height
, depth
); 
2955 SWIGINTERN wxSize 
wxBitmap_GetSize(wxBitmap 
*self
){ 
2956             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
2959 SWIGINTERN 
void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
2960             wxMask 
*mask 
= new wxMask(*self
, colour
); 
2961             self
->SetMask(mask
); 
2963 SWIGINTERN 
void wxBitmap_SetSize(wxBitmap 
*self
,wxSize 
const &size
){ 
2964             self
->SetWidth(size
.x
); 
2965             self
->SetHeight(size
.y
); 
2967 SWIGINTERN 
bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : false; } 
2968 SWIGINTERN 
bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
2970 // See http://tinyurl.com/e5adr for what premultiplying alpha means.  It 
2971 // appears to me that the other platforms are already doing it, so I'll just 
2972 // automatically do it for wxMSW here. 
2974 #define wxPy_premultiply(p, a)   ((p) * (a) / 0xff) 
2975 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))     
2977 #define wxPy_premultiply(p, a)   (p) 
2978 #define wxPy_unpremultiply(p, a) (p)     
2982     wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
, 
2983                                     buffer data
, int DATASIZE
, 
2984                                     buffer alpha
, int ALPHASIZE
) 
2986         if (DATASIZE 
!= width
*height
*3) { 
2987             wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size."); 
2991         if (ALPHASIZE 
!= width
*height
) { 
2992             wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size."); 
2996         wxBitmap
* bmp 
= new wxBitmap(width
, height
, 32); 
2997         wxAlphaPixelData 
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
)); 
2999             // raise an exception... 
3000             wxPyErr_SetString(PyExc_RuntimeError
, 
3001                               "Failed to gain raw access to bitmap data."); 
3006         wxAlphaPixelData::Iterator 
p(pixData
); 
3007         for (int y
=0; y
<height
; y
++) { 
3008             wxAlphaPixelData::Iterator rowStart 
= p
; 
3009             for (int x
=0; x
<width
; x
++) { 
3010                 byte a 
= *(alpha
++); 
3011                 p
.Red()   = wxPy_premultiply(*(data
++), a
); 
3012                 p
.Green() = wxPy_premultiply(*(data
++), a
); 
3013                 p
.Blue()  = wxPy_premultiply(*(data
++), a
); 
3018             p
.OffsetY(pixData
, 1); 
3023     wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
) 
3025         if (DATASIZE 
!= width
*height
*3) { 
3026             wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size."); 
3030         wxBitmap
* bmp 
= new wxBitmap(width
, height
, 24); 
3031         wxNativePixelData 
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
)); 
3033             // raise an exception... 
3034             wxPyErr_SetString(PyExc_RuntimeError
, 
3035                               "Failed to gain raw access to bitmap data."); 
3039         wxNativePixelData::Iterator 
p(pixData
); 
3040         for (int y
=0; y
<height
; y
++) { 
3041             wxNativePixelData::Iterator rowStart 
= p
; 
3042             for (int x
=0; x
<width
; x
++) { 
3043                 p
.Red()   = *(data
++); 
3044                 p
.Green() = *(data
++); 
3045                 p
.Blue()  = *(data
++); 
3049             p
.OffsetY(pixData
, 1); 
3055     wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
) 
3057         if (DATASIZE 
!= width
*height
*4) { 
3058             wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size."); 
3062         wxBitmap
* bmp 
= new wxBitmap(width
, height
, 32); 
3063         wxAlphaPixelData 
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
)); 
3065             // raise an exception... 
3066             wxPyErr_SetString(PyExc_RuntimeError
, 
3067                               "Failed to gain raw access to bitmap data."); 
3072         wxAlphaPixelData::Iterator 
p(pixData
); 
3073         for (int y
=0; y
<height
; y
++) { 
3074             wxAlphaPixelData::Iterator rowStart 
= p
; 
3075             for (int x
=0; x
<width
; x
++) { 
3077                 p
.Red()   = wxPy_premultiply(*(data
++), a
); 
3078                 p
.Green() = wxPy_premultiply(*(data
++), a
); 
3079                 p
.Blue()  = wxPy_premultiply(*(data
++), a
); 
3080                 p
.Alpha() = a
; data
++; 
3084             p
.OffsetY(pixData
, 1); 
3090     typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
; 
3092 SWIGINTERN 
bool wxNativePixelData___nonzero__(wxNativePixelData 
*self
){ return self
->operator bool(); } 
3093 SWIGINTERN 
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor 
*self
){ ++(*self
); } 
3094 SWIGINTERN 
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor 
*self
,byte red
,byte green
,byte blue
){ 
3096         self
->Green() = green
; 
3097         self
->Blue()  = blue
; 
3099 SWIGINTERN PyObject 
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor 
*self
){ 
3100         PyObject
* rv 
= PyTuple_New(3); 
3101         PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red())); 
3102         PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green())); 
3103         PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue())); 
3107     typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
; 
3109 SWIGINTERN 
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData 
*self
){ return self
->operator bool(); } 
3110 SWIGINTERN 
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor 
*self
){ ++(*self
); } 
3111 SWIGINTERN 
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor 
*self
,byte red
,byte green
,byte blue
,byte alpha
){ 
3112         self
->Red()   = wxPy_premultiply(red
,   alpha
); 
3113         self
->Green() = wxPy_premultiply(green
, alpha
); 
3114         self
->Blue()  = wxPy_premultiply(blue
,  alpha
); 
3115         self
->Alpha() = alpha
; 
3117 SWIGINTERN PyObject 
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor 
*self
){ 
3118         PyObject
* rv 
= PyTuple_New(4); 
3119         int red   
= self
->Red(); 
3120         int green 
= self
->Green(); 
3121         int blue  
= self
->Blue(); 
3122         int alpha 
= self
->Alpha(); 
3124         PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
,   alpha
) )); 
3125         PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) )); 
3126         PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
,  alpha
) )); 
3127         PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha 
)); 
3130 SWIGINTERN wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
=wxNullColour
){ 
3131             if ( !colour
.IsOk() ) 
3132                 return new wxMask(bitmap
, *wxBLACK
); 
3134                 return new wxMask(bitmap
, colour
); 
3137 #include <wx/iconbndl.h> 
3139 SWIGINTERN wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
3140             wxIcon
* icon 
= new wxIcon(); 
3141             icon
->CopyFromBitmap(bmp
); 
3144 SWIGINTERN wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
3145             char**  cArray 
= NULL
; 
3148             cArray 
= ConvertListOfStrings(listOfStrings
); 
3151             icon 
= new wxIcon(cArray
); 
3155 SWIGINTERN wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
=&wxPyEmptyString
,int num
=0){ 
3159             return new wxIconLocation(*filename
); 
3162 SWIGINTERN 
void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
3169 SWIGINTERN 
int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
3176 SWIGINTERN wxCursor 
*new_wxCursor(wxString 
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){ 
3178             wxImage 
img(cursorName
, type
); 
3179             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
); 
3180             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
); 
3181             return new wxCursor(img
); 
3183             return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
); 
3188 SWIGINTERN 
void wxRegionIterator_Next(wxRegionIterator 
*self
){ 
3191 SWIGINTERN 
bool wxRegionIterator___nonzero__(wxRegionIterator 
*self
){ 
3192             return self
->operator bool(); 
3195 #include <wx/fontutil.h> 
3196 #include <wx/fontmap.h> 
3197 #include <wx/fontenum.h> 
3199 SWIGINTERN wxString 
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
){ 
3200             return self
->ToString(); 
3203     wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) { 
3204         static wxNativeEncodingInfo info
; 
3205         if ( wxGetNativeFontEncoding(encoding
, &info
) ) 
3212 SWIGINTERNINLINE PyObject 
* 
3213 SWIG_From_size_t  (size_t value
) 
3215   return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value
)); 
3219 SWIGINTERNINLINE 
int 
3220 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
3223   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
3224   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
3228 SWIGINTERN PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
=wxPyEmptyString
,bool interactive
=true){ 
3229             wxFontEncoding alt_enc
; 
3230             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
3231                 return PyInt_FromLong(alt_enc
); 
3237 SWIGINTERN wxFont 
*new_wxFont(wxString 
const &info
){ 
3238                 wxNativeFontInfo nfi
; 
3239                 nfi
.FromString(info
); 
3240                 return new wxFont(nfi
); 
3242 SWIGINTERN wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
3243                 return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
3245 SWIGINTERN wxFont 
*new_wxFont(wxSize 
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
3246                 return wxFontBase::New(pixelSize
, family
, 
3247                                        style
, weight
, underlined
, 
3250 SWIGINTERN wxFont 
*new_wxFont(wxSize 
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
3251                 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
); 
3253 SWIGINTERN 
bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : false; } 
3254 SWIGINTERN 
bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
3256 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
3258     wxPyFontEnumerator() {} 
3259     ~wxPyFontEnumerator() {} 
3261     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
3262     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
3267 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
3268 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
3271 SWIGINTERN PyObject 
*wxPyFontEnumerator_GetEncodings(){ 
3273             wxArrayString arr 
= wxFontEnumerator::GetEncodings(); 
3274             wxPyBlock_t blocked 
= wxPyBeginBlockThreads();             
3275             ret 
= wxArrayString2PyList_helper(arr
); 
3276             wxPyEndBlockThreads(blocked
); 
3279 SWIGINTERN PyObject 
*wxPyFontEnumerator_GetFacenames(){ 
3281             wxArrayString arr 
= wxFontEnumerator::GetFacenames(); 
3282             wxPyBlock_t blocked 
= wxPyBeginBlockThreads();             
3283             ret 
= wxArrayString2PyList_helper(arr
); 
3284             wxPyEndBlockThreads(blocked
); 
3290 SWIGINTERN wxLocale 
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
3293                 loc 
= new wxLocale(); 
3295                 loc 
= new wxLocale(language
, flags
); 
3296             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3297             // for the floating point conversions and such to work right. 
3298 #if PY_VERSION_HEX < 0x02040000 
3299             setlocale(LC_NUMERIC
, "C"); 
3303 SWIGINTERN 
bool wxLocale_Init1(wxLocale 
*self
,wxString 
const &szName
,wxString 
const &szShort
=wxPyEmptyString
,wxString 
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){ 
3304             bool rc 
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
); 
3305             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3306             // for the floating point conversions and such to work right. 
3307 #if PY_VERSION_HEX < 0x02040000 
3308             setlocale(LC_NUMERIC
, "C"); 
3312 SWIGINTERN 
bool wxLocale_Init2(wxLocale 
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
3313             bool rc 
= self
->Init(language
, flags
); 
3314             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3315             // for the floating point conversions and such to work right. 
3316 #if PY_VERSION_HEX < 0x02040000 
3317             setlocale(LC_NUMERIC
, "C"); 
3322 class wxPyLocale 
: public wxLocale
 
3327     wxPyLocale(const wxChar 
*szName
,                             // name (for messages) 
3328              const wxChar 
*szShort 
= (const wxChar 
*) NULL
,      // dir prefix (for msg files) 
3329              const wxChar 
*szLocale 
= (const wxChar 
*) NULL
,     // locale (for setlocale) 
3330              bool bLoadDefault 
= true,                           // preload wxstd.mo? 
3331              bool bConvertEncoding 
= false);                     // convert Win<->Unix if necessary? 
3333     wxPyLocale(int language
, // wxLanguage id or custom language 
3334              int flags 
= wxLOCALE_LOAD_DEFAULT 
| wxLOCALE_CONV_ENCODING
); 
3338     virtual const wxChar 
*GetString(const wxChar 
*szOrigString
, 
3339                                     const wxChar 
*szDomain 
= NULL
) const; 
3340     virtual const wxChar 
*GetString(const wxChar 
*szOrigString
, 
3341                                     const wxChar 
*szOrigString2
, size_t n
, 
3342                                     const wxChar 
*szDomain 
= NULL
) const; 
3344     virtual wxChar 
*GetSingularString(const wxChar 
*szOrigString
, 
3345                                       const wxChar 
*szDomain 
= NULL
) const; 
3346     virtual wxChar 
*GetPluralString(const wxChar 
*szOrigString
, 
3347                                     const wxChar 
*szOrigString2
, size_t n
, 
3348                                     const wxChar 
*szDomain 
= NULL
) const; 
3352     DECLARE_NO_COPY_CLASS(wxPyLocale
) 
3355 wxPyLocale::wxPyLocale() : wxLocale() 
3359 wxPyLocale::wxPyLocale(const wxChar 
*szName
,  // name (for messages) 
3360              const wxChar 
*szShort
,           // dir prefix (for msg files) 
3361              const wxChar 
*szLocale
,          // locale (for setlocale) 
3362              bool bLoadDefault
,               // preload wxstd.mo? 
3363              bool bConvertEncoding
)           // convert Win<->Unix if necessary? 
3364              : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
) 
3368 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language 
3369                        int flags
) : wxLocale(language
, flags
) 
3373 wxPyLocale::~wxPyLocale() 
3377 const wxChar 
*wxPyLocale::GetString(const wxChar 
*szOrigString
, 
3378                                     const wxChar 
*szDomain
) const  
3380     wxChar 
*str 
= GetSingularString(szOrigString
, szDomain
); 
3381     return (str 
!= NULL
) ? str 
: wxLocale::GetString(szOrigString
, szDomain
); 
3384 const wxChar 
*wxPyLocale::GetString(const wxChar 
*szOrigString
, 
3385                                     const wxChar 
*szOrigString2
, size_t n
, 
3386                                     const wxChar 
*szDomain
) const 
3388     wxChar 
*str 
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
); 
3389     return (str 
!= NULL
) ? str 
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
); 
3392 wxChar 
*wxPyLocale::GetSingularString(const wxChar 
*szOrigString
, 
3393                                       const wxChar 
*szDomain
) const 
3396     static wxString str
; 
3397     str 
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string. 
3398     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3399     if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) { 
3400         PyObject
* param1 
= wx2PyString(szOrigString
); 
3401         PyObject
* param2 
= wx2PyString(szDomain
); 
3402         PyObject
* ret 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
)); 
3406             str 
= Py2wxString(ret
); 
3410     wxPyEndBlockThreads(blocked
); 
3411     return (found 
? (wxChar
*)str
.c_str() : NULL
); 
3414 wxChar 
*wxPyLocale::GetPluralString(const wxChar 
*szOrigString
, 
3415                                     const wxChar 
*szOrigString2
, size_t n
, 
3416                                     const wxChar 
*szDomain
) const 
3419     static wxString str
; 
3420     str 
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string. 
3421     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3422     if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) { 
3423         PyObject
* param1 
= wx2PyString(szOrigString
); 
3424         PyObject
* param2 
= wx2PyString(szOrigString2
); 
3425         PyObject
* param4 
= wx2PyString(szDomain
); 
3426         PyObject
* ret 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
)); 
3431             str 
= Py2wxString(ret
); 
3435     wxPyEndBlockThreads(blocked
); 
3436     return (found 
? (wxChar
*)str
.c_str() : NULL
); 
3439 SWIGINTERN wxPyLocale 
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
3442                 loc 
= new wxPyLocale(); 
3444                 loc 
= new wxPyLocale(language
, flags
); 
3445             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3446             // for the floating point conversions and such to work right. 
3447 #if PY_VERSION_HEX < 0x02040000 
3448             setlocale(LC_NUMERIC
, "C"); 
3453 #include "wx/wxPython/pydrawxxx.h" 
3455 SWIGINTERN wxColour 
wxDC_GetPixel(wxDC 
*self
,int x
,int y
){ 
3457             self
->GetPixel(x
, y
, &col
); 
3460 SWIGINTERN wxColour 
wxDC_GetPixelPoint(wxDC 
*self
,wxPoint 
const &pt
){ 
3462             self
->GetPixel(pt
, &col
); 
3467 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
3469     if (PyNumber_Check(obj
)) { 
3470         if (val
) *val 
= PyFloat_AsDouble(obj
); 
3473     return SWIG_TypeError
; 
3476 SWIGINTERN wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){ 
3478             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
3481 SWIGINTERN wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
3483             self
->GetClippingBox(rect
); 
3486 SWIGINTERN wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
3488             self
->GetPartialTextExtents(text
, widths
); 
3492   #define SWIG_From_double   PyFloat_FromDouble  
3494 SWIGINTERN 
void wxDC_SetLogicalOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
3495             self
->SetLogicalOrigin(point
.x
, point
.y
); 
3497 SWIGINTERN 
void wxDC_SetDeviceOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
3498             self
->SetDeviceOrigin(point
.x
, point
.y
); 
3500 SWIGINTERN 
void wxDC_CalcBoundingBoxPoint(wxDC 
*self
,wxPoint 
const &point
){ 
3501             self
->CalcBoundingBox(point
.x
, point
.y
); 
3503 SWIGINTERN PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3504             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
3506 SWIGINTERN PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3507             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
3509 SWIGINTERN PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3510             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
3512 SWIGINTERN PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3513             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
3515 SWIGINTERN PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3516             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
3518 SWIGINTERN PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
3519             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
3522 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
3530 #include <wx/dcbuffer.h> 
3533 #include <wx/dcps.h> 
3536 class wxMetaFile 
: public wxObject 
{ 
3538     wxMetaFile(const wxString
&) 
3539         { wxPyRaiseNotImplemented(); } 
3542 class wxMetaFileDC 
: public wxClientDC 
{ 
3544     wxMetaFileDC(const wxString
&, int, int, const wxString
&) 
3545         { wxPyRaiseNotImplemented(); } 
3550 class  wxPrinterDC 
: public wxClientDC 
{ 
3552     wxPrinterDC(const wxPrintData
&) 
3553         { wxPyRaiseNotImplemented(); } 
3558 #include <wx/graphics.h> 
3561 #if !wxUSE_GRAPHICS_CONTEXT 
3562 // C++ stub classes for platforms that don't have wxGraphicsContext yet. 
3564 class wxGraphicsPath
 
3568         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3569         PyErr_SetString(PyExc_NotImplementedError
, 
3570                         "wxGraphicsPath is not available on this platform."); 
3571         wxPyEndBlockThreads(blocked
); 
3573     virtual ~wxGraphicsPath() {} 
3575     void MoveToPoint( wxDouble
, wxDouble 
) {} 
3576     void AddLineToPoint( wxDouble
, wxDouble 
) {}  
3577     void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble 
) {} 
3578     void CloseSubpath() {} 
3579     void GetCurrentPoint( wxDouble
&, wxDouble
&) {} 
3580     void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {} 
3582     void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble 
) {} 
3583     void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble 
) {} 
3584     void AddCircle( wxDouble
, wxDouble
, wxDouble 
) {} 
3585     void AddArcToPoint( wxDouble
, wxDouble 
, wxDouble
, wxDouble
, wxDouble 
)  {} 
3587     wxPoint2DDouble 
GetCurrentPoint() { return wxPoint2DDouble(0,0); } 
3588     void MoveToPoint( const wxPoint2DDouble
& ) {} 
3589     void AddLineToPoint( const wxPoint2DDouble
&) {} 
3590     void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {} 
3591     void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {} 
3595 class wxGraphicsContext
 
3598     wxGraphicsContext() { 
3599         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3600         PyErr_SetString(PyExc_NotImplementedError
, 
3601                         "wxGraphicsContext is not available on this platform."); 
3602         wxPyEndBlockThreads(blocked
); 
3604     virtual ~wxGraphicsContext() {} 
3606     static wxGraphicsContext
* Create( const wxWindowDC
&) { 
3607         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3608         PyErr_SetString(PyExc_NotImplementedError
, 
3609                         "wxGraphicsPath is not available on this platform."); 
3610         wxPyEndBlockThreads(blocked
); 
3614     static wxGraphicsContext
* CreateFromNative( void *  ) { 
3615         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3616         PyErr_SetString(PyExc_NotImplementedError
, 
3617                         "wxGraphicsContext is not available on this platform."); 
3618         wxPyEndBlockThreads(blocked
); 
3622     wxGraphicsPath 
* CreatePath() { return NULL
; } 
3625     void Clip( const wxRegion 
& ) {} 
3626     void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble 
) {} 
3628     void * GetNativeContext() { return NULL
; } 
3629     void Translate( wxDouble  
, wxDouble  
) {} 
3630     void Scale( wxDouble  
, wxDouble  
) {} 
3631     void Rotate( wxDouble  
) {} 
3632     void SetPen( const wxPen 
& ) {} 
3633     void SetBrush( const wxBrush 
& ) {} 
3634     void SetLinearGradientBrush( wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
,  
3635         const wxColour
&, const wxColour
&) {} 
3636     void SetRadialGradientBrush( wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
, 
3637         const wxColour 
&, const wxColour 
&) {} 
3638     void SetFont( const wxFont 
& ) {} 
3639     void SetTextColor( const wxColour 
& ) {} 
3640     void StrokePath( const wxGraphicsPath 
* ) {} 
3641     void FillPath( const wxGraphicsPath 
*, int  ) {} 
3642     void DrawPath( const wxGraphicsPath 
*, int  ) {} 
3643     void DrawText( const wxString 
&, wxDouble 
, wxDouble  
) {} 
3644     void DrawText( const wxString 
&, wxDouble 
, wxDouble 
, wxDouble  
) {} 
3645     void GetTextExtent( const wxString 
&, wxDouble 
*, wxDouble 
*, 
3646                         wxDouble 
*, wxDouble 
* ) const {} 
3647     void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {} 
3648     void DrawBitmap( const wxBitmap 
&, wxDouble 
, wxDouble 
, wxDouble 
, wxDouble  
) {} 
3649     void DrawIcon( const wxIcon 
&, wxDouble 
, wxDouble 
, wxDouble 
, wxDouble  
) {} 
3650     void StrokeLine( wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
) {} 
3651     void StrokeLines( size_t , const wxPoint2DDouble 
*) {} 
3652     void StrokeLines( size_t , const wxPoint2DDouble 
*, const wxPoint2DDouble 
*) {} 
3653     void DrawLines( size_t , const wxPoint2DDouble 
*, int  ) {} 
3654     void DrawRectangle( wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
) {} 
3655     void DrawEllipse( wxDouble 
, wxDouble
,  wxDouble 
, wxDouble
) {} 
3656     void DrawRoundedRectangle( wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
, wxDouble 
) {} 
3660 class wxGCDC
: public wxWindowDC
 
3663     wxGCDC(const wxWindowDC
&) { 
3664         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3665         PyErr_SetString(PyExc_NotImplementedError
, 
3666                         "wxGCDC is not available on this platform."); 
3667         wxPyEndBlockThreads(blocked
); 
3671         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3672         PyErr_SetString(PyExc_NotImplementedError
, 
3673                         "wxGCDC is not available on this platform."); 
3674         wxPyEndBlockThreads(blocked
); 
3677     virtual ~wxGCDC() {} 
3679     wxGraphicsContext
* GetGraphicsContext() { return NULL
; } 
3680     void SetGraphicsContext( wxGraphicsContext
* ) {} 
3685 SWIGINTERN wxArrayDouble 
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext 
*self
,wxString 
const &text
){ 
3686             wxArrayDouble widths
; 
3687             self
->GetPartialTextExtents(text
, widths
); 
3690 SWIGINTERN 
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext 
*self
,PyObject 
*beginPoints
,PyObject 
*endPoints
){ 
3691             size_t c1
, c2
, count
; 
3692             wxPoint2D
* beginP 
= wxPoint2D_LIST_helper(beginPoints
, &c1
); 
3693             wxPoint2D
* endP 
=   wxPoint2D_LIST_helper(endPoints
, &c2
); 
3695             if ( beginP 
!= NULL 
&& endP 
!= NULL 
) 
3697                 count 
= wxMin(c1
, c2
); 
3698                 self
->StrokeLines(count
, beginP
, endP
); 
3704 #include "wx/dcgraph.h" 
3707 #include <wx/overlay.h> 
3711 SWIGINTERN 
void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
3712             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
3715     wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; } 
3716     wxPenList
* _wxPyInitThePenList() { return wxThePenList
; } 
3717     wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; } 
3718     wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; } 
3721 #include <wx/effects.h> 
3724 #include "wx/renderer.h" 
3727 SWIGINTERNINLINE PyObject
* 
3728   SWIG_From_bool  (bool value
) 
3730   return PyBool_FromLong(value 
? 1 : 0); 
3734 #include "wx/wxPython/pseudodc.h" 
3736 SWIGINTERN wxRect 
wxPseudoDC_GetIdBounds(wxPseudoDC 
*self
,int id
){ 
3738             self
->GetIdBounds(id
, rect
); 
3744 SWIGINTERN PyObject 
*_wrap_new_GDIObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3745   PyObject 
*resultobj 
= 0; 
3746   wxGDIObject 
*result 
= 0 ; 
3748   if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
; 
3750     if (!wxPyCheckForApp()) SWIG_fail
; 
3751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3752     result 
= (wxGDIObject 
*)new wxGDIObject(); 
3753     wxPyEndAllowThreads(__tstate
); 
3754     if (PyErr_Occurred()) SWIG_fail
; 
3756   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW 
|  0 ); 
3763 SWIGINTERN PyObject 
*_wrap_delete_GDIObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3764   PyObject 
*resultobj 
= 0; 
3765   wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
3768   PyObject 
*swig_obj
[1] ; 
3770   if (!args
) SWIG_fail
; 
3772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN 
|  0 ); 
3773   if (!SWIG_IsOK(res1
)) { 
3774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");  
3776   arg1 
= reinterpret_cast< wxGDIObject 
* >(argp1
); 
3778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3781     wxPyEndAllowThreads(__tstate
); 
3782     if (PyErr_Occurred()) SWIG_fail
; 
3784   resultobj 
= SWIG_Py_Void(); 
3791 SWIGINTERN PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3792   PyObject 
*resultobj 
= 0; 
3793   wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
3797   PyObject 
*swig_obj
[1] ; 
3799   if (!args
) SWIG_fail
; 
3801   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 |  0 ); 
3802   if (!SWIG_IsOK(res1
)) { 
3803     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");  
3805   arg1 
= reinterpret_cast< wxGDIObject 
* >(argp1
); 
3807     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3808     result 
= (bool)(arg1
)->IsNull(); 
3809     wxPyEndAllowThreads(__tstate
); 
3810     if (PyErr_Occurred()) SWIG_fail
; 
3813     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3821 SWIGINTERN PyObject 
*GDIObject_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3823   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3824   SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
)); 
3825   return SWIG_Py_Void(); 
3828 SWIGINTERN PyObject 
*GDIObject_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3829   return SWIG_Python_InitShadowInstance(args
); 
3832 SWIGINTERN PyObject 
*_wrap_new_Colour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3833   PyObject 
*resultobj 
= 0; 
3834   byte arg1 
= (byte
) 0 ; 
3835   byte arg2 
= (byte
) 0 ; 
3836   byte arg3 
= (byte
) 0 ; 
3837   byte arg4 
= (byte
) wxALPHA_OPAQUE 
; 
3838   wxColour 
*result 
= 0 ; 
3839   unsigned char val1 
; 
3841   unsigned char val2 
; 
3843   unsigned char val3 
; 
3845   unsigned char val4 
; 
3847   PyObject 
* obj0 
= 0 ; 
3848   PyObject 
* obj1 
= 0 ; 
3849   PyObject 
* obj2 
= 0 ; 
3850   PyObject 
* obj3 
= 0 ; 
3851   char *  kwnames
[] = { 
3852     (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL 
 
3855   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
3857     ecode1 
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
); 
3858     if (!SWIG_IsOK(ecode1
)) { 
3859       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'"); 
3861     arg1 
= static_cast< byte 
>(val1
); 
3864     ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
3865     if (!SWIG_IsOK(ecode2
)) { 
3866       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'"); 
3868     arg2 
= static_cast< byte 
>(val2
); 
3871     ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
3872     if (!SWIG_IsOK(ecode3
)) { 
3873       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'"); 
3875     arg3 
= static_cast< byte 
>(val3
); 
3878     ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
3879     if (!SWIG_IsOK(ecode4
)) { 
3880       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'"); 
3882     arg4 
= static_cast< byte 
>(val4
); 
3885     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3886     result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
,arg4
); 
3887     wxPyEndAllowThreads(__tstate
); 
3888     if (PyErr_Occurred()) SWIG_fail
; 
3890   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW 
|  0 ); 
3897 SWIGINTERN PyObject 
*_wrap_new_NamedColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3898   PyObject 
*resultobj 
= 0; 
3899   wxString 
*arg1 
= 0 ; 
3900   wxColour 
*result 
= 0 ; 
3901   bool temp1 
= false ; 
3902   PyObject 
* obj0 
= 0 ; 
3903   char *  kwnames
[] = { 
3904     (char *) "colorName", NULL 
 
3907   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
; 
3909     arg1 
= wxString_in_helper(obj0
); 
3910     if (arg1 
== NULL
) SWIG_fail
; 
3914     if (!wxPyCheckForApp()) SWIG_fail
; 
3915     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3916     result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
3917     wxPyEndAllowThreads(__tstate
); 
3918     if (PyErr_Occurred()) SWIG_fail
; 
3920   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
3935 SWIGINTERN PyObject 
*_wrap_new_ColourRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3936   PyObject 
*resultobj 
= 0; 
3937   unsigned long arg1 
; 
3938   wxColour 
*result 
= 0 ; 
3939   unsigned long val1 
; 
3941   PyObject 
* obj0 
= 0 ; 
3942   char *  kwnames
[] = { 
3943     (char *) "colRGB", NULL 
 
3946   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
; 
3947   ecode1 
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
); 
3948   if (!SWIG_IsOK(ecode1
)) { 
3949     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'"); 
3951   arg1 
= static_cast< unsigned long >(val1
); 
3953     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3954     result 
= (wxColour 
*)new wxColour(arg1
); 
3955     wxPyEndAllowThreads(__tstate
); 
3956     if (PyErr_Occurred()) SWIG_fail
; 
3958   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
3965 SWIGINTERN PyObject 
*_wrap_delete_Colour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3966   PyObject 
*resultobj 
= 0; 
3967   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3970   PyObject 
*swig_obj
[1] ; 
3972   if (!args
) SWIG_fail
; 
3974   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN 
|  0 ); 
3975   if (!SWIG_IsOK(res1
)) { 
3976     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");  
3978   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3983     wxPyEndAllowThreads(__tstate
); 
3984     if (PyErr_Occurred()) SWIG_fail
; 
3986   resultobj 
= SWIG_Py_Void(); 
3993 SWIGINTERN PyObject 
*_wrap_Colour_Red(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3994   PyObject 
*resultobj 
= 0; 
3995   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3999   PyObject 
*swig_obj
[1] ; 
4001   if (!args
) SWIG_fail
; 
4003   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4004   if (!SWIG_IsOK(res1
)) { 
4005     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");  
4007   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4009     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4010     result 
= (byte
)(arg1
)->Red(); 
4011     wxPyEndAllowThreads(__tstate
); 
4012     if (PyErr_Occurred()) SWIG_fail
; 
4014   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
4021 SWIGINTERN PyObject 
*_wrap_Colour_Green(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4022   PyObject 
*resultobj 
= 0; 
4023   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4027   PyObject 
*swig_obj
[1] ; 
4029   if (!args
) SWIG_fail
; 
4031   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4032   if (!SWIG_IsOK(res1
)) { 
4033     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");  
4035   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4037     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4038     result 
= (byte
)(arg1
)->Green(); 
4039     wxPyEndAllowThreads(__tstate
); 
4040     if (PyErr_Occurred()) SWIG_fail
; 
4042   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
4049 SWIGINTERN PyObject 
*_wrap_Colour_Blue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4050   PyObject 
*resultobj 
= 0; 
4051   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4055   PyObject 
*swig_obj
[1] ; 
4057   if (!args
) SWIG_fail
; 
4059   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4060   if (!SWIG_IsOK(res1
)) { 
4061     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");  
4063   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4066     result 
= (byte
)(arg1
)->Blue(); 
4067     wxPyEndAllowThreads(__tstate
); 
4068     if (PyErr_Occurred()) SWIG_fail
; 
4070   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
4077 SWIGINTERN PyObject 
*_wrap_Colour_Alpha(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4078   PyObject 
*resultobj 
= 0; 
4079   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4083   PyObject 
*swig_obj
[1] ; 
4085   if (!args
) SWIG_fail
; 
4087   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4088   if (!SWIG_IsOK(res1
)) { 
4089     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");  
4091   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4094     result 
= (byte
)(arg1
)->Alpha(); 
4095     wxPyEndAllowThreads(__tstate
); 
4096     if (PyErr_Occurred()) SWIG_fail
; 
4098   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
4105 SWIGINTERN PyObject 
*_wrap_Colour_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4106   PyObject 
*resultobj 
= 0; 
4107   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4111   PyObject 
*swig_obj
[1] ; 
4113   if (!args
) SWIG_fail
; 
4115   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4116   if (!SWIG_IsOK(res1
)) { 
4117     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");  
4119   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4122     result 
= (bool)(arg1
)->IsOk(); 
4123     wxPyEndAllowThreads(__tstate
); 
4124     if (PyErr_Occurred()) SWIG_fail
; 
4127     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4135 SWIGINTERN PyObject 
*_wrap_Colour_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4136   PyObject 
*resultobj 
= 0; 
4137   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4141   byte arg5 
= (byte
) wxALPHA_OPAQUE 
; 
4144   unsigned char val2 
; 
4146   unsigned char val3 
; 
4148   unsigned char val4 
; 
4150   unsigned char val5 
; 
4152   PyObject 
* obj0 
= 0 ; 
4153   PyObject 
* obj1 
= 0 ; 
4154   PyObject 
* obj2 
= 0 ; 
4155   PyObject 
* obj3 
= 0 ; 
4156   PyObject 
* obj4 
= 0 ; 
4157   char *  kwnames
[] = { 
4158     (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL 
 
4161   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
4162   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4163   if (!SWIG_IsOK(res1
)) { 
4164     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");  
4166   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4167   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
4168   if (!SWIG_IsOK(ecode2
)) { 
4169     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'"); 
4171   arg2 
= static_cast< byte 
>(val2
); 
4172   ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
4173   if (!SWIG_IsOK(ecode3
)) { 
4174     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'"); 
4176   arg3 
= static_cast< byte 
>(val3
); 
4177   ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
4178   if (!SWIG_IsOK(ecode4
)) { 
4179     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'"); 
4181   arg4 
= static_cast< byte 
>(val4
); 
4183     ecode5 
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
); 
4184     if (!SWIG_IsOK(ecode5
)) { 
4185       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'"); 
4187     arg5 
= static_cast< byte 
>(val5
); 
4190     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4191     (arg1
)->Set(arg2
,arg3
,arg4
,arg5
); 
4192     wxPyEndAllowThreads(__tstate
); 
4193     if (PyErr_Occurred()) SWIG_fail
; 
4195   resultobj 
= SWIG_Py_Void(); 
4202 SWIGINTERN PyObject 
*_wrap_Colour_SetRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4203   PyObject 
*resultobj 
= 0; 
4204   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4205   unsigned long arg2 
; 
4208   unsigned long val2 
; 
4210   PyObject 
* obj0 
= 0 ; 
4211   PyObject 
* obj1 
= 0 ; 
4212   char *  kwnames
[] = { 
4213     (char *) "self",(char *) "colRGB", NULL 
 
4216   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4217   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4218   if (!SWIG_IsOK(res1
)) { 
4219     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");  
4221   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4222   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
4223   if (!SWIG_IsOK(ecode2
)) { 
4224     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'"); 
4226   arg2 
= static_cast< unsigned long >(val2
); 
4228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4230     wxPyEndAllowThreads(__tstate
); 
4231     if (PyErr_Occurred()) SWIG_fail
; 
4233   resultobj 
= SWIG_Py_Void(); 
4240 SWIGINTERN PyObject 
*_wrap_Colour_SetFromName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4241   PyObject 
*resultobj 
= 0; 
4242   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4243   wxString 
*arg2 
= 0 ; 
4246   bool temp2 
= false ; 
4247   PyObject 
* obj0 
= 0 ; 
4248   PyObject 
* obj1 
= 0 ; 
4249   char *  kwnames
[] = { 
4250     (char *) "self",(char *) "colourName", NULL 
 
4253   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4254   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4255   if (!SWIG_IsOK(res1
)) { 
4256     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");  
4258   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4260     arg2 
= wxString_in_helper(obj1
); 
4261     if (arg2 
== NULL
) SWIG_fail
; 
4265     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4266     (arg1
)->Set((wxString 
const &)*arg2
); 
4267     wxPyEndAllowThreads(__tstate
); 
4268     if (PyErr_Occurred()) SWIG_fail
; 
4270   resultobj 
= SWIG_Py_Void(); 
4285 SWIGINTERN PyObject 
*_wrap_Colour_GetAsString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4286   PyObject 
*resultobj 
= 0; 
4287   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4288   long arg2 
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX 
; 
4294   PyObject 
* obj0 
= 0 ; 
4295   PyObject 
* obj1 
= 0 ; 
4296   char *  kwnames
[] = { 
4297     (char *) "self",(char *) "flags", NULL 
 
4300   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4301   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4302   if (!SWIG_IsOK(res1
)) { 
4303     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");  
4305   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4307     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
4308     if (!SWIG_IsOK(ecode2
)) { 
4309       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'"); 
4311     arg2 
= static_cast< long >(val2
); 
4314     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4315     result 
= ((wxColour 
const *)arg1
)->GetAsString(arg2
); 
4316     wxPyEndAllowThreads(__tstate
); 
4317     if (PyErr_Occurred()) SWIG_fail
; 
4321     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4323     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4332 SWIGINTERN PyObject 
*_wrap_Colour_GetPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4333   PyObject 
*resultobj 
= 0; 
4334   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4338   PyObject 
*swig_obj
[1] ; 
4340   if (!args
) SWIG_fail
; 
4342   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4343   if (!SWIG_IsOK(res1
)) { 
4344     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");  
4346   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4348     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4349     result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
4350     wxPyEndAllowThreads(__tstate
); 
4351     if (PyErr_Occurred()) SWIG_fail
; 
4353   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4360 SWIGINTERN PyObject 
*_wrap_Colour___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4361   PyObject 
*resultobj 
= 0; 
4362   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4363   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4367   PyObject 
* obj0 
= 0 ; 
4368   PyObject 
* obj1 
= 0 ; 
4369   char *  kwnames
[] = { 
4370     (char *) "self",(char *) "other", NULL 
 
4373   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4374   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4375   if (!SWIG_IsOK(res1
)) { 
4376     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");  
4378   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4381     result 
= (bool)wxColour___eq__(arg1
,arg2
); 
4382     if (PyErr_Occurred()) SWIG_fail
; 
4385     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4393 SWIGINTERN PyObject 
*_wrap_Colour___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4394   PyObject 
*resultobj 
= 0; 
4395   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4396   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4400   PyObject 
* obj0 
= 0 ; 
4401   PyObject 
* obj1 
= 0 ; 
4402   char *  kwnames
[] = { 
4403     (char *) "self",(char *) "other", NULL 
 
4406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4408   if (!SWIG_IsOK(res1
)) { 
4409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");  
4411   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4414     result 
= (bool)wxColour___ne__(arg1
,arg2
); 
4415     if (PyErr_Occurred()) SWIG_fail
; 
4418     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4426 SWIGINTERN PyObject 
*_wrap_Colour_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4427   PyObject 
*resultobj 
= 0; 
4428   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4429   bool arg2 
= (bool) false ; 
4430   PyObject 
*result 
= 0 ; 
4435   PyObject 
* obj0 
= 0 ; 
4436   PyObject 
* obj1 
= 0 ; 
4437   char *  kwnames
[] = { 
4438     (char *) "self",(char *) "includeAlpha", NULL 
 
4441   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4442   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4443   if (!SWIG_IsOK(res1
)) { 
4444     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");  
4446   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4448     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4449     if (!SWIG_IsOK(ecode2
)) { 
4450       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'"); 
4452     arg2 
= static_cast< bool >(val2
); 
4455     result 
= (PyObject 
*)wxColour_Get(arg1
,arg2
); 
4456     if (PyErr_Occurred()) SWIG_fail
; 
4465 SWIGINTERN PyObject 
*_wrap_Colour_GetRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4466   PyObject 
*resultobj 
= 0; 
4467   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
4468   unsigned long result
; 
4471   PyObject 
*swig_obj
[1] ; 
4473   if (!args
) SWIG_fail
; 
4475   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
4476   if (!SWIG_IsOK(res1
)) { 
4477     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");  
4479   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
4481     result 
= (unsigned long)wxColour_GetRGB(arg1
); 
4482     if (PyErr_Occurred()) SWIG_fail
; 
4484   resultobj 
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
)); 
4491 SWIGINTERN PyObject 
*Colour_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4493   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4494   SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
)); 
4495   return SWIG_Py_Void(); 
4498 SWIGINTERN PyObject 
*Colour_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4499   return SWIG_Python_InitShadowInstance(args
); 
4502 SWIGINTERN PyObject 
*_wrap_new_Palette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4503   PyObject 
*resultobj 
= 0; 
4505   unsigned char *arg2 
= (unsigned char *) 0 ; 
4506   unsigned char *arg3 
= (unsigned char *) 0 ; 
4507   unsigned char *arg4 
= (unsigned char *) 0 ; 
4508   wxPalette 
*result 
= 0 ; 
4517   PyObject 
* obj0 
= 0 ; 
4518   PyObject 
* obj1 
= 0 ; 
4519   PyObject 
* obj2 
= 0 ; 
4520   PyObject 
* obj3 
= 0 ; 
4521   char *  kwnames
[] = { 
4522     (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
4525   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4526   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
4527   if (!SWIG_IsOK(ecode1
)) { 
4528     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'"); 
4530   arg1 
= static_cast< int >(val1
); 
4531   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 |  0 ); 
4532   if (!SWIG_IsOK(res2
)) { 
4533     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");  
4535   arg2 
= reinterpret_cast< unsigned char * >(argp2
); 
4536   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 |  0 ); 
4537   if (!SWIG_IsOK(res3
)) { 
4538     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");  
4540   arg3 
= reinterpret_cast< unsigned char * >(argp3
); 
4541   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 |  0 ); 
4542   if (!SWIG_IsOK(res4
)) { 
4543     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");  
4545   arg4 
= reinterpret_cast< unsigned char * >(argp4
); 
4547     if (!wxPyCheckForApp()) SWIG_fail
; 
4548     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4549     result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
4550     wxPyEndAllowThreads(__tstate
); 
4551     if (PyErr_Occurred()) SWIG_fail
; 
4553   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW 
|  0 ); 
4560 SWIGINTERN PyObject 
*_wrap_delete_Palette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4561   PyObject 
*resultobj 
= 0; 
4562   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4565   PyObject 
*swig_obj
[1] ; 
4567   if (!args
) SWIG_fail
; 
4569   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN 
|  0 ); 
4570   if (!SWIG_IsOK(res1
)) { 
4571     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");  
4573   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4575     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4578     wxPyEndAllowThreads(__tstate
); 
4579     if (PyErr_Occurred()) SWIG_fail
; 
4581   resultobj 
= SWIG_Py_Void(); 
4588 SWIGINTERN PyObject 
*_wrap_Palette_GetPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4589   PyObject 
*resultobj 
= 0; 
4590   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4597   unsigned char val2 
; 
4599   unsigned char val3 
; 
4601   unsigned char val4 
; 
4603   PyObject 
* obj0 
= 0 ; 
4604   PyObject 
* obj1 
= 0 ; 
4605   PyObject 
* obj2 
= 0 ; 
4606   PyObject 
* obj3 
= 0 ; 
4607   char *  kwnames
[] = { 
4608     (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
4611   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4612   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4613   if (!SWIG_IsOK(res1
)) { 
4614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");  
4616   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4617   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
4618   if (!SWIG_IsOK(ecode2
)) { 
4619     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'"); 
4621   arg2 
= static_cast< byte 
>(val2
); 
4622   ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
4623   if (!SWIG_IsOK(ecode3
)) { 
4624     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'"); 
4626   arg3 
= static_cast< byte 
>(val3
); 
4627   ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
4628   if (!SWIG_IsOK(ecode4
)) { 
4629     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'"); 
4631   arg4 
= static_cast< byte 
>(val4
); 
4633     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4634     result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
4635     wxPyEndAllowThreads(__tstate
); 
4636     if (PyErr_Occurred()) SWIG_fail
; 
4638   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4645 SWIGINTERN PyObject 
*_wrap_Palette_GetRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4646   PyObject 
*resultobj 
= 0; 
4647   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4649   byte 
*arg3 
= (byte 
*) 0 ; 
4650   byte 
*arg4 
= (byte 
*) 0 ; 
4651   byte 
*arg5 
= (byte 
*) 0 ; 
4658   int res3 
= SWIG_TMPOBJ 
; 
4660   int res4 
= SWIG_TMPOBJ 
; 
4662   int res5 
= SWIG_TMPOBJ 
; 
4663   PyObject 
* obj0 
= 0 ; 
4664   PyObject 
* obj1 
= 0 ; 
4665   char *  kwnames
[] = { 
4666     (char *) "self",(char *) "pixel", NULL 
 
4672   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4673   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4674   if (!SWIG_IsOK(res1
)) { 
4675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");  
4677   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4678   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4679   if (!SWIG_IsOK(ecode2
)) { 
4680     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'"); 
4682   arg2 
= static_cast< int >(val2
); 
4684     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4685     result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
4686     wxPyEndAllowThreads(__tstate
); 
4687     if (PyErr_Occurred()) SWIG_fail
; 
4690     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4692   if (SWIG_IsTmpObj(res3
)) { 
4693     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
))); 
4695     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4696     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
)); 
4698   if (SWIG_IsTmpObj(res4
)) { 
4699     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
))); 
4701     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4702     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
)); 
4704   if (SWIG_IsTmpObj(res5
)) { 
4705     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
))); 
4707     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4708     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
)); 
4716 SWIGINTERN PyObject 
*_wrap_Palette_GetColoursCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4717   PyObject 
*resultobj 
= 0; 
4718   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4722   PyObject 
*swig_obj
[1] ; 
4724   if (!args
) SWIG_fail
; 
4726   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4727   if (!SWIG_IsOK(res1
)) { 
4728     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");  
4730   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4732     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4733     result 
= (int)((wxPalette 
const *)arg1
)->GetColoursCount(); 
4734     wxPyEndAllowThreads(__tstate
); 
4735     if (PyErr_Occurred()) SWIG_fail
; 
4737   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4744 SWIGINTERN PyObject 
*_wrap_Palette_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4745   PyObject 
*resultobj 
= 0; 
4746   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4750   PyObject 
*swig_obj
[1] ; 
4752   if (!args
) SWIG_fail
; 
4754   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4755   if (!SWIG_IsOK(res1
)) { 
4756     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");  
4758   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4760     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4761     result 
= (bool)(arg1
)->IsOk(); 
4762     wxPyEndAllowThreads(__tstate
); 
4763     if (PyErr_Occurred()) SWIG_fail
; 
4766     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4774 SWIGINTERN PyObject 
*Palette_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4776   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4777   SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
)); 
4778   return SWIG_Py_Void(); 
4781 SWIGINTERN PyObject 
*Palette_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4782   return SWIG_Python_InitShadowInstance(args
); 
4785 SWIGINTERN PyObject 
*_wrap_new_Pen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4786   PyObject 
*resultobj 
= 0; 
4787   wxColour 
*arg1 
= 0 ; 
4788   int arg2 
= (int) 1 ; 
4789   int arg3 
= (int) wxSOLID 
; 
4796   PyObject 
* obj0 
= 0 ; 
4797   PyObject 
* obj1 
= 0 ; 
4798   PyObject 
* obj2 
= 0 ; 
4799   char *  kwnames
[] = { 
4800     (char *) "colour",(char *) "width",(char *) "style", NULL 
 
4803   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4806     if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
4809     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4810     if (!SWIG_IsOK(ecode2
)) { 
4811       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'"); 
4813     arg2 
= static_cast< int >(val2
); 
4816     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4817     if (!SWIG_IsOK(ecode3
)) { 
4818       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'"); 
4820     arg3 
= static_cast< int >(val3
); 
4823     if (!wxPyCheckForApp()) SWIG_fail
; 
4824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4825     result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
4826     wxPyEndAllowThreads(__tstate
); 
4827     if (PyErr_Occurred()) SWIG_fail
; 
4829   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW 
|  0 ); 
4836 SWIGINTERN PyObject 
*_wrap_delete_Pen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4837   PyObject 
*resultobj 
= 0; 
4838   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4841   PyObject 
*swig_obj
[1] ; 
4843   if (!args
) SWIG_fail
; 
4845   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN 
|  0 ); 
4846   if (!SWIG_IsOK(res1
)) { 
4847     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");  
4849   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4854     wxPyEndAllowThreads(__tstate
); 
4855     if (PyErr_Occurred()) SWIG_fail
; 
4857   resultobj 
= SWIG_Py_Void(); 
4864 SWIGINTERN PyObject 
*_wrap_Pen_GetCap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4865   PyObject 
*resultobj 
= 0; 
4866   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4870   PyObject 
*swig_obj
[1] ; 
4872   if (!args
) SWIG_fail
; 
4874   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4875   if (!SWIG_IsOK(res1
)) { 
4876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");  
4878   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4881     result 
= (int)(arg1
)->GetCap(); 
4882     wxPyEndAllowThreads(__tstate
); 
4883     if (PyErr_Occurred()) SWIG_fail
; 
4885   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4892 SWIGINTERN PyObject 
*_wrap_Pen_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4893   PyObject 
*resultobj 
= 0; 
4894   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4898   PyObject 
*swig_obj
[1] ; 
4900   if (!args
) SWIG_fail
; 
4902   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4903   if (!SWIG_IsOK(res1
)) { 
4904     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");  
4906   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4909     result 
= (arg1
)->GetColour(); 
4910     wxPyEndAllowThreads(__tstate
); 
4911     if (PyErr_Occurred()) SWIG_fail
; 
4913   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
4920 SWIGINTERN PyObject 
*_wrap_Pen_GetJoin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4921   PyObject 
*resultobj 
= 0; 
4922   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4926   PyObject 
*swig_obj
[1] ; 
4928   if (!args
) SWIG_fail
; 
4930   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4931   if (!SWIG_IsOK(res1
)) { 
4932     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");  
4934   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4936     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4937     result 
= (int)(arg1
)->GetJoin(); 
4938     wxPyEndAllowThreads(__tstate
); 
4939     if (PyErr_Occurred()) SWIG_fail
; 
4941   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4948 SWIGINTERN PyObject 
*_wrap_Pen_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4949   PyObject 
*resultobj 
= 0; 
4950   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4954   PyObject 
*swig_obj
[1] ; 
4956   if (!args
) SWIG_fail
; 
4958   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4959   if (!SWIG_IsOK(res1
)) { 
4960     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");  
4962   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4964     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4965     result 
= (int)(arg1
)->GetStyle(); 
4966     wxPyEndAllowThreads(__tstate
); 
4967     if (PyErr_Occurred()) SWIG_fail
; 
4969   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4976 SWIGINTERN PyObject 
*_wrap_Pen_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4977   PyObject 
*resultobj 
= 0; 
4978   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4982   PyObject 
*swig_obj
[1] ; 
4984   if (!args
) SWIG_fail
; 
4986   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4987   if (!SWIG_IsOK(res1
)) { 
4988     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");  
4990   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4993     result 
= (int)(arg1
)->GetWidth(); 
4994     wxPyEndAllowThreads(__tstate
); 
4995     if (PyErr_Occurred()) SWIG_fail
; 
4997   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5004 SWIGINTERN PyObject 
*_wrap_Pen_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5005   PyObject 
*resultobj 
= 0; 
5006   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5010   PyObject 
*swig_obj
[1] ; 
5012   if (!args
) SWIG_fail
; 
5014   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5015   if (!SWIG_IsOK(res1
)) { 
5016     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");  
5018   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5020     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5021     result 
= (bool)(arg1
)->IsOk(); 
5022     wxPyEndAllowThreads(__tstate
); 
5023     if (PyErr_Occurred()) SWIG_fail
; 
5026     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5034 SWIGINTERN PyObject 
*_wrap_Pen_SetCap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5035   PyObject 
*resultobj 
= 0; 
5036   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5042   PyObject 
* obj0 
= 0 ; 
5043   PyObject 
* obj1 
= 0 ; 
5044   char *  kwnames
[] = { 
5045     (char *) "self",(char *) "cap_style", NULL 
 
5048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5049   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5050   if (!SWIG_IsOK(res1
)) { 
5051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");  
5053   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5054   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5055   if (!SWIG_IsOK(ecode2
)) { 
5056     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'"); 
5058   arg2 
= static_cast< int >(val2
); 
5060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5061     (arg1
)->SetCap(arg2
); 
5062     wxPyEndAllowThreads(__tstate
); 
5063     if (PyErr_Occurred()) SWIG_fail
; 
5065   resultobj 
= SWIG_Py_Void(); 
5072 SWIGINTERN PyObject 
*_wrap_Pen_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5073   PyObject 
*resultobj 
= 0; 
5074   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5075   wxColour 
*arg2 
= 0 ; 
5079   PyObject 
* obj0 
= 0 ; 
5080   PyObject 
* obj1 
= 0 ; 
5081   char *  kwnames
[] = { 
5082     (char *) "self",(char *) "colour", NULL 
 
5085   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5086   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5087   if (!SWIG_IsOK(res1
)) { 
5088     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");  
5090   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5093     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5096     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5097     (arg1
)->SetColour(*arg2
); 
5098     wxPyEndAllowThreads(__tstate
); 
5099     if (PyErr_Occurred()) SWIG_fail
; 
5101   resultobj 
= SWIG_Py_Void(); 
5108 SWIGINTERN PyObject 
*_wrap_Pen_SetJoin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5109   PyObject 
*resultobj 
= 0; 
5110   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5116   PyObject 
* obj0 
= 0 ; 
5117   PyObject 
* obj1 
= 0 ; 
5118   char *  kwnames
[] = { 
5119     (char *) "self",(char *) "join_style", NULL 
 
5122   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5123   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5124   if (!SWIG_IsOK(res1
)) { 
5125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");  
5127   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5128   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5129   if (!SWIG_IsOK(ecode2
)) { 
5130     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'"); 
5132   arg2 
= static_cast< int >(val2
); 
5134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5135     (arg1
)->SetJoin(arg2
); 
5136     wxPyEndAllowThreads(__tstate
); 
5137     if (PyErr_Occurred()) SWIG_fail
; 
5139   resultobj 
= SWIG_Py_Void(); 
5146 SWIGINTERN PyObject 
*_wrap_Pen_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5147   PyObject 
*resultobj 
= 0; 
5148   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5154   PyObject 
* obj0 
= 0 ; 
5155   PyObject 
* obj1 
= 0 ; 
5156   char *  kwnames
[] = { 
5157     (char *) "self",(char *) "style", NULL 
 
5160   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5161   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5162   if (!SWIG_IsOK(res1
)) { 
5163     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");  
5165   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5166   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5167   if (!SWIG_IsOK(ecode2
)) { 
5168     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'"); 
5170   arg2 
= static_cast< int >(val2
); 
5172     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5173     (arg1
)->SetStyle(arg2
); 
5174     wxPyEndAllowThreads(__tstate
); 
5175     if (PyErr_Occurred()) SWIG_fail
; 
5177   resultobj 
= SWIG_Py_Void(); 
5184 SWIGINTERN PyObject 
*_wrap_Pen_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5185   PyObject 
*resultobj 
= 0; 
5186   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5192   PyObject 
* obj0 
= 0 ; 
5193   PyObject 
* obj1 
= 0 ; 
5194   char *  kwnames
[] = { 
5195     (char *) "self",(char *) "width", NULL 
 
5198   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5199   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5200   if (!SWIG_IsOK(res1
)) { 
5201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");  
5203   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5204   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5205   if (!SWIG_IsOK(ecode2
)) { 
5206     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
5208   arg2 
= static_cast< int >(val2
); 
5210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5211     (arg1
)->SetWidth(arg2
); 
5212     wxPyEndAllowThreads(__tstate
); 
5213     if (PyErr_Occurred()) SWIG_fail
; 
5215   resultobj 
= SWIG_Py_Void(); 
5222 SWIGINTERN PyObject 
*_wrap_Pen_SetDashes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5223   PyObject 
*resultobj 
= 0; 
5224   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5226   wxDash 
*arg3 
= (wxDash 
*) 0 ; 
5229   PyObject 
* obj0 
= 0 ; 
5230   PyObject 
* obj1 
= 0 ; 
5231   char *  kwnames
[] = { 
5232     (char *) "self",(char *) "dashes", NULL 
 
5235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5237   if (!SWIG_IsOK(res1
)) { 
5238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");  
5240   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5242     arg2 
= PyList_Size(obj1
); 
5243     arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
5244     if (arg3 
== NULL
) SWIG_fail
; 
5247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5248     (arg1
)->SetDashes(arg2
,arg3
); 
5249     wxPyEndAllowThreads(__tstate
); 
5250     if (PyErr_Occurred()) SWIG_fail
; 
5252   resultobj 
= SWIG_Py_Void(); 
5254     if (arg3
) delete [] arg3
; 
5259     if (arg3
) delete [] arg3
; 
5265 SWIGINTERN PyObject 
*_wrap_Pen_GetDashes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5266   PyObject 
*resultobj 
= 0; 
5267   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5268   PyObject 
*result 
= 0 ; 
5271   PyObject 
*swig_obj
[1] ; 
5273   if (!args
) SWIG_fail
; 
5275   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5276   if (!SWIG_IsOK(res1
)) { 
5277     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");  
5279   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5282     result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
5283     wxPyEndAllowThreads(__tstate
); 
5284     if (PyErr_Occurred()) SWIG_fail
; 
5293 SWIGINTERN PyObject 
*_wrap_Pen__SetDashes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5294   PyObject 
*resultobj 
= 0; 
5295   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5296   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5297   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5300   PyObject 
* obj0 
= 0 ; 
5301   PyObject 
* obj1 
= 0 ; 
5302   PyObject 
* obj2 
= 0 ; 
5303   char *  kwnames
[] = { 
5304     (char *) "self",(char *) "_self",(char *) "pyDashes", NULL 
 
5307   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5308   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5309   if (!SWIG_IsOK(res1
)) { 
5310     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");  
5312   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5316     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5317     wxPen__SetDashes(arg1
,arg2
,arg3
); 
5318     wxPyEndAllowThreads(__tstate
); 
5319     if (PyErr_Occurred()) SWIG_fail
; 
5321   resultobj 
= SWIG_Py_Void(); 
5328 SWIGINTERN PyObject 
*_wrap_Pen_GetDashCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5329   PyObject 
*resultobj 
= 0; 
5330   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5334   PyObject 
*swig_obj
[1] ; 
5336   if (!args
) SWIG_fail
; 
5338   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5339   if (!SWIG_IsOK(res1
)) { 
5340     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");  
5342   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5344     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5345     result 
= (int)((wxPen 
const *)arg1
)->GetDashCount(); 
5346     wxPyEndAllowThreads(__tstate
); 
5347     if (PyErr_Occurred()) SWIG_fail
; 
5349   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5356 SWIGINTERN PyObject 
*_wrap_Pen___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5357   PyObject 
*resultobj 
= 0; 
5358   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5359   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
5365   PyObject 
* obj0 
= 0 ; 
5366   PyObject 
* obj1 
= 0 ; 
5367   char *  kwnames
[] = { 
5368     (char *) "self",(char *) "other", NULL 
 
5371   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5372   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5373   if (!SWIG_IsOK(res1
)) { 
5374     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");  
5376   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5377   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5378   if (!SWIG_IsOK(res2
)) { 
5379     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");  
5381   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
5383     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5384     result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
5385     wxPyEndAllowThreads(__tstate
); 
5386     if (PyErr_Occurred()) SWIG_fail
; 
5389     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5397 SWIGINTERN PyObject 
*_wrap_Pen___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5398   PyObject 
*resultobj 
= 0; 
5399   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
5400   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
5406   PyObject 
* obj0 
= 0 ; 
5407   PyObject 
* obj1 
= 0 ; 
5408   char *  kwnames
[] = { 
5409     (char *) "self",(char *) "other", NULL 
 
5412   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5413   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5414   if (!SWIG_IsOK(res1
)) { 
5415     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");  
5417   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
5418   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
5419   if (!SWIG_IsOK(res2
)) { 
5420     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");  
5422   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
5424     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5425     result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
5426     wxPyEndAllowThreads(__tstate
); 
5427     if (PyErr_Occurred()) SWIG_fail
; 
5430     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5438 SWIGINTERN PyObject 
*Pen_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5440   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5441   SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
)); 
5442   return SWIG_Py_Void(); 
5445 SWIGINTERN PyObject 
*Pen_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5446   return SWIG_Python_InitShadowInstance(args
); 
5449 SWIGINTERN PyObject 
*_wrap_new_Brush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5450   PyObject 
*resultobj 
= 0; 
5451   wxColour 
*arg1 
= 0 ; 
5452   int arg2 
= (int) wxSOLID 
; 
5453   wxBrush 
*result 
= 0 ; 
5457   PyObject 
* obj0 
= 0 ; 
5458   PyObject 
* obj1 
= 0 ; 
5459   char *  kwnames
[] = { 
5460     (char *) "colour",(char *) "style", NULL 
 
5463   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5466     if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
5469     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5470     if (!SWIG_IsOK(ecode2
)) { 
5471       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'"); 
5473     arg2 
= static_cast< int >(val2
); 
5476     if (!wxPyCheckForApp()) SWIG_fail
; 
5477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5478     result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
5479     wxPyEndAllowThreads(__tstate
); 
5480     if (PyErr_Occurred()) SWIG_fail
; 
5482   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW 
|  0 ); 
5489 SWIGINTERN PyObject 
*_wrap_new_BrushFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5490   PyObject 
*resultobj 
= 0; 
5491   wxBitmap 
*arg1 
= 0 ; 
5492   wxBrush 
*result 
= 0 ; 
5495   PyObject 
* obj0 
= 0 ; 
5496   char *  kwnames
[] = { 
5497     (char *) "stippleBitmap", NULL 
 
5500   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
; 
5501   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
5502   if (!SWIG_IsOK(res1
)) { 
5503     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
5506     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
5508   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5510     if (!wxPyCheckForApp()) SWIG_fail
; 
5511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5512     result 
= (wxBrush 
*)new wxBrush((wxBitmap 
const &)*arg1
); 
5513     wxPyEndAllowThreads(__tstate
); 
5514     if (PyErr_Occurred()) SWIG_fail
; 
5516   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN 
|  0 ); 
5523 SWIGINTERN PyObject 
*_wrap_delete_Brush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5524   PyObject 
*resultobj 
= 0; 
5525   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5528   PyObject 
*swig_obj
[1] ; 
5530   if (!args
) SWIG_fail
; 
5532   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN 
|  0 ); 
5533   if (!SWIG_IsOK(res1
)) { 
5534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");  
5536   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5541     wxPyEndAllowThreads(__tstate
); 
5542     if (PyErr_Occurred()) SWIG_fail
; 
5544   resultobj 
= SWIG_Py_Void(); 
5551 SWIGINTERN PyObject 
*_wrap_Brush_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5552   PyObject 
*resultobj 
= 0; 
5553   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5554   wxColour 
*arg2 
= 0 ; 
5558   PyObject 
* obj0 
= 0 ; 
5559   PyObject 
* obj1 
= 0 ; 
5560   char *  kwnames
[] = { 
5561     (char *) "self",(char *) "col", NULL 
 
5564   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5565   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5566   if (!SWIG_IsOK(res1
)) { 
5567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");  
5569   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5572     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5575     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5576     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
5577     wxPyEndAllowThreads(__tstate
); 
5578     if (PyErr_Occurred()) SWIG_fail
; 
5580   resultobj 
= SWIG_Py_Void(); 
5587 SWIGINTERN PyObject 
*_wrap_Brush_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5588   PyObject 
*resultobj 
= 0; 
5589   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5595   PyObject 
* obj0 
= 0 ; 
5596   PyObject 
* obj1 
= 0 ; 
5597   char *  kwnames
[] = { 
5598     (char *) "self",(char *) "style", NULL 
 
5601   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5602   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5603   if (!SWIG_IsOK(res1
)) { 
5604     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");  
5606   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5607   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5608   if (!SWIG_IsOK(ecode2
)) { 
5609     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'"); 
5611   arg2 
= static_cast< int >(val2
); 
5613     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5614     (arg1
)->SetStyle(arg2
); 
5615     wxPyEndAllowThreads(__tstate
); 
5616     if (PyErr_Occurred()) SWIG_fail
; 
5618   resultobj 
= SWIG_Py_Void(); 
5625 SWIGINTERN PyObject 
*_wrap_Brush_SetStipple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5626   PyObject 
*resultobj 
= 0; 
5627   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5628   wxBitmap 
*arg2 
= 0 ; 
5633   PyObject 
* obj0 
= 0 ; 
5634   PyObject 
* obj1 
= 0 ; 
5635   char *  kwnames
[] = { 
5636     (char *) "self",(char *) "stipple", NULL 
 
5639   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5640   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5641   if (!SWIG_IsOK(res1
)) { 
5642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");  
5644   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5645   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
5646   if (!SWIG_IsOK(res2
)) { 
5647     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
5650     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
5652   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
5654     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5655     (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
5656     wxPyEndAllowThreads(__tstate
); 
5657     if (PyErr_Occurred()) SWIG_fail
; 
5659   resultobj 
= SWIG_Py_Void(); 
5666 SWIGINTERN PyObject 
*_wrap_Brush_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5667   PyObject 
*resultobj 
= 0; 
5668   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5672   PyObject 
*swig_obj
[1] ; 
5674   if (!args
) SWIG_fail
; 
5676   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5677   if (!SWIG_IsOK(res1
)) { 
5678     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5680   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5682     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5683     result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
5684     wxPyEndAllowThreads(__tstate
); 
5685     if (PyErr_Occurred()) SWIG_fail
; 
5687   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
5694 SWIGINTERN PyObject 
*_wrap_Brush_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5695   PyObject 
*resultobj 
= 0; 
5696   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5700   PyObject 
*swig_obj
[1] ; 
5702   if (!args
) SWIG_fail
; 
5704   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5705   if (!SWIG_IsOK(res1
)) { 
5706     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5708   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5711     result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
5712     wxPyEndAllowThreads(__tstate
); 
5713     if (PyErr_Occurred()) SWIG_fail
; 
5715   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5722 SWIGINTERN PyObject 
*_wrap_Brush_GetStipple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5723   PyObject 
*resultobj 
= 0; 
5724   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5725   wxBitmap 
*result 
= 0 ; 
5728   PyObject 
*swig_obj
[1] ; 
5730   if (!args
) SWIG_fail
; 
5732   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5733   if (!SWIG_IsOK(res1
)) { 
5734     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5736   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5739     result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
5740     wxPyEndAllowThreads(__tstate
); 
5741     if (PyErr_Occurred()) SWIG_fail
; 
5743   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5750 SWIGINTERN PyObject 
*_wrap_Brush_IsHatch(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5751   PyObject 
*resultobj 
= 0; 
5752   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5756   PyObject 
*swig_obj
[1] ; 
5758   if (!args
) SWIG_fail
; 
5760   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5761   if (!SWIG_IsOK(res1
)) { 
5762     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5764   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5766     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5767     result 
= (bool)((wxBrush 
const *)arg1
)->IsHatch(); 
5768     wxPyEndAllowThreads(__tstate
); 
5769     if (PyErr_Occurred()) SWIG_fail
; 
5772     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5780 SWIGINTERN PyObject 
*_wrap_Brush_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5781   PyObject 
*resultobj 
= 0; 
5782   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5786   PyObject 
*swig_obj
[1] ; 
5788   if (!args
) SWIG_fail
; 
5790   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5791   if (!SWIG_IsOK(res1
)) { 
5792     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");  
5794   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5796     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5797     result 
= (bool)(arg1
)->IsOk(); 
5798     wxPyEndAllowThreads(__tstate
); 
5799     if (PyErr_Occurred()) SWIG_fail
; 
5802     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5810 SWIGINTERN PyObject 
*Brush_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5812   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5813   SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
)); 
5814   return SWIG_Py_Void(); 
5817 SWIGINTERN PyObject 
*Brush_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5818   return SWIG_Python_InitShadowInstance(args
); 
5821 SWIGINTERN PyObject 
*_wrap_new_Bitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5822   PyObject 
*resultobj 
= 0; 
5823   wxString 
*arg1 
= 0 ; 
5824   wxBitmapType arg2 
= (wxBitmapType
) wxBITMAP_TYPE_ANY 
; 
5825   wxBitmap 
*result 
= 0 ; 
5826   bool temp1 
= false ; 
5829   PyObject 
* obj0 
= 0 ; 
5830   PyObject 
* obj1 
= 0 ; 
5831   char *  kwnames
[] = { 
5832     (char *) "name",(char *) "type", NULL 
 
5835   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5837     arg1 
= wxString_in_helper(obj0
); 
5838     if (arg1 
== NULL
) SWIG_fail
; 
5842     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5843     if (!SWIG_IsOK(ecode2
)) { 
5844       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'"); 
5846     arg2 
= static_cast< wxBitmapType 
>(val2
); 
5849     if (!wxPyCheckForApp()) SWIG_fail
; 
5850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5851     result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,arg2
); 
5852     wxPyEndAllowThreads(__tstate
); 
5853     if (PyErr_Occurred()) SWIG_fail
; 
5855   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW 
|  0 ); 
5870 SWIGINTERN PyObject 
*_wrap_delete_Bitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5871   PyObject 
*resultobj 
= 0; 
5872   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5875   PyObject 
*swig_obj
[1] ; 
5877   if (!args
) SWIG_fail
; 
5879   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN 
|  0 ); 
5880   if (!SWIG_IsOK(res1
)) { 
5881     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5883   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5887     if (PyErr_Occurred()) SWIG_fail
; 
5889   resultobj 
= SWIG_Py_Void(); 
5896 SWIGINTERN PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5897   PyObject 
*resultobj 
= 0; 
5900   int arg3 
= (int) -1 ; 
5901   wxBitmap 
*result 
= 0 ; 
5908   PyObject 
* obj0 
= 0 ; 
5909   PyObject 
* obj1 
= 0 ; 
5910   PyObject 
* obj2 
= 0 ; 
5911   char *  kwnames
[] = { 
5912     (char *) "width",(char *) "height",(char *) "depth", NULL 
 
5915   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5916   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5917   if (!SWIG_IsOK(ecode1
)) { 
5918     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'"); 
5920   arg1 
= static_cast< int >(val1
); 
5921   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5922   if (!SWIG_IsOK(ecode2
)) { 
5923     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'"); 
5925   arg2 
= static_cast< int >(val2
); 
5927     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
5928     if (!SWIG_IsOK(ecode3
)) { 
5929       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'"); 
5931     arg3 
= static_cast< int >(val3
); 
5934     if (!wxPyCheckForApp()) SWIG_fail
; 
5935     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5936     result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
5937     wxPyEndAllowThreads(__tstate
); 
5938     if (PyErr_Occurred()) SWIG_fail
; 
5940   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5947 SWIGINTERN PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5948   PyObject 
*resultobj 
= 0; 
5950   wxBitmap 
*result 
= 0 ; 
5953   PyObject 
* obj0 
= 0 ; 
5954   char *  kwnames
[] = { 
5955     (char *) "icon", NULL 
 
5958   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
; 
5959   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
,  0  | 0); 
5960   if (!SWIG_IsOK(res1
)) { 
5961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
5964     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
5966   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
5968     if (!wxPyCheckForApp()) SWIG_fail
; 
5969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5970     result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
5971     wxPyEndAllowThreads(__tstate
); 
5972     if (PyErr_Occurred()) SWIG_fail
; 
5974   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5981 SWIGINTERN PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5982   PyObject 
*resultobj 
= 0; 
5984   int arg2 
= (int) -1 ; 
5985   wxBitmap 
*result 
= 0 ; 
5990   PyObject 
* obj0 
= 0 ; 
5991   PyObject 
* obj1 
= 0 ; 
5992   char *  kwnames
[] = { 
5993     (char *) "image",(char *) "depth", NULL 
 
5996   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5997   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
,  0  | 0); 
5998   if (!SWIG_IsOK(res1
)) { 
5999     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
6002     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
6004   arg1 
= reinterpret_cast< wxImage 
* >(argp1
); 
6006     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6007     if (!SWIG_IsOK(ecode2
)) { 
6008       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'"); 
6010     arg2 
= static_cast< int >(val2
); 
6013     if (!wxPyCheckForApp()) SWIG_fail
; 
6014     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6015     result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
6016     wxPyEndAllowThreads(__tstate
); 
6017     if (PyErr_Occurred()) SWIG_fail
; 
6019   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6026 SWIGINTERN PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6027   PyObject 
*resultobj 
= 0; 
6028   PyObject 
*arg1 
= (PyObject 
*) 0 ; 
6029   wxBitmap 
*result 
= 0 ; 
6030   PyObject 
* obj0 
= 0 ; 
6031   char *  kwnames
[] = { 
6032     (char *) "listOfStrings", NULL 
 
6035   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
; 
6038     if (!wxPyCheckForApp()) SWIG_fail
; 
6039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6040     result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
6041     wxPyEndAllowThreads(__tstate
); 
6042     if (PyErr_Occurred()) SWIG_fail
; 
6044   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6051 SWIGINTERN PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6052   PyObject 
*resultobj 
= 0; 
6053   PyObject 
*arg1 
= (PyObject 
*) 0 ; 
6056   int arg4 
= (int) 1 ; 
6057   wxBitmap 
*result 
= 0 ; 
6064   PyObject 
* obj0 
= 0 ; 
6065   PyObject 
* obj1 
= 0 ; 
6066   PyObject 
* obj2 
= 0 ; 
6067   PyObject 
* obj3 
= 0 ; 
6068   char *  kwnames
[] = { 
6069     (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
6072   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6074   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6075   if (!SWIG_IsOK(ecode2
)) { 
6076     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'"); 
6078   arg2 
= static_cast< int >(val2
); 
6079   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6080   if (!SWIG_IsOK(ecode3
)) { 
6081     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'"); 
6083   arg3 
= static_cast< int >(val3
); 
6085     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6086     if (!SWIG_IsOK(ecode4
)) { 
6087       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'"); 
6089     arg4 
= static_cast< int >(val4
); 
6092     if (!wxPyCheckForApp()) SWIG_fail
; 
6093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6094     result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
6095     wxPyEndAllowThreads(__tstate
); 
6096     if (PyErr_Occurred()) SWIG_fail
; 
6098   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6105 SWIGINTERN PyObject 
*_wrap_Bitmap_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6106   PyObject 
*resultobj 
= 0; 
6107   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6111   PyObject 
*swig_obj
[1] ; 
6113   if (!args
) SWIG_fail
; 
6115   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6116   if (!SWIG_IsOK(res1
)) { 
6117     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6119   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6121     result 
= (bool)(arg1
)->IsOk(); 
6122     if (PyErr_Occurred()) SWIG_fail
; 
6125     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6133 SWIGINTERN PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6134   PyObject 
*resultobj 
= 0; 
6135   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6139   PyObject 
*swig_obj
[1] ; 
6141   if (!args
) SWIG_fail
; 
6143   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6144   if (!SWIG_IsOK(res1
)) { 
6145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6147   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6149     result 
= (int)(arg1
)->GetWidth(); 
6150     if (PyErr_Occurred()) SWIG_fail
; 
6152   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6159 SWIGINTERN PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6160   PyObject 
*resultobj 
= 0; 
6161   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6165   PyObject 
*swig_obj
[1] ; 
6167   if (!args
) SWIG_fail
; 
6169   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6170   if (!SWIG_IsOK(res1
)) { 
6171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6173   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6175     result 
= (int)(arg1
)->GetHeight(); 
6176     if (PyErr_Occurred()) SWIG_fail
; 
6178   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6185 SWIGINTERN PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6186   PyObject 
*resultobj 
= 0; 
6187   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6191   PyObject 
*swig_obj
[1] ; 
6193   if (!args
) SWIG_fail
; 
6195   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6196   if (!SWIG_IsOK(res1
)) { 
6197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6199   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6201     result 
= (int)(arg1
)->GetDepth(); 
6202     if (PyErr_Occurred()) SWIG_fail
; 
6204   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6211 SWIGINTERN PyObject 
*_wrap_Bitmap_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6212   PyObject 
*resultobj 
= 0; 
6213   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6217   PyObject 
*swig_obj
[1] ; 
6219   if (!args
) SWIG_fail
; 
6221   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6222   if (!SWIG_IsOK(res1
)) { 
6223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6225   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6227     result 
= wxBitmap_GetSize(arg1
); 
6228     if (PyErr_Occurred()) SWIG_fail
; 
6230   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
6237 SWIGINTERN PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6238   PyObject 
*resultobj 
= 0; 
6239   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6240   SwigValueWrapper
<wxImage 
> result
; 
6243   PyObject 
*swig_obj
[1] ; 
6245   if (!args
) SWIG_fail
; 
6247   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6248   if (!SWIG_IsOK(res1
)) { 
6249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
6251   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6253     result 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
6254     if (PyErr_Occurred()) SWIG_fail
; 
6256   resultobj 
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN 
|  0 ); 
6263 SWIGINTERN PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6264   PyObject 
*resultobj 
= 0; 
6265   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6266   wxMask 
*result 
= 0 ; 
6269   PyObject 
*swig_obj
[1] ; 
6271   if (!args
) SWIG_fail
; 
6273   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6274   if (!SWIG_IsOK(res1
)) { 
6275     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
6277   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6279     result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
6280     if (PyErr_Occurred()) SWIG_fail
; 
6282   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 |  0 ); 
6289 SWIGINTERN PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6290   PyObject 
*resultobj 
= 0; 
6291   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6292   wxMask 
*arg2 
= (wxMask 
*) 0 ; 
6296   PyObject 
* obj0 
= 0 ; 
6297   PyObject 
* obj1 
= 0 ; 
6298   char *  kwnames
[] = { 
6299     (char *) "self",(char *) "mask", NULL 
 
6302   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6303   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6304   if (!SWIG_IsOK(res1
)) { 
6305     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6307   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6308   res2 
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN 
|  0 ); 
6309   if (!SWIG_IsOK(res2
)) { 
6310     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'"); 
6313     (arg1
)->SetMask(arg2
); 
6314     if (PyErr_Occurred()) SWIG_fail
; 
6316   resultobj 
= SWIG_Py_Void(); 
6323 SWIGINTERN PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6324   PyObject 
*resultobj 
= 0; 
6325   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6326   wxColour 
*arg2 
= 0 ; 
6330   PyObject 
* obj0 
= 0 ; 
6331   PyObject 
* obj1 
= 0 ; 
6332   char *  kwnames
[] = { 
6333     (char *) "self",(char *) "colour", NULL 
 
6336   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6337   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6338   if (!SWIG_IsOK(res1
)) { 
6339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6341   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6344     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6347     wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
6348     if (PyErr_Occurred()) SWIG_fail
; 
6350   resultobj 
= SWIG_Py_Void(); 
6357 SWIGINTERN PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6358   PyObject 
*resultobj 
= 0; 
6359   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6361   SwigValueWrapper
<wxBitmap 
> result
; 
6365   PyObject 
* obj0 
= 0 ; 
6366   PyObject 
* obj1 
= 0 ; 
6367   char *  kwnames
[] = { 
6368     (char *) "self",(char *) "rect", NULL 
 
6371   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6372   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6373   if (!SWIG_IsOK(res1
)) { 
6374     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
6376   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6379     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6382     result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
6383     if (PyErr_Occurred()) SWIG_fail
; 
6385   resultobj 
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6392 SWIGINTERN PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6393   PyObject 
*resultobj 
= 0; 
6394   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6395   wxString 
*arg2 
= 0 ; 
6397   wxPalette 
*arg4 
= (wxPalette 
*) NULL 
; 
6401   bool temp2 
= false ; 
6406   PyObject 
* obj0 
= 0 ; 
6407   PyObject 
* obj1 
= 0 ; 
6408   PyObject 
* obj2 
= 0 ; 
6409   PyObject 
* obj3 
= 0 ; 
6410   char *  kwnames
[] = { 
6411     (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
6414   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6415   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6416   if (!SWIG_IsOK(res1
)) { 
6417     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6419   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6421     arg2 
= wxString_in_helper(obj1
); 
6422     if (arg2 
== NULL
) SWIG_fail
; 
6425   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6426   if (!SWIG_IsOK(ecode3
)) { 
6427     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'"); 
6429   arg3 
= static_cast< wxBitmapType 
>(val3
); 
6431     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
6432     if (!SWIG_IsOK(res4
)) { 
6433       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");  
6435     arg4 
= reinterpret_cast< wxPalette 
* >(argp4
); 
6438     result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
,arg4
); 
6439     if (PyErr_Occurred()) SWIG_fail
; 
6442     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6458 SWIGINTERN PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6459   PyObject 
*resultobj 
= 0; 
6460   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6461   wxString 
*arg2 
= 0 ; 
6466   bool temp2 
= false ; 
6469   PyObject 
* obj0 
= 0 ; 
6470   PyObject 
* obj1 
= 0 ; 
6471   PyObject 
* obj2 
= 0 ; 
6472   char *  kwnames
[] = { 
6473     (char *) "self",(char *) "name",(char *) "type", NULL 
 
6476   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6477   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6478   if (!SWIG_IsOK(res1
)) { 
6479     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6481   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6483     arg2 
= wxString_in_helper(obj1
); 
6484     if (arg2 
== NULL
) SWIG_fail
; 
6487   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6488   if (!SWIG_IsOK(ecode3
)) { 
6489     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'"); 
6491   arg3 
= static_cast< wxBitmapType 
>(val3
); 
6493     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
6494     if (PyErr_Occurred()) SWIG_fail
; 
6497     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6513 SWIGINTERN PyObject 
*_wrap_Bitmap_GetPalette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6514   PyObject 
*resultobj 
= 0; 
6515   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6516   wxPalette 
*result 
= 0 ; 
6519   PyObject 
*swig_obj
[1] ; 
6521   if (!args
) SWIG_fail
; 
6523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6524   if (!SWIG_IsOK(res1
)) { 
6525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
6527   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6529     result 
= (wxPalette 
*)((wxBitmap 
const *)arg1
)->GetPalette(); 
6530     if (PyErr_Occurred()) SWIG_fail
; 
6532   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 |  0 ); 
6539 SWIGINTERN PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6540   PyObject 
*resultobj 
= 0; 
6541   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6548   PyObject 
* obj0 
= 0 ; 
6549   PyObject 
* obj1 
= 0 ; 
6550   char *  kwnames
[] = { 
6551     (char *) "self",(char *) "icon", NULL 
 
6554   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6555   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6556   if (!SWIG_IsOK(res1
)) { 
6557     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6559   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6560   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
6561   if (!SWIG_IsOK(res2
)) { 
6562     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
6565     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
6567   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
6569     result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
6570     if (PyErr_Occurred()) SWIG_fail
; 
6573     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6581 SWIGINTERN PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6582   PyObject 
*resultobj 
= 0; 
6583   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6589   PyObject 
* obj0 
= 0 ; 
6590   PyObject 
* obj1 
= 0 ; 
6591   char *  kwnames
[] = { 
6592     (char *) "self",(char *) "height", NULL 
 
6595   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6596   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6597   if (!SWIG_IsOK(res1
)) { 
6598     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6600   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6601   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6602   if (!SWIG_IsOK(ecode2
)) { 
6603     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'"); 
6605   arg2 
= static_cast< int >(val2
); 
6607     (arg1
)->SetHeight(arg2
); 
6608     if (PyErr_Occurred()) SWIG_fail
; 
6610   resultobj 
= SWIG_Py_Void(); 
6617 SWIGINTERN PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6618   PyObject 
*resultobj 
= 0; 
6619   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6625   PyObject 
* obj0 
= 0 ; 
6626   PyObject 
* obj1 
= 0 ; 
6627   char *  kwnames
[] = { 
6628     (char *) "self",(char *) "width", NULL 
 
6631   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6632   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6633   if (!SWIG_IsOK(res1
)) { 
6634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6636   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6637   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6638   if (!SWIG_IsOK(ecode2
)) { 
6639     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
6641   arg2 
= static_cast< int >(val2
); 
6643     (arg1
)->SetWidth(arg2
); 
6644     if (PyErr_Occurred()) SWIG_fail
; 
6646   resultobj 
= SWIG_Py_Void(); 
6653 SWIGINTERN PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6654   PyObject 
*resultobj 
= 0; 
6655   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6661   PyObject 
* obj0 
= 0 ; 
6662   PyObject 
* obj1 
= 0 ; 
6663   char *  kwnames
[] = { 
6664     (char *) "self",(char *) "depth", NULL 
 
6667   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6668   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6669   if (!SWIG_IsOK(res1
)) { 
6670     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6672   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6673   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6674   if (!SWIG_IsOK(ecode2
)) { 
6675     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'"); 
6677   arg2 
= static_cast< int >(val2
); 
6679     (arg1
)->SetDepth(arg2
); 
6680     if (PyErr_Occurred()) SWIG_fail
; 
6682   resultobj 
= SWIG_Py_Void(); 
6689 SWIGINTERN PyObject 
*_wrap_Bitmap_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6690   PyObject 
*resultobj 
= 0; 
6691   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6696   PyObject 
* obj0 
= 0 ; 
6697   PyObject 
* obj1 
= 0 ; 
6698   char *  kwnames
[] = { 
6699     (char *) "self",(char *) "size", NULL 
 
6702   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6703   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6704   if (!SWIG_IsOK(res1
)) { 
6705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6707   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6710     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
6713     wxBitmap_SetSize(arg1
,(wxSize 
const &)*arg2
); 
6714     if (PyErr_Occurred()) SWIG_fail
; 
6716   resultobj 
= SWIG_Py_Void(); 
6723 SWIGINTERN PyObject 
*_wrap_Bitmap___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6724   PyObject 
*resultobj 
= 0; 
6725   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6726   wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
6732   PyObject 
* obj0 
= 0 ; 
6733   PyObject 
* obj1 
= 0 ; 
6734   char *  kwnames
[] = { 
6735     (char *) "self",(char *) "other", NULL 
 
6738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6740   if (!SWIG_IsOK(res1
)) { 
6741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6743   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6744   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6745   if (!SWIG_IsOK(res2
)) { 
6746     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");  
6748   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
6750     result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
6751     if (PyErr_Occurred()) SWIG_fail
; 
6754     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6762 SWIGINTERN PyObject 
*_wrap_Bitmap___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6763   PyObject 
*resultobj 
= 0; 
6764   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6765   wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
6771   PyObject 
* obj0 
= 0 ; 
6772   PyObject 
* obj1 
= 0 ; 
6773   char *  kwnames
[] = { 
6774     (char *) "self",(char *) "other", NULL 
 
6777   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6778   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6779   if (!SWIG_IsOK(res1
)) { 
6780     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6782   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6783   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6784   if (!SWIG_IsOK(res2
)) { 
6785     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");  
6787   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
6789     result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
6790     if (PyErr_Occurred()) SWIG_fail
; 
6793     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6801 SWIGINTERN PyObject 
*Bitmap_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6803   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6804   SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
)); 
6805   return SWIG_Py_Void(); 
6808 SWIGINTERN PyObject 
*Bitmap_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6809   return SWIG_Python_InitShadowInstance(args
); 
6812 SWIGINTERN PyObject 
*_wrap__BitmapFromBufferAlpha(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6813   PyObject 
*resultobj 
= 0; 
6820   wxBitmap 
*result 
= 0 ; 
6827   PyObject 
* obj0 
= 0 ; 
6828   PyObject 
* obj1 
= 0 ; 
6829   PyObject 
* obj2 
= 0 ; 
6830   PyObject 
* obj3 
= 0 ; 
6831   char *  kwnames
[] = { 
6832     (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL 
 
6835   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6836   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
6837   if (!SWIG_IsOK(ecode1
)) { 
6838     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'"); 
6840   arg1 
= static_cast< int >(val1
); 
6841   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6842   if (!SWIG_IsOK(ecode2
)) { 
6843     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'"); 
6845   arg2 
= static_cast< int >(val2
); 
6847     if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
; 
6851     if (obj3 
!= Py_None
) { 
6852       if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
; 
6857     result 
= (wxBitmap 
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
6858     if (PyErr_Occurred()) SWIG_fail
; 
6860   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6867 SWIGINTERN PyObject 
*_wrap__BitmapFromBuffer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6868   PyObject 
*resultobj 
= 0; 
6873   wxBitmap 
*result 
= 0 ; 
6879   PyObject 
* obj0 
= 0 ; 
6880   PyObject 
* obj1 
= 0 ; 
6881   PyObject 
* obj2 
= 0 ; 
6882   char *  kwnames
[] = { 
6883     (char *) "width",(char *) "height",(char *) "data", NULL 
 
6886   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6887   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
6888   if (!SWIG_IsOK(ecode1
)) { 
6889     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'"); 
6891   arg1 
= static_cast< int >(val1
); 
6892   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6893   if (!SWIG_IsOK(ecode2
)) { 
6894     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'"); 
6896   arg2 
= static_cast< int >(val2
); 
6898     if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
; 
6902     result 
= (wxBitmap 
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
); 
6903     if (PyErr_Occurred()) SWIG_fail
; 
6905   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6912 SWIGINTERN PyObject 
*_wrap__BitmapFromBufferRGBA(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6913   PyObject 
*resultobj 
= 0; 
6918   wxBitmap 
*result 
= 0 ; 
6924   PyObject 
* obj0 
= 0 ; 
6925   PyObject 
* obj1 
= 0 ; 
6926   PyObject 
* obj2 
= 0 ; 
6927   char *  kwnames
[] = { 
6928     (char *) "width",(char *) "height",(char *) "data", NULL 
 
6931   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6932   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
6933   if (!SWIG_IsOK(ecode1
)) { 
6934     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'"); 
6936   arg1 
= static_cast< int >(val1
); 
6937   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6938   if (!SWIG_IsOK(ecode2
)) { 
6939     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'"); 
6941   arg2 
= static_cast< int >(val2
); 
6943     if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
; 
6947     result 
= (wxBitmap 
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
); 
6948     if (PyErr_Occurred()) SWIG_fail
; 
6950   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
6957 SWIGINTERN PyObject 
*_wrap_PixelDataBase_GetOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6958   PyObject 
*resultobj 
= 0; 
6959   wxPixelDataBase 
*arg1 
= (wxPixelDataBase 
*) 0 ; 
6963   PyObject 
*swig_obj
[1] ; 
6965   if (!args
) SWIG_fail
; 
6967   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 |  0 ); 
6968   if (!SWIG_IsOK(res1
)) { 
6969     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");  
6971   arg1 
= reinterpret_cast< wxPixelDataBase 
* >(argp1
); 
6973     result 
= ((wxPixelDataBase 
const *)arg1
)->GetOrigin(); 
6974     if (PyErr_Occurred()) SWIG_fail
; 
6976   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
6983 SWIGINTERN PyObject 
*_wrap_PixelDataBase_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6984   PyObject 
*resultobj 
= 0; 
6985   wxPixelDataBase 
*arg1 
= (wxPixelDataBase 
*) 0 ; 
6989   PyObject 
*swig_obj
[1] ; 
6991   if (!args
) SWIG_fail
; 
6993   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 |  0 ); 
6994   if (!SWIG_IsOK(res1
)) { 
6995     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");  
6997   arg1 
= reinterpret_cast< wxPixelDataBase 
* >(argp1
); 
6999     result 
= (int)((wxPixelDataBase 
const *)arg1
)->GetWidth(); 
7000     if (PyErr_Occurred()) SWIG_fail
; 
7002   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7009 SWIGINTERN PyObject 
*_wrap_PixelDataBase_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7010   PyObject 
*resultobj 
= 0; 
7011   wxPixelDataBase 
*arg1 
= (wxPixelDataBase 
*) 0 ; 
7015   PyObject 
*swig_obj
[1] ; 
7017   if (!args
) SWIG_fail
; 
7019   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 |  0 ); 
7020   if (!SWIG_IsOK(res1
)) { 
7021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");  
7023   arg1 
= reinterpret_cast< wxPixelDataBase 
* >(argp1
); 
7025     result 
= (int)((wxPixelDataBase 
const *)arg1
)->GetHeight(); 
7026     if (PyErr_Occurred()) SWIG_fail
; 
7028   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7035 SWIGINTERN PyObject 
*_wrap_PixelDataBase_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7036   PyObject 
*resultobj 
= 0; 
7037   wxPixelDataBase 
*arg1 
= (wxPixelDataBase 
*) 0 ; 
7041   PyObject 
*swig_obj
[1] ; 
7043   if (!args
) SWIG_fail
; 
7045   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 |  0 ); 
7046   if (!SWIG_IsOK(res1
)) { 
7047     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");  
7049   arg1 
= reinterpret_cast< wxPixelDataBase 
* >(argp1
); 
7051     result 
= ((wxPixelDataBase 
const *)arg1
)->GetSize(); 
7052     if (PyErr_Occurred()) SWIG_fail
; 
7054   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
7061 SWIGINTERN PyObject 
*_wrap_PixelDataBase_GetRowStride(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7062   PyObject 
*resultobj 
= 0; 
7063   wxPixelDataBase 
*arg1 
= (wxPixelDataBase 
*) 0 ; 
7067   PyObject 
*swig_obj
[1] ; 
7069   if (!args
) SWIG_fail
; 
7071   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 |  0 ); 
7072   if (!SWIG_IsOK(res1
)) { 
7073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");  
7075   arg1 
= reinterpret_cast< wxPixelDataBase 
* >(argp1
); 
7077     result 
= (int)((wxPixelDataBase 
const *)arg1
)->GetRowStride(); 
7078     if (PyErr_Occurred()) SWIG_fail
; 
7080   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7087 SWIGINTERN PyObject 
*PixelDataBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7089   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7090   SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
)); 
7091   return SWIG_Py_Void(); 
7094 SWIGINTERN PyObject 
*_wrap_new_NativePixelData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7095   PyObject 
*resultobj 
= 0; 
7096   wxBitmap 
*arg1 
= 0 ; 
7097   wxNativePixelData 
*result 
= 0 ; 
7101   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
7102   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7103   if (!SWIG_IsOK(res1
)) { 
7104     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7107     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7109   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7111     result 
= (wxNativePixelData 
*)new wxNativePixelData(*arg1
); 
7112     if (PyErr_Occurred()) SWIG_fail
; 
7114   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW 
|  0 ); 
7121 SWIGINTERN PyObject 
*_wrap_new_NativePixelData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7122   PyObject 
*resultobj 
= 0; 
7123   wxBitmap 
*arg1 
= 0 ; 
7125   wxNativePixelData 
*result 
= 0 ; 
7130   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
7131   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7132   if (!SWIG_IsOK(res1
)) { 
7133     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7136     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7138   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7141     if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
7144     result 
= (wxNativePixelData 
*)new wxNativePixelData(*arg1
,(wxRect 
const &)*arg2
); 
7145     if (PyErr_Occurred()) SWIG_fail
; 
7147   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW 
|  0 ); 
7154 SWIGINTERN PyObject 
*_wrap_new_NativePixelData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7155   PyObject 
*resultobj 
= 0; 
7156   wxBitmap 
*arg1 
= 0 ; 
7159   wxNativePixelData 
*result 
= 0 ; 
7165   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
7166   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7167   if (!SWIG_IsOK(res1
)) { 
7168     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7171     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7173   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7176     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
7180     if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
; 
7183     result 
= (wxNativePixelData 
*)new wxNativePixelData(*arg1
,(wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
7184     if (PyErr_Occurred()) SWIG_fail
; 
7186   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW 
|  0 ); 
7193 SWIGINTERN PyObject 
*_wrap_new_NativePixelData(PyObject 
*self
, PyObject 
*args
) { 
7197   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
; 
7200     return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
); 
7203     return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
); 
7206     return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
); 
7210   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'"); 
7215 SWIGINTERN PyObject 
*_wrap_delete_NativePixelData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7216   PyObject 
*resultobj 
= 0; 
7217   wxNativePixelData 
*arg1 
= (wxNativePixelData 
*) 0 ; 
7220   PyObject 
*swig_obj
[1] ; 
7222   if (!args
) SWIG_fail
; 
7224   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN 
|  0 ); 
7225   if (!SWIG_IsOK(res1
)) { 
7226     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");  
7228   arg1 
= reinterpret_cast< wxNativePixelData 
* >(argp1
); 
7232     if (PyErr_Occurred()) SWIG_fail
; 
7234   resultobj 
= SWIG_Py_Void(); 
7241 SWIGINTERN PyObject 
*_wrap_NativePixelData_GetPixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7242   PyObject 
*resultobj 
= 0; 
7243   wxNativePixelData 
*arg1 
= (wxNativePixelData 
*) 0 ; 
7244   wxNativePixelData_Accessor result
; 
7247   PyObject 
*swig_obj
[1] ; 
7249   if (!args
) SWIG_fail
; 
7251   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 |  0 ); 
7252   if (!SWIG_IsOK(res1
)) { 
7253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");  
7255   arg1 
= reinterpret_cast< wxNativePixelData 
* >(argp1
); 
7257     result 
= ((wxNativePixelData 
const *)arg1
)->GetPixels(); 
7258     if (PyErr_Occurred()) SWIG_fail
; 
7260   resultobj 
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN 
|  0 ); 
7267 SWIGINTERN PyObject 
*_wrap_NativePixelData_UseAlpha(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7268   PyObject 
*resultobj 
= 0; 
7269   wxNativePixelData 
*arg1 
= (wxNativePixelData 
*) 0 ; 
7272   PyObject 
*swig_obj
[1] ; 
7274   if (!args
) SWIG_fail
; 
7276   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 |  0 ); 
7277   if (!SWIG_IsOK(res1
)) { 
7278     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");  
7280   arg1 
= reinterpret_cast< wxNativePixelData 
* >(argp1
); 
7283     if (PyErr_Occurred()) SWIG_fail
; 
7285   resultobj 
= SWIG_Py_Void(); 
7292 SWIGINTERN PyObject 
*_wrap_NativePixelData___nonzero__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7293   PyObject 
*resultobj 
= 0; 
7294   wxNativePixelData 
*arg1 
= (wxNativePixelData 
*) 0 ; 
7298   PyObject 
*swig_obj
[1] ; 
7300   if (!args
) SWIG_fail
; 
7302   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 |  0 ); 
7303   if (!SWIG_IsOK(res1
)) { 
7304     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");  
7306   arg1 
= reinterpret_cast< wxNativePixelData 
* >(argp1
); 
7308     result 
= (bool)wxNativePixelData___nonzero__(arg1
); 
7309     if (PyErr_Occurred()) SWIG_fail
; 
7312     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7320 SWIGINTERN PyObject 
*NativePixelData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7322   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7323   SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
)); 
7324   return SWIG_Py_Void(); 
7327 SWIGINTERN PyObject 
*NativePixelData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7328   return SWIG_Python_InitShadowInstance(args
); 
7331 SWIGINTERN PyObject 
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7332   PyObject 
*resultobj 
= 0; 
7333   wxNativePixelData 
*arg1 
= 0 ; 
7334   wxNativePixelData_Accessor 
*result 
= 0 ; 
7338   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
7339   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
,  0 ); 
7340   if (!SWIG_IsOK(res1
)) { 
7341     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");  
7344     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");  
7346   arg1 
= reinterpret_cast< wxNativePixelData 
* >(argp1
); 
7348     result 
= (wxNativePixelData_Accessor 
*)new wxNativePixelData_Accessor(*arg1
); 
7349     if (PyErr_Occurred()) SWIG_fail
; 
7351   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW 
|  0 ); 
7358 SWIGINTERN PyObject 
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7359   PyObject 
*resultobj 
= 0; 
7360   wxBitmap 
*arg1 
= 0 ; 
7361   wxNativePixelData 
*arg2 
= 0 ; 
7362   wxNativePixelData_Accessor 
*result 
= 0 ; 
7368   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
7369   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7370   if (!SWIG_IsOK(res1
)) { 
7371     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7374     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7376   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7377   res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
,  0 ); 
7378   if (!SWIG_IsOK(res2
)) { 
7379     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");  
7382     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");  
7384   arg2 
= reinterpret_cast< wxNativePixelData 
* >(argp2
); 
7386     result 
= (wxNativePixelData_Accessor 
*)new wxNativePixelData_Accessor(*arg1
,*arg2
); 
7387     if (PyErr_Occurred()) SWIG_fail
; 
7389   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW 
|  0 ); 
7396 SWIGINTERN PyObject 
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
7397   PyObject 
*resultobj 
= 0; 
7398   wxNativePixelData_Accessor 
*result 
= 0 ; 
7400   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
7402     result 
= (wxNativePixelData_Accessor 
*)new wxNativePixelData_Accessor(); 
7403     if (PyErr_Occurred()) SWIG_fail
; 
7405   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW 
|  0 ); 
7412 SWIGINTERN PyObject 
*_wrap_new_NativePixelData_Accessor(PyObject 
*self
, PyObject 
*args
) { 
7416   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
; 
7419     return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
); 
7422     return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
); 
7425     return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
); 
7429   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'"); 
7434 SWIGINTERN PyObject 
*_wrap_delete_NativePixelData_Accessor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7435   PyObject 
*resultobj 
= 0; 
7436   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7439   PyObject 
*swig_obj
[1] ; 
7441   if (!args
) SWIG_fail
; 
7443   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN 
|  0 ); 
7444   if (!SWIG_IsOK(res1
)) { 
7445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7447   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7451     if (PyErr_Occurred()) SWIG_fail
; 
7453   resultobj 
= SWIG_Py_Void(); 
7460 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7461   PyObject 
*resultobj 
= 0; 
7462   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7463   wxNativePixelData 
*arg2 
= 0 ; 
7468   PyObject 
* obj0 
= 0 ; 
7469   PyObject 
* obj1 
= 0 ; 
7470   char *  kwnames
[] = { 
7471     (char *) "self",(char *) "data", NULL 
 
7474   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7475   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7476   if (!SWIG_IsOK(res1
)) { 
7477     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7479   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7480   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
,  0  | 0); 
7481   if (!SWIG_IsOK(res2
)) { 
7482     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7485     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7487   arg2 
= reinterpret_cast< wxNativePixelData 
* >(argp2
); 
7489     (arg1
)->Reset((wxNativePixelData 
const &)*arg2
); 
7490     if (PyErr_Occurred()) SWIG_fail
; 
7492   resultobj 
= SWIG_Py_Void(); 
7499 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7500   PyObject 
*resultobj 
= 0; 
7501   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7505   PyObject 
*swig_obj
[1] ; 
7507   if (!args
) SWIG_fail
; 
7509   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7510   if (!SWIG_IsOK(res1
)) { 
7511     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");  
7513   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7515     result 
= (bool)((wxNativePixelData_Accessor 
const *)arg1
)->IsOk(); 
7516     if (PyErr_Occurred()) SWIG_fail
; 
7519     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7527 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_nextPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7528   PyObject 
*resultobj 
= 0; 
7529   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7532   PyObject 
*swig_obj
[1] ; 
7534   if (!args
) SWIG_fail
; 
7536   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7537   if (!SWIG_IsOK(res1
)) { 
7538     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7540   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7542     wxNativePixelData_Accessor_nextPixel(arg1
); 
7543     if (PyErr_Occurred()) SWIG_fail
; 
7545   resultobj 
= SWIG_Py_Void(); 
7552 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_Offset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7553   PyObject 
*resultobj 
= 0; 
7554   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7555   wxNativePixelData 
*arg2 
= 0 ; 
7566   PyObject 
* obj0 
= 0 ; 
7567   PyObject 
* obj1 
= 0 ; 
7568   PyObject 
* obj2 
= 0 ; 
7569   PyObject 
* obj3 
= 0 ; 
7570   char *  kwnames
[] = { 
7571     (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL 
 
7574   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7575   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7576   if (!SWIG_IsOK(res1
)) { 
7577     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7579   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7580   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
,  0  | 0); 
7581   if (!SWIG_IsOK(res2
)) { 
7582     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7585     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7587   arg2 
= reinterpret_cast< wxNativePixelData 
* >(argp2
); 
7588   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7589   if (!SWIG_IsOK(ecode3
)) { 
7590     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'"); 
7592   arg3 
= static_cast< int >(val3
); 
7593   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7594   if (!SWIG_IsOK(ecode4
)) { 
7595     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'"); 
7597   arg4 
= static_cast< int >(val4
); 
7599     (arg1
)->Offset((wxNativePixelData 
const &)*arg2
,arg3
,arg4
); 
7600     if (PyErr_Occurred()) SWIG_fail
; 
7602   resultobj 
= SWIG_Py_Void(); 
7609 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_OffsetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7610   PyObject 
*resultobj 
= 0; 
7611   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7612   wxNativePixelData 
*arg2 
= 0 ; 
7620   PyObject 
* obj0 
= 0 ; 
7621   PyObject 
* obj1 
= 0 ; 
7622   PyObject 
* obj2 
= 0 ; 
7623   char *  kwnames
[] = { 
7624     (char *) "self",(char *) "data",(char *) "x", NULL 
 
7627   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7628   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7629   if (!SWIG_IsOK(res1
)) { 
7630     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7632   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7633   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
,  0  | 0); 
7634   if (!SWIG_IsOK(res2
)) { 
7635     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7638     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7640   arg2 
= reinterpret_cast< wxNativePixelData 
* >(argp2
); 
7641   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7642   if (!SWIG_IsOK(ecode3
)) { 
7643     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'"); 
7645   arg3 
= static_cast< int >(val3
); 
7647     (arg1
)->OffsetX((wxNativePixelData 
const &)*arg2
,arg3
); 
7648     if (PyErr_Occurred()) SWIG_fail
; 
7650   resultobj 
= SWIG_Py_Void(); 
7657 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_OffsetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7658   PyObject 
*resultobj 
= 0; 
7659   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7660   wxNativePixelData 
*arg2 
= 0 ; 
7668   PyObject 
* obj0 
= 0 ; 
7669   PyObject 
* obj1 
= 0 ; 
7670   PyObject 
* obj2 
= 0 ; 
7671   char *  kwnames
[] = { 
7672     (char *) "self",(char *) "data",(char *) "y", NULL 
 
7675   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7676   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7677   if (!SWIG_IsOK(res1
)) { 
7678     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7680   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7681   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
,  0  | 0); 
7682   if (!SWIG_IsOK(res2
)) { 
7683     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7686     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7688   arg2 
= reinterpret_cast< wxNativePixelData 
* >(argp2
); 
7689   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7690   if (!SWIG_IsOK(ecode3
)) { 
7691     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'"); 
7693   arg3 
= static_cast< int >(val3
); 
7695     (arg1
)->OffsetY((wxNativePixelData 
const &)*arg2
,arg3
); 
7696     if (PyErr_Occurred()) SWIG_fail
; 
7698   resultobj 
= SWIG_Py_Void(); 
7705 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_MoveTo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7706   PyObject 
*resultobj 
= 0; 
7707   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7708   wxNativePixelData 
*arg2 
= 0 ; 
7719   PyObject 
* obj0 
= 0 ; 
7720   PyObject 
* obj1 
= 0 ; 
7721   PyObject 
* obj2 
= 0 ; 
7722   PyObject 
* obj3 
= 0 ; 
7723   char *  kwnames
[] = { 
7724     (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL 
 
7727   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7728   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7729   if (!SWIG_IsOK(res1
)) { 
7730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7732   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7733   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
,  0  | 0); 
7734   if (!SWIG_IsOK(res2
)) { 
7735     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7738     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");  
7740   arg2 
= reinterpret_cast< wxNativePixelData 
* >(argp2
); 
7741   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7742   if (!SWIG_IsOK(ecode3
)) { 
7743     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'"); 
7745   arg3 
= static_cast< int >(val3
); 
7746   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7747   if (!SWIG_IsOK(ecode4
)) { 
7748     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'"); 
7750   arg4 
= static_cast< int >(val4
); 
7752     (arg1
)->MoveTo((wxNativePixelData 
const &)*arg2
,arg3
,arg4
); 
7753     if (PyErr_Occurred()) SWIG_fail
; 
7755   resultobj 
= SWIG_Py_Void(); 
7762 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7763   PyObject 
*resultobj 
= 0; 
7764   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7770   unsigned char val2 
; 
7772   unsigned char val3 
; 
7774   unsigned char val4 
; 
7776   PyObject 
* obj0 
= 0 ; 
7777   PyObject 
* obj1 
= 0 ; 
7778   PyObject 
* obj2 
= 0 ; 
7779   PyObject 
* obj3 
= 0 ; 
7780   char *  kwnames
[] = { 
7781     (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
7784   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7785   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7786   if (!SWIG_IsOK(res1
)) { 
7787     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7789   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7790   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
7791   if (!SWIG_IsOK(ecode2
)) { 
7792     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'"); 
7794   arg2 
= static_cast< byte 
>(val2
); 
7795   ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
7796   if (!SWIG_IsOK(ecode3
)) { 
7797     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'"); 
7799   arg3 
= static_cast< byte 
>(val3
); 
7800   ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
7801   if (!SWIG_IsOK(ecode4
)) { 
7802     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'"); 
7804   arg4 
= static_cast< byte 
>(val4
); 
7806     wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
); 
7807     if (PyErr_Occurred()) SWIG_fail
; 
7809   resultobj 
= SWIG_Py_Void(); 
7816 SWIGINTERN PyObject 
*_wrap_NativePixelData_Accessor_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7817   PyObject 
*resultobj 
= 0; 
7818   wxNativePixelData_Accessor 
*arg1 
= (wxNativePixelData_Accessor 
*) 0 ; 
7819   PyObject 
*result 
= 0 ; 
7822   PyObject 
*swig_obj
[1] ; 
7824   if (!args
) SWIG_fail
; 
7826   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 |  0 ); 
7827   if (!SWIG_IsOK(res1
)) { 
7828     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");  
7830   arg1 
= reinterpret_cast< wxNativePixelData_Accessor 
* >(argp1
); 
7832     result 
= (PyObject 
*)wxNativePixelData_Accessor_Get(arg1
); 
7833     if (PyErr_Occurred()) SWIG_fail
; 
7842 SWIGINTERN PyObject 
*NativePixelData_Accessor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7844   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7845   SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
)); 
7846   return SWIG_Py_Void(); 
7849 SWIGINTERN PyObject 
*NativePixelData_Accessor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7850   return SWIG_Python_InitShadowInstance(args
); 
7853 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7854   PyObject 
*resultobj 
= 0; 
7855   wxBitmap 
*arg1 
= 0 ; 
7856   wxAlphaPixelData 
*result 
= 0 ; 
7860   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
7861   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7862   if (!SWIG_IsOK(res1
)) { 
7863     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7866     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7868   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7870     result 
= (wxAlphaPixelData 
*)new wxAlphaPixelData(*arg1
); 
7871     if (PyErr_Occurred()) SWIG_fail
; 
7873   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW 
|  0 ); 
7880 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7881   PyObject 
*resultobj 
= 0; 
7882   wxBitmap 
*arg1 
= 0 ; 
7884   wxAlphaPixelData 
*result 
= 0 ; 
7889   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
7890   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7891   if (!SWIG_IsOK(res1
)) { 
7892     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7895     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7897   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7900     if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
7903     result 
= (wxAlphaPixelData 
*)new wxAlphaPixelData(*arg1
,(wxRect 
const &)*arg2
); 
7904     if (PyErr_Occurred()) SWIG_fail
; 
7906   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW 
|  0 ); 
7913 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
7914   PyObject 
*resultobj 
= 0; 
7915   wxBitmap 
*arg1 
= 0 ; 
7918   wxAlphaPixelData 
*result 
= 0 ; 
7924   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
7925   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
7926   if (!SWIG_IsOK(res1
)) { 
7927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7930     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");  
7932   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7935     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
7939     if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
; 
7942     result 
= (wxAlphaPixelData 
*)new wxAlphaPixelData(*arg1
,(wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
7943     if (PyErr_Occurred()) SWIG_fail
; 
7945   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW 
|  0 ); 
7952 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData(PyObject 
*self
, PyObject 
*args
) { 
7956   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
; 
7959     return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
); 
7962     return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
); 
7965     return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
); 
7969   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'"); 
7974 SWIGINTERN PyObject 
*_wrap_delete_AlphaPixelData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7975   PyObject 
*resultobj 
= 0; 
7976   wxAlphaPixelData 
*arg1 
= (wxAlphaPixelData 
*) 0 ; 
7979   PyObject 
*swig_obj
[1] ; 
7981   if (!args
) SWIG_fail
; 
7983   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN 
|  0 ); 
7984   if (!SWIG_IsOK(res1
)) { 
7985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");  
7987   arg1 
= reinterpret_cast< wxAlphaPixelData 
* >(argp1
); 
7991     if (PyErr_Occurred()) SWIG_fail
; 
7993   resultobj 
= SWIG_Py_Void(); 
8000 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_GetPixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8001   PyObject 
*resultobj 
= 0; 
8002   wxAlphaPixelData 
*arg1 
= (wxAlphaPixelData 
*) 0 ; 
8003   wxAlphaPixelData_Accessor result
; 
8006   PyObject 
*swig_obj
[1] ; 
8008   if (!args
) SWIG_fail
; 
8010   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 |  0 ); 
8011   if (!SWIG_IsOK(res1
)) { 
8012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");  
8014   arg1 
= reinterpret_cast< wxAlphaPixelData 
* >(argp1
); 
8016     result 
= ((wxAlphaPixelData 
const *)arg1
)->GetPixels(); 
8017     if (PyErr_Occurred()) SWIG_fail
; 
8019   resultobj 
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN 
|  0 ); 
8026 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_UseAlpha(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8027   PyObject 
*resultobj 
= 0; 
8028   wxAlphaPixelData 
*arg1 
= (wxAlphaPixelData 
*) 0 ; 
8031   PyObject 
*swig_obj
[1] ; 
8033   if (!args
) SWIG_fail
; 
8035   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 |  0 ); 
8036   if (!SWIG_IsOK(res1
)) { 
8037     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");  
8039   arg1 
= reinterpret_cast< wxAlphaPixelData 
* >(argp1
); 
8042     if (PyErr_Occurred()) SWIG_fail
; 
8044   resultobj 
= SWIG_Py_Void(); 
8051 SWIGINTERN PyObject 
*_wrap_AlphaPixelData___nonzero__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8052   PyObject 
*resultobj 
= 0; 
8053   wxAlphaPixelData 
*arg1 
= (wxAlphaPixelData 
*) 0 ; 
8057   PyObject 
*swig_obj
[1] ; 
8059   if (!args
) SWIG_fail
; 
8061   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 |  0 ); 
8062   if (!SWIG_IsOK(res1
)) { 
8063     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");  
8065   arg1 
= reinterpret_cast< wxAlphaPixelData 
* >(argp1
); 
8067     result 
= (bool)wxAlphaPixelData___nonzero__(arg1
); 
8068     if (PyErr_Occurred()) SWIG_fail
; 
8071     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8079 SWIGINTERN PyObject 
*AlphaPixelData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8081   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8082   SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
)); 
8083   return SWIG_Py_Void(); 
8086 SWIGINTERN PyObject 
*AlphaPixelData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8087   return SWIG_Python_InitShadowInstance(args
); 
8090 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
8091   PyObject 
*resultobj 
= 0; 
8092   wxAlphaPixelData 
*arg1 
= 0 ; 
8093   wxAlphaPixelData_Accessor 
*result 
= 0 ; 
8097   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
8098   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
,  0 ); 
8099   if (!SWIG_IsOK(res1
)) { 
8100     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");  
8103     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");  
8105   arg1 
= reinterpret_cast< wxAlphaPixelData 
* >(argp1
); 
8107     result 
= (wxAlphaPixelData_Accessor 
*)new wxAlphaPixelData_Accessor(*arg1
); 
8108     if (PyErr_Occurred()) SWIG_fail
; 
8110   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW 
|  0 ); 
8117 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
8118   PyObject 
*resultobj 
= 0; 
8119   wxBitmap 
*arg1 
= 0 ; 
8120   wxAlphaPixelData 
*arg2 
= 0 ; 
8121   wxAlphaPixelData_Accessor 
*result 
= 0 ; 
8127   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
8128   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
,  0 ); 
8129   if (!SWIG_IsOK(res1
)) { 
8130     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");  
8133     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");  
8135   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8136   res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
,  0 ); 
8137   if (!SWIG_IsOK(res2
)) { 
8138     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");  
8141     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");  
8143   arg2 
= reinterpret_cast< wxAlphaPixelData 
* >(argp2
); 
8145     result 
= (wxAlphaPixelData_Accessor 
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
); 
8146     if (PyErr_Occurred()) SWIG_fail
; 
8148   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW 
|  0 ); 
8155 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
8156   PyObject 
*resultobj 
= 0; 
8157   wxAlphaPixelData_Accessor 
*result 
= 0 ; 
8159   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
8161     result 
= (wxAlphaPixelData_Accessor 
*)new wxAlphaPixelData_Accessor(); 
8162     if (PyErr_Occurred()) SWIG_fail
; 
8164   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW 
|  0 ); 
8171 SWIGINTERN PyObject 
*_wrap_new_AlphaPixelData_Accessor(PyObject 
*self
, PyObject 
*args
) { 
8175   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
; 
8178     return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
); 
8181     return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
); 
8184     return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
); 
8188   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'"); 
8193 SWIGINTERN PyObject 
*_wrap_delete_AlphaPixelData_Accessor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8194   PyObject 
*resultobj 
= 0; 
8195   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8198   PyObject 
*swig_obj
[1] ; 
8200   if (!args
) SWIG_fail
; 
8202   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN 
|  0 ); 
8203   if (!SWIG_IsOK(res1
)) { 
8204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8206   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8210     if (PyErr_Occurred()) SWIG_fail
; 
8212   resultobj 
= SWIG_Py_Void(); 
8219 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8220   PyObject 
*resultobj 
= 0; 
8221   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8222   wxAlphaPixelData 
*arg2 
= 0 ; 
8227   PyObject 
* obj0 
= 0 ; 
8228   PyObject 
* obj1 
= 0 ; 
8229   char *  kwnames
[] = { 
8230     (char *) "self",(char *) "data", NULL 
 
8233   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8234   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8235   if (!SWIG_IsOK(res1
)) { 
8236     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8238   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8239   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
,  0  | 0); 
8240   if (!SWIG_IsOK(res2
)) { 
8241     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8244     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8246   arg2 
= reinterpret_cast< wxAlphaPixelData 
* >(argp2
); 
8248     (arg1
)->Reset((wxAlphaPixelData 
const &)*arg2
); 
8249     if (PyErr_Occurred()) SWIG_fail
; 
8251   resultobj 
= SWIG_Py_Void(); 
8258 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8259   PyObject 
*resultobj 
= 0; 
8260   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8264   PyObject 
*swig_obj
[1] ; 
8266   if (!args
) SWIG_fail
; 
8268   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8269   if (!SWIG_IsOK(res1
)) { 
8270     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");  
8272   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8274     result 
= (bool)((wxAlphaPixelData_Accessor 
const *)arg1
)->IsOk(); 
8275     if (PyErr_Occurred()) SWIG_fail
; 
8278     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8286 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8287   PyObject 
*resultobj 
= 0; 
8288   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8291   PyObject 
*swig_obj
[1] ; 
8293   if (!args
) SWIG_fail
; 
8295   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8296   if (!SWIG_IsOK(res1
)) { 
8297     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8299   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8301     wxAlphaPixelData_Accessor_nextPixel(arg1
); 
8302     if (PyErr_Occurred()) SWIG_fail
; 
8304   resultobj 
= SWIG_Py_Void(); 
8311 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_Offset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8312   PyObject 
*resultobj 
= 0; 
8313   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8314   wxAlphaPixelData 
*arg2 
= 0 ; 
8325   PyObject 
* obj0 
= 0 ; 
8326   PyObject 
* obj1 
= 0 ; 
8327   PyObject 
* obj2 
= 0 ; 
8328   PyObject 
* obj3 
= 0 ; 
8329   char *  kwnames
[] = { 
8330     (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL 
 
8333   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8334   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8335   if (!SWIG_IsOK(res1
)) { 
8336     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8338   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8339   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
,  0  | 0); 
8340   if (!SWIG_IsOK(res2
)) { 
8341     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8344     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8346   arg2 
= reinterpret_cast< wxAlphaPixelData 
* >(argp2
); 
8347   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8348   if (!SWIG_IsOK(ecode3
)) { 
8349     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'"); 
8351   arg3 
= static_cast< int >(val3
); 
8352   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8353   if (!SWIG_IsOK(ecode4
)) { 
8354     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'"); 
8356   arg4 
= static_cast< int >(val4
); 
8358     (arg1
)->Offset((wxAlphaPixelData 
const &)*arg2
,arg3
,arg4
); 
8359     if (PyErr_Occurred()) SWIG_fail
; 
8361   resultobj 
= SWIG_Py_Void(); 
8368 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8369   PyObject 
*resultobj 
= 0; 
8370   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8371   wxAlphaPixelData 
*arg2 
= 0 ; 
8379   PyObject 
* obj0 
= 0 ; 
8380   PyObject 
* obj1 
= 0 ; 
8381   PyObject 
* obj2 
= 0 ; 
8382   char *  kwnames
[] = { 
8383     (char *) "self",(char *) "data",(char *) "x", NULL 
 
8386   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8387   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8388   if (!SWIG_IsOK(res1
)) { 
8389     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8391   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8392   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
,  0  | 0); 
8393   if (!SWIG_IsOK(res2
)) { 
8394     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8397     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8399   arg2 
= reinterpret_cast< wxAlphaPixelData 
* >(argp2
); 
8400   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8401   if (!SWIG_IsOK(ecode3
)) { 
8402     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'"); 
8404   arg3 
= static_cast< int >(val3
); 
8406     (arg1
)->OffsetX((wxAlphaPixelData 
const &)*arg2
,arg3
); 
8407     if (PyErr_Occurred()) SWIG_fail
; 
8409   resultobj 
= SWIG_Py_Void(); 
8416 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8417   PyObject 
*resultobj 
= 0; 
8418   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8419   wxAlphaPixelData 
*arg2 
= 0 ; 
8427   PyObject 
* obj0 
= 0 ; 
8428   PyObject 
* obj1 
= 0 ; 
8429   PyObject 
* obj2 
= 0 ; 
8430   char *  kwnames
[] = { 
8431     (char *) "self",(char *) "data",(char *) "y", NULL 
 
8434   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8435   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8436   if (!SWIG_IsOK(res1
)) { 
8437     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8439   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8440   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
,  0  | 0); 
8441   if (!SWIG_IsOK(res2
)) { 
8442     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8445     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8447   arg2 
= reinterpret_cast< wxAlphaPixelData 
* >(argp2
); 
8448   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8449   if (!SWIG_IsOK(ecode3
)) { 
8450     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'"); 
8452   arg3 
= static_cast< int >(val3
); 
8454     (arg1
)->OffsetY((wxAlphaPixelData 
const &)*arg2
,arg3
); 
8455     if (PyErr_Occurred()) SWIG_fail
; 
8457   resultobj 
= SWIG_Py_Void(); 
8464 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8465   PyObject 
*resultobj 
= 0; 
8466   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8467   wxAlphaPixelData 
*arg2 
= 0 ; 
8478   PyObject 
* obj0 
= 0 ; 
8479   PyObject 
* obj1 
= 0 ; 
8480   PyObject 
* obj2 
= 0 ; 
8481   PyObject 
* obj3 
= 0 ; 
8482   char *  kwnames
[] = { 
8483     (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL 
 
8486   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8487   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8488   if (!SWIG_IsOK(res1
)) { 
8489     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8491   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8492   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
,  0  | 0); 
8493   if (!SWIG_IsOK(res2
)) { 
8494     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8497     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");  
8499   arg2 
= reinterpret_cast< wxAlphaPixelData 
* >(argp2
); 
8500   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8501   if (!SWIG_IsOK(ecode3
)) { 
8502     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'"); 
8504   arg3 
= static_cast< int >(val3
); 
8505   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8506   if (!SWIG_IsOK(ecode4
)) { 
8507     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'"); 
8509   arg4 
= static_cast< int >(val4
); 
8511     (arg1
)->MoveTo((wxAlphaPixelData 
const &)*arg2
,arg3
,arg4
); 
8512     if (PyErr_Occurred()) SWIG_fail
; 
8514   resultobj 
= SWIG_Py_Void(); 
8521 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8522   PyObject 
*resultobj 
= 0; 
8523   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8530   unsigned char val2 
; 
8532   unsigned char val3 
; 
8534   unsigned char val4 
; 
8536   unsigned char val5 
; 
8538   PyObject 
* obj0 
= 0 ; 
8539   PyObject 
* obj1 
= 0 ; 
8540   PyObject 
* obj2 
= 0 ; 
8541   PyObject 
* obj3 
= 0 ; 
8542   PyObject 
* obj4 
= 0 ; 
8543   char *  kwnames
[] = { 
8544     (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL 
 
8547   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8548   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8549   if (!SWIG_IsOK(res1
)) { 
8550     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8552   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8553   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
8554   if (!SWIG_IsOK(ecode2
)) { 
8555     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'"); 
8557   arg2 
= static_cast< byte 
>(val2
); 
8558   ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
8559   if (!SWIG_IsOK(ecode3
)) { 
8560     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'"); 
8562   arg3 
= static_cast< byte 
>(val3
); 
8563   ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
8564   if (!SWIG_IsOK(ecode4
)) { 
8565     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'"); 
8567   arg4 
= static_cast< byte 
>(val4
); 
8568   ecode5 
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
); 
8569   if (!SWIG_IsOK(ecode5
)) { 
8570     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'"); 
8572   arg5 
= static_cast< byte 
>(val5
); 
8574     wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
); 
8575     if (PyErr_Occurred()) SWIG_fail
; 
8577   resultobj 
= SWIG_Py_Void(); 
8584 SWIGINTERN PyObject 
*_wrap_AlphaPixelData_Accessor_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8585   PyObject 
*resultobj 
= 0; 
8586   wxAlphaPixelData_Accessor 
*arg1 
= (wxAlphaPixelData_Accessor 
*) 0 ; 
8587   PyObject 
*result 
= 0 ; 
8590   PyObject 
*swig_obj
[1] ; 
8592   if (!args
) SWIG_fail
; 
8594   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 |  0 ); 
8595   if (!SWIG_IsOK(res1
)) { 
8596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");  
8598   arg1 
= reinterpret_cast< wxAlphaPixelData_Accessor 
* >(argp1
); 
8600     result 
= (PyObject 
*)wxAlphaPixelData_Accessor_Get(arg1
); 
8601     if (PyErr_Occurred()) SWIG_fail
; 
8610 SWIGINTERN PyObject 
*AlphaPixelData_Accessor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8612   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8613   SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
)); 
8614   return SWIG_Py_Void(); 
8617 SWIGINTERN PyObject 
*AlphaPixelData_Accessor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8618   return SWIG_Python_InitShadowInstance(args
); 
8621 SWIGINTERN PyObject 
*_wrap_new_Mask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8622   PyObject 
*resultobj 
= 0; 
8623   wxBitmap 
*arg1 
= 0 ; 
8624   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
8625   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
8626   wxMask 
*result 
= 0 ; 
8630   PyObject 
* obj0 
= 0 ; 
8631   PyObject 
* obj1 
= 0 ; 
8632   char *  kwnames
[] = { 
8633     (char *) "bitmap",(char *) "colour", NULL 
 
8636   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8637   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8638   if (!SWIG_IsOK(res1
)) { 
8639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8642     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8644   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8648       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8652     if (!wxPyCheckForApp()) SWIG_fail
; 
8653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8654     result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
8655     wxPyEndAllowThreads(__tstate
); 
8656     if (PyErr_Occurred()) SWIG_fail
; 
8658   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW 
|  0 ); 
8665 SWIGINTERN PyObject 
*_wrap_delete_Mask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8666   PyObject 
*resultobj 
= 0; 
8667   wxMask 
*arg1 
= (wxMask 
*) 0 ; 
8670   PyObject 
*swig_obj
[1] ; 
8672   if (!args
) SWIG_fail
; 
8674   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN 
|  0 ); 
8675   if (!SWIG_IsOK(res1
)) { 
8676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");  
8678   arg1 
= reinterpret_cast< wxMask 
* >(argp1
); 
8682     if (PyErr_Occurred()) SWIG_fail
; 
8684   resultobj 
= SWIG_Py_Void(); 
8691 SWIGINTERN PyObject 
*Mask_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8693   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8694   SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
)); 
8695   return SWIG_Py_Void(); 
8698 SWIGINTERN PyObject 
*Mask_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8699   return SWIG_Python_InitShadowInstance(args
); 
8702 SWIGINTERN PyObject 
*_wrap_new_Icon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8703   PyObject 
*resultobj 
= 0; 
8704   wxString 
*arg1 
= 0 ; 
8706   int arg3 
= (int) -1 ; 
8707   int arg4 
= (int) -1 ; 
8708   wxIcon 
*result 
= 0 ; 
8709   bool temp1 
= false ; 
8716   PyObject 
* obj0 
= 0 ; 
8717   PyObject 
* obj1 
= 0 ; 
8718   PyObject 
* obj2 
= 0 ; 
8719   PyObject 
* obj3 
= 0 ; 
8720   char *  kwnames
[] = { 
8721     (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
8724   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8726     arg1 
= wxString_in_helper(obj0
); 
8727     if (arg1 
== NULL
) SWIG_fail
; 
8730   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8731   if (!SWIG_IsOK(ecode2
)) { 
8732     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'"); 
8734   arg2 
= static_cast< wxBitmapType 
>(val2
); 
8736     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8737     if (!SWIG_IsOK(ecode3
)) { 
8738       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'"); 
8740     arg3 
= static_cast< int >(val3
); 
8743     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8744     if (!SWIG_IsOK(ecode4
)) { 
8745       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'"); 
8747     arg4 
= static_cast< int >(val4
); 
8750     if (!wxPyCheckForApp()) SWIG_fail
; 
8751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8752     result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,arg2
,arg3
,arg4
); 
8753     wxPyEndAllowThreads(__tstate
); 
8754     if (PyErr_Occurred()) SWIG_fail
; 
8756   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW 
|  0 ); 
8771 SWIGINTERN PyObject 
*_wrap_delete_Icon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8772   PyObject 
*resultobj 
= 0; 
8773   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
8776   PyObject 
*swig_obj
[1] ; 
8778   if (!args
) SWIG_fail
; 
8780   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN 
|  0 ); 
8781   if (!SWIG_IsOK(res1
)) { 
8782     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");  
8784   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
8786     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8789     wxPyEndAllowThreads(__tstate
); 
8790     if (PyErr_Occurred()) SWIG_fail
; 
8792   resultobj 
= SWIG_Py_Void(); 
8799 SWIGINTERN PyObject 
*_wrap_new_EmptyIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8800   PyObject 
*resultobj 
= 0; 
8801   wxIcon 
*result 
= 0 ; 
8803   if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
; 
8805     if (!wxPyCheckForApp()) SWIG_fail
; 
8806     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8807     result 
= (wxIcon 
*)new wxIcon(); 
8808     wxPyEndAllowThreads(__tstate
); 
8809     if (PyErr_Occurred()) SWIG_fail
; 
8811   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
8818 SWIGINTERN PyObject 
*_wrap_new_IconFromLocation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8819   PyObject 
*resultobj 
= 0; 
8820   wxIconLocation 
*arg1 
= 0 ; 
8821   wxIcon 
*result 
= 0 ; 
8824   PyObject 
* obj0 
= 0 ; 
8825   char *  kwnames
[] = { 
8826     (char *) "loc", NULL 
 
8829   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
; 
8830   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
,  0  | 0); 
8831   if (!SWIG_IsOK(res1
)) { 
8832     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");  
8835     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");  
8837   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
8839     if (!wxPyCheckForApp()) SWIG_fail
; 
8840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8841     result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
8842     wxPyEndAllowThreads(__tstate
); 
8843     if (PyErr_Occurred()) SWIG_fail
; 
8845   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
8852 SWIGINTERN PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8853   PyObject 
*resultobj 
= 0; 
8854   wxBitmap 
*arg1 
= 0 ; 
8855   wxIcon 
*result 
= 0 ; 
8858   PyObject 
* obj0 
= 0 ; 
8859   char *  kwnames
[] = { 
8860     (char *) "bmp", NULL 
 
8863   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
; 
8864   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8865   if (!SWIG_IsOK(res1
)) { 
8866     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8869     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8871   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8873     if (!wxPyCheckForApp()) SWIG_fail
; 
8874     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8875     result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
8876     wxPyEndAllowThreads(__tstate
); 
8877     if (PyErr_Occurred()) SWIG_fail
; 
8879   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
8886 SWIGINTERN PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8887   PyObject 
*resultobj 
= 0; 
8888   PyObject 
*arg1 
= (PyObject 
*) 0 ; 
8889   wxIcon 
*result 
= 0 ; 
8890   PyObject 
* obj0 
= 0 ; 
8891   char *  kwnames
[] = { 
8892     (char *) "listOfStrings", NULL 
 
8895   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
; 
8898     if (!wxPyCheckForApp()) SWIG_fail
; 
8899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8900     result 
= (wxIcon 
*)new_wxIcon(arg1
); 
8901     wxPyEndAllowThreads(__tstate
); 
8902     if (PyErr_Occurred()) SWIG_fail
; 
8904   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
8911 SWIGINTERN PyObject 
*_wrap_Icon_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8912   PyObject 
*resultobj 
= 0; 
8913   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
8914   wxString 
*arg2 
= 0 ; 
8919   bool temp2 
= false ; 
8922   PyObject 
* obj0 
= 0 ; 
8923   PyObject 
* obj1 
= 0 ; 
8924   PyObject 
* obj2 
= 0 ; 
8925   char *  kwnames
[] = { 
8926     (char *) "self",(char *) "name",(char *) "type", NULL 
 
8929   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8930   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
8931   if (!SWIG_IsOK(res1
)) { 
8932     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");  
8934   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
8936     arg2 
= wxString_in_helper(obj1
); 
8937     if (arg2 
== NULL
) SWIG_fail
; 
8940   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8941   if (!SWIG_IsOK(ecode3
)) { 
8942     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'"); 
8944   arg3 
= static_cast< wxBitmapType 
>(val3
); 
8946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8947     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
8948     wxPyEndAllowThreads(__tstate
); 
8949     if (PyErr_Occurred()) SWIG_fail
; 
8952     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8968 SWIGINTERN PyObject 
*_wrap_Icon_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8969   PyObject 
*resultobj 
= 0; 
8970   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
8974   PyObject 
*swig_obj
[1] ; 
8976   if (!args
) SWIG_fail
; 
8978   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
8979   if (!SWIG_IsOK(res1
)) { 
8980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");  
8982   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
8984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8985     result 
= (bool)(arg1
)->IsOk(); 
8986     wxPyEndAllowThreads(__tstate
); 
8987     if (PyErr_Occurred()) SWIG_fail
; 
8990     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8998 SWIGINTERN PyObject 
*_wrap_Icon_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8999   PyObject 
*resultobj 
= 0; 
9000   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9004   PyObject 
*swig_obj
[1] ; 
9006   if (!args
) SWIG_fail
; 
9008   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9009   if (!SWIG_IsOK(res1
)) { 
9010     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");  
9012   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9014     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9015     result 
= (int)(arg1
)->GetWidth(); 
9016     wxPyEndAllowThreads(__tstate
); 
9017     if (PyErr_Occurred()) SWIG_fail
; 
9019   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9026 SWIGINTERN PyObject 
*_wrap_Icon_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9027   PyObject 
*resultobj 
= 0; 
9028   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9032   PyObject 
*swig_obj
[1] ; 
9034   if (!args
) SWIG_fail
; 
9036   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9037   if (!SWIG_IsOK(res1
)) { 
9038     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");  
9040   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9042     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9043     result 
= (int)(arg1
)->GetHeight(); 
9044     wxPyEndAllowThreads(__tstate
); 
9045     if (PyErr_Occurred()) SWIG_fail
; 
9047   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9054 SWIGINTERN PyObject 
*_wrap_Icon_GetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9055   PyObject 
*resultobj 
= 0; 
9056   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9060   PyObject 
*swig_obj
[1] ; 
9062   if (!args
) SWIG_fail
; 
9064   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9065   if (!SWIG_IsOK(res1
)) { 
9066     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");  
9068   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9071     result 
= (int)(arg1
)->GetDepth(); 
9072     wxPyEndAllowThreads(__tstate
); 
9073     if (PyErr_Occurred()) SWIG_fail
; 
9075   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9082 SWIGINTERN PyObject 
*_wrap_Icon_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9083   PyObject 
*resultobj 
= 0; 
9084   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9090   PyObject 
* obj0 
= 0 ; 
9091   PyObject 
* obj1 
= 0 ; 
9092   char *  kwnames
[] = { 
9093     (char *) "self",(char *) "w", NULL 
 
9096   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9097   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9098   if (!SWIG_IsOK(res1
)) { 
9099     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");  
9101   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9102   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9103   if (!SWIG_IsOK(ecode2
)) { 
9104     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
9106   arg2 
= static_cast< int >(val2
); 
9108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9109     (arg1
)->SetWidth(arg2
); 
9110     wxPyEndAllowThreads(__tstate
); 
9111     if (PyErr_Occurred()) SWIG_fail
; 
9113   resultobj 
= SWIG_Py_Void(); 
9120 SWIGINTERN PyObject 
*_wrap_Icon_SetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9121   PyObject 
*resultobj 
= 0; 
9122   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9128   PyObject 
* obj0 
= 0 ; 
9129   PyObject 
* obj1 
= 0 ; 
9130   char *  kwnames
[] = { 
9131     (char *) "self",(char *) "h", NULL 
 
9134   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9135   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9136   if (!SWIG_IsOK(res1
)) { 
9137     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");  
9139   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9140   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9141   if (!SWIG_IsOK(ecode2
)) { 
9142     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'"); 
9144   arg2 
= static_cast< int >(val2
); 
9146     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9147     (arg1
)->SetHeight(arg2
); 
9148     wxPyEndAllowThreads(__tstate
); 
9149     if (PyErr_Occurred()) SWIG_fail
; 
9151   resultobj 
= SWIG_Py_Void(); 
9158 SWIGINTERN PyObject 
*_wrap_Icon_SetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9159   PyObject 
*resultobj 
= 0; 
9160   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9166   PyObject 
* obj0 
= 0 ; 
9167   PyObject 
* obj1 
= 0 ; 
9168   char *  kwnames
[] = { 
9169     (char *) "self",(char *) "d", NULL 
 
9172   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9173   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9174   if (!SWIG_IsOK(res1
)) { 
9175     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");  
9177   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9178   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9179   if (!SWIG_IsOK(ecode2
)) { 
9180     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'"); 
9182   arg2 
= static_cast< int >(val2
); 
9184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9185     (arg1
)->SetDepth(arg2
); 
9186     wxPyEndAllowThreads(__tstate
); 
9187     if (PyErr_Occurred()) SWIG_fail
; 
9189   resultobj 
= SWIG_Py_Void(); 
9196 SWIGINTERN PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9197   PyObject 
*resultobj 
= 0; 
9198   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
9199   wxBitmap 
*arg2 
= 0 ; 
9204   PyObject 
* obj0 
= 0 ; 
9205   PyObject 
* obj1 
= 0 ; 
9206   char *  kwnames
[] = { 
9207     (char *) "self",(char *) "bmp", NULL 
 
9210   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9211   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
9212   if (!SWIG_IsOK(res1
)) { 
9213     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");  
9215   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9216   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
9217   if (!SWIG_IsOK(res2
)) { 
9218     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
9221     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
9223   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
9225     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9226     (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
9227     wxPyEndAllowThreads(__tstate
); 
9228     if (PyErr_Occurred()) SWIG_fail
; 
9230   resultobj 
= SWIG_Py_Void(); 
9237 SWIGINTERN PyObject 
*Icon_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9239   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9240   SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
)); 
9241   return SWIG_Py_Void(); 
9244 SWIGINTERN PyObject 
*Icon_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9245   return SWIG_Python_InitShadowInstance(args
); 
9248 SWIGINTERN PyObject 
*_wrap_new_IconLocation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9249   PyObject 
*resultobj 
= 0; 
9250   wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
9251   int arg2 
= (int) 0 ; 
9252   wxIconLocation 
*result 
= 0 ; 
9253   bool temp1 
= false ; 
9256   PyObject 
* obj0 
= 0 ; 
9257   PyObject 
* obj1 
= 0 ; 
9258   char *  kwnames
[] = { 
9259     (char *) "filename",(char *) "num", NULL 
 
9262   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9265       arg1 
= wxString_in_helper(obj0
); 
9266       if (arg1 
== NULL
) SWIG_fail
; 
9271     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9272     if (!SWIG_IsOK(ecode2
)) { 
9273       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'"); 
9275     arg2 
= static_cast< int >(val2
); 
9278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9279     result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
9280     wxPyEndAllowThreads(__tstate
); 
9281     if (PyErr_Occurred()) SWIG_fail
; 
9283   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW 
|  0 ); 
9298 SWIGINTERN PyObject 
*_wrap_delete_IconLocation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9299   PyObject 
*resultobj 
= 0; 
9300   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
9303   PyObject 
*swig_obj
[1] ; 
9305   if (!args
) SWIG_fail
; 
9307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN 
|  0 ); 
9308   if (!SWIG_IsOK(res1
)) { 
9309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
9311   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
9313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9316     wxPyEndAllowThreads(__tstate
); 
9317     if (PyErr_Occurred()) SWIG_fail
; 
9319   resultobj 
= SWIG_Py_Void(); 
9326 SWIGINTERN PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9327   PyObject 
*resultobj 
= 0; 
9328   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
9332   PyObject 
*swig_obj
[1] ; 
9334   if (!args
) SWIG_fail
; 
9336   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
9337   if (!SWIG_IsOK(res1
)) { 
9338     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");  
9340   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
9342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9343     result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
9344     wxPyEndAllowThreads(__tstate
); 
9345     if (PyErr_Occurred()) SWIG_fail
; 
9348     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9356 SWIGINTERN PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9357   PyObject 
*resultobj 
= 0; 
9358   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
9359   wxString 
*arg2 
= 0 ; 
9362   bool temp2 
= false ; 
9363   PyObject 
* obj0 
= 0 ; 
9364   PyObject 
* obj1 
= 0 ; 
9365   char *  kwnames
[] = { 
9366     (char *) "self",(char *) "filename", NULL 
 
9369   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9370   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
9371   if (!SWIG_IsOK(res1
)) { 
9372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
9374   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
9376     arg2 
= wxString_in_helper(obj1
); 
9377     if (arg2 
== NULL
) SWIG_fail
; 
9381     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9382     (arg1
)->SetFileName((wxString 
const &)*arg2
); 
9383     wxPyEndAllowThreads(__tstate
); 
9384     if (PyErr_Occurred()) SWIG_fail
; 
9386   resultobj 
= SWIG_Py_Void(); 
9401 SWIGINTERN PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9402   PyObject 
*resultobj 
= 0; 
9403   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
9404   wxString 
*result 
= 0 ; 
9407   PyObject 
*swig_obj
[1] ; 
9409   if (!args
) SWIG_fail
; 
9411   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
9412   if (!SWIG_IsOK(res1
)) { 
9413     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");  
9415   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
9417     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9419       wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
9420       result 
= (wxString 
*) &_result_ref
; 
9422     wxPyEndAllowThreads(__tstate
); 
9423     if (PyErr_Occurred()) SWIG_fail
; 
9427     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
9429     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
9438 SWIGINTERN PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9439   PyObject 
*resultobj 
= 0; 
9440   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
9446   PyObject 
* obj0 
= 0 ; 
9447   PyObject 
* obj1 
= 0 ; 
9448   char *  kwnames
[] = { 
9449     (char *) "self",(char *) "num", NULL 
 
9452   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9453   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
9454   if (!SWIG_IsOK(res1
)) { 
9455     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
9457   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
9458   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9459   if (!SWIG_IsOK(ecode2
)) { 
9460     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'"); 
9462   arg2 
= static_cast< int >(val2
); 
9464     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9465     wxIconLocation_SetIndex(arg1
,arg2
); 
9466     wxPyEndAllowThreads(__tstate
); 
9467     if (PyErr_Occurred()) SWIG_fail
; 
9469   resultobj 
= SWIG_Py_Void(); 
9476 SWIGINTERN PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9477   PyObject 
*resultobj 
= 0; 
9478   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
9482   PyObject 
*swig_obj
[1] ; 
9484   if (!args
) SWIG_fail
; 
9486   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
9487   if (!SWIG_IsOK(res1
)) { 
9488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
9490   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
9492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9493     result 
= (int)wxIconLocation_GetIndex(arg1
); 
9494     wxPyEndAllowThreads(__tstate
); 
9495     if (PyErr_Occurred()) SWIG_fail
; 
9497   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9504 SWIGINTERN PyObject 
*IconLocation_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9506   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9507   SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
)); 
9508   return SWIG_Py_Void(); 
9511 SWIGINTERN PyObject 
*IconLocation_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9512   return SWIG_Python_InitShadowInstance(args
); 
9515 SWIGINTERN PyObject 
*_wrap_new_IconBundle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9516   PyObject 
*resultobj 
= 0; 
9517   wxIconBundle 
*result 
= 0 ; 
9519   if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
; 
9521     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9522     result 
= (wxIconBundle 
*)new wxIconBundle(); 
9523     wxPyEndAllowThreads(__tstate
); 
9524     if (PyErr_Occurred()) SWIG_fail
; 
9526   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW 
|  0 ); 
9533 SWIGINTERN PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9534   PyObject 
*resultobj 
= 0; 
9535   wxString 
*arg1 
= 0 ; 
9537   wxIconBundle 
*result 
= 0 ; 
9538   bool temp1 
= false ; 
9541   PyObject 
* obj0 
= 0 ; 
9542   PyObject 
* obj1 
= 0 ; 
9543   char *  kwnames
[] = { 
9544     (char *) "file",(char *) "type", NULL 
 
9547   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9549     arg1 
= wxString_in_helper(obj0
); 
9550     if (arg1 
== NULL
) SWIG_fail
; 
9553   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
9554   if (!SWIG_IsOK(ecode2
)) { 
9555     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'"); 
9557   arg2 
= static_cast< long >(val2
); 
9559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9560     result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
9561     wxPyEndAllowThreads(__tstate
); 
9562     if (PyErr_Occurred()) SWIG_fail
; 
9564   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN 
|  0 ); 
9579 SWIGINTERN PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9580   PyObject 
*resultobj 
= 0; 
9582   wxIconBundle 
*result 
= 0 ; 
9585   PyObject 
* obj0 
= 0 ; 
9586   char *  kwnames
[] = { 
9587     (char *) "icon", NULL 
 
9590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
; 
9591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
,  0  | 0); 
9592   if (!SWIG_IsOK(res1
)) { 
9593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
9596     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
9598   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
9600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9601     result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
9602     wxPyEndAllowThreads(__tstate
); 
9603     if (PyErr_Occurred()) SWIG_fail
; 
9605   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN 
|  0 ); 
9612 SWIGINTERN PyObject 
*_wrap_delete_IconBundle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9613   PyObject 
*resultobj 
= 0; 
9614   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
9617   PyObject 
*swig_obj
[1] ; 
9619   if (!args
) SWIG_fail
; 
9621   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN 
|  0 ); 
9622   if (!SWIG_IsOK(res1
)) { 
9623     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");  
9625   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
9627     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9630     wxPyEndAllowThreads(__tstate
); 
9631     if (PyErr_Occurred()) SWIG_fail
; 
9633   resultobj 
= SWIG_Py_Void(); 
9640 SWIGINTERN PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9641   PyObject 
*resultobj 
= 0; 
9642   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
9648   PyObject 
* obj0 
= 0 ; 
9649   PyObject 
* obj1 
= 0 ; 
9650   char *  kwnames
[] = { 
9651     (char *) "self",(char *) "icon", NULL 
 
9654   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9655   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 |  0 ); 
9656   if (!SWIG_IsOK(res1
)) { 
9657     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");  
9659   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
9660   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
9661   if (!SWIG_IsOK(res2
)) { 
9662     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
9665     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
9667   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
9669     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9670     (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
9671     wxPyEndAllowThreads(__tstate
); 
9672     if (PyErr_Occurred()) SWIG_fail
; 
9674   resultobj 
= SWIG_Py_Void(); 
9681 SWIGINTERN PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9682   PyObject 
*resultobj 
= 0; 
9683   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
9684   wxString 
*arg2 
= 0 ; 
9688   bool temp2 
= false ; 
9691   PyObject 
* obj0 
= 0 ; 
9692   PyObject 
* obj1 
= 0 ; 
9693   PyObject 
* obj2 
= 0 ; 
9694   char *  kwnames
[] = { 
9695     (char *) "self",(char *) "file",(char *) "type", NULL 
 
9698   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9699   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 |  0 ); 
9700   if (!SWIG_IsOK(res1
)) { 
9701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");  
9703   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
9705     arg2 
= wxString_in_helper(obj1
); 
9706     if (arg2 
== NULL
) SWIG_fail
; 
9709   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
9710   if (!SWIG_IsOK(ecode3
)) { 
9711     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'"); 
9713   arg3 
= static_cast< long >(val3
); 
9715     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9716     (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
9717     wxPyEndAllowThreads(__tstate
); 
9718     if (PyErr_Occurred()) SWIG_fail
; 
9720   resultobj 
= SWIG_Py_Void(); 
9735 SWIGINTERN PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9736   PyObject 
*resultobj 
= 0; 
9737   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
9739   wxIcon 
*result 
= 0 ; 
9743   PyObject 
* obj0 
= 0 ; 
9744   PyObject 
* obj1 
= 0 ; 
9745   char *  kwnames
[] = { 
9746     (char *) "self",(char *) "size", NULL 
 
9749   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9750   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 |  0 ); 
9751   if (!SWIG_IsOK(res1
)) { 
9752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");  
9754   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
9757     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
9760     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9762       wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
9763       result 
= (wxIcon 
*) &_result_ref
; 
9765     wxPyEndAllowThreads(__tstate
); 
9766     if (PyErr_Occurred()) SWIG_fail
; 
9769     wxIcon
* resultptr 
= new wxIcon(*result
); 
9770     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
9778 SWIGINTERN PyObject 
*IconBundle_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9780   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9781   SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
)); 
9782   return SWIG_Py_Void(); 
9785 SWIGINTERN PyObject 
*IconBundle_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9786   return SWIG_Python_InitShadowInstance(args
); 
9789 SWIGINTERN PyObject 
*_wrap_new_Cursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9790   PyObject 
*resultobj 
= 0; 
9791   wxString 
*arg1 
= 0 ; 
9793   int arg3 
= (int) 0 ; 
9794   int arg4 
= (int) 0 ; 
9795   wxCursor 
*result 
= 0 ; 
9796   bool temp1 
= false ; 
9803   PyObject 
* obj0 
= 0 ; 
9804   PyObject 
* obj1 
= 0 ; 
9805   PyObject 
* obj2 
= 0 ; 
9806   PyObject 
* obj3 
= 0 ; 
9807   char *  kwnames
[] = { 
9808     (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
9811   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9813     arg1 
= wxString_in_helper(obj0
); 
9814     if (arg1 
== NULL
) SWIG_fail
; 
9817   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
9818   if (!SWIG_IsOK(ecode2
)) { 
9819     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'"); 
9821   arg2 
= static_cast< long >(val2
); 
9823     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9824     if (!SWIG_IsOK(ecode3
)) { 
9825       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'"); 
9827     arg3 
= static_cast< int >(val3
); 
9830     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9831     if (!SWIG_IsOK(ecode4
)) { 
9832       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'"); 
9834     arg4 
= static_cast< int >(val4
); 
9837     if (!wxPyCheckForApp()) SWIG_fail
; 
9838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9839     result 
= (wxCursor 
*)new_wxCursor((wxString 
const &)*arg1
,arg2
,arg3
,arg4
); 
9840     wxPyEndAllowThreads(__tstate
); 
9841     if (PyErr_Occurred()) SWIG_fail
; 
9843   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW 
|  0 ); 
9858 SWIGINTERN PyObject 
*_wrap_delete_Cursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9859   PyObject 
*resultobj 
= 0; 
9860   wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
9863   PyObject 
*swig_obj
[1] ; 
9865   if (!args
) SWIG_fail
; 
9867   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN 
|  0 ); 
9868   if (!SWIG_IsOK(res1
)) { 
9869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");  
9871   arg1 
= reinterpret_cast< wxCursor 
* >(argp1
); 
9873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9876     wxPyEndAllowThreads(__tstate
); 
9877     if (PyErr_Occurred()) SWIG_fail
; 
9879   resultobj 
= SWIG_Py_Void(); 
9886 SWIGINTERN PyObject 
*_wrap_new_StockCursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9887   PyObject 
*resultobj 
= 0; 
9889   wxCursor 
*result 
= 0 ; 
9892   PyObject 
* obj0 
= 0 ; 
9893   char *  kwnames
[] = { 
9897   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
; 
9898   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9899   if (!SWIG_IsOK(ecode1
)) { 
9900     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'"); 
9902   arg1 
= static_cast< int >(val1
); 
9904     if (!wxPyCheckForApp()) SWIG_fail
; 
9905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9906     result 
= (wxCursor 
*)new wxCursor(arg1
); 
9907     wxPyEndAllowThreads(__tstate
); 
9908     if (PyErr_Occurred()) SWIG_fail
; 
9910   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN 
|  0 ); 
9917 SWIGINTERN PyObject 
*_wrap_new_CursorFromImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9918   PyObject 
*resultobj 
= 0; 
9920   wxCursor 
*result 
= 0 ; 
9923   PyObject 
* obj0 
= 0 ; 
9924   char *  kwnames
[] = { 
9925     (char *) "image", NULL 
 
9928   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
; 
9929   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
,  0  | 0); 
9930   if (!SWIG_IsOK(res1
)) { 
9931     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
9934     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
9936   arg1 
= reinterpret_cast< wxImage 
* >(argp1
); 
9938     if (!wxPyCheckForApp()) SWIG_fail
; 
9939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9940     result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
9941     wxPyEndAllowThreads(__tstate
); 
9942     if (PyErr_Occurred()) SWIG_fail
; 
9944   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN 
|  0 ); 
9951 SWIGINTERN PyObject 
*_wrap_Cursor_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9952   PyObject 
*resultobj 
= 0; 
9953   wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
9957   PyObject 
*swig_obj
[1] ; 
9959   if (!args
) SWIG_fail
; 
9961   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 |  0 ); 
9962   if (!SWIG_IsOK(res1
)) { 
9963     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");  
9965   arg1 
= reinterpret_cast< wxCursor 
* >(argp1
); 
9967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9968     result 
= (bool)(arg1
)->IsOk(); 
9969     wxPyEndAllowThreads(__tstate
); 
9970     if (PyErr_Occurred()) SWIG_fail
; 
9973     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9981 SWIGINTERN PyObject 
*Cursor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9983   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9984   SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
)); 
9985   return SWIG_Py_Void(); 
9988 SWIGINTERN PyObject 
*Cursor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9989   return SWIG_Python_InitShadowInstance(args
); 
9992 SWIGINTERN PyObject 
*_wrap_new_Region(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9993   PyObject 
*resultobj 
= 0; 
9994   int arg1 
= (int) 0 ; 
9995   int arg2 
= (int) 0 ; 
9996   int arg3 
= (int) 0 ; 
9997   int arg4 
= (int) 0 ; 
9998   wxRegion 
*result 
= 0 ; 
10007   PyObject 
* obj0 
= 0 ; 
10008   PyObject 
* obj1 
= 0 ; 
10009   PyObject 
* obj2 
= 0 ; 
10010   PyObject 
* obj3 
= 0 ; 
10011   char *  kwnames
[] = { 
10012     (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
10015   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10017     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10018     if (!SWIG_IsOK(ecode1
)) { 
10019       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'"); 
10021     arg1 
= static_cast< int >(val1
); 
10024     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10025     if (!SWIG_IsOK(ecode2
)) { 
10026       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'"); 
10028     arg2 
= static_cast< int >(val2
); 
10031     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10032     if (!SWIG_IsOK(ecode3
)) { 
10033       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'"); 
10035     arg3 
= static_cast< int >(val3
); 
10038     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10039     if (!SWIG_IsOK(ecode4
)) { 
10040       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'"); 
10042     arg4 
= static_cast< int >(val4
); 
10045     if (!wxPyCheckForApp()) SWIG_fail
; 
10046     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10047     result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
10048     wxPyEndAllowThreads(__tstate
); 
10049     if (PyErr_Occurred()) SWIG_fail
; 
10051   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW 
|  0 ); 
10058 SWIGINTERN PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10059   PyObject 
*resultobj 
= 0; 
10060   wxBitmap 
*arg1 
= 0 ; 
10061   wxRegion 
*result 
= 0 ; 
10064   PyObject 
* obj0 
= 0 ; 
10065   char *  kwnames
[] = { 
10066     (char *) "bmp", NULL 
 
10069   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
; 
10070   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
10071   if (!SWIG_IsOK(res1
)) { 
10072     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
10075     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
10077   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
10079     if (!wxPyCheckForApp()) SWIG_fail
; 
10080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10081     result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
); 
10082     wxPyEndAllowThreads(__tstate
); 
10083     if (PyErr_Occurred()) SWIG_fail
; 
10085   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN 
|  0 ); 
10092 SWIGINTERN PyObject 
*_wrap_new_RegionFromBitmapColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10093   PyObject 
*resultobj 
= 0; 
10094   wxBitmap 
*arg1 
= 0 ; 
10095   wxColour 
*arg2 
= 0 ; 
10096   int arg3 
= (int) 0 ; 
10097   wxRegion 
*result 
= 0 ; 
10103   PyObject 
* obj0 
= 0 ; 
10104   PyObject 
* obj1 
= 0 ; 
10105   PyObject 
* obj2 
= 0 ; 
10106   char *  kwnames
[] = { 
10107     (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
10110   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10111   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
10112   if (!SWIG_IsOK(res1
)) { 
10113     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
10116     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
10118   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
10121     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10124     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10125     if (!SWIG_IsOK(ecode3
)) { 
10126       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'"); 
10128     arg3 
= static_cast< int >(val3
); 
10131     if (!wxPyCheckForApp()) SWIG_fail
; 
10132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10133     result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
10134     wxPyEndAllowThreads(__tstate
); 
10135     if (PyErr_Occurred()) SWIG_fail
; 
10137   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN 
|  0 ); 
10144 SWIGINTERN PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10145   PyObject 
*resultobj 
= 0; 
10147   wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
10148   int arg3 
= (int) wxWINDING_RULE 
; 
10149   wxRegion 
*result 
= 0 ; 
10152   PyObject 
* obj0 
= 0 ; 
10153   PyObject 
* obj1 
= 0 ; 
10154   char *  kwnames
[] = { 
10155     (char *) "points",(char *) "fillStyle", NULL 
 
10158   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10160     arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
10161     if (arg2 
== NULL
) SWIG_fail
; 
10164     ecode3 
= SWIG_AsVal_int(obj1
, &val3
); 
10165     if (!SWIG_IsOK(ecode3
)) { 
10166       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'"); 
10168     arg3 
= static_cast< int >(val3
); 
10171     if (!wxPyCheckForApp()) SWIG_fail
; 
10172     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10173     result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
10174     wxPyEndAllowThreads(__tstate
); 
10175     if (PyErr_Occurred()) SWIG_fail
; 
10177   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN 
|  0 ); 
10179     if (arg2
) delete [] arg2
; 
10184     if (arg2
) delete [] arg2
; 
10190 SWIGINTERN PyObject 
*_wrap_delete_Region(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10191   PyObject 
*resultobj 
= 0; 
10192   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10195   PyObject 
*swig_obj
[1] ; 
10197   if (!args
) SWIG_fail
; 
10198   swig_obj
[0] = args
; 
10199   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN 
|  0 ); 
10200   if (!SWIG_IsOK(res1
)) { 
10201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");  
10203   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10205     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10208     wxPyEndAllowThreads(__tstate
); 
10209     if (PyErr_Occurred()) SWIG_fail
; 
10211   resultobj 
= SWIG_Py_Void(); 
10218 SWIGINTERN PyObject 
*_wrap_Region_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10219   PyObject 
*resultobj 
= 0; 
10220   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10223   PyObject 
*swig_obj
[1] ; 
10225   if (!args
) SWIG_fail
; 
10226   swig_obj
[0] = args
; 
10227   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10228   if (!SWIG_IsOK(res1
)) { 
10229     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");  
10231   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10235     wxPyEndAllowThreads(__tstate
); 
10236     if (PyErr_Occurred()) SWIG_fail
; 
10238   resultobj 
= SWIG_Py_Void(); 
10245 SWIGINTERN PyObject 
*_wrap_Region_Offset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10246   PyObject 
*resultobj 
= 0; 
10247   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10257   PyObject 
* obj0 
= 0 ; 
10258   PyObject 
* obj1 
= 0 ; 
10259   PyObject 
* obj2 
= 0 ; 
10260   char *  kwnames
[] = { 
10261     (char *) "self",(char *) "x",(char *) "y", NULL 
 
10264   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10265   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10266   if (!SWIG_IsOK(res1
)) { 
10267     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");  
10269   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10270   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10271   if (!SWIG_IsOK(ecode2
)) { 
10272     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'"); 
10274   arg2 
= static_cast< int >(val2
); 
10275   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10276   if (!SWIG_IsOK(ecode3
)) { 
10277     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'"); 
10279   arg3 
= static_cast< int >(val3
); 
10281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10282     result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
10283     wxPyEndAllowThreads(__tstate
); 
10284     if (PyErr_Occurred()) SWIG_fail
; 
10287     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10295 SWIGINTERN PyObject 
*_wrap_Region_Contains(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10296   PyObject 
*resultobj 
= 0; 
10297   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10300   wxRegionContain result
; 
10307   PyObject 
* obj0 
= 0 ; 
10308   PyObject 
* obj1 
= 0 ; 
10309   PyObject 
* obj2 
= 0 ; 
10310   char *  kwnames
[] = { 
10311     (char *) "self",(char *) "x",(char *) "y", NULL 
 
10314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10315   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10316   if (!SWIG_IsOK(res1
)) { 
10317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");  
10319   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10320   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10321   if (!SWIG_IsOK(ecode2
)) { 
10322     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'"); 
10324   arg2 
= static_cast< int >(val2
); 
10325   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10326   if (!SWIG_IsOK(ecode3
)) { 
10327     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'"); 
10329   arg3 
= static_cast< int >(val3
); 
10331     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10332     result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
); 
10333     wxPyEndAllowThreads(__tstate
); 
10334     if (PyErr_Occurred()) SWIG_fail
; 
10336   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10343 SWIGINTERN PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10344   PyObject 
*resultobj 
= 0; 
10345   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10346   wxPoint 
*arg2 
= 0 ; 
10347   wxRegionContain result
; 
10351   PyObject 
* obj0 
= 0 ; 
10352   PyObject 
* obj1 
= 0 ; 
10353   char *  kwnames
[] = { 
10354     (char *) "self",(char *) "pt", NULL 
 
10357   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10358   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10359   if (!SWIG_IsOK(res1
)) { 
10360     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");  
10362   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10365     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
10368     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10369     result 
= (wxRegionContain
)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
10370     wxPyEndAllowThreads(__tstate
); 
10371     if (PyErr_Occurred()) SWIG_fail
; 
10373   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10380 SWIGINTERN PyObject 
*_wrap_Region_ContainsRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10381   PyObject 
*resultobj 
= 0; 
10382   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10384   wxRegionContain result
; 
10388   PyObject 
* obj0 
= 0 ; 
10389   PyObject 
* obj1 
= 0 ; 
10390   char *  kwnames
[] = { 
10391     (char *) "self",(char *) "rect", NULL 
 
10394   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10395   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10396   if (!SWIG_IsOK(res1
)) { 
10397     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
10399   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10402     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
10405     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10406     result 
= (wxRegionContain
)(arg1
)->Contains((wxRect 
const &)*arg2
); 
10407     wxPyEndAllowThreads(__tstate
); 
10408     if (PyErr_Occurred()) SWIG_fail
; 
10410   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10417 SWIGINTERN PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10418   PyObject 
*resultobj 
= 0; 
10419   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10424   wxRegionContain result
; 
10435   PyObject 
* obj0 
= 0 ; 
10436   PyObject 
* obj1 
= 0 ; 
10437   PyObject 
* obj2 
= 0 ; 
10438   PyObject 
* obj3 
= 0 ; 
10439   PyObject 
* obj4 
= 0 ; 
10440   char *  kwnames
[] = { 
10441     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
10444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
10445   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10446   if (!SWIG_IsOK(res1
)) { 
10447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");  
10449   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10450   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10451   if (!SWIG_IsOK(ecode2
)) { 
10452     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'"); 
10454   arg2 
= static_cast< int >(val2
); 
10455   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10456   if (!SWIG_IsOK(ecode3
)) { 
10457     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'"); 
10459   arg3 
= static_cast< int >(val3
); 
10460   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10461   if (!SWIG_IsOK(ecode4
)) { 
10462     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'"); 
10464   arg4 
= static_cast< int >(val4
); 
10465   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
10466   if (!SWIG_IsOK(ecode5
)) { 
10467     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'"); 
10469   arg5 
= static_cast< int >(val5
); 
10471     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10472     result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
10473     wxPyEndAllowThreads(__tstate
); 
10474     if (PyErr_Occurred()) SWIG_fail
; 
10476   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10483 SWIGINTERN PyObject 
*_wrap_Region_GetBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10484   PyObject 
*resultobj 
= 0; 
10485   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10489   PyObject 
*swig_obj
[1] ; 
10491   if (!args
) SWIG_fail
; 
10492   swig_obj
[0] = args
; 
10493   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10494   if (!SWIG_IsOK(res1
)) { 
10495     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");  
10497   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10500     result 
= (arg1
)->GetBox(); 
10501     wxPyEndAllowThreads(__tstate
); 
10502     if (PyErr_Occurred()) SWIG_fail
; 
10504   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
10511 SWIGINTERN PyObject 
*_wrap_Region_Intersect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10512   PyObject 
*resultobj 
= 0; 
10513   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10529   PyObject 
* obj0 
= 0 ; 
10530   PyObject 
* obj1 
= 0 ; 
10531   PyObject 
* obj2 
= 0 ; 
10532   PyObject 
* obj3 
= 0 ; 
10533   PyObject 
* obj4 
= 0 ; 
10534   char *  kwnames
[] = { 
10535     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
10538   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
10539   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10540   if (!SWIG_IsOK(res1
)) { 
10541     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");  
10543   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10544   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10545   if (!SWIG_IsOK(ecode2
)) { 
10546     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'"); 
10548   arg2 
= static_cast< int >(val2
); 
10549   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10550   if (!SWIG_IsOK(ecode3
)) { 
10551     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'"); 
10553   arg3 
= static_cast< int >(val3
); 
10554   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10555   if (!SWIG_IsOK(ecode4
)) { 
10556     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'"); 
10558   arg4 
= static_cast< int >(val4
); 
10559   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
10560   if (!SWIG_IsOK(ecode5
)) { 
10561     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'"); 
10563   arg5 
= static_cast< int >(val5
); 
10565     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10566     result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
10567     wxPyEndAllowThreads(__tstate
); 
10568     if (PyErr_Occurred()) SWIG_fail
; 
10571     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10579 SWIGINTERN PyObject 
*_wrap_Region_IntersectRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10580   PyObject 
*resultobj 
= 0; 
10581   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10587   PyObject 
* obj0 
= 0 ; 
10588   PyObject 
* obj1 
= 0 ; 
10589   char *  kwnames
[] = { 
10590     (char *) "self",(char *) "rect", NULL 
 
10593   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10594   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10595   if (!SWIG_IsOK(res1
)) { 
10596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
10598   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10601     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
10604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10605     result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
10606     wxPyEndAllowThreads(__tstate
); 
10607     if (PyErr_Occurred()) SWIG_fail
; 
10610     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10618 SWIGINTERN PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10619   PyObject 
*resultobj 
= 0; 
10620   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10621   wxRegion 
*arg2 
= 0 ; 
10627   PyObject 
* obj0 
= 0 ; 
10628   PyObject 
* obj1 
= 0 ; 
10629   char *  kwnames
[] = { 
10630     (char *) "self",(char *) "region", NULL 
 
10633   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10634   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10635   if (!SWIG_IsOK(res1
)) { 
10636     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
10638   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10639   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
10640   if (!SWIG_IsOK(res2
)) { 
10641     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
10644     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
10646   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
10648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10649     result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
10650     wxPyEndAllowThreads(__tstate
); 
10651     if (PyErr_Occurred()) SWIG_fail
; 
10654     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10662 SWIGINTERN PyObject 
*_wrap_Region_IsEmpty(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10663   PyObject 
*resultobj 
= 0; 
10664   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10668   PyObject 
*swig_obj
[1] ; 
10670   if (!args
) SWIG_fail
; 
10671   swig_obj
[0] = args
; 
10672   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10673   if (!SWIG_IsOK(res1
)) { 
10674     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");  
10676   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10679     result 
= (bool)(arg1
)->IsEmpty(); 
10680     wxPyEndAllowThreads(__tstate
); 
10681     if (PyErr_Occurred()) SWIG_fail
; 
10684     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10692 SWIGINTERN PyObject 
*_wrap_Region_IsEqual(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10693   PyObject 
*resultobj 
= 0; 
10694   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10695   wxRegion 
*arg2 
= 0 ; 
10701   PyObject 
* obj0 
= 0 ; 
10702   PyObject 
* obj1 
= 0 ; 
10703   char *  kwnames
[] = { 
10704     (char *) "self",(char *) "region", NULL 
 
10707   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10708   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10709   if (!SWIG_IsOK(res1
)) { 
10710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");  
10712   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10713   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
10714   if (!SWIG_IsOK(res2
)) { 
10715     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");  
10718     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");  
10720   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
10722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10723     result 
= (bool)((wxRegion 
const *)arg1
)->IsEqual((wxRegion 
const &)*arg2
); 
10724     wxPyEndAllowThreads(__tstate
); 
10725     if (PyErr_Occurred()) SWIG_fail
; 
10728     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10736 SWIGINTERN PyObject 
*_wrap_Region_Union(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10737   PyObject 
*resultobj 
= 0; 
10738   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10754   PyObject 
* obj0 
= 0 ; 
10755   PyObject 
* obj1 
= 0 ; 
10756   PyObject 
* obj2 
= 0 ; 
10757   PyObject 
* obj3 
= 0 ; 
10758   PyObject 
* obj4 
= 0 ; 
10759   char *  kwnames
[] = { 
10760     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
10763   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
10764   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10765   if (!SWIG_IsOK(res1
)) { 
10766     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");  
10768   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10769   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10770   if (!SWIG_IsOK(ecode2
)) { 
10771     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'"); 
10773   arg2 
= static_cast< int >(val2
); 
10774   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10775   if (!SWIG_IsOK(ecode3
)) { 
10776     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'"); 
10778   arg3 
= static_cast< int >(val3
); 
10779   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10780   if (!SWIG_IsOK(ecode4
)) { 
10781     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'"); 
10783   arg4 
= static_cast< int >(val4
); 
10784   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
10785   if (!SWIG_IsOK(ecode5
)) { 
10786     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'"); 
10788   arg5 
= static_cast< int >(val5
); 
10790     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10791     result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
10792     wxPyEndAllowThreads(__tstate
); 
10793     if (PyErr_Occurred()) SWIG_fail
; 
10796     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10804 SWIGINTERN PyObject 
*_wrap_Region_UnionRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10805   PyObject 
*resultobj 
= 0; 
10806   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10812   PyObject 
* obj0 
= 0 ; 
10813   PyObject 
* obj1 
= 0 ; 
10814   char *  kwnames
[] = { 
10815     (char *) "self",(char *) "rect", NULL 
 
10818   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10819   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10820   if (!SWIG_IsOK(res1
)) { 
10821     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
10823   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10826     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
10829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10830     result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
10831     wxPyEndAllowThreads(__tstate
); 
10832     if (PyErr_Occurred()) SWIG_fail
; 
10835     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10843 SWIGINTERN PyObject 
*_wrap_Region_UnionRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10844   PyObject 
*resultobj 
= 0; 
10845   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10846   wxRegion 
*arg2 
= 0 ; 
10852   PyObject 
* obj0 
= 0 ; 
10853   PyObject 
* obj1 
= 0 ; 
10854   char *  kwnames
[] = { 
10855     (char *) "self",(char *) "region", NULL 
 
10858   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10859   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10860   if (!SWIG_IsOK(res1
)) { 
10861     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
10863   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10864   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
10865   if (!SWIG_IsOK(res2
)) { 
10866     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
10869     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
10871   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
10873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10874     result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
10875     wxPyEndAllowThreads(__tstate
); 
10876     if (PyErr_Occurred()) SWIG_fail
; 
10879     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10887 SWIGINTERN PyObject 
*_wrap_Region_Subtract(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10888   PyObject 
*resultobj 
= 0; 
10889   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10905   PyObject 
* obj0 
= 0 ; 
10906   PyObject 
* obj1 
= 0 ; 
10907   PyObject 
* obj2 
= 0 ; 
10908   PyObject 
* obj3 
= 0 ; 
10909   PyObject 
* obj4 
= 0 ; 
10910   char *  kwnames
[] = { 
10911     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
10914   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
10915   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10916   if (!SWIG_IsOK(res1
)) { 
10917     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");  
10919   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10920   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10921   if (!SWIG_IsOK(ecode2
)) { 
10922     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'"); 
10924   arg2 
= static_cast< int >(val2
); 
10925   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10926   if (!SWIG_IsOK(ecode3
)) { 
10927     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'"); 
10929   arg3 
= static_cast< int >(val3
); 
10930   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10931   if (!SWIG_IsOK(ecode4
)) { 
10932     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'"); 
10934   arg4 
= static_cast< int >(val4
); 
10935   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
10936   if (!SWIG_IsOK(ecode5
)) { 
10937     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'"); 
10939   arg5 
= static_cast< int >(val5
); 
10941     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10942     result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
10943     wxPyEndAllowThreads(__tstate
); 
10944     if (PyErr_Occurred()) SWIG_fail
; 
10947     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10955 SWIGINTERN PyObject 
*_wrap_Region_SubtractRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10956   PyObject 
*resultobj 
= 0; 
10957   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10963   PyObject 
* obj0 
= 0 ; 
10964   PyObject 
* obj1 
= 0 ; 
10965   char *  kwnames
[] = { 
10966     (char *) "self",(char *) "rect", NULL 
 
10969   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10970   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
10971   if (!SWIG_IsOK(res1
)) { 
10972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
10974   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
10977     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
10980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10981     result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
10982     wxPyEndAllowThreads(__tstate
); 
10983     if (PyErr_Occurred()) SWIG_fail
; 
10986     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10994 SWIGINTERN PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10995   PyObject 
*resultobj 
= 0; 
10996   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
10997   wxRegion 
*arg2 
= 0 ; 
11003   PyObject 
* obj0 
= 0 ; 
11004   PyObject 
* obj1 
= 0 ; 
11005   char *  kwnames
[] = { 
11006     (char *) "self",(char *) "region", NULL 
 
11009   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11010   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11011   if (!SWIG_IsOK(res1
)) { 
11012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
11014   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11015   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
11016   if (!SWIG_IsOK(res2
)) { 
11017     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
11020     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
11022   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
11024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11025     result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
11026     wxPyEndAllowThreads(__tstate
); 
11027     if (PyErr_Occurred()) SWIG_fail
; 
11030     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11038 SWIGINTERN PyObject 
*_wrap_Region_Xor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11039   PyObject 
*resultobj 
= 0; 
11040   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
11056   PyObject 
* obj0 
= 0 ; 
11057   PyObject 
* obj1 
= 0 ; 
11058   PyObject 
* obj2 
= 0 ; 
11059   PyObject 
* obj3 
= 0 ; 
11060   PyObject 
* obj4 
= 0 ; 
11061   char *  kwnames
[] = { 
11062     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
11065   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
11066   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11067   if (!SWIG_IsOK(res1
)) { 
11068     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");  
11070   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11071   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11072   if (!SWIG_IsOK(ecode2
)) { 
11073     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'"); 
11075   arg2 
= static_cast< int >(val2
); 
11076   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11077   if (!SWIG_IsOK(ecode3
)) { 
11078     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'"); 
11080   arg3 
= static_cast< int >(val3
); 
11081   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11082   if (!SWIG_IsOK(ecode4
)) { 
11083     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'"); 
11085   arg4 
= static_cast< int >(val4
); 
11086   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
11087   if (!SWIG_IsOK(ecode5
)) { 
11088     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'"); 
11090   arg5 
= static_cast< int >(val5
); 
11092     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11093     result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
11094     wxPyEndAllowThreads(__tstate
); 
11095     if (PyErr_Occurred()) SWIG_fail
; 
11098     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11106 SWIGINTERN PyObject 
*_wrap_Region_XorRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11107   PyObject 
*resultobj 
= 0; 
11108   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
11114   PyObject 
* obj0 
= 0 ; 
11115   PyObject 
* obj1 
= 0 ; 
11116   char *  kwnames
[] = { 
11117     (char *) "self",(char *) "rect", NULL 
 
11120   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11121   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11122   if (!SWIG_IsOK(res1
)) { 
11123     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
11125   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11128     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11131     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11132     result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
11133     wxPyEndAllowThreads(__tstate
); 
11134     if (PyErr_Occurred()) SWIG_fail
; 
11137     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11145 SWIGINTERN PyObject 
*_wrap_Region_XorRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11146   PyObject 
*resultobj 
= 0; 
11147   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
11148   wxRegion 
*arg2 
= 0 ; 
11154   PyObject 
* obj0 
= 0 ; 
11155   PyObject 
* obj1 
= 0 ; 
11156   char *  kwnames
[] = { 
11157     (char *) "self",(char *) "region", NULL 
 
11160   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11161   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11162   if (!SWIG_IsOK(res1
)) { 
11163     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
11165   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11166   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
11167   if (!SWIG_IsOK(res2
)) { 
11168     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
11171     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
11173   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
11175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11176     result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
11177     wxPyEndAllowThreads(__tstate
); 
11178     if (PyErr_Occurred()) SWIG_fail
; 
11181     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11189 SWIGINTERN PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11190   PyObject 
*resultobj 
= 0; 
11191   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
11192   SwigValueWrapper
<wxBitmap 
> result
; 
11195   PyObject 
*swig_obj
[1] ; 
11197   if (!args
) SWIG_fail
; 
11198   swig_obj
[0] = args
; 
11199   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11200   if (!SWIG_IsOK(res1
)) { 
11201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");  
11203   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11205     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11206     result 
= (arg1
)->ConvertToBitmap(); 
11207     wxPyEndAllowThreads(__tstate
); 
11208     if (PyErr_Occurred()) SWIG_fail
; 
11210   resultobj 
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
11217 SWIGINTERN PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11218   PyObject 
*resultobj 
= 0; 
11219   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
11220   wxBitmap 
*arg2 
= 0 ; 
11226   PyObject 
* obj0 
= 0 ; 
11227   PyObject 
* obj1 
= 0 ; 
11228   char *  kwnames
[] = { 
11229     (char *) "self",(char *) "bmp", NULL 
 
11232   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11233   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11234   if (!SWIG_IsOK(res1
)) { 
11235     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");  
11237   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11238   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
11239   if (!SWIG_IsOK(res2
)) { 
11240     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
11243     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
11245   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
11247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11248     result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
); 
11249     wxPyEndAllowThreads(__tstate
); 
11250     if (PyErr_Occurred()) SWIG_fail
; 
11253     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11261 SWIGINTERN PyObject 
*_wrap_Region_UnionBitmapColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11262   PyObject 
*resultobj 
= 0; 
11263   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
11264   wxBitmap 
*arg2 
= 0 ; 
11265   wxColour 
*arg3 
= 0 ; 
11266   int arg4 
= (int) 0 ; 
11275   PyObject 
* obj0 
= 0 ; 
11276   PyObject 
* obj1 
= 0 ; 
11277   PyObject 
* obj2 
= 0 ; 
11278   PyObject 
* obj3 
= 0 ; 
11279   char *  kwnames
[] = { 
11280     (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
11283   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11284   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
11285   if (!SWIG_IsOK(res1
)) { 
11286     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");  
11288   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11289   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
11290   if (!SWIG_IsOK(res2
)) { 
11291     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
11294     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
11296   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
11299     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
11302     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11303     if (!SWIG_IsOK(ecode4
)) { 
11304       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'"); 
11306     arg4 
= static_cast< int >(val4
); 
11309     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11310     result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
11311     wxPyEndAllowThreads(__tstate
); 
11312     if (PyErr_Occurred()) SWIG_fail
; 
11315     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11323 SWIGINTERN PyObject 
*Region_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11325   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11326   SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
)); 
11327   return SWIG_Py_Void(); 
11330 SWIGINTERN PyObject 
*Region_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11331   return SWIG_Python_InitShadowInstance(args
); 
11334 SWIGINTERN PyObject 
*_wrap_new_RegionIterator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11335   PyObject 
*resultobj 
= 0; 
11336   wxRegion 
*arg1 
= 0 ; 
11337   wxRegionIterator 
*result 
= 0 ; 
11340   PyObject 
* obj0 
= 0 ; 
11341   char *  kwnames
[] = { 
11342     (char *) "region", NULL 
 
11345   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
; 
11346   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
,  0  | 0); 
11347   if (!SWIG_IsOK(res1
)) { 
11348     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");  
11351     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");  
11353   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
11355     if (!wxPyCheckForApp()) SWIG_fail
; 
11356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11357     result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
11358     wxPyEndAllowThreads(__tstate
); 
11359     if (PyErr_Occurred()) SWIG_fail
; 
11361   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW 
|  0 ); 
11368 SWIGINTERN PyObject 
*_wrap_delete_RegionIterator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11369   PyObject 
*resultobj 
= 0; 
11370   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11373   PyObject 
*swig_obj
[1] ; 
11375   if (!args
) SWIG_fail
; 
11376   swig_obj
[0] = args
; 
11377   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN 
|  0 ); 
11378   if (!SWIG_IsOK(res1
)) { 
11379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11381   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11383     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11386     wxPyEndAllowThreads(__tstate
); 
11387     if (PyErr_Occurred()) SWIG_fail
; 
11389   resultobj 
= SWIG_Py_Void(); 
11396 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11397   PyObject 
*resultobj 
= 0; 
11398   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11402   PyObject 
*swig_obj
[1] ; 
11404   if (!args
) SWIG_fail
; 
11405   swig_obj
[0] = args
; 
11406   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11407   if (!SWIG_IsOK(res1
)) { 
11408     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11410   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11413     result 
= (int)(arg1
)->GetX(); 
11414     wxPyEndAllowThreads(__tstate
); 
11415     if (PyErr_Occurred()) SWIG_fail
; 
11417   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11424 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11425   PyObject 
*resultobj 
= 0; 
11426   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11430   PyObject 
*swig_obj
[1] ; 
11432   if (!args
) SWIG_fail
; 
11433   swig_obj
[0] = args
; 
11434   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11435   if (!SWIG_IsOK(res1
)) { 
11436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11438   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11441     result 
= (int)(arg1
)->GetY(); 
11442     wxPyEndAllowThreads(__tstate
); 
11443     if (PyErr_Occurred()) SWIG_fail
; 
11445   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11452 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11453   PyObject 
*resultobj 
= 0; 
11454   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11458   PyObject 
*swig_obj
[1] ; 
11460   if (!args
) SWIG_fail
; 
11461   swig_obj
[0] = args
; 
11462   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11463   if (!SWIG_IsOK(res1
)) { 
11464     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11466   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11469     result 
= (int)(arg1
)->GetW(); 
11470     wxPyEndAllowThreads(__tstate
); 
11471     if (PyErr_Occurred()) SWIG_fail
; 
11473   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11480 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11481   PyObject 
*resultobj 
= 0; 
11482   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11486   PyObject 
*swig_obj
[1] ; 
11488   if (!args
) SWIG_fail
; 
11489   swig_obj
[0] = args
; 
11490   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11491   if (!SWIG_IsOK(res1
)) { 
11492     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11494   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11497     result 
= (int)(arg1
)->GetWidth(); 
11498     wxPyEndAllowThreads(__tstate
); 
11499     if (PyErr_Occurred()) SWIG_fail
; 
11501   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11508 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11509   PyObject 
*resultobj 
= 0; 
11510   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11514   PyObject 
*swig_obj
[1] ; 
11516   if (!args
) SWIG_fail
; 
11517   swig_obj
[0] = args
; 
11518   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11519   if (!SWIG_IsOK(res1
)) { 
11520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11522   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11524     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11525     result 
= (int)(arg1
)->GetH(); 
11526     wxPyEndAllowThreads(__tstate
); 
11527     if (PyErr_Occurred()) SWIG_fail
; 
11529   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11536 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11537   PyObject 
*resultobj 
= 0; 
11538   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11542   PyObject 
*swig_obj
[1] ; 
11544   if (!args
) SWIG_fail
; 
11545   swig_obj
[0] = args
; 
11546   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11547   if (!SWIG_IsOK(res1
)) { 
11548     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11550   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11553     result 
= (int)(arg1
)->GetHeight(); 
11554     wxPyEndAllowThreads(__tstate
); 
11555     if (PyErr_Occurred()) SWIG_fail
; 
11557   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11564 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11565   PyObject 
*resultobj 
= 0; 
11566   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11570   PyObject 
*swig_obj
[1] ; 
11572   if (!args
) SWIG_fail
; 
11573   swig_obj
[0] = args
; 
11574   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11575   if (!SWIG_IsOK(res1
)) { 
11576     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11578   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11580     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11581     result 
= (arg1
)->GetRect(); 
11582     wxPyEndAllowThreads(__tstate
); 
11583     if (PyErr_Occurred()) SWIG_fail
; 
11585   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
11592 SWIGINTERN PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11593   PyObject 
*resultobj 
= 0; 
11594   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11598   PyObject 
*swig_obj
[1] ; 
11600   if (!args
) SWIG_fail
; 
11601   swig_obj
[0] = args
; 
11602   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11603   if (!SWIG_IsOK(res1
)) { 
11604     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11606   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11609     result 
= (bool)(arg1
)->HaveRects(); 
11610     wxPyEndAllowThreads(__tstate
); 
11611     if (PyErr_Occurred()) SWIG_fail
; 
11614     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11622 SWIGINTERN PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11623   PyObject 
*resultobj 
= 0; 
11624   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11627   PyObject 
*swig_obj
[1] ; 
11629   if (!args
) SWIG_fail
; 
11630   swig_obj
[0] = args
; 
11631   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11632   if (!SWIG_IsOK(res1
)) { 
11633     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11635   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11639     wxPyEndAllowThreads(__tstate
); 
11640     if (PyErr_Occurred()) SWIG_fail
; 
11642   resultobj 
= SWIG_Py_Void(); 
11649 SWIGINTERN PyObject 
*_wrap_RegionIterator_Next(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11650   PyObject 
*resultobj 
= 0; 
11651   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11654   PyObject 
*swig_obj
[1] ; 
11656   if (!args
) SWIG_fail
; 
11657   swig_obj
[0] = args
; 
11658   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11659   if (!SWIG_IsOK(res1
)) { 
11660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11662   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11664     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11665     wxRegionIterator_Next(arg1
); 
11666     wxPyEndAllowThreads(__tstate
); 
11667     if (PyErr_Occurred()) SWIG_fail
; 
11669   resultobj 
= SWIG_Py_Void(); 
11676 SWIGINTERN PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11677   PyObject 
*resultobj 
= 0; 
11678   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
11682   PyObject 
*swig_obj
[1] ; 
11684   if (!args
) SWIG_fail
; 
11685   swig_obj
[0] = args
; 
11686   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
11687   if (!SWIG_IsOK(res1
)) { 
11688     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
11690   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
11692     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11693     result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
11694     wxPyEndAllowThreads(__tstate
); 
11695     if (PyErr_Occurred()) SWIG_fail
; 
11698     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11706 SWIGINTERN PyObject 
*RegionIterator_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11708   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11709   SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
)); 
11710   return SWIG_Py_Void(); 
11713 SWIGINTERN PyObject 
*RegionIterator_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11714   return SWIG_Python_InitShadowInstance(args
); 
11717 SWIGINTERN PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11718   PyObject 
*resultobj 
= 0; 
11719   wxNativeFontInfo 
*result 
= 0 ; 
11721   if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
; 
11723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11724     result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
11725     wxPyEndAllowThreads(__tstate
); 
11726     if (PyErr_Occurred()) SWIG_fail
; 
11728   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW 
|  0 ); 
11735 SWIGINTERN PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11736   PyObject 
*resultobj 
= 0; 
11737   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11740   PyObject 
*swig_obj
[1] ; 
11742   if (!args
) SWIG_fail
; 
11743   swig_obj
[0] = args
; 
11744   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN 
|  0 ); 
11745   if (!SWIG_IsOK(res1
)) { 
11746     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
11748   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11753     wxPyEndAllowThreads(__tstate
); 
11754     if (PyErr_Occurred()) SWIG_fail
; 
11756   resultobj 
= SWIG_Py_Void(); 
11763 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11764   PyObject 
*resultobj 
= 0; 
11765   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11768   PyObject 
*swig_obj
[1] ; 
11770   if (!args
) SWIG_fail
; 
11771   swig_obj
[0] = args
; 
11772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11773   if (!SWIG_IsOK(res1
)) { 
11774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
11776   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11780     wxPyEndAllowThreads(__tstate
); 
11781     if (PyErr_Occurred()) SWIG_fail
; 
11783   resultobj 
= SWIG_Py_Void(); 
11790 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11791   PyObject 
*resultobj 
= 0; 
11792   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11798   PyObject 
* obj0 
= 0 ; 
11799   PyObject 
* obj1 
= 0 ; 
11800   char *  kwnames
[] = { 
11801     (char *) "self",(char *) "font", NULL 
 
11804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11806   if (!SWIG_IsOK(res1
)) { 
11807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
11809   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11810   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
11811   if (!SWIG_IsOK(res2
)) { 
11812     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
11815     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
11817   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
11819     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11820     (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
11821     wxPyEndAllowThreads(__tstate
); 
11822     if (PyErr_Occurred()) SWIG_fail
; 
11824   resultobj 
= SWIG_Py_Void(); 
11831 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11832   PyObject 
*resultobj 
= 0; 
11833   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11837   PyObject 
*swig_obj
[1] ; 
11839   if (!args
) SWIG_fail
; 
11840   swig_obj
[0] = args
; 
11841   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11842   if (!SWIG_IsOK(res1
)) { 
11843     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
11845   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11847     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11848     result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
11849     wxPyEndAllowThreads(__tstate
); 
11850     if (PyErr_Occurred()) SWIG_fail
; 
11852   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11859 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11860   PyObject 
*resultobj 
= 0; 
11861   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11862   wxFontStyle result
; 
11865   PyObject 
*swig_obj
[1] ; 
11867   if (!args
) SWIG_fail
; 
11868   swig_obj
[0] = args
; 
11869   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11870   if (!SWIG_IsOK(res1
)) { 
11871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
11873   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11875     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11876     result 
= (wxFontStyle
)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
11877     wxPyEndAllowThreads(__tstate
); 
11878     if (PyErr_Occurred()) SWIG_fail
; 
11880   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11887 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11888   PyObject 
*resultobj 
= 0; 
11889   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11890   wxFontWeight result
; 
11893   PyObject 
*swig_obj
[1] ; 
11895   if (!args
) SWIG_fail
; 
11896   swig_obj
[0] = args
; 
11897   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11898   if (!SWIG_IsOK(res1
)) { 
11899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
11901   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11904     result 
= (wxFontWeight
)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
11905     wxPyEndAllowThreads(__tstate
); 
11906     if (PyErr_Occurred()) SWIG_fail
; 
11908   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11915 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11916   PyObject 
*resultobj 
= 0; 
11917   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11921   PyObject 
*swig_obj
[1] ; 
11923   if (!args
) SWIG_fail
; 
11924   swig_obj
[0] = args
; 
11925   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11926   if (!SWIG_IsOK(res1
)) { 
11927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
11929   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11932     result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
11933     wxPyEndAllowThreads(__tstate
); 
11934     if (PyErr_Occurred()) SWIG_fail
; 
11937     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11945 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11946   PyObject 
*resultobj 
= 0; 
11947   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11951   PyObject 
*swig_obj
[1] ; 
11953   if (!args
) SWIG_fail
; 
11954   swig_obj
[0] = args
; 
11955   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11956   if (!SWIG_IsOK(res1
)) { 
11957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
11959   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11961     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11962     result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
11963     wxPyEndAllowThreads(__tstate
); 
11964     if (PyErr_Occurred()) SWIG_fail
; 
11968     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11970     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11979 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11980   PyObject 
*resultobj 
= 0; 
11981   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
11982   wxFontFamily result
; 
11985   PyObject 
*swig_obj
[1] ; 
11987   if (!args
) SWIG_fail
; 
11988   swig_obj
[0] = args
; 
11989   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11990   if (!SWIG_IsOK(res1
)) { 
11991     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
11993   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11996     result 
= (wxFontFamily
)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
11997     wxPyEndAllowThreads(__tstate
); 
11998     if (PyErr_Occurred()) SWIG_fail
; 
12000   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12007 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12008   PyObject 
*resultobj 
= 0; 
12009   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12010   wxFontEncoding result
; 
12013   PyObject 
*swig_obj
[1] ; 
12015   if (!args
) SWIG_fail
; 
12016   swig_obj
[0] = args
; 
12017   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12018   if (!SWIG_IsOK(res1
)) { 
12019     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
12021   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12023     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12024     result 
= (wxFontEncoding
)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
12025     wxPyEndAllowThreads(__tstate
); 
12026     if (PyErr_Occurred()) SWIG_fail
; 
12028   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12035 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12036   PyObject 
*resultobj 
= 0; 
12037   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12043   PyObject 
* obj0 
= 0 ; 
12044   PyObject 
* obj1 
= 0 ; 
12045   char *  kwnames
[] = { 
12046     (char *) "self",(char *) "pointsize", NULL 
 
12049   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12050   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12051   if (!SWIG_IsOK(res1
)) { 
12052     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12054   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12055   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12056   if (!SWIG_IsOK(ecode2
)) { 
12057     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'"); 
12059   arg2 
= static_cast< int >(val2
); 
12061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12062     (arg1
)->SetPointSize(arg2
); 
12063     wxPyEndAllowThreads(__tstate
); 
12064     if (PyErr_Occurred()) SWIG_fail
; 
12066   resultobj 
= SWIG_Py_Void(); 
12073 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12074   PyObject 
*resultobj 
= 0; 
12075   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12081   PyObject 
* obj0 
= 0 ; 
12082   PyObject 
* obj1 
= 0 ; 
12083   char *  kwnames
[] = { 
12084     (char *) "self",(char *) "style", NULL 
 
12087   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12088   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12089   if (!SWIG_IsOK(res1
)) { 
12090     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12092   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12093   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12094   if (!SWIG_IsOK(ecode2
)) { 
12095     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'"); 
12097   arg2 
= static_cast< wxFontStyle 
>(val2
); 
12099     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12100     (arg1
)->SetStyle(arg2
); 
12101     wxPyEndAllowThreads(__tstate
); 
12102     if (PyErr_Occurred()) SWIG_fail
; 
12104   resultobj 
= SWIG_Py_Void(); 
12111 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12112   PyObject 
*resultobj 
= 0; 
12113   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12114   wxFontWeight arg2 
; 
12119   PyObject 
* obj0 
= 0 ; 
12120   PyObject 
* obj1 
= 0 ; 
12121   char *  kwnames
[] = { 
12122     (char *) "self",(char *) "weight", NULL 
 
12125   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12126   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12127   if (!SWIG_IsOK(res1
)) { 
12128     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12130   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12131   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12132   if (!SWIG_IsOK(ecode2
)) { 
12133     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'"); 
12135   arg2 
= static_cast< wxFontWeight 
>(val2
); 
12137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12138     (arg1
)->SetWeight(arg2
); 
12139     wxPyEndAllowThreads(__tstate
); 
12140     if (PyErr_Occurred()) SWIG_fail
; 
12142   resultobj 
= SWIG_Py_Void(); 
12149 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12150   PyObject 
*resultobj 
= 0; 
12151   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12157   PyObject 
* obj0 
= 0 ; 
12158   PyObject 
* obj1 
= 0 ; 
12159   char *  kwnames
[] = { 
12160     (char *) "self",(char *) "underlined", NULL 
 
12163   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12164   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12165   if (!SWIG_IsOK(res1
)) { 
12166     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12168   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12169   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12170   if (!SWIG_IsOK(ecode2
)) { 
12171     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
12173   arg2 
= static_cast< bool >(val2
); 
12175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12176     (arg1
)->SetUnderlined(arg2
); 
12177     wxPyEndAllowThreads(__tstate
); 
12178     if (PyErr_Occurred()) SWIG_fail
; 
12180   resultobj 
= SWIG_Py_Void(); 
12187 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12188   PyObject 
*resultobj 
= 0; 
12189   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12194   PyObject 
* obj0 
= 0 ; 
12195   PyObject 
* obj1 
= 0 ; 
12196   char *  kwnames
[] = { 
12197     (char *) "self",(char *) "facename", NULL 
 
12200   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12201   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12202   if (!SWIG_IsOK(res1
)) { 
12203     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12205   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12207     wxString
* sptr 
= wxString_in_helper(obj1
); 
12208     if (sptr 
== NULL
) SWIG_fail
; 
12213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12214     result 
= (bool)(arg1
)->SetFaceName(arg2
); 
12215     wxPyEndAllowThreads(__tstate
); 
12216     if (PyErr_Occurred()) SWIG_fail
; 
12219     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12227 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12228   PyObject 
*resultobj 
= 0; 
12229   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12230   wxFontFamily arg2 
; 
12235   PyObject 
* obj0 
= 0 ; 
12236   PyObject 
* obj1 
= 0 ; 
12237   char *  kwnames
[] = { 
12238     (char *) "self",(char *) "family", NULL 
 
12241   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12242   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12243   if (!SWIG_IsOK(res1
)) { 
12244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12246   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12247   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12248   if (!SWIG_IsOK(ecode2
)) { 
12249     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'"); 
12251   arg2 
= static_cast< wxFontFamily 
>(val2
); 
12253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12254     (arg1
)->SetFamily(arg2
); 
12255     wxPyEndAllowThreads(__tstate
); 
12256     if (PyErr_Occurred()) SWIG_fail
; 
12258   resultobj 
= SWIG_Py_Void(); 
12265 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12266   PyObject 
*resultobj 
= 0; 
12267   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12268   wxFontEncoding arg2 
; 
12273   PyObject 
* obj0 
= 0 ; 
12274   PyObject 
* obj1 
= 0 ; 
12275   char *  kwnames
[] = { 
12276     (char *) "self",(char *) "encoding", NULL 
 
12279   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12280   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12281   if (!SWIG_IsOK(res1
)) { 
12282     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12284   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12285   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12286   if (!SWIG_IsOK(ecode2
)) { 
12287     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
12289   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
12291     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12292     (arg1
)->SetEncoding(arg2
); 
12293     wxPyEndAllowThreads(__tstate
); 
12294     if (PyErr_Occurred()) SWIG_fail
; 
12296   resultobj 
= SWIG_Py_Void(); 
12303 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12304   PyObject 
*resultobj 
= 0; 
12305   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12306   wxString 
*arg2 
= 0 ; 
12310   bool temp2 
= false ; 
12311   PyObject 
* obj0 
= 0 ; 
12312   PyObject 
* obj1 
= 0 ; 
12313   char *  kwnames
[] = { 
12314     (char *) "self",(char *) "s", NULL 
 
12317   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12318   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12319   if (!SWIG_IsOK(res1
)) { 
12320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12322   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12324     arg2 
= wxString_in_helper(obj1
); 
12325     if (arg2 
== NULL
) SWIG_fail
; 
12329     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12330     result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
12331     wxPyEndAllowThreads(__tstate
); 
12332     if (PyErr_Occurred()) SWIG_fail
; 
12335     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12351 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12352   PyObject 
*resultobj 
= 0; 
12353   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12357   PyObject 
*swig_obj
[1] ; 
12359   if (!args
) SWIG_fail
; 
12360   swig_obj
[0] = args
; 
12361   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12362   if (!SWIG_IsOK(res1
)) { 
12363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
12365   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12367     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12368     result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
12369     wxPyEndAllowThreads(__tstate
); 
12370     if (PyErr_Occurred()) SWIG_fail
; 
12374     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12376     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12385 SWIGINTERN PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12386   PyObject 
*resultobj 
= 0; 
12387   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12391   PyObject 
*swig_obj
[1] ; 
12393   if (!args
) SWIG_fail
; 
12394   swig_obj
[0] = args
; 
12395   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12396   if (!SWIG_IsOK(res1
)) { 
12397     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12399   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12401     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12402     result 
= wxNativeFontInfo___str__(arg1
); 
12403     wxPyEndAllowThreads(__tstate
); 
12404     if (PyErr_Occurred()) SWIG_fail
; 
12408     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12410     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12419 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12420   PyObject 
*resultobj 
= 0; 
12421   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12422   wxString 
*arg2 
= 0 ; 
12426   bool temp2 
= false ; 
12427   PyObject 
* obj0 
= 0 ; 
12428   PyObject 
* obj1 
= 0 ; 
12429   char *  kwnames
[] = { 
12430     (char *) "self",(char *) "s", NULL 
 
12433   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12434   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12435   if (!SWIG_IsOK(res1
)) { 
12436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
12438   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12440     arg2 
= wxString_in_helper(obj1
); 
12441     if (arg2 
== NULL
) SWIG_fail
; 
12445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12446     result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
12447     wxPyEndAllowThreads(__tstate
); 
12448     if (PyErr_Occurred()) SWIG_fail
; 
12451     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12467 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12468   PyObject 
*resultobj 
= 0; 
12469   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
12473   PyObject 
*swig_obj
[1] ; 
12475   if (!args
) SWIG_fail
; 
12476   swig_obj
[0] = args
; 
12477   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
12478   if (!SWIG_IsOK(res1
)) { 
12479     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
12481   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
12483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12484     result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
12485     wxPyEndAllowThreads(__tstate
); 
12486     if (PyErr_Occurred()) SWIG_fail
; 
12490     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12492     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12501 SWIGINTERN PyObject 
*NativeFontInfo_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12503   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12504   SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
)); 
12505   return SWIG_Py_Void(); 
12508 SWIGINTERN PyObject 
*NativeFontInfo_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12509   return SWIG_Python_InitShadowInstance(args
); 
12512 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12513   PyObject 
*resultobj 
= 0; 
12514   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12515   wxString 
*arg2 
= (wxString 
*) 0 ; 
12518   bool temp2 
= false ; 
12519   PyObject 
*swig_obj
[2] ; 
12521   if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
; 
12522   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12523   if (!SWIG_IsOK(res1
)) { 
12524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
12526   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12528     arg2 
= wxString_in_helper(swig_obj
[1]); 
12529     if (arg2 
== NULL
) SWIG_fail
; 
12532   if (arg1
) (arg1
)->facename 
= *arg2
; 
12534   resultobj 
= SWIG_Py_Void(); 
12549 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12550   PyObject 
*resultobj 
= 0; 
12551   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12552   wxString 
*result 
= 0 ; 
12555   PyObject 
*swig_obj
[1] ; 
12557   if (!args
) SWIG_fail
; 
12558   swig_obj
[0] = args
; 
12559   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12560   if (!SWIG_IsOK(res1
)) { 
12561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
12563   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12564   result 
= (wxString 
*)& ((arg1
)->facename
); 
12567     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12569     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12578 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12579   PyObject 
*resultobj 
= 0; 
12580   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12581   wxFontEncoding arg2 
; 
12586   PyObject 
*swig_obj
[2] ; 
12588   if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
; 
12589   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12590   if (!SWIG_IsOK(res1
)) { 
12591     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
12593   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12594   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
12595   if (!SWIG_IsOK(ecode2
)) { 
12596     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
12598   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
12599   if (arg1
) (arg1
)->encoding 
= arg2
; 
12601   resultobj 
= SWIG_Py_Void(); 
12608 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12609   PyObject 
*resultobj 
= 0; 
12610   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12611   wxFontEncoding result
; 
12614   PyObject 
*swig_obj
[1] ; 
12616   if (!args
) SWIG_fail
; 
12617   swig_obj
[0] = args
; 
12618   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12619   if (!SWIG_IsOK(res1
)) { 
12620     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
12622   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12623   result 
= (wxFontEncoding
) ((arg1
)->encoding
); 
12624   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12631 SWIGINTERN PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12632   PyObject 
*resultobj 
= 0; 
12633   wxNativeEncodingInfo 
*result 
= 0 ; 
12635   if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
; 
12637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12638     result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
12639     wxPyEndAllowThreads(__tstate
); 
12640     if (PyErr_Occurred()) SWIG_fail
; 
12642   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW 
|  0 ); 
12649 SWIGINTERN PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12650   PyObject 
*resultobj 
= 0; 
12651   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12654   PyObject 
*swig_obj
[1] ; 
12656   if (!args
) SWIG_fail
; 
12657   swig_obj
[0] = args
; 
12658   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN 
|  0 ); 
12659   if (!SWIG_IsOK(res1
)) { 
12660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
12662   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12664     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12667     wxPyEndAllowThreads(__tstate
); 
12668     if (PyErr_Occurred()) SWIG_fail
; 
12670   resultobj 
= SWIG_Py_Void(); 
12677 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12678   PyObject 
*resultobj 
= 0; 
12679   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12680   wxString 
*arg2 
= 0 ; 
12684   bool temp2 
= false ; 
12685   PyObject 
* obj0 
= 0 ; 
12686   PyObject 
* obj1 
= 0 ; 
12687   char *  kwnames
[] = { 
12688     (char *) "self",(char *) "s", NULL 
 
12691   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12692   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12693   if (!SWIG_IsOK(res1
)) { 
12694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
12696   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12698     arg2 
= wxString_in_helper(obj1
); 
12699     if (arg2 
== NULL
) SWIG_fail
; 
12703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12704     result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
12705     wxPyEndAllowThreads(__tstate
); 
12706     if (PyErr_Occurred()) SWIG_fail
; 
12709     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12725 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12726   PyObject 
*resultobj 
= 0; 
12727   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
12731   PyObject 
*swig_obj
[1] ; 
12733   if (!args
) SWIG_fail
; 
12734   swig_obj
[0] = args
; 
12735   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12736   if (!SWIG_IsOK(res1
)) { 
12737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");  
12739   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12742     result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
12743     wxPyEndAllowThreads(__tstate
); 
12744     if (PyErr_Occurred()) SWIG_fail
; 
12748     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12750     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12759 SWIGINTERN PyObject 
*NativeEncodingInfo_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12761   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12762   SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
)); 
12763   return SWIG_Py_Void(); 
12766 SWIGINTERN PyObject 
*NativeEncodingInfo_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12767   return SWIG_Python_InitShadowInstance(args
); 
12770 SWIGINTERN PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12771   PyObject 
*resultobj 
= 0; 
12772   wxFontEncoding arg1 
; 
12773   wxNativeEncodingInfo 
*result 
= 0 ; 
12776   PyObject 
* obj0 
= 0 ; 
12777   char *  kwnames
[] = { 
12778     (char *) "encoding", NULL 
 
12781   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
; 
12782   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
12783   if (!SWIG_IsOK(ecode1
)) { 
12784     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
12786   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
12788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12789     result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding(arg1
); 
12790     wxPyEndAllowThreads(__tstate
); 
12791     if (PyErr_Occurred()) SWIG_fail
; 
12793   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
12800 SWIGINTERN PyObject 
*_wrap_TestFontEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12801   PyObject 
*resultobj 
= 0; 
12802   wxNativeEncodingInfo 
*arg1 
= 0 ; 
12806   PyObject 
* obj0 
= 0 ; 
12807   char *  kwnames
[] = { 
12808     (char *) "info", NULL 
 
12811   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
; 
12812   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
,  0  | 0); 
12813   if (!SWIG_IsOK(res1
)) { 
12814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");  
12817     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");  
12819   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
12821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12822     result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
12823     wxPyEndAllowThreads(__tstate
); 
12824     if (PyErr_Occurred()) SWIG_fail
; 
12827     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12835 SWIGINTERN PyObject 
*_wrap_new_FontMapper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12836   PyObject 
*resultobj 
= 0; 
12837   wxFontMapper 
*result 
= 0 ; 
12839   if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
; 
12841     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12842     result 
= (wxFontMapper 
*)new wxFontMapper(); 
12843     wxPyEndAllowThreads(__tstate
); 
12844     if (PyErr_Occurred()) SWIG_fail
; 
12846   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW 
|  0 ); 
12853 SWIGINTERN PyObject 
*_wrap_delete_FontMapper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12854   PyObject 
*resultobj 
= 0; 
12855   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
12858   PyObject 
*swig_obj
[1] ; 
12860   if (!args
) SWIG_fail
; 
12861   swig_obj
[0] = args
; 
12862   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN 
|  0 ); 
12863   if (!SWIG_IsOK(res1
)) { 
12864     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
12866   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
12868     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12871     wxPyEndAllowThreads(__tstate
); 
12872     if (PyErr_Occurred()) SWIG_fail
; 
12874   resultobj 
= SWIG_Py_Void(); 
12881 SWIGINTERN PyObject 
*_wrap_FontMapper_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12882   PyObject 
*resultobj 
= 0; 
12883   wxFontMapper 
*result 
= 0 ; 
12885   if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
; 
12887     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12888     result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
12889     wxPyEndAllowThreads(__tstate
); 
12890     if (PyErr_Occurred()) SWIG_fail
; 
12892   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
12899 SWIGINTERN PyObject 
*_wrap_FontMapper_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12900   PyObject 
*resultobj 
= 0; 
12901   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
12902   wxFontMapper 
*result 
= 0 ; 
12905   PyObject 
* obj0 
= 0 ; 
12906   char *  kwnames
[] = { 
12907     (char *) "mapper", NULL 
 
12910   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
; 
12911   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
12912   if (!SWIG_IsOK(res1
)) { 
12913     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
12915   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
12917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12918     result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
12919     wxPyEndAllowThreads(__tstate
); 
12920     if (PyErr_Occurred()) SWIG_fail
; 
12922   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
12929 SWIGINTERN PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12930   PyObject 
*resultobj 
= 0; 
12931   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
12932   wxString 
*arg2 
= 0 ; 
12933   bool arg3 
= (bool) true ; 
12934   wxFontEncoding result
; 
12937   bool temp2 
= false ; 
12940   PyObject 
* obj0 
= 0 ; 
12941   PyObject 
* obj1 
= 0 ; 
12942   PyObject 
* obj2 
= 0 ; 
12943   char *  kwnames
[] = { 
12944     (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
12947   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12948   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
12949   if (!SWIG_IsOK(res1
)) { 
12950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
12952   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
12954     arg2 
= wxString_in_helper(obj1
); 
12955     if (arg2 
== NULL
) SWIG_fail
; 
12959     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
12960     if (!SWIG_IsOK(ecode3
)) { 
12961       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'"); 
12963     arg3 
= static_cast< bool >(val3
); 
12966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12967     result 
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
12968     wxPyEndAllowThreads(__tstate
); 
12969     if (PyErr_Occurred()) SWIG_fail
; 
12971   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12986 SWIGINTERN PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12987   PyObject 
*resultobj 
= 0; 
12990   if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
; 
12992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12993     result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
12994     wxPyEndAllowThreads(__tstate
); 
12995     if (PyErr_Occurred()) SWIG_fail
; 
12997   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
13004 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13005   PyObject 
*resultobj 
= 0; 
13007   wxFontEncoding result
; 
13010   PyObject 
* obj0 
= 0 ; 
13011   char *  kwnames
[] = { 
13015   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
; 
13016   ecode1 
= SWIG_AsVal_size_t(obj0
, &val1
); 
13017   if (!SWIG_IsOK(ecode1
)) { 
13018     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'"); 
13020   arg1 
= static_cast< size_t >(val1
); 
13022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13023     result 
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
); 
13024     wxPyEndAllowThreads(__tstate
); 
13025     if (PyErr_Occurred()) SWIG_fail
; 
13027   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13034 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13035   PyObject 
*resultobj 
= 0; 
13036   wxFontEncoding arg1 
; 
13040   PyObject 
* obj0 
= 0 ; 
13041   char *  kwnames
[] = { 
13042     (char *) "encoding", NULL 
 
13045   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
; 
13046   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13047   if (!SWIG_IsOK(ecode1
)) { 
13048     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
13050   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
13052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13053     result 
= wxFontMapper::GetEncodingName(arg1
); 
13054     wxPyEndAllowThreads(__tstate
); 
13055     if (PyErr_Occurred()) SWIG_fail
; 
13059     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13061     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13070 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13071   PyObject 
*resultobj 
= 0; 
13072   wxFontEncoding arg1 
; 
13076   PyObject 
* obj0 
= 0 ; 
13077   char *  kwnames
[] = { 
13078     (char *) "encoding", NULL 
 
13081   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
; 
13082   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13083   if (!SWIG_IsOK(ecode1
)) { 
13084     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
13086   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
13088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13089     result 
= wxFontMapper::GetEncodingDescription(arg1
); 
13090     wxPyEndAllowThreads(__tstate
); 
13091     if (PyErr_Occurred()) SWIG_fail
; 
13095     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13097     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13106 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncodingFromName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13107   PyObject 
*resultobj 
= 0; 
13108   wxString 
*arg1 
= 0 ; 
13109   wxFontEncoding result
; 
13110   bool temp1 
= false ; 
13111   PyObject 
* obj0 
= 0 ; 
13112   char *  kwnames
[] = { 
13113     (char *) "name", NULL 
 
13116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
; 
13118     arg1 
= wxString_in_helper(obj0
); 
13119     if (arg1 
== NULL
) SWIG_fail
; 
13123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13124     result 
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString 
const &)*arg1
); 
13125     wxPyEndAllowThreads(__tstate
); 
13126     if (PyErr_Occurred()) SWIG_fail
; 
13128   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13143 SWIGINTERN PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13144   PyObject 
*resultobj 
= 0; 
13145   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
13146   wxString 
*arg2 
= 0 ; 
13149   bool temp2 
= false ; 
13150   PyObject 
* obj0 
= 0 ; 
13151   PyObject 
* obj1 
= 0 ; 
13152   char *  kwnames
[] = { 
13153     (char *) "self",(char *) "prefix", NULL 
 
13156   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13157   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
13158   if (!SWIG_IsOK(res1
)) { 
13159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
13161   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
13163     arg2 
= wxString_in_helper(obj1
); 
13164     if (arg2 
== NULL
) SWIG_fail
; 
13168     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13169     (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
13170     wxPyEndAllowThreads(__tstate
); 
13171     if (PyErr_Occurred()) SWIG_fail
; 
13173   resultobj 
= SWIG_Py_Void(); 
13188 SWIGINTERN PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13189   PyObject 
*resultobj 
= 0; 
13192   if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
; 
13194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13195     result 
= wxFontMapper::GetDefaultConfigPath(); 
13196     wxPyEndAllowThreads(__tstate
); 
13197     if (PyErr_Occurred()) SWIG_fail
; 
13201     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13203     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13212 SWIGINTERN PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13213   PyObject 
*resultobj 
= 0; 
13214   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
13215   wxFontEncoding arg2 
; 
13216   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13217   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13218   bool arg4 
= (bool) true ; 
13219   PyObject 
*result 
= 0 ; 
13224   bool temp3 
= false ; 
13227   PyObject 
* obj0 
= 0 ; 
13228   PyObject 
* obj1 
= 0 ; 
13229   PyObject 
* obj2 
= 0 ; 
13230   PyObject 
* obj3 
= 0 ; 
13231   char *  kwnames
[] = { 
13232     (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
13235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
13236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
13237   if (!SWIG_IsOK(res1
)) { 
13238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
13240   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
13241   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13242   if (!SWIG_IsOK(ecode2
)) { 
13243     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
13245   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
13248       arg3 
= wxString_in_helper(obj2
); 
13249       if (arg3 
== NULL
) SWIG_fail
; 
13254     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
13255     if (!SWIG_IsOK(ecode4
)) { 
13256       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'"); 
13258     arg4 
= static_cast< bool >(val4
); 
13261     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13262     result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString 
const &)*arg3
,arg4
); 
13263     wxPyEndAllowThreads(__tstate
); 
13264     if (PyErr_Occurred()) SWIG_fail
; 
13266   resultobj 
= result
; 
13281 SWIGINTERN PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13282   PyObject 
*resultobj 
= 0; 
13283   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
13284   wxFontEncoding arg2 
; 
13285   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13286   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13292   bool temp3 
= false ; 
13293   PyObject 
* obj0 
= 0 ; 
13294   PyObject 
* obj1 
= 0 ; 
13295   PyObject 
* obj2 
= 0 ; 
13296   char *  kwnames
[] = { 
13297     (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
13300   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13301   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
13302   if (!SWIG_IsOK(res1
)) { 
13303     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
13305   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
13306   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13307   if (!SWIG_IsOK(ecode2
)) { 
13308     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
13310   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
13313       arg3 
= wxString_in_helper(obj2
); 
13314       if (arg3 
== NULL
) SWIG_fail
; 
13319     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13320     result 
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString 
const &)*arg3
); 
13321     wxPyEndAllowThreads(__tstate
); 
13322     if (PyErr_Occurred()) SWIG_fail
; 
13325     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13341 SWIGINTERN PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13342   PyObject 
*resultobj 
= 0; 
13343   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
13344   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13349   PyObject 
* obj0 
= 0 ; 
13350   PyObject 
* obj1 
= 0 ; 
13351   char *  kwnames
[] = { 
13352     (char *) "self",(char *) "parent", NULL 
 
13355   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13356   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
13357   if (!SWIG_IsOK(res1
)) { 
13358     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
13360   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
13361   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13362   if (!SWIG_IsOK(res2
)) { 
13363     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");  
13365   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13367     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13368     (arg1
)->SetDialogParent(arg2
); 
13369     wxPyEndAllowThreads(__tstate
); 
13370     if (PyErr_Occurred()) SWIG_fail
; 
13372   resultobj 
= SWIG_Py_Void(); 
13379 SWIGINTERN PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13380   PyObject 
*resultobj 
= 0; 
13381   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
13382   wxString 
*arg2 
= 0 ; 
13385   bool temp2 
= false ; 
13386   PyObject 
* obj0 
= 0 ; 
13387   PyObject 
* obj1 
= 0 ; 
13388   char *  kwnames
[] = { 
13389     (char *) "self",(char *) "title", NULL 
 
13392   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13393   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
13394   if (!SWIG_IsOK(res1
)) { 
13395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
13397   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
13399     arg2 
= wxString_in_helper(obj1
); 
13400     if (arg2 
== NULL
) SWIG_fail
; 
13404     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13405     (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
13406     wxPyEndAllowThreads(__tstate
); 
13407     if (PyErr_Occurred()) SWIG_fail
; 
13409   resultobj 
= SWIG_Py_Void(); 
13424 SWIGINTERN PyObject 
*FontMapper_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13426   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13427   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
)); 
13428   return SWIG_Py_Void(); 
13431 SWIGINTERN PyObject 
*FontMapper_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13432   return SWIG_Python_InitShadowInstance(args
); 
13435 SWIGINTERN PyObject 
*_wrap_new_Font(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13436   PyObject 
*resultobj 
= 0; 
13441   bool arg5 
= (bool) false ; 
13442   wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
13443   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
13444   wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
13445   wxFont 
*result 
= 0 ; 
13456   bool temp6 
= false ; 
13459   PyObject 
* obj0 
= 0 ; 
13460   PyObject 
* obj1 
= 0 ; 
13461   PyObject 
* obj2 
= 0 ; 
13462   PyObject 
* obj3 
= 0 ; 
13463   PyObject 
* obj4 
= 0 ; 
13464   PyObject 
* obj5 
= 0 ; 
13465   PyObject 
* obj6 
= 0 ; 
13466   char *  kwnames
[] = { 
13467     (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
13470   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
13471   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13472   if (!SWIG_IsOK(ecode1
)) { 
13473     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'"); 
13475   arg1 
= static_cast< int >(val1
); 
13476   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13477   if (!SWIG_IsOK(ecode2
)) { 
13478     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'"); 
13480   arg2 
= static_cast< int >(val2
); 
13481   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13482   if (!SWIG_IsOK(ecode3
)) { 
13483     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'"); 
13485   arg3 
= static_cast< int >(val3
); 
13486   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
13487   if (!SWIG_IsOK(ecode4
)) { 
13488     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'"); 
13490   arg4 
= static_cast< int >(val4
); 
13492     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
13493     if (!SWIG_IsOK(ecode5
)) { 
13494       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'"); 
13496     arg5 
= static_cast< bool >(val5
); 
13500       arg6 
= wxString_in_helper(obj5
); 
13501       if (arg6 
== NULL
) SWIG_fail
; 
13506     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
13507     if (!SWIG_IsOK(ecode7
)) { 
13508       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'"); 
13510     arg7 
= static_cast< wxFontEncoding 
>(val7
); 
13513     if (!wxPyCheckForApp()) SWIG_fail
; 
13514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13515     result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,arg7
); 
13516     wxPyEndAllowThreads(__tstate
); 
13517     if (PyErr_Occurred()) SWIG_fail
; 
13519   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW 
|  0 ); 
13534 SWIGINTERN PyObject 
*_wrap_delete_Font(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13535   PyObject 
*resultobj 
= 0; 
13536   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
13539   PyObject 
*swig_obj
[1] ; 
13541   if (!args
) SWIG_fail
; 
13542   swig_obj
[0] = args
; 
13543   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN 
|  0 ); 
13544   if (!SWIG_IsOK(res1
)) { 
13545     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");  
13547   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
13549     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13552     wxPyEndAllowThreads(__tstate
); 
13553     if (PyErr_Occurred()) SWIG_fail
; 
13555   resultobj 
= SWIG_Py_Void(); 
13562 SWIGINTERN PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13563   PyObject 
*resultobj 
= 0; 
13564   wxNativeFontInfo 
*arg1 
= 0 ; 
13565   wxFont 
*result 
= 0 ; 
13568   PyObject 
* obj0 
= 0 ; 
13569   char *  kwnames
[] = { 
13570     (char *) "info", NULL 
 
13573   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
; 
13574   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
,  0  | 0); 
13575   if (!SWIG_IsOK(res1
)) { 
13576     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");  
13579     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");  
13581   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
13583     if (!wxPyCheckForApp()) SWIG_fail
; 
13584     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13585     result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
13586     wxPyEndAllowThreads(__tstate
); 
13587     if (PyErr_Occurred()) SWIG_fail
; 
13589   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
13596 SWIGINTERN PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13597   PyObject 
*resultobj 
= 0; 
13598   wxString 
*arg1 
= 0 ; 
13599   wxFont 
*result 
= 0 ; 
13600   bool temp1 
= false ; 
13601   PyObject 
* obj0 
= 0 ; 
13602   char *  kwnames
[] = { 
13603     (char *) "info", NULL 
 
13606   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
; 
13608     arg1 
= wxString_in_helper(obj0
); 
13609     if (arg1 
== NULL
) SWIG_fail
; 
13613     if (!wxPyCheckForApp()) SWIG_fail
; 
13614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13615     result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
13616     wxPyEndAllowThreads(__tstate
); 
13617     if (PyErr_Occurred()) SWIG_fail
; 
13619   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
13634 SWIGINTERN PyObject 
*_wrap_new_FFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13635   PyObject 
*resultobj 
= 0; 
13637   wxFontFamily arg2 
; 
13638   int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
13639   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
13640   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
13641   wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
13642   wxFont 
*result 
= 0 ; 
13649   bool temp4 
= false ; 
13652   PyObject 
* obj0 
= 0 ; 
13653   PyObject 
* obj1 
= 0 ; 
13654   PyObject 
* obj2 
= 0 ; 
13655   PyObject 
* obj3 
= 0 ; 
13656   PyObject 
* obj4 
= 0 ; 
13657   char *  kwnames
[] = { 
13658     (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
13661   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
13662   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13663   if (!SWIG_IsOK(ecode1
)) { 
13664     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'"); 
13666   arg1 
= static_cast< int >(val1
); 
13667   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13668   if (!SWIG_IsOK(ecode2
)) { 
13669     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'"); 
13671   arg2 
= static_cast< wxFontFamily 
>(val2
); 
13673     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13674     if (!SWIG_IsOK(ecode3
)) { 
13675       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'"); 
13677     arg3 
= static_cast< int >(val3
); 
13681       arg4 
= wxString_in_helper(obj3
); 
13682       if (arg4 
== NULL
) SWIG_fail
; 
13687     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
13688     if (!SWIG_IsOK(ecode5
)) { 
13689       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'"); 
13691     arg5 
= static_cast< wxFontEncoding 
>(val5
); 
13694     if (!wxPyCheckForApp()) SWIG_fail
; 
13695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13696     result 
= (wxFont 
*)new_wxFont(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
13697     wxPyEndAllowThreads(__tstate
); 
13698     if (PyErr_Occurred()) SWIG_fail
; 
13700   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
13715 SWIGINTERN PyObject 
*_wrap_new_FontFromPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13716   PyObject 
*resultobj 
= 0; 
13721   bool arg5 
= (bool) false ; 
13722   wxString 
const &arg6_defvalue 
= wxEmptyString 
; 
13723   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
13724   wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
13725   wxFont 
*result 
= 0 ; 
13735   bool temp6 
= false ; 
13738   PyObject 
* obj0 
= 0 ; 
13739   PyObject 
* obj1 
= 0 ; 
13740   PyObject 
* obj2 
= 0 ; 
13741   PyObject 
* obj3 
= 0 ; 
13742   PyObject 
* obj4 
= 0 ; 
13743   PyObject 
* obj5 
= 0 ; 
13744   PyObject 
* obj6 
= 0 ; 
13745   char *  kwnames
[] = { 
13746     (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL 
 
13749   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
13752     if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
13754   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13755   if (!SWIG_IsOK(ecode2
)) { 
13756     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'"); 
13758   arg2 
= static_cast< int >(val2
); 
13759   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13760   if (!SWIG_IsOK(ecode3
)) { 
13761     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'"); 
13763   arg3 
= static_cast< int >(val3
); 
13764   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
13765   if (!SWIG_IsOK(ecode4
)) { 
13766     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'"); 
13768   arg4 
= static_cast< int >(val4
); 
13770     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
13771     if (!SWIG_IsOK(ecode5
)) { 
13772       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'"); 
13774     arg5 
= static_cast< bool >(val5
); 
13778       arg6 
= wxString_in_helper(obj5
); 
13779       if (arg6 
== NULL
) SWIG_fail
; 
13784     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
13785     if (!SWIG_IsOK(ecode7
)) { 
13786       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'"); 
13788     arg7 
= static_cast< wxFontEncoding 
>(val7
); 
13791     if (!wxPyCheckForApp()) SWIG_fail
; 
13792     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13793     result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,arg7
); 
13794     wxPyEndAllowThreads(__tstate
); 
13795     if (PyErr_Occurred()) SWIG_fail
; 
13797   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
13812 SWIGINTERN PyObject 
*_wrap_new_FFontFromPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13813   PyObject 
*resultobj 
= 0; 
13815   wxFontFamily arg2 
; 
13816   int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
13817   wxString 
const &arg4_defvalue 
= wxEmptyString 
; 
13818   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
13819   wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
13820   wxFont 
*result 
= 0 ; 
13826   bool temp4 
= false ; 
13829   PyObject 
* obj0 
= 0 ; 
13830   PyObject 
* obj1 
= 0 ; 
13831   PyObject 
* obj2 
= 0 ; 
13832   PyObject 
* obj3 
= 0 ; 
13833   PyObject 
* obj4 
= 0 ; 
13834   char *  kwnames
[] = { 
13835     (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
13838   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
13841     if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
13843   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13844   if (!SWIG_IsOK(ecode2
)) { 
13845     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'"); 
13847   arg2 
= static_cast< wxFontFamily 
>(val2
); 
13849     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13850     if (!SWIG_IsOK(ecode3
)) { 
13851       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'"); 
13853     arg3 
= static_cast< int >(val3
); 
13857       arg4 
= wxString_in_helper(obj3
); 
13858       if (arg4 
== NULL
) SWIG_fail
; 
13863     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
13864     if (!SWIG_IsOK(ecode5
)) { 
13865       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'"); 
13867     arg5 
= static_cast< wxFontEncoding 
>(val5
); 
13870     if (!wxPyCheckForApp()) SWIG_fail
; 
13871     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13872     result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
13873     wxPyEndAllowThreads(__tstate
); 
13874     if (PyErr_Occurred()) SWIG_fail
; 
13876   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
13891 SWIGINTERN PyObject 
*_wrap_Font_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13892   PyObject 
*resultobj 
= 0; 
13893   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
13897   PyObject 
*swig_obj
[1] ; 
13899   if (!args
) SWIG_fail
; 
13900   swig_obj
[0] = args
; 
13901   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
13902   if (!SWIG_IsOK(res1
)) { 
13903     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");  
13905   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
13907     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13908     result 
= (bool)((wxFont 
const *)arg1
)->IsOk(); 
13909     wxPyEndAllowThreads(__tstate
); 
13910     if (PyErr_Occurred()) SWIG_fail
; 
13913     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13921 SWIGINTERN PyObject 
*_wrap_Font___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13922   PyObject 
*resultobj 
= 0; 
13923   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
13924   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
13930   PyObject 
* obj0 
= 0 ; 
13931   PyObject 
* obj1 
= 0 ; 
13932   char *  kwnames
[] = { 
13933     (char *) "self",(char *) "other", NULL 
 
13936   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13937   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
13938   if (!SWIG_IsOK(res1
)) { 
13939     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");  
13941   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
13942   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
13943   if (!SWIG_IsOK(res2
)) { 
13944     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");  
13946   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
13948     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13949     result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
13950     wxPyEndAllowThreads(__tstate
); 
13951     if (PyErr_Occurred()) SWIG_fail
; 
13954     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13962 SWIGINTERN PyObject 
*_wrap_Font___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13963   PyObject 
*resultobj 
= 0; 
13964   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
13965   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
13971   PyObject 
* obj0 
= 0 ; 
13972   PyObject 
* obj1 
= 0 ; 
13973   char *  kwnames
[] = { 
13974     (char *) "self",(char *) "other", NULL 
 
13977   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13978   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
13979   if (!SWIG_IsOK(res1
)) { 
13980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");  
13982   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
13983   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
13984   if (!SWIG_IsOK(res2
)) { 
13985     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");  
13987   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
13989     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13990     result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
13991     wxPyEndAllowThreads(__tstate
); 
13992     if (PyErr_Occurred()) SWIG_fail
; 
13995     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14003 SWIGINTERN PyObject 
*_wrap_Font_GetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14004   PyObject 
*resultobj 
= 0; 
14005   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14009   PyObject 
*swig_obj
[1] ; 
14011   if (!args
) SWIG_fail
; 
14012   swig_obj
[0] = args
; 
14013   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14014   if (!SWIG_IsOK(res1
)) { 
14015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");  
14017   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14020     result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
14021     wxPyEndAllowThreads(__tstate
); 
14022     if (PyErr_Occurred()) SWIG_fail
; 
14024   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14031 SWIGINTERN PyObject 
*_wrap_Font_GetPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14032   PyObject 
*resultobj 
= 0; 
14033   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14037   PyObject 
*swig_obj
[1] ; 
14039   if (!args
) SWIG_fail
; 
14040   swig_obj
[0] = args
; 
14041   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14042   if (!SWIG_IsOK(res1
)) { 
14043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");  
14045   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14048     result 
= ((wxFont 
const *)arg1
)->GetPixelSize(); 
14049     wxPyEndAllowThreads(__tstate
); 
14050     if (PyErr_Occurred()) SWIG_fail
; 
14052   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
14059 SWIGINTERN PyObject 
*_wrap_Font_IsUsingSizeInPixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14060   PyObject 
*resultobj 
= 0; 
14061   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14065   PyObject 
*swig_obj
[1] ; 
14067   if (!args
) SWIG_fail
; 
14068   swig_obj
[0] = args
; 
14069   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14070   if (!SWIG_IsOK(res1
)) { 
14071     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");  
14073   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14075     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14076     result 
= (bool)((wxFont 
const *)arg1
)->IsUsingSizeInPixels(); 
14077     wxPyEndAllowThreads(__tstate
); 
14078     if (PyErr_Occurred()) SWIG_fail
; 
14081     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14089 SWIGINTERN PyObject 
*_wrap_Font_GetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14090   PyObject 
*resultobj 
= 0; 
14091   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14095   PyObject 
*swig_obj
[1] ; 
14097   if (!args
) SWIG_fail
; 
14098   swig_obj
[0] = args
; 
14099   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14100   if (!SWIG_IsOK(res1
)) { 
14101     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");  
14103   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14106     result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
14107     wxPyEndAllowThreads(__tstate
); 
14108     if (PyErr_Occurred()) SWIG_fail
; 
14110   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14117 SWIGINTERN PyObject 
*_wrap_Font_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14118   PyObject 
*resultobj 
= 0; 
14119   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14123   PyObject 
*swig_obj
[1] ; 
14125   if (!args
) SWIG_fail
; 
14126   swig_obj
[0] = args
; 
14127   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14128   if (!SWIG_IsOK(res1
)) { 
14129     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");  
14131   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14133     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14134     result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
14135     wxPyEndAllowThreads(__tstate
); 
14136     if (PyErr_Occurred()) SWIG_fail
; 
14138   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14145 SWIGINTERN PyObject 
*_wrap_Font_GetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14146   PyObject 
*resultobj 
= 0; 
14147   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14151   PyObject 
*swig_obj
[1] ; 
14153   if (!args
) SWIG_fail
; 
14154   swig_obj
[0] = args
; 
14155   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14156   if (!SWIG_IsOK(res1
)) { 
14157     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");  
14159   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14162     result 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
14163     wxPyEndAllowThreads(__tstate
); 
14164     if (PyErr_Occurred()) SWIG_fail
; 
14166   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14173 SWIGINTERN PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14174   PyObject 
*resultobj 
= 0; 
14175   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14179   PyObject 
*swig_obj
[1] ; 
14181   if (!args
) SWIG_fail
; 
14182   swig_obj
[0] = args
; 
14183   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14184   if (!SWIG_IsOK(res1
)) { 
14185     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");  
14187   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14190     result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
14191     wxPyEndAllowThreads(__tstate
); 
14192     if (PyErr_Occurred()) SWIG_fail
; 
14195     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14203 SWIGINTERN PyObject 
*_wrap_Font_GetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14204   PyObject 
*resultobj 
= 0; 
14205   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14209   PyObject 
*swig_obj
[1] ; 
14211   if (!args
) SWIG_fail
; 
14212   swig_obj
[0] = args
; 
14213   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14214   if (!SWIG_IsOK(res1
)) { 
14215     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");  
14217   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14220     result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
14221     wxPyEndAllowThreads(__tstate
); 
14222     if (PyErr_Occurred()) SWIG_fail
; 
14226     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14228     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14237 SWIGINTERN PyObject 
*_wrap_Font_GetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14238   PyObject 
*resultobj 
= 0; 
14239   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14240   wxFontEncoding result
; 
14243   PyObject 
*swig_obj
[1] ; 
14245   if (!args
) SWIG_fail
; 
14246   swig_obj
[0] = args
; 
14247   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14248   if (!SWIG_IsOK(res1
)) { 
14249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");  
14251   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14254     result 
= (wxFontEncoding
)((wxFont 
const *)arg1
)->GetEncoding(); 
14255     wxPyEndAllowThreads(__tstate
); 
14256     if (PyErr_Occurred()) SWIG_fail
; 
14258   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14265 SWIGINTERN PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14266   PyObject 
*resultobj 
= 0; 
14267   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14268   wxNativeFontInfo 
*result 
= 0 ; 
14271   PyObject 
*swig_obj
[1] ; 
14273   if (!args
) SWIG_fail
; 
14274   swig_obj
[0] = args
; 
14275   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14276   if (!SWIG_IsOK(res1
)) { 
14277     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");  
14279   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14282     result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
14283     wxPyEndAllowThreads(__tstate
); 
14284     if (PyErr_Occurred()) SWIG_fail
; 
14286   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
14293 SWIGINTERN PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14294   PyObject 
*resultobj 
= 0; 
14295   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14299   PyObject 
*swig_obj
[1] ; 
14301   if (!args
) SWIG_fail
; 
14302   swig_obj
[0] = args
; 
14303   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14304   if (!SWIG_IsOK(res1
)) { 
14305     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");  
14307   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14309     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14310     result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
14311     wxPyEndAllowThreads(__tstate
); 
14312     if (PyErr_Occurred()) SWIG_fail
; 
14315     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14323 SWIGINTERN PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14324   PyObject 
*resultobj 
= 0; 
14325   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14329   PyObject 
*swig_obj
[1] ; 
14331   if (!args
) SWIG_fail
; 
14332   swig_obj
[0] = args
; 
14333   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14334   if (!SWIG_IsOK(res1
)) { 
14335     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");  
14337   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14340     result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
14341     wxPyEndAllowThreads(__tstate
); 
14342     if (PyErr_Occurred()) SWIG_fail
; 
14346     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14348     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14357 SWIGINTERN PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14358   PyObject 
*resultobj 
= 0; 
14359   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14363   PyObject 
*swig_obj
[1] ; 
14365   if (!args
) SWIG_fail
; 
14366   swig_obj
[0] = args
; 
14367   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14368   if (!SWIG_IsOK(res1
)) { 
14369     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");  
14371   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14374     result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
14375     wxPyEndAllowThreads(__tstate
); 
14376     if (PyErr_Occurred()) SWIG_fail
; 
14380     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14382     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14391 SWIGINTERN PyObject 
*_wrap_Font_SetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14392   PyObject 
*resultobj 
= 0; 
14393   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14399   PyObject 
* obj0 
= 0 ; 
14400   PyObject 
* obj1 
= 0 ; 
14401   char *  kwnames
[] = { 
14402     (char *) "self",(char *) "pointSize", NULL 
 
14405   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14406   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14407   if (!SWIG_IsOK(res1
)) { 
14408     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");  
14410   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14411   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14412   if (!SWIG_IsOK(ecode2
)) { 
14413     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'"); 
14415   arg2 
= static_cast< int >(val2
); 
14417     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14418     (arg1
)->SetPointSize(arg2
); 
14419     wxPyEndAllowThreads(__tstate
); 
14420     if (PyErr_Occurred()) SWIG_fail
; 
14422   resultobj 
= SWIG_Py_Void(); 
14429 SWIGINTERN PyObject 
*_wrap_Font_SetPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14430   PyObject 
*resultobj 
= 0; 
14431   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14436   PyObject 
* obj0 
= 0 ; 
14437   PyObject 
* obj1 
= 0 ; 
14438   char *  kwnames
[] = { 
14439     (char *) "self",(char *) "pixelSize", NULL 
 
14442   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14443   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14444   if (!SWIG_IsOK(res1
)) { 
14445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");  
14447   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14450     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
14453     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14454     (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
14455     wxPyEndAllowThreads(__tstate
); 
14456     if (PyErr_Occurred()) SWIG_fail
; 
14458   resultobj 
= SWIG_Py_Void(); 
14465 SWIGINTERN PyObject 
*_wrap_Font_SetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14466   PyObject 
*resultobj 
= 0; 
14467   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14473   PyObject 
* obj0 
= 0 ; 
14474   PyObject 
* obj1 
= 0 ; 
14475   char *  kwnames
[] = { 
14476     (char *) "self",(char *) "family", NULL 
 
14479   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14480   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14481   if (!SWIG_IsOK(res1
)) { 
14482     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");  
14484   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14485   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14486   if (!SWIG_IsOK(ecode2
)) { 
14487     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'"); 
14489   arg2 
= static_cast< int >(val2
); 
14491     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14492     (arg1
)->SetFamily(arg2
); 
14493     wxPyEndAllowThreads(__tstate
); 
14494     if (PyErr_Occurred()) SWIG_fail
; 
14496   resultobj 
= SWIG_Py_Void(); 
14503 SWIGINTERN PyObject 
*_wrap_Font_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14504   PyObject 
*resultobj 
= 0; 
14505   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14511   PyObject 
* obj0 
= 0 ; 
14512   PyObject 
* obj1 
= 0 ; 
14513   char *  kwnames
[] = { 
14514     (char *) "self",(char *) "style", NULL 
 
14517   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14518   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14519   if (!SWIG_IsOK(res1
)) { 
14520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");  
14522   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14523   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14524   if (!SWIG_IsOK(ecode2
)) { 
14525     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'"); 
14527   arg2 
= static_cast< int >(val2
); 
14529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14530     (arg1
)->SetStyle(arg2
); 
14531     wxPyEndAllowThreads(__tstate
); 
14532     if (PyErr_Occurred()) SWIG_fail
; 
14534   resultobj 
= SWIG_Py_Void(); 
14541 SWIGINTERN PyObject 
*_wrap_Font_SetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14542   PyObject 
*resultobj 
= 0; 
14543   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14549   PyObject 
* obj0 
= 0 ; 
14550   PyObject 
* obj1 
= 0 ; 
14551   char *  kwnames
[] = { 
14552     (char *) "self",(char *) "weight", NULL 
 
14555   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14556   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14557   if (!SWIG_IsOK(res1
)) { 
14558     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");  
14560   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14561   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14562   if (!SWIG_IsOK(ecode2
)) { 
14563     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'"); 
14565   arg2 
= static_cast< int >(val2
); 
14567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14568     (arg1
)->SetWeight(arg2
); 
14569     wxPyEndAllowThreads(__tstate
); 
14570     if (PyErr_Occurred()) SWIG_fail
; 
14572   resultobj 
= SWIG_Py_Void(); 
14579 SWIGINTERN PyObject 
*_wrap_Font_SetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14580   PyObject 
*resultobj 
= 0; 
14581   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14582   wxString 
*arg2 
= 0 ; 
14586   bool temp2 
= false ; 
14587   PyObject 
* obj0 
= 0 ; 
14588   PyObject 
* obj1 
= 0 ; 
14589   char *  kwnames
[] = { 
14590     (char *) "self",(char *) "faceName", NULL 
 
14593   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14594   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14595   if (!SWIG_IsOK(res1
)) { 
14596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");  
14598   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14600     arg2 
= wxString_in_helper(obj1
); 
14601     if (arg2 
== NULL
) SWIG_fail
; 
14605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14606     result 
= (bool)(arg1
)->SetFaceName((wxString 
const &)*arg2
); 
14607     wxPyEndAllowThreads(__tstate
); 
14608     if (PyErr_Occurred()) SWIG_fail
; 
14611     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14627 SWIGINTERN PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14628   PyObject 
*resultobj 
= 0; 
14629   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14635   PyObject 
* obj0 
= 0 ; 
14636   PyObject 
* obj1 
= 0 ; 
14637   char *  kwnames
[] = { 
14638     (char *) "self",(char *) "underlined", NULL 
 
14641   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14642   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14643   if (!SWIG_IsOK(res1
)) { 
14644     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");  
14646   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14647   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14648   if (!SWIG_IsOK(ecode2
)) { 
14649     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
14651   arg2 
= static_cast< bool >(val2
); 
14653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14654     (arg1
)->SetUnderlined(arg2
); 
14655     wxPyEndAllowThreads(__tstate
); 
14656     if (PyErr_Occurred()) SWIG_fail
; 
14658   resultobj 
= SWIG_Py_Void(); 
14665 SWIGINTERN PyObject 
*_wrap_Font_SetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14666   PyObject 
*resultobj 
= 0; 
14667   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14668   wxFontEncoding arg2 
; 
14673   PyObject 
* obj0 
= 0 ; 
14674   PyObject 
* obj1 
= 0 ; 
14675   char *  kwnames
[] = { 
14676     (char *) "self",(char *) "encoding", NULL 
 
14679   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14680   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14681   if (!SWIG_IsOK(res1
)) { 
14682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");  
14684   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14685   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14686   if (!SWIG_IsOK(ecode2
)) { 
14687     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
14689   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
14691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14692     (arg1
)->SetEncoding(arg2
); 
14693     wxPyEndAllowThreads(__tstate
); 
14694     if (PyErr_Occurred()) SWIG_fail
; 
14696   resultobj 
= SWIG_Py_Void(); 
14703 SWIGINTERN PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14704   PyObject 
*resultobj 
= 0; 
14705   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14706   wxNativeFontInfo 
*arg2 
= 0 ; 
14711   PyObject 
* obj0 
= 0 ; 
14712   PyObject 
* obj1 
= 0 ; 
14713   char *  kwnames
[] = { 
14714     (char *) "self",(char *) "info", NULL 
 
14717   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14718   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14719   if (!SWIG_IsOK(res1
)) { 
14720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");  
14722   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14723   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
,  0  | 0); 
14724   if (!SWIG_IsOK(res2
)) { 
14725     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");  
14728     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");  
14730   arg2 
= reinterpret_cast< wxNativeFontInfo 
* >(argp2
); 
14732     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14733     (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
14734     wxPyEndAllowThreads(__tstate
); 
14735     if (PyErr_Occurred()) SWIG_fail
; 
14737   resultobj 
= SWIG_Py_Void(); 
14744 SWIGINTERN PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14745   PyObject 
*resultobj 
= 0; 
14746   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14747   wxString 
*arg2 
= 0 ; 
14751   bool temp2 
= false ; 
14752   PyObject 
* obj0 
= 0 ; 
14753   PyObject 
* obj1 
= 0 ; 
14754   char *  kwnames
[] = { 
14755     (char *) "self",(char *) "info", NULL 
 
14758   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14759   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14760   if (!SWIG_IsOK(res1
)) { 
14761     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");  
14763   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14765     arg2 
= wxString_in_helper(obj1
); 
14766     if (arg2 
== NULL
) SWIG_fail
; 
14770     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14771     result 
= (bool)(arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
14772     wxPyEndAllowThreads(__tstate
); 
14773     if (PyErr_Occurred()) SWIG_fail
; 
14776     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14792 SWIGINTERN PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14793   PyObject 
*resultobj 
= 0; 
14794   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14795   wxString 
*arg2 
= 0 ; 
14799   bool temp2 
= false ; 
14800   PyObject 
* obj0 
= 0 ; 
14801   PyObject 
* obj1 
= 0 ; 
14802   char *  kwnames
[] = { 
14803     (char *) "self",(char *) "info", NULL 
 
14806   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14807   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14808   if (!SWIG_IsOK(res1
)) { 
14809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");  
14811   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14813     arg2 
= wxString_in_helper(obj1
); 
14814     if (arg2 
== NULL
) SWIG_fail
; 
14818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14819     result 
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
14820     wxPyEndAllowThreads(__tstate
); 
14821     if (PyErr_Occurred()) SWIG_fail
; 
14824     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14840 SWIGINTERN PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14841   PyObject 
*resultobj 
= 0; 
14842   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14846   PyObject 
*swig_obj
[1] ; 
14848   if (!args
) SWIG_fail
; 
14849   swig_obj
[0] = args
; 
14850   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14851   if (!SWIG_IsOK(res1
)) { 
14852     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");  
14854   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14857     result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
14858     wxPyEndAllowThreads(__tstate
); 
14859     if (PyErr_Occurred()) SWIG_fail
; 
14863     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14865     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14874 SWIGINTERN PyObject 
*_wrap_Font_GetStyleString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14875   PyObject 
*resultobj 
= 0; 
14876   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14880   PyObject 
*swig_obj
[1] ; 
14882   if (!args
) SWIG_fail
; 
14883   swig_obj
[0] = args
; 
14884   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14885   if (!SWIG_IsOK(res1
)) { 
14886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");  
14888   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14891     result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
14892     wxPyEndAllowThreads(__tstate
); 
14893     if (PyErr_Occurred()) SWIG_fail
; 
14897     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14899     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14908 SWIGINTERN PyObject 
*_wrap_Font_GetWeightString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14909   PyObject 
*resultobj 
= 0; 
14910   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14914   PyObject 
*swig_obj
[1] ; 
14916   if (!args
) SWIG_fail
; 
14917   swig_obj
[0] = args
; 
14918   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14919   if (!SWIG_IsOK(res1
)) { 
14920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");  
14922   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14924     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14925     result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
14926     wxPyEndAllowThreads(__tstate
); 
14927     if (PyErr_Occurred()) SWIG_fail
; 
14931     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14933     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14942 SWIGINTERN PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14943   PyObject 
*resultobj 
= 0; 
14944   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14945   bool arg2 
= (bool) true ; 
14950   PyObject 
* obj0 
= 0 ; 
14951   PyObject 
* obj1 
= 0 ; 
14952   char *  kwnames
[] = { 
14953     (char *) "self",(char *) "no", NULL 
 
14956   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14957   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14958   if (!SWIG_IsOK(res1
)) { 
14959     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");  
14961   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14963     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
14964     if (!SWIG_IsOK(ecode2
)) { 
14965       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'"); 
14967     arg2 
= static_cast< bool >(val2
); 
14970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14971     (arg1
)->SetNoAntiAliasing(arg2
); 
14972     wxPyEndAllowThreads(__tstate
); 
14973     if (PyErr_Occurred()) SWIG_fail
; 
14975   resultobj 
= SWIG_Py_Void(); 
14982 SWIGINTERN PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14983   PyObject 
*resultobj 
= 0; 
14984   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
14988   PyObject 
*swig_obj
[1] ; 
14990   if (!args
) SWIG_fail
; 
14991   swig_obj
[0] = args
; 
14992   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
14993   if (!SWIG_IsOK(res1
)) { 
14994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");  
14996   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
14998     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14999     result 
= (bool)((wxFont 
const *)arg1
)->GetNoAntiAliasing(); 
15000     wxPyEndAllowThreads(__tstate
); 
15001     if (PyErr_Occurred()) SWIG_fail
; 
15004     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15012 SWIGINTERN PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15013   PyObject 
*resultobj 
= 0; 
15014   wxFontEncoding result
; 
15016   if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
; 
15018     if (!wxPyCheckForApp()) SWIG_fail
; 
15019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15020     result 
= (wxFontEncoding
)wxFont::GetDefaultEncoding(); 
15021     wxPyEndAllowThreads(__tstate
); 
15022     if (PyErr_Occurred()) SWIG_fail
; 
15024   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15031 SWIGINTERN PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15032   PyObject 
*resultobj 
= 0; 
15033   wxFontEncoding arg1 
; 
15036   PyObject 
* obj0 
= 0 ; 
15037   char *  kwnames
[] = { 
15038     (char *) "encoding", NULL 
 
15041   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
; 
15042   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
15043   if (!SWIG_IsOK(ecode1
)) { 
15044     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
15046   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
15048     if (!wxPyCheckForApp()) SWIG_fail
; 
15049     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15050     wxFont::SetDefaultEncoding(arg1
); 
15051     wxPyEndAllowThreads(__tstate
); 
15052     if (PyErr_Occurred()) SWIG_fail
; 
15054   resultobj 
= SWIG_Py_Void(); 
15061 SWIGINTERN PyObject 
*Font_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15063   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15064   SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
)); 
15065   return SWIG_Py_Void(); 
15068 SWIGINTERN PyObject 
*Font_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15069   return SWIG_Python_InitShadowInstance(args
); 
15072 SWIGINTERN PyObject 
*_wrap_new_FontEnumerator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15073   PyObject 
*resultobj 
= 0; 
15074   wxPyFontEnumerator 
*result 
= 0 ; 
15076   if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
; 
15078     if (!wxPyCheckForApp()) SWIG_fail
; 
15079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15080     result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
15081     wxPyEndAllowThreads(__tstate
); 
15082     if (PyErr_Occurred()) SWIG_fail
; 
15084   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW 
|  0 ); 
15091 SWIGINTERN PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15092   PyObject 
*resultobj 
= 0; 
15093   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
15096   PyObject 
*swig_obj
[1] ; 
15098   if (!args
) SWIG_fail
; 
15099   swig_obj
[0] = args
; 
15100   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN 
|  0 ); 
15101   if (!SWIG_IsOK(res1
)) { 
15102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
15104   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
15106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15109     wxPyEndAllowThreads(__tstate
); 
15110     if (PyErr_Occurred()) SWIG_fail
; 
15112   resultobj 
= SWIG_Py_Void(); 
15119 SWIGINTERN PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15120   PyObject 
*resultobj 
= 0; 
15121   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
15122   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15123   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15129   PyObject 
* obj0 
= 0 ; 
15130   PyObject 
* obj1 
= 0 ; 
15131   PyObject 
* obj2 
= 0 ; 
15132   PyObject 
* obj3 
= 0 ; 
15133   char *  kwnames
[] = { 
15134     (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
15137   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15138   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 |  0 ); 
15139   if (!SWIG_IsOK(res1
)) { 
15140     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
15142   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
15145   ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
15146   if (!SWIG_IsOK(ecode4
)) { 
15147     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'"); 
15149   arg4 
= static_cast< bool >(val4
); 
15151     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15152     (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
15153     wxPyEndAllowThreads(__tstate
); 
15154     if (PyErr_Occurred()) SWIG_fail
; 
15156   resultobj 
= SWIG_Py_Void(); 
15163 SWIGINTERN PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15164   PyObject 
*resultobj 
= 0; 
15165   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
15166   wxFontEncoding arg2 
= (wxFontEncoding
) wxFONTENCODING_SYSTEM 
; 
15167   bool arg3 
= (bool) false ; 
15175   PyObject 
* obj0 
= 0 ; 
15176   PyObject 
* obj1 
= 0 ; 
15177   PyObject 
* obj2 
= 0 ; 
15178   char *  kwnames
[] = { 
15179     (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
15182   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15183   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 |  0 ); 
15184   if (!SWIG_IsOK(res1
)) { 
15185     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
15187   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
15189     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15190     if (!SWIG_IsOK(ecode2
)) { 
15191       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
15193     arg2 
= static_cast< wxFontEncoding 
>(val2
); 
15196     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15197     if (!SWIG_IsOK(ecode3
)) { 
15198       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'"); 
15200     arg3 
= static_cast< bool >(val3
); 
15203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15204     result 
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
); 
15205     wxPyEndAllowThreads(__tstate
); 
15206     if (PyErr_Occurred()) SWIG_fail
; 
15209     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15217 SWIGINTERN PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15218   PyObject 
*resultobj 
= 0; 
15219   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
15220   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
15221   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
15225   bool temp2 
= false ; 
15226   PyObject 
* obj0 
= 0 ; 
15227   PyObject 
* obj1 
= 0 ; 
15228   char *  kwnames
[] = { 
15229     (char *) "self",(char *) "facename", NULL 
 
15232   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15233   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 |  0 ); 
15234   if (!SWIG_IsOK(res1
)) { 
15235     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
15237   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
15240       arg2 
= wxString_in_helper(obj1
); 
15241       if (arg2 
== NULL
) SWIG_fail
; 
15246     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15247     result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
15248     wxPyEndAllowThreads(__tstate
); 
15249     if (PyErr_Occurred()) SWIG_fail
; 
15252     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15268 SWIGINTERN PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15269   PyObject 
*resultobj 
= 0; 
15270   PyObject 
*result 
= 0 ; 
15272   if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
; 
15274     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15275     result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(); 
15276     wxPyEndAllowThreads(__tstate
); 
15277     if (PyErr_Occurred()) SWIG_fail
; 
15279   resultobj 
= result
; 
15286 SWIGINTERN PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15287   PyObject 
*resultobj 
= 0; 
15288   PyObject 
*result 
= 0 ; 
15290   if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
; 
15292     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15293     result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(); 
15294     wxPyEndAllowThreads(__tstate
); 
15295     if (PyErr_Occurred()) SWIG_fail
; 
15297   resultobj 
= result
; 
15304 SWIGINTERN PyObject 
*_wrap_FontEnumerator_IsValidFacename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15305   PyObject 
*resultobj 
= 0; 
15306   wxString 
*arg1 
= 0 ; 
15308   bool temp1 
= false ; 
15309   PyObject 
* obj0 
= 0 ; 
15310   char *  kwnames
[] = { 
15311     (char *) "str", NULL 
 
15314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
; 
15316     arg1 
= wxString_in_helper(obj0
); 
15317     if (arg1 
== NULL
) SWIG_fail
; 
15321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15322     result 
= (bool)wxPyFontEnumerator::IsValidFacename((wxString 
const &)*arg1
); 
15323     wxPyEndAllowThreads(__tstate
); 
15324     if (PyErr_Occurred()) SWIG_fail
; 
15327     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15343 SWIGINTERN PyObject 
*FontEnumerator_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15345   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15346   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
)); 
15347   return SWIG_Py_Void(); 
15350 SWIGINTERN PyObject 
*FontEnumerator_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15351   return SWIG_Python_InitShadowInstance(args
); 
15354 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15355   PyObject 
*resultobj 
= 0; 
15356   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
15362   PyObject 
*swig_obj
[2] ; 
15364   if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
; 
15365   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
15366   if (!SWIG_IsOK(res1
)) { 
15367     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
15369   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
15370   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
15371   if (!SWIG_IsOK(ecode2
)) { 
15372     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'"); 
15374   arg2 
= static_cast< int >(val2
); 
15375   if (arg1
) (arg1
)->Language 
= arg2
; 
15377   resultobj 
= SWIG_Py_Void(); 
15384 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15385   PyObject 
*resultobj 
= 0; 
15386   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
15390   PyObject 
*swig_obj
[1] ; 
15392   if (!args
) SWIG_fail
; 
15393   swig_obj
[0] = args
; 
15394   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
15395   if (!SWIG_IsOK(res1
)) { 
15396     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
15398   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
15399   result 
= (int) ((arg1
)->Language
); 
15400   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15407 SWIGINTERN PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15408   PyObject 
*resultobj 
= 0; 
15409   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
15410   wxString 
*arg2 
= (wxString 
*) 0 ; 
15413   bool temp2 
= false ; 
15414   PyObject 
*swig_obj
[2] ; 
15416   if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
; 
15417   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
15418   if (!SWIG_IsOK(res1
)) { 
15419     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
15421   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
15423     arg2 
= wxString_in_helper(swig_obj
[1]); 
15424     if (arg2 
== NULL
) SWIG_fail
; 
15427   if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
15429   resultobj 
= SWIG_Py_Void(); 
15444 SWIGINTERN PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15445   PyObject 
*resultobj 
= 0; 
15446   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
15447   wxString 
*result 
= 0 ; 
15450   PyObject 
*swig_obj
[1] ; 
15452   if (!args
) SWIG_fail
; 
15453   swig_obj
[0] = args
; 
15454   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
15455   if (!SWIG_IsOK(res1
)) { 
15456     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
15458   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
15459   result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
15462     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
15464     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
15473 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15474   PyObject 
*resultobj 
= 0; 
15475   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
15476   wxString 
*arg2 
= (wxString 
*) 0 ; 
15479   bool temp2 
= false ; 
15480   PyObject 
*swig_obj
[2] ; 
15482   if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
; 
15483   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
15484   if (!SWIG_IsOK(res1
)) { 
15485     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
15487   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
15489     arg2 
= wxString_in_helper(swig_obj
[1]); 
15490     if (arg2 
== NULL
) SWIG_fail
; 
15493   if (arg1
) (arg1
)->Description 
= *arg2
; 
15495   resultobj 
= SWIG_Py_Void(); 
15510 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15511   PyObject 
*resultobj 
= 0; 
15512   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
15513   wxString 
*result 
= 0 ; 
15516   PyObject 
*swig_obj
[1] ; 
15518   if (!args
) SWIG_fail
; 
15519   swig_obj
[0] = args
; 
15520   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
15521   if (!SWIG_IsOK(res1
)) { 
15522     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
15524   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
15525   result 
= (wxString 
*)& ((arg1
)->Description
); 
15528     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
15530     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
15539 SWIGINTERN PyObject 
*LanguageInfo_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15541   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15542   SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
)); 
15543   return SWIG_Py_Void(); 
15546 SWIGINTERN PyObject 
*_wrap_new_Locale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15547   PyObject 
*resultobj 
= 0; 
15548   int arg1 
= (int) -1 ; 
15549   int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
15550   wxLocale 
*result 
= 0 ; 
15555   PyObject 
* obj0 
= 0 ; 
15556   PyObject 
* obj1 
= 0 ; 
15557   char *  kwnames
[] = { 
15558     (char *) "language",(char *) "flags", NULL 
 
15561   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15563     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
15564     if (!SWIG_IsOK(ecode1
)) { 
15565       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'"); 
15567     arg1 
= static_cast< int >(val1
); 
15570     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15571     if (!SWIG_IsOK(ecode2
)) { 
15572       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'"); 
15574     arg2 
= static_cast< int >(val2
); 
15577     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15578     result 
= (wxLocale 
*)new_wxLocale(arg1
,arg2
); 
15579     wxPyEndAllowThreads(__tstate
); 
15580     if (PyErr_Occurred()) SWIG_fail
; 
15582   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW 
|  0 ); 
15589 SWIGINTERN PyObject 
*_wrap_delete_Locale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15590   PyObject 
*resultobj 
= 0; 
15591   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15594   PyObject 
*swig_obj
[1] ; 
15596   if (!args
) SWIG_fail
; 
15597   swig_obj
[0] = args
; 
15598   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN 
|  0 ); 
15599   if (!SWIG_IsOK(res1
)) { 
15600     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");  
15602   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15607     wxPyEndAllowThreads(__tstate
); 
15608     if (PyErr_Occurred()) SWIG_fail
; 
15610   resultobj 
= SWIG_Py_Void(); 
15617 SWIGINTERN PyObject 
*_wrap_Locale_Init1(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15618   PyObject 
*resultobj 
= 0; 
15619   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15620   wxString 
*arg2 
= 0 ; 
15621   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15622   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15623   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
15624   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
15625   bool arg5 
= (bool) true ; 
15626   bool arg6 
= (bool) false ; 
15630   bool temp2 
= false ; 
15631   bool temp3 
= false ; 
15632   bool temp4 
= false ; 
15637   PyObject 
* obj0 
= 0 ; 
15638   PyObject 
* obj1 
= 0 ; 
15639   PyObject 
* obj2 
= 0 ; 
15640   PyObject 
* obj3 
= 0 ; 
15641   PyObject 
* obj4 
= 0 ; 
15642   PyObject 
* obj5 
= 0 ; 
15643   char *  kwnames
[] = { 
15644     (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
15647   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
15648   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15649   if (!SWIG_IsOK(res1
)) { 
15650     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");  
15652   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15654     arg2 
= wxString_in_helper(obj1
); 
15655     if (arg2 
== NULL
) SWIG_fail
; 
15660       arg3 
= wxString_in_helper(obj2
); 
15661       if (arg3 
== NULL
) SWIG_fail
; 
15667       arg4 
= wxString_in_helper(obj3
); 
15668       if (arg4 
== NULL
) SWIG_fail
; 
15673     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
15674     if (!SWIG_IsOK(ecode5
)) { 
15675       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'"); 
15677     arg5 
= static_cast< bool >(val5
); 
15680     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
15681     if (!SWIG_IsOK(ecode6
)) { 
15682       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'"); 
15684     arg6 
= static_cast< bool >(val6
); 
15687     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15688     result 
= (bool)wxLocale_Init1(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
15689     wxPyEndAllowThreads(__tstate
); 
15690     if (PyErr_Occurred()) SWIG_fail
; 
15693     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15725 SWIGINTERN PyObject 
*_wrap_Locale_Init2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15726   PyObject 
*resultobj 
= 0; 
15727   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15728   int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
15729   int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
15737   PyObject 
* obj0 
= 0 ; 
15738   PyObject 
* obj1 
= 0 ; 
15739   PyObject 
* obj2 
= 0 ; 
15740   char *  kwnames
[] = { 
15741     (char *) "self",(char *) "language",(char *) "flags", NULL 
 
15744   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15745   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15746   if (!SWIG_IsOK(res1
)) { 
15747     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");  
15749   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15751     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15752     if (!SWIG_IsOK(ecode2
)) { 
15753       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'"); 
15755     arg2 
= static_cast< int >(val2
); 
15758     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15759     if (!SWIG_IsOK(ecode3
)) { 
15760       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'"); 
15762     arg3 
= static_cast< int >(val3
); 
15765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15766     result 
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
); 
15767     wxPyEndAllowThreads(__tstate
); 
15768     if (PyErr_Occurred()) SWIG_fail
; 
15771     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15779 SWIGINTERN PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15780   PyObject 
*resultobj 
= 0; 
15783   if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
; 
15785     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15786     result 
= (int)wxLocale::GetSystemLanguage(); 
15787     wxPyEndAllowThreads(__tstate
); 
15788     if (PyErr_Occurred()) SWIG_fail
; 
15790   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15797 SWIGINTERN PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15798   PyObject 
*resultobj 
= 0; 
15799   wxFontEncoding result
; 
15801   if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
; 
15803     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15804     result 
= (wxFontEncoding
)wxLocale::GetSystemEncoding(); 
15805     wxPyEndAllowThreads(__tstate
); 
15806     if (PyErr_Occurred()) SWIG_fail
; 
15808   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15815 SWIGINTERN PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15816   PyObject 
*resultobj 
= 0; 
15819   if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
; 
15821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15822     result 
= wxLocale::GetSystemEncodingName(); 
15823     wxPyEndAllowThreads(__tstate
); 
15824     if (PyErr_Occurred()) SWIG_fail
; 
15828     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15830     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15839 SWIGINTERN PyObject 
*_wrap_Locale_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15840   PyObject 
*resultobj 
= 0; 
15841   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15845   PyObject 
*swig_obj
[1] ; 
15847   if (!args
) SWIG_fail
; 
15848   swig_obj
[0] = args
; 
15849   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15850   if (!SWIG_IsOK(res1
)) { 
15851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");  
15853   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15856     result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
15857     wxPyEndAllowThreads(__tstate
); 
15858     if (PyErr_Occurred()) SWIG_fail
; 
15861     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15869 SWIGINTERN PyObject 
*_wrap_Locale_GetLocale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15870   PyObject 
*resultobj 
= 0; 
15871   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15875   PyObject 
*swig_obj
[1] ; 
15877   if (!args
) SWIG_fail
; 
15878   swig_obj
[0] = args
; 
15879   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15880   if (!SWIG_IsOK(res1
)) { 
15881     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");  
15883   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15885     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15886     result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
15887     wxPyEndAllowThreads(__tstate
); 
15888     if (PyErr_Occurred()) SWIG_fail
; 
15892     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15894     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15903 SWIGINTERN PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15904   PyObject 
*resultobj 
= 0; 
15905   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15909   PyObject 
*swig_obj
[1] ; 
15911   if (!args
) SWIG_fail
; 
15912   swig_obj
[0] = args
; 
15913   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15914   if (!SWIG_IsOK(res1
)) { 
15915     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");  
15917   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15920     result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
15921     wxPyEndAllowThreads(__tstate
); 
15922     if (PyErr_Occurred()) SWIG_fail
; 
15924   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
15931 SWIGINTERN PyObject 
*_wrap_Locale_GetSysName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15932   PyObject 
*resultobj 
= 0; 
15933   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15937   PyObject 
*swig_obj
[1] ; 
15939   if (!args
) SWIG_fail
; 
15940   swig_obj
[0] = args
; 
15941   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15942   if (!SWIG_IsOK(res1
)) { 
15943     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");  
15945   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15948     result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
15949     wxPyEndAllowThreads(__tstate
); 
15950     if (PyErr_Occurred()) SWIG_fail
; 
15954     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15956     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15965 SWIGINTERN PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15966   PyObject 
*resultobj 
= 0; 
15967   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
15971   PyObject 
*swig_obj
[1] ; 
15973   if (!args
) SWIG_fail
; 
15974   swig_obj
[0] = args
; 
15975   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
15976   if (!SWIG_IsOK(res1
)) { 
15977     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");  
15979   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
15981     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15982     result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
15983     wxPyEndAllowThreads(__tstate
); 
15984     if (PyErr_Occurred()) SWIG_fail
; 
15988     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15990     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15999 SWIGINTERN PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16000   PyObject 
*resultobj 
= 0; 
16001   wxString 
*arg1 
= 0 ; 
16002   bool temp1 
= false ; 
16003   PyObject 
* obj0 
= 0 ; 
16004   char *  kwnames
[] = { 
16005     (char *) "prefix", NULL 
 
16008   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
; 
16010     arg1 
= wxString_in_helper(obj0
); 
16011     if (arg1 
== NULL
) SWIG_fail
; 
16015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16016     wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
16017     wxPyEndAllowThreads(__tstate
); 
16018     if (PyErr_Occurred()) SWIG_fail
; 
16020   resultobj 
= SWIG_Py_Void(); 
16035 SWIGINTERN PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16036   PyObject 
*resultobj 
= 0; 
16037   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
16038   wxString 
*arg2 
= 0 ; 
16042   bool temp2 
= false ; 
16043   PyObject 
* obj0 
= 0 ; 
16044   PyObject 
* obj1 
= 0 ; 
16045   char *  kwnames
[] = { 
16046     (char *) "self",(char *) "szDomain", NULL 
 
16049   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16050   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
16051   if (!SWIG_IsOK(res1
)) { 
16052     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");  
16054   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
16056     arg2 
= wxString_in_helper(obj1
); 
16057     if (arg2 
== NULL
) SWIG_fail
; 
16061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16062     result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
16063     wxPyEndAllowThreads(__tstate
); 
16064     if (PyErr_Occurred()) SWIG_fail
; 
16067     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16083 SWIGINTERN PyObject 
*_wrap_Locale_IsAvailable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16084   PyObject 
*resultobj 
= 0; 
16089   PyObject 
* obj0 
= 0 ; 
16090   char *  kwnames
[] = { 
16091     (char *) "lang", NULL 
 
16094   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
; 
16095   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16096   if (!SWIG_IsOK(ecode1
)) { 
16097     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'"); 
16099   arg1 
= static_cast< int >(val1
); 
16101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16102     result 
= (bool)wxLocale::IsAvailable(arg1
); 
16103     wxPyEndAllowThreads(__tstate
); 
16104     if (PyErr_Occurred()) SWIG_fail
; 
16107     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16115 SWIGINTERN PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16116   PyObject 
*resultobj 
= 0; 
16117   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
16118   wxString 
*arg2 
= 0 ; 
16122   bool temp2 
= false ; 
16123   PyObject 
* obj0 
= 0 ; 
16124   PyObject 
* obj1 
= 0 ; 
16125   char *  kwnames
[] = { 
16126     (char *) "self",(char *) "szDomain", NULL 
 
16129   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16130   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
16131   if (!SWIG_IsOK(res1
)) { 
16132     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");  
16134   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
16136     arg2 
= wxString_in_helper(obj1
); 
16137     if (arg2 
== NULL
) SWIG_fail
; 
16141     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16142     result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
16143     wxPyEndAllowThreads(__tstate
); 
16144     if (PyErr_Occurred()) SWIG_fail
; 
16147     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16163 SWIGINTERN PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16164   PyObject 
*resultobj 
= 0; 
16166   wxLanguageInfo 
*result 
= 0 ; 
16169   PyObject 
* obj0 
= 0 ; 
16170   char *  kwnames
[] = { 
16171     (char *) "lang", NULL 
 
16174   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
; 
16175   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16176   if (!SWIG_IsOK(ecode1
)) { 
16177     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'"); 
16179   arg1 
= static_cast< int >(val1
); 
16181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16182     result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
16183     wxPyEndAllowThreads(__tstate
); 
16184     if (PyErr_Occurred()) SWIG_fail
; 
16186   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
16193 SWIGINTERN PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16194   PyObject 
*resultobj 
= 0; 
16199   PyObject 
* obj0 
= 0 ; 
16200   char *  kwnames
[] = { 
16201     (char *) "lang", NULL 
 
16204   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
; 
16205   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16206   if (!SWIG_IsOK(ecode1
)) { 
16207     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'"); 
16209   arg1 
= static_cast< int >(val1
); 
16211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16212     result 
= wxLocale::GetLanguageName(arg1
); 
16213     wxPyEndAllowThreads(__tstate
); 
16214     if (PyErr_Occurred()) SWIG_fail
; 
16218     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16220     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16229 SWIGINTERN PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16230   PyObject 
*resultobj 
= 0; 
16231   wxString 
*arg1 
= 0 ; 
16232   wxLanguageInfo 
*result 
= 0 ; 
16233   bool temp1 
= false ; 
16234   PyObject 
* obj0 
= 0 ; 
16235   char *  kwnames
[] = { 
16236     (char *) "locale", NULL 
 
16239   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
; 
16241     arg1 
= wxString_in_helper(obj0
); 
16242     if (arg1 
== NULL
) SWIG_fail
; 
16246     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16247     result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
16248     wxPyEndAllowThreads(__tstate
); 
16249     if (PyErr_Occurred()) SWIG_fail
; 
16251   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
16266 SWIGINTERN PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16267   PyObject 
*resultobj 
= 0; 
16268   wxLanguageInfo 
*arg1 
= 0 ; 
16271   PyObject 
* obj0 
= 0 ; 
16272   char *  kwnames
[] = { 
16273     (char *) "info", NULL 
 
16276   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
; 
16277   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
,  0  | 0); 
16278   if (!SWIG_IsOK(res1
)) { 
16279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");  
16282     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");  
16284   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
16286     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16287     wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
16288     wxPyEndAllowThreads(__tstate
); 
16289     if (PyErr_Occurred()) SWIG_fail
; 
16291   resultobj 
= SWIG_Py_Void(); 
16298 SWIGINTERN PyObject 
*_wrap_Locale_GetString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16299   PyObject 
*resultobj 
= 0; 
16300   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
16301   wxString 
*arg2 
= 0 ; 
16302   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16303   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16307   bool temp2 
= false ; 
16308   bool temp3 
= false ; 
16309   PyObject 
* obj0 
= 0 ; 
16310   PyObject 
* obj1 
= 0 ; 
16311   PyObject 
* obj2 
= 0 ; 
16312   char *  kwnames
[] = { 
16313     (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
16316   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16317   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
16318   if (!SWIG_IsOK(res1
)) { 
16319     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");  
16321   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
16323     arg2 
= wxString_in_helper(obj1
); 
16324     if (arg2 
== NULL
) SWIG_fail
; 
16329       arg3 
= wxString_in_helper(obj2
); 
16330       if (arg3 
== NULL
) SWIG_fail
; 
16335     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16336     result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
16337     wxPyEndAllowThreads(__tstate
); 
16338     if (PyErr_Occurred()) SWIG_fail
; 
16342     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16344     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16369 SWIGINTERN PyObject 
*_wrap_Locale_GetName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16370   PyObject 
*resultobj 
= 0; 
16371   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
16372   wxString 
*result 
= 0 ; 
16375   PyObject 
*swig_obj
[1] ; 
16377   if (!args
) SWIG_fail
; 
16378   swig_obj
[0] = args
; 
16379   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
16380   if (!SWIG_IsOK(res1
)) { 
16381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");  
16383   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
16385     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16387       wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
16388       result 
= (wxString 
*) &_result_ref
; 
16390     wxPyEndAllowThreads(__tstate
); 
16391     if (PyErr_Occurred()) SWIG_fail
; 
16395     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
16397     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
16406 SWIGINTERN PyObject 
*Locale_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16408   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16409   SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
)); 
16410   return SWIG_Py_Void(); 
16413 SWIGINTERN PyObject 
*Locale_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16414   return SWIG_Python_InitShadowInstance(args
); 
16417 SWIGINTERN PyObject 
*_wrap_new_PyLocale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16418   PyObject 
*resultobj 
= 0; 
16419   int arg1 
= (int) -1 ; 
16420   int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
16421   wxPyLocale 
*result 
= 0 ; 
16426   PyObject 
* obj0 
= 0 ; 
16427   PyObject 
* obj1 
= 0 ; 
16428   char *  kwnames
[] = { 
16429     (char *) "language",(char *) "flags", NULL 
 
16432   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16434     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16435     if (!SWIG_IsOK(ecode1
)) { 
16436       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'"); 
16438     arg1 
= static_cast< int >(val1
); 
16441     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16442     if (!SWIG_IsOK(ecode2
)) { 
16443       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'"); 
16445     arg2 
= static_cast< int >(val2
); 
16448     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16449     result 
= (wxPyLocale 
*)new_wxPyLocale(arg1
,arg2
); 
16450     wxPyEndAllowThreads(__tstate
); 
16451     if (PyErr_Occurred()) SWIG_fail
; 
16453   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW 
|  0 ); 
16460 SWIGINTERN PyObject 
*_wrap_delete_PyLocale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16461   PyObject 
*resultobj 
= 0; 
16462   wxPyLocale 
*arg1 
= (wxPyLocale 
*) 0 ; 
16465   PyObject 
*swig_obj
[1] ; 
16467   if (!args
) SWIG_fail
; 
16468   swig_obj
[0] = args
; 
16469   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN 
|  0 ); 
16470   if (!SWIG_IsOK(res1
)) { 
16471     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");  
16473   arg1 
= reinterpret_cast< wxPyLocale 
* >(argp1
); 
16475     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16478     wxPyEndAllowThreads(__tstate
); 
16479     if (PyErr_Occurred()) SWIG_fail
; 
16481   resultobj 
= SWIG_Py_Void(); 
16488 SWIGINTERN PyObject 
*_wrap_PyLocale__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16489   PyObject 
*resultobj 
= 0; 
16490   wxPyLocale 
*arg1 
= (wxPyLocale 
*) 0 ; 
16491   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
16492   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
16495   PyObject 
* obj0 
= 0 ; 
16496   PyObject 
* obj1 
= 0 ; 
16497   PyObject 
* obj2 
= 0 ; 
16498   char *  kwnames
[] = { 
16499     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
16502   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16503   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 |  0 ); 
16504   if (!SWIG_IsOK(res1
)) { 
16505     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");  
16507   arg1 
= reinterpret_cast< wxPyLocale 
* >(argp1
); 
16511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16512     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
16513     wxPyEndAllowThreads(__tstate
); 
16514     if (PyErr_Occurred()) SWIG_fail
; 
16516   resultobj 
= SWIG_Py_Void(); 
16523 SWIGINTERN PyObject 
*_wrap_PyLocale_GetSingularString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16524   PyObject 
*resultobj 
= 0; 
16525   wxPyLocale 
*arg1 
= (wxPyLocale 
*) 0 ; 
16526   wxChar 
*arg2 
= (wxChar 
*) 0 ; 
16527   wxChar 
*arg3 
= (wxChar 
*) NULL 
; 
16528   wxChar 
*result 
= 0 ; 
16535   PyObject 
* obj0 
= 0 ; 
16536   PyObject 
* obj1 
= 0 ; 
16537   PyObject 
* obj2 
= 0 ; 
16538   char *  kwnames
[] = { 
16539     (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
16542   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16543   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 |  0 ); 
16544   if (!SWIG_IsOK(res1
)) { 
16545     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");  
16547   arg1 
= reinterpret_cast< wxPyLocale 
* >(argp1
); 
16548   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 |  0 ); 
16549   if (!SWIG_IsOK(res2
)) { 
16550     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");  
16552   arg2 
= reinterpret_cast< wxChar 
* >(argp2
); 
16554     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 |  0 ); 
16555     if (!SWIG_IsOK(res3
)) { 
16556       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");  
16558     arg3 
= reinterpret_cast< wxChar 
* >(argp3
); 
16561     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16562     result 
= (wxChar 
*)((wxPyLocale 
const *)arg1
)->GetSingularString((wxChar 
const *)arg2
,(wxChar 
const *)arg3
); 
16563     wxPyEndAllowThreads(__tstate
); 
16564     if (PyErr_Occurred()) SWIG_fail
; 
16566   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 |  0 ); 
16573 SWIGINTERN PyObject 
*_wrap_PyLocale_GetPluralString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16574   PyObject 
*resultobj 
= 0; 
16575   wxPyLocale 
*arg1 
= (wxPyLocale 
*) 0 ; 
16576   wxChar 
*arg2 
= (wxChar 
*) 0 ; 
16577   wxChar 
*arg3 
= (wxChar 
*) 0 ; 
16579   wxChar 
*arg5 
= (wxChar 
*) NULL 
; 
16580   wxChar 
*result 
= 0 ; 
16591   PyObject 
* obj0 
= 0 ; 
16592   PyObject 
* obj1 
= 0 ; 
16593   PyObject 
* obj2 
= 0 ; 
16594   PyObject 
* obj3 
= 0 ; 
16595   PyObject 
* obj4 
= 0 ; 
16596   char *  kwnames
[] = { 
16597     (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL 
 
16600   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16601   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 |  0 ); 
16602   if (!SWIG_IsOK(res1
)) { 
16603     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");  
16605   arg1 
= reinterpret_cast< wxPyLocale 
* >(argp1
); 
16606   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 |  0 ); 
16607   if (!SWIG_IsOK(res2
)) { 
16608     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");  
16610   arg2 
= reinterpret_cast< wxChar 
* >(argp2
); 
16611   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 |  0 ); 
16612   if (!SWIG_IsOK(res3
)) { 
16613     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");  
16615   arg3 
= reinterpret_cast< wxChar 
* >(argp3
); 
16616   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
16617   if (!SWIG_IsOK(ecode4
)) { 
16618     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'"); 
16620   arg4 
= static_cast< size_t >(val4
); 
16622     res5 
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 |  0 ); 
16623     if (!SWIG_IsOK(res5
)) { 
16624       SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");  
16626     arg5 
= reinterpret_cast< wxChar 
* >(argp5
); 
16629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16630     result 
= (wxChar 
*)((wxPyLocale 
const *)arg1
)->GetPluralString((wxChar 
const *)arg2
,(wxChar 
const *)arg3
,arg4
,(wxChar 
const *)arg5
); 
16631     wxPyEndAllowThreads(__tstate
); 
16632     if (PyErr_Occurred()) SWIG_fail
; 
16634   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 |  0 ); 
16641 SWIGINTERN PyObject 
*PyLocale_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16643   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16644   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
)); 
16645   return SWIG_Py_Void(); 
16648 SWIGINTERN PyObject 
*PyLocale_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16649   return SWIG_Python_InitShadowInstance(args
); 
16652 SWIGINTERN PyObject 
*_wrap_GetLocale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16653   PyObject 
*resultobj 
= 0; 
16654   wxLocale 
*result 
= 0 ; 
16656   if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
; 
16658     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16659     result 
= (wxLocale 
*)wxGetLocale(); 
16660     wxPyEndAllowThreads(__tstate
); 
16661     if (PyErr_Occurred()) SWIG_fail
; 
16663   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 |  0 ); 
16670 SWIGINTERN PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
16671   PyObject 
*resultobj 
= 0; 
16672   wxString 
*arg1 
= 0 ; 
16674   bool temp1 
= false ; 
16676   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
16678     arg1 
= wxString_in_helper(swig_obj
[0]); 
16679     if (arg1 
== NULL
) SWIG_fail
; 
16683     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16684     result 
= wxGetTranslation((wxString 
const &)*arg1
); 
16685     wxPyEndAllowThreads(__tstate
); 
16686     if (PyErr_Occurred()) SWIG_fail
; 
16690     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16692     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16709 SWIGINTERN PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
16710   PyObject 
*resultobj 
= 0; 
16711   wxString 
*arg1 
= 0 ; 
16712   wxString 
*arg2 
= 0 ; 
16714   bool temp1 
= false ; 
16715   bool temp2 
= false ; 
16717   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
16719     arg1 
= wxString_in_helper(swig_obj
[0]); 
16720     if (arg1 
== NULL
) SWIG_fail
; 
16724     arg2 
= wxString_in_helper(swig_obj
[1]); 
16725     if (arg2 
== NULL
) SWIG_fail
; 
16729     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16730     result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
16731     wxPyEndAllowThreads(__tstate
); 
16732     if (PyErr_Occurred()) SWIG_fail
; 
16736     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16738     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16763 SWIGINTERN PyObject 
*_wrap_GetTranslation__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
16764   PyObject 
*resultobj 
= 0; 
16765   wxString 
*arg1 
= 0 ; 
16766   wxString 
*arg2 
= 0 ; 
16769   bool temp1 
= false ; 
16770   bool temp2 
= false ; 
16774   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
16776     arg1 
= wxString_in_helper(swig_obj
[0]); 
16777     if (arg1 
== NULL
) SWIG_fail
; 
16781     arg2 
= wxString_in_helper(swig_obj
[1]); 
16782     if (arg2 
== NULL
) SWIG_fail
; 
16785   ecode3 
= SWIG_AsVal_size_t(swig_obj
[2], &val3
); 
16786   if (!SWIG_IsOK(ecode3
)) { 
16787     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'"); 
16789   arg3 
= static_cast< size_t >(val3
); 
16791     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16792     result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
16793     wxPyEndAllowThreads(__tstate
); 
16794     if (PyErr_Occurred()) SWIG_fail
; 
16798     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16800     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16825 SWIGINTERN PyObject 
*_wrap_GetTranslation__SWIG_3(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
16826   PyObject 
*resultobj 
= 0; 
16827   wxString 
*arg1 
= 0 ; 
16828   wxString 
*arg2 
= 0 ; 
16830   wxString 
*arg4 
= 0 ; 
16832   bool temp1 
= false ; 
16833   bool temp2 
= false ; 
16836   bool temp4 
= false ; 
16838   if ((nobjs 
< 4) || (nobjs 
> 4)) SWIG_fail
; 
16840     arg1 
= wxString_in_helper(swig_obj
[0]); 
16841     if (arg1 
== NULL
) SWIG_fail
; 
16845     arg2 
= wxString_in_helper(swig_obj
[1]); 
16846     if (arg2 
== NULL
) SWIG_fail
; 
16849   ecode3 
= SWIG_AsVal_size_t(swig_obj
[2], &val3
); 
16850   if (!SWIG_IsOK(ecode3
)) { 
16851     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'"); 
16853   arg3 
= static_cast< size_t >(val3
); 
16855     arg4 
= wxString_in_helper(swig_obj
[3]); 
16856     if (arg4 
== NULL
) SWIG_fail
; 
16860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16861     result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,(wxString 
const &)*arg4
); 
16862     wxPyEndAllowThreads(__tstate
); 
16863     if (PyErr_Occurred()) SWIG_fail
; 
16867     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16869     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16902 SWIGINTERN PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
16906   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
; 
16909     return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
); 
16912     return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
); 
16915     return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
); 
16918     return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
); 
16922   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'"); 
16927 SWIGINTERN PyObject 
*_wrap_new_EncodingConverter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16928   PyObject 
*resultobj 
= 0; 
16929   wxEncodingConverter 
*result 
= 0 ; 
16931   if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
; 
16933     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16934     result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
16935     wxPyEndAllowThreads(__tstate
); 
16936     if (PyErr_Occurred()) SWIG_fail
; 
16938   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW 
|  0 ); 
16945 SWIGINTERN PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16946   PyObject 
*resultobj 
= 0; 
16947   wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
16950   PyObject 
*swig_obj
[1] ; 
16952   if (!args
) SWIG_fail
; 
16953   swig_obj
[0] = args
; 
16954   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN 
|  0 ); 
16955   if (!SWIG_IsOK(res1
)) { 
16956     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");  
16958   arg1 
= reinterpret_cast< wxEncodingConverter 
* >(argp1
); 
16960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16963     wxPyEndAllowThreads(__tstate
); 
16964     if (PyErr_Occurred()) SWIG_fail
; 
16966   resultobj 
= SWIG_Py_Void(); 
16973 SWIGINTERN PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16974   PyObject 
*resultobj 
= 0; 
16975   wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
16976   wxFontEncoding arg2 
; 
16977   wxFontEncoding arg3 
; 
16978   int arg4 
= (int) wxCONVERT_STRICT 
; 
16988   PyObject 
* obj0 
= 0 ; 
16989   PyObject 
* obj1 
= 0 ; 
16990   PyObject 
* obj2 
= 0 ; 
16991   PyObject 
* obj3 
= 0 ; 
16992   char *  kwnames
[] = { 
16993     (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
16996   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16997   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 |  0 ); 
16998   if (!SWIG_IsOK(res1
)) { 
16999     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");  
17001   arg1 
= reinterpret_cast< wxEncodingConverter 
* >(argp1
); 
17002   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17003   if (!SWIG_IsOK(ecode2
)) { 
17004     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
17006   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
17007   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17008   if (!SWIG_IsOK(ecode3
)) { 
17009     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'"); 
17011   arg3 
= static_cast< wxFontEncoding 
>(val3
); 
17013     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17014     if (!SWIG_IsOK(ecode4
)) { 
17015       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'"); 
17017     arg4 
= static_cast< int >(val4
); 
17020     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17021     result 
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
); 
17022     wxPyEndAllowThreads(__tstate
); 
17023     if (PyErr_Occurred()) SWIG_fail
; 
17026     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17034 SWIGINTERN PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17035   PyObject 
*resultobj 
= 0; 
17036   wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
17037   wxString 
*arg2 
= 0 ; 
17041   bool temp2 
= false ; 
17042   PyObject 
* obj0 
= 0 ; 
17043   PyObject 
* obj1 
= 0 ; 
17044   char *  kwnames
[] = { 
17045     (char *) "self",(char *) "input", NULL 
 
17048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17049   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 |  0 ); 
17050   if (!SWIG_IsOK(res1
)) { 
17051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");  
17053   arg1 
= reinterpret_cast< wxEncodingConverter 
* >(argp1
); 
17055     arg2 
= wxString_in_helper(obj1
); 
17056     if (arg2 
== NULL
) SWIG_fail
; 
17060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17061     result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
17062     wxPyEndAllowThreads(__tstate
); 
17063     if (PyErr_Occurred()) SWIG_fail
; 
17067     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17069     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17086 SWIGINTERN PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17087   PyObject 
*resultobj 
= 0; 
17088   wxFontEncoding arg1 
; 
17089   int arg2 
= (int) wxPLATFORM_CURRENT 
; 
17090   wxFontEncodingArray result
; 
17095   PyObject 
* obj0 
= 0 ; 
17096   PyObject 
* obj1 
= 0 ; 
17097   char *  kwnames
[] = { 
17098     (char *) "enc",(char *) "platform", NULL 
 
17101   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17102   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
17103   if (!SWIG_IsOK(ecode1
)) { 
17104     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
17106   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
17108     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17109     if (!SWIG_IsOK(ecode2
)) { 
17110       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'"); 
17112     arg2 
= static_cast< int >(val2
); 
17115     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17116     result 
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
); 
17117     wxPyEndAllowThreads(__tstate
); 
17118     if (PyErr_Occurred()) SWIG_fail
; 
17121     resultobj 
= PyList_New(0); 
17122     for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
17123       PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
17124       PyList_Append(resultobj
, number
); 
17134 SWIGINTERN PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17135   PyObject 
*resultobj 
= 0; 
17136   wxFontEncoding arg1 
; 
17137   wxFontEncodingArray result
; 
17140   PyObject 
* obj0 
= 0 ; 
17141   char *  kwnames
[] = { 
17142     (char *) "enc", NULL 
 
17145   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
; 
17146   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
17147   if (!SWIG_IsOK(ecode1
)) { 
17148     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
17150   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
17152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17153     result 
= wxEncodingConverter::GetAllEquivalents(arg1
); 
17154     wxPyEndAllowThreads(__tstate
); 
17155     if (PyErr_Occurred()) SWIG_fail
; 
17158     resultobj 
= PyList_New(0); 
17159     for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
17160       PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
17161       PyList_Append(resultobj
, number
); 
17171 SWIGINTERN PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17172   PyObject 
*resultobj 
= 0; 
17173   wxFontEncoding arg1 
; 
17174   wxFontEncoding arg2 
; 
17180   PyObject 
* obj0 
= 0 ; 
17181   PyObject 
* obj1 
= 0 ; 
17182   char *  kwnames
[] = { 
17183     (char *) "encIn",(char *) "encOut", NULL 
 
17186   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17187   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
17188   if (!SWIG_IsOK(ecode1
)) { 
17189     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
17191   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
17192   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17193   if (!SWIG_IsOK(ecode2
)) { 
17194     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
17196   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
17198     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17199     result 
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
); 
17200     wxPyEndAllowThreads(__tstate
); 
17201     if (PyErr_Occurred()) SWIG_fail
; 
17204     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17212 SWIGINTERN PyObject 
*EncodingConverter_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17214   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17215   SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
)); 
17216   return SWIG_Py_Void(); 
17219 SWIGINTERN PyObject 
*EncodingConverter_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17220   return SWIG_Python_InitShadowInstance(args
); 
17223 SWIGINTERN PyObject 
*_wrap_delete_DC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17224   PyObject 
*resultobj 
= 0; 
17225   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17228   PyObject 
*swig_obj
[1] ; 
17230   if (!args
) SWIG_fail
; 
17231   swig_obj
[0] = args
; 
17232   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN 
|  0 ); 
17233   if (!SWIG_IsOK(res1
)) { 
17234     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");  
17236   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17238     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17241     wxPyEndAllowThreads(__tstate
); 
17242     if (PyErr_Occurred()) SWIG_fail
; 
17244   resultobj 
= SWIG_Py_Void(); 
17251 SWIGINTERN PyObject 
*_wrap_DC_FloodFill(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17252   PyObject 
*resultobj 
= 0; 
17253   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17256   wxColour 
*arg4 
= 0 ; 
17257   int arg5 
= (int) wxFLOOD_SURFACE 
; 
17268   PyObject 
* obj0 
= 0 ; 
17269   PyObject 
* obj1 
= 0 ; 
17270   PyObject 
* obj2 
= 0 ; 
17271   PyObject 
* obj3 
= 0 ; 
17272   PyObject 
* obj4 
= 0 ; 
17273   char *  kwnames
[] = { 
17274     (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
17277   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17278   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17279   if (!SWIG_IsOK(res1
)) { 
17280     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");  
17282   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17283   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17284   if (!SWIG_IsOK(ecode2
)) { 
17285     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'"); 
17287   arg2 
= static_cast< int >(val2
); 
17288   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17289   if (!SWIG_IsOK(ecode3
)) { 
17290     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'"); 
17292   arg3 
= static_cast< int >(val3
); 
17295     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
17298     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17299     if (!SWIG_IsOK(ecode5
)) { 
17300       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'"); 
17302     arg5 
= static_cast< int >(val5
); 
17305     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17306     result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
17307     wxPyEndAllowThreads(__tstate
); 
17308     if (PyErr_Occurred()) SWIG_fail
; 
17311     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17319 SWIGINTERN PyObject 
*_wrap_DC_FloodFillPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17320   PyObject 
*resultobj 
= 0; 
17321   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17322   wxPoint 
*arg2 
= 0 ; 
17323   wxColour 
*arg3 
= 0 ; 
17324   int arg4 
= (int) wxFLOOD_SURFACE 
; 
17332   PyObject 
* obj0 
= 0 ; 
17333   PyObject 
* obj1 
= 0 ; 
17334   PyObject 
* obj2 
= 0 ; 
17335   PyObject 
* obj3 
= 0 ; 
17336   char *  kwnames
[] = { 
17337     (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
17340   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17341   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17342   if (!SWIG_IsOK(res1
)) { 
17343     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
17345   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17348     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17352     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17355     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17356     if (!SWIG_IsOK(ecode4
)) { 
17357       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'"); 
17359     arg4 
= static_cast< int >(val4
); 
17362     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17363     result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
17364     wxPyEndAllowThreads(__tstate
); 
17365     if (PyErr_Occurred()) SWIG_fail
; 
17368     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17376 SWIGINTERN PyObject 
*_wrap_DC_GradientFillConcentric(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17377   PyObject 
*resultobj 
= 0; 
17378   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17380   wxColour 
*arg3 
= 0 ; 
17381   wxColour 
*arg4 
= 0 ; 
17382   wxPoint 
*arg5 
= 0 ; 
17389   PyObject 
* obj0 
= 0 ; 
17390   PyObject 
* obj1 
= 0 ; 
17391   PyObject 
* obj2 
= 0 ; 
17392   PyObject 
* obj3 
= 0 ; 
17393   PyObject 
* obj4 
= 0 ; 
17394   char *  kwnames
[] = { 
17395     (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL 
 
17398   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17399   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17400   if (!SWIG_IsOK(res1
)) { 
17401     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");  
17403   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17406     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
17410     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17414     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
17418     if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
17421     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17422     (arg1
)->GradientFillConcentric((wxRect 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxPoint 
const &)*arg5
); 
17423     wxPyEndAllowThreads(__tstate
); 
17424     if (PyErr_Occurred()) SWIG_fail
; 
17426   resultobj 
= SWIG_Py_Void(); 
17433 SWIGINTERN PyObject 
*_wrap_DC_GradientFillLinear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17434   PyObject 
*resultobj 
= 0; 
17435   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17437   wxColour 
*arg3 
= 0 ; 
17438   wxColour 
*arg4 
= 0 ; 
17439   wxDirection arg5 
= (wxDirection
) wxEAST 
; 
17447   PyObject 
* obj0 
= 0 ; 
17448   PyObject 
* obj1 
= 0 ; 
17449   PyObject 
* obj2 
= 0 ; 
17450   PyObject 
* obj3 
= 0 ; 
17451   PyObject 
* obj4 
= 0 ; 
17452   char *  kwnames
[] = { 
17453     (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL 
 
17456   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17457   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17458   if (!SWIG_IsOK(res1
)) { 
17459     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");  
17461   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17464     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
17468     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
17472     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
17475     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17476     if (!SWIG_IsOK(ecode5
)) { 
17477       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'"); 
17479     arg5 
= static_cast< wxDirection 
>(val5
); 
17482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17483     (arg1
)->GradientFillLinear((wxRect 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,arg5
); 
17484     wxPyEndAllowThreads(__tstate
); 
17485     if (PyErr_Occurred()) SWIG_fail
; 
17487   resultobj 
= SWIG_Py_Void(); 
17494 SWIGINTERN PyObject 
*_wrap_DC_GetPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17495   PyObject 
*resultobj 
= 0; 
17496   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17506   PyObject 
* obj0 
= 0 ; 
17507   PyObject 
* obj1 
= 0 ; 
17508   PyObject 
* obj2 
= 0 ; 
17509   char *  kwnames
[] = { 
17510     (char *) "self",(char *) "x",(char *) "y", NULL 
 
17513   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17514   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17515   if (!SWIG_IsOK(res1
)) { 
17516     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");  
17518   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17519   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17520   if (!SWIG_IsOK(ecode2
)) { 
17521     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'"); 
17523   arg2 
= static_cast< int >(val2
); 
17524   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17525   if (!SWIG_IsOK(ecode3
)) { 
17526     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'"); 
17528   arg3 
= static_cast< int >(val3
); 
17530     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17531     result 
= wxDC_GetPixel(arg1
,arg2
,arg3
); 
17532     wxPyEndAllowThreads(__tstate
); 
17533     if (PyErr_Occurred()) SWIG_fail
; 
17535   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
17542 SWIGINTERN PyObject 
*_wrap_DC_GetPixelPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17543   PyObject 
*resultobj 
= 0; 
17544   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17545   wxPoint 
*arg2 
= 0 ; 
17550   PyObject 
* obj0 
= 0 ; 
17551   PyObject 
* obj1 
= 0 ; 
17552   char *  kwnames
[] = { 
17553     (char *) "self",(char *) "pt", NULL 
 
17556   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17557   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17558   if (!SWIG_IsOK(res1
)) { 
17559     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
17561   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17564     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17568     result 
= wxDC_GetPixelPoint(arg1
,(wxPoint 
const &)*arg2
); 
17569     wxPyEndAllowThreads(__tstate
); 
17570     if (PyErr_Occurred()) SWIG_fail
; 
17572   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
17579 SWIGINTERN PyObject 
*_wrap_DC_DrawLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17580   PyObject 
*resultobj 
= 0; 
17581   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17596   PyObject 
* obj0 
= 0 ; 
17597   PyObject 
* obj1 
= 0 ; 
17598   PyObject 
* obj2 
= 0 ; 
17599   PyObject 
* obj3 
= 0 ; 
17600   PyObject 
* obj4 
= 0 ; 
17601   char *  kwnames
[] = { 
17602     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
17605   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17606   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17607   if (!SWIG_IsOK(res1
)) { 
17608     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");  
17610   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17611   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17612   if (!SWIG_IsOK(ecode2
)) { 
17613     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'"); 
17615   arg2 
= static_cast< int >(val2
); 
17616   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17617   if (!SWIG_IsOK(ecode3
)) { 
17618     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'"); 
17620   arg3 
= static_cast< int >(val3
); 
17621   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17622   if (!SWIG_IsOK(ecode4
)) { 
17623     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'"); 
17625   arg4 
= static_cast< int >(val4
); 
17626   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17627   if (!SWIG_IsOK(ecode5
)) { 
17628     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'"); 
17630   arg5 
= static_cast< int >(val5
); 
17632     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17633     (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
17634     wxPyEndAllowThreads(__tstate
); 
17635     if (PyErr_Occurred()) SWIG_fail
; 
17637   resultobj 
= SWIG_Py_Void(); 
17644 SWIGINTERN PyObject 
*_wrap_DC_DrawLinePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17645   PyObject 
*resultobj 
= 0; 
17646   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17647   wxPoint 
*arg2 
= 0 ; 
17648   wxPoint 
*arg3 
= 0 ; 
17653   PyObject 
* obj0 
= 0 ; 
17654   PyObject 
* obj1 
= 0 ; 
17655   PyObject 
* obj2 
= 0 ; 
17656   char *  kwnames
[] = { 
17657     (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
17660   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17661   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17662   if (!SWIG_IsOK(res1
)) { 
17663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");  
17665   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17668     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17672     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
17675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17676     (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
17677     wxPyEndAllowThreads(__tstate
); 
17678     if (PyErr_Occurred()) SWIG_fail
; 
17680   resultobj 
= SWIG_Py_Void(); 
17687 SWIGINTERN PyObject 
*_wrap_DC_CrossHair(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17688   PyObject 
*resultobj 
= 0; 
17689   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17698   PyObject 
* obj0 
= 0 ; 
17699   PyObject 
* obj1 
= 0 ; 
17700   PyObject 
* obj2 
= 0 ; 
17701   char *  kwnames
[] = { 
17702     (char *) "self",(char *) "x",(char *) "y", NULL 
 
17705   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17706   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17707   if (!SWIG_IsOK(res1
)) { 
17708     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");  
17710   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17711   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17712   if (!SWIG_IsOK(ecode2
)) { 
17713     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'"); 
17715   arg2 
= static_cast< int >(val2
); 
17716   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17717   if (!SWIG_IsOK(ecode3
)) { 
17718     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'"); 
17720   arg3 
= static_cast< int >(val3
); 
17722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17723     (arg1
)->CrossHair(arg2
,arg3
); 
17724     wxPyEndAllowThreads(__tstate
); 
17725     if (PyErr_Occurred()) SWIG_fail
; 
17727   resultobj 
= SWIG_Py_Void(); 
17734 SWIGINTERN PyObject 
*_wrap_DC_CrossHairPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17735   PyObject 
*resultobj 
= 0; 
17736   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17737   wxPoint 
*arg2 
= 0 ; 
17741   PyObject 
* obj0 
= 0 ; 
17742   PyObject 
* obj1 
= 0 ; 
17743   char *  kwnames
[] = { 
17744     (char *) "self",(char *) "pt", NULL 
 
17747   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17748   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17749   if (!SWIG_IsOK(res1
)) { 
17750     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
17752   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17755     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17758     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17759     (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
17760     wxPyEndAllowThreads(__tstate
); 
17761     if (PyErr_Occurred()) SWIG_fail
; 
17763   resultobj 
= SWIG_Py_Void(); 
17770 SWIGINTERN PyObject 
*_wrap_DC_DrawArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17771   PyObject 
*resultobj 
= 0; 
17772   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17793   PyObject 
* obj0 
= 0 ; 
17794   PyObject 
* obj1 
= 0 ; 
17795   PyObject 
* obj2 
= 0 ; 
17796   PyObject 
* obj3 
= 0 ; 
17797   PyObject 
* obj4 
= 0 ; 
17798   PyObject 
* obj5 
= 0 ; 
17799   PyObject 
* obj6 
= 0 ; 
17800   char *  kwnames
[] = { 
17801     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
17804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
17805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17806   if (!SWIG_IsOK(res1
)) { 
17807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");  
17809   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17810   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17811   if (!SWIG_IsOK(ecode2
)) { 
17812     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'"); 
17814   arg2 
= static_cast< int >(val2
); 
17815   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17816   if (!SWIG_IsOK(ecode3
)) { 
17817     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'"); 
17819   arg3 
= static_cast< int >(val3
); 
17820   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17821   if (!SWIG_IsOK(ecode4
)) { 
17822     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'"); 
17824   arg4 
= static_cast< int >(val4
); 
17825   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17826   if (!SWIG_IsOK(ecode5
)) { 
17827     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'"); 
17829   arg5 
= static_cast< int >(val5
); 
17830   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
17831   if (!SWIG_IsOK(ecode6
)) { 
17832     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'"); 
17834   arg6 
= static_cast< int >(val6
); 
17835   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
17836   if (!SWIG_IsOK(ecode7
)) { 
17837     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'"); 
17839   arg7 
= static_cast< int >(val7
); 
17841     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17842     (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
17843     wxPyEndAllowThreads(__tstate
); 
17844     if (PyErr_Occurred()) SWIG_fail
; 
17846   resultobj 
= SWIG_Py_Void(); 
17853 SWIGINTERN PyObject 
*_wrap_DC_DrawArcPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17854   PyObject 
*resultobj 
= 0; 
17855   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17856   wxPoint 
*arg2 
= 0 ; 
17857   wxPoint 
*arg3 
= 0 ; 
17858   wxPoint 
*arg4 
= 0 ; 
17864   PyObject 
* obj0 
= 0 ; 
17865   PyObject 
* obj1 
= 0 ; 
17866   PyObject 
* obj2 
= 0 ; 
17867   PyObject 
* obj3 
= 0 ; 
17868   char *  kwnames
[] = { 
17869     (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
17872   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
17873   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17874   if (!SWIG_IsOK(res1
)) { 
17875     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
17877   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17880     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17884     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
17888     if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
17891     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17892     (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
17893     wxPyEndAllowThreads(__tstate
); 
17894     if (PyErr_Occurred()) SWIG_fail
; 
17896   resultobj 
= SWIG_Py_Void(); 
17903 SWIGINTERN PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17904   PyObject 
*resultobj 
= 0; 
17905   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17920   PyObject 
* obj0 
= 0 ; 
17921   PyObject 
* obj1 
= 0 ; 
17922   PyObject 
* obj2 
= 0 ; 
17923   PyObject 
* obj3 
= 0 ; 
17924   PyObject 
* obj4 
= 0 ; 
17925   char *  kwnames
[] = { 
17926     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
17929   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17930   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17931   if (!SWIG_IsOK(res1
)) { 
17932     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");  
17934   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17935   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17936   if (!SWIG_IsOK(ecode2
)) { 
17937     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'"); 
17939   arg2 
= static_cast< int >(val2
); 
17940   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
17941   if (!SWIG_IsOK(ecode3
)) { 
17942     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'"); 
17944   arg3 
= static_cast< int >(val3
); 
17945   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17946   if (!SWIG_IsOK(ecode4
)) { 
17947     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'"); 
17949   arg4 
= static_cast< int >(val4
); 
17950   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17951   if (!SWIG_IsOK(ecode5
)) { 
17952     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'"); 
17954   arg5 
= static_cast< int >(val5
); 
17956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17957     (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
17958     wxPyEndAllowThreads(__tstate
); 
17959     if (PyErr_Occurred()) SWIG_fail
; 
17961   resultobj 
= SWIG_Py_Void(); 
17968 SWIGINTERN PyObject 
*_wrap_DC_DrawCheckMarkRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17969   PyObject 
*resultobj 
= 0; 
17970   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17975   PyObject 
* obj0 
= 0 ; 
17976   PyObject 
* obj1 
= 0 ; 
17977   char *  kwnames
[] = { 
17978     (char *) "self",(char *) "rect", NULL 
 
17981   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17982   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17983   if (!SWIG_IsOK(res1
)) { 
17984     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");  
17986   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17989     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
17992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17993     (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
17994     wxPyEndAllowThreads(__tstate
); 
17995     if (PyErr_Occurred()) SWIG_fail
; 
17997   resultobj 
= SWIG_Py_Void(); 
18004 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18005   PyObject 
*resultobj 
= 0; 
18006   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18027   PyObject 
* obj0 
= 0 ; 
18028   PyObject 
* obj1 
= 0 ; 
18029   PyObject 
* obj2 
= 0 ; 
18030   PyObject 
* obj3 
= 0 ; 
18031   PyObject 
* obj4 
= 0 ; 
18032   PyObject 
* obj5 
= 0 ; 
18033   PyObject 
* obj6 
= 0 ; 
18034   char *  kwnames
[] = { 
18035     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
18038   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
18039   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18040   if (!SWIG_IsOK(res1
)) { 
18041     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");  
18043   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18044   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18045   if (!SWIG_IsOK(ecode2
)) { 
18046     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'"); 
18048   arg2 
= static_cast< int >(val2
); 
18049   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18050   if (!SWIG_IsOK(ecode3
)) { 
18051     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'"); 
18053   arg3 
= static_cast< int >(val3
); 
18054   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18055   if (!SWIG_IsOK(ecode4
)) { 
18056     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'"); 
18058   arg4 
= static_cast< int >(val4
); 
18059   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
18060   if (!SWIG_IsOK(ecode5
)) { 
18061     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'"); 
18063   arg5 
= static_cast< int >(val5
); 
18064   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
18065   if (!SWIG_IsOK(ecode6
)) { 
18066     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'"); 
18068   arg6 
= static_cast< double >(val6
); 
18069   ecode7 
= SWIG_AsVal_double(obj6
, &val7
); 
18070   if (!SWIG_IsOK(ecode7
)) { 
18071     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'"); 
18073   arg7 
= static_cast< double >(val7
); 
18075     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18076     (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
18077     wxPyEndAllowThreads(__tstate
); 
18078     if (PyErr_Occurred()) SWIG_fail
; 
18080   resultobj 
= SWIG_Py_Void(); 
18087 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipticArcPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18088   PyObject 
*resultobj 
= 0; 
18089   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18090   wxPoint 
*arg2 
= 0 ; 
18102   PyObject 
* obj0 
= 0 ; 
18103   PyObject 
* obj1 
= 0 ; 
18104   PyObject 
* obj2 
= 0 ; 
18105   PyObject 
* obj3 
= 0 ; 
18106   PyObject 
* obj4 
= 0 ; 
18107   char *  kwnames
[] = { 
18108     (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
18111   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
18112   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18113   if (!SWIG_IsOK(res1
)) { 
18114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
18116   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18119     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
18123     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
18125   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
18126   if (!SWIG_IsOK(ecode4
)) { 
18127     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'"); 
18129   arg4 
= static_cast< double >(val4
); 
18130   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
18131   if (!SWIG_IsOK(ecode5
)) { 
18132     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'"); 
18134   arg5 
= static_cast< double >(val5
); 
18136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18137     (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
18138     wxPyEndAllowThreads(__tstate
); 
18139     if (PyErr_Occurred()) SWIG_fail
; 
18141   resultobj 
= SWIG_Py_Void(); 
18148 SWIGINTERN PyObject 
*_wrap_DC_DrawPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18149   PyObject 
*resultobj 
= 0; 
18150   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18159   PyObject 
* obj0 
= 0 ; 
18160   PyObject 
* obj1 
= 0 ; 
18161   PyObject 
* obj2 
= 0 ; 
18162   char *  kwnames
[] = { 
18163     (char *) "self",(char *) "x",(char *) "y", NULL 
 
18166   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18167   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18168   if (!SWIG_IsOK(res1
)) { 
18169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
18171   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18172   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18173   if (!SWIG_IsOK(ecode2
)) { 
18174     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'"); 
18176   arg2 
= static_cast< int >(val2
); 
18177   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18178   if (!SWIG_IsOK(ecode3
)) { 
18179     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'"); 
18181   arg3 
= static_cast< int >(val3
); 
18183     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18184     (arg1
)->DrawPoint(arg2
,arg3
); 
18185     wxPyEndAllowThreads(__tstate
); 
18186     if (PyErr_Occurred()) SWIG_fail
; 
18188   resultobj 
= SWIG_Py_Void(); 
18195 SWIGINTERN PyObject 
*_wrap_DC_DrawPointPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18196   PyObject 
*resultobj 
= 0; 
18197   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18198   wxPoint 
*arg2 
= 0 ; 
18202   PyObject 
* obj0 
= 0 ; 
18203   PyObject 
* obj1 
= 0 ; 
18204   char *  kwnames
[] = { 
18205     (char *) "self",(char *) "pt", NULL 
 
18208   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18209   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18210   if (!SWIG_IsOK(res1
)) { 
18211     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
18213   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18216     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
18219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18220     (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
18221     wxPyEndAllowThreads(__tstate
); 
18222     if (PyErr_Occurred()) SWIG_fail
; 
18224   resultobj 
= SWIG_Py_Void(); 
18231 SWIGINTERN PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18232   PyObject 
*resultobj 
= 0; 
18233   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18248   PyObject 
* obj0 
= 0 ; 
18249   PyObject 
* obj1 
= 0 ; 
18250   PyObject 
* obj2 
= 0 ; 
18251   PyObject 
* obj3 
= 0 ; 
18252   PyObject 
* obj4 
= 0 ; 
18253   char *  kwnames
[] = { 
18254     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
18257   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
18258   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18259   if (!SWIG_IsOK(res1
)) { 
18260     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");  
18262   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18263   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18264   if (!SWIG_IsOK(ecode2
)) { 
18265     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'"); 
18267   arg2 
= static_cast< int >(val2
); 
18268   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18269   if (!SWIG_IsOK(ecode3
)) { 
18270     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'"); 
18272   arg3 
= static_cast< int >(val3
); 
18273   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18274   if (!SWIG_IsOK(ecode4
)) { 
18275     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'"); 
18277   arg4 
= static_cast< int >(val4
); 
18278   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
18279   if (!SWIG_IsOK(ecode5
)) { 
18280     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'"); 
18282   arg5 
= static_cast< int >(val5
); 
18284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18285     (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
18286     wxPyEndAllowThreads(__tstate
); 
18287     if (PyErr_Occurred()) SWIG_fail
; 
18289   resultobj 
= SWIG_Py_Void(); 
18296 SWIGINTERN PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18297   PyObject 
*resultobj 
= 0; 
18298   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18303   PyObject 
* obj0 
= 0 ; 
18304   PyObject 
* obj1 
= 0 ; 
18305   char *  kwnames
[] = { 
18306     (char *) "self",(char *) "rect", NULL 
 
18309   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18310   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18311   if (!SWIG_IsOK(res1
)) { 
18312     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");  
18314   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18317     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
18320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18321     (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
18322     wxPyEndAllowThreads(__tstate
); 
18323     if (PyErr_Occurred()) SWIG_fail
; 
18325   resultobj 
= SWIG_Py_Void(); 
18332 SWIGINTERN PyObject 
*_wrap_DC_DrawRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18333   PyObject 
*resultobj 
= 0; 
18334   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18335   wxPoint 
*arg2 
= 0 ; 
18341   PyObject 
* obj0 
= 0 ; 
18342   PyObject 
* obj1 
= 0 ; 
18343   PyObject 
* obj2 
= 0 ; 
18344   char *  kwnames
[] = { 
18345     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
18348   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18349   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18350   if (!SWIG_IsOK(res1
)) { 
18351     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
18353   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18356     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
18360     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
18363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18364     (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
18365     wxPyEndAllowThreads(__tstate
); 
18366     if (PyErr_Occurred()) SWIG_fail
; 
18368   resultobj 
= SWIG_Py_Void(); 
18375 SWIGINTERN PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18376   PyObject 
*resultobj 
= 0; 
18377   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18395   PyObject 
* obj0 
= 0 ; 
18396   PyObject 
* obj1 
= 0 ; 
18397   PyObject 
* obj2 
= 0 ; 
18398   PyObject 
* obj3 
= 0 ; 
18399   PyObject 
* obj4 
= 0 ; 
18400   PyObject 
* obj5 
= 0 ; 
18401   char *  kwnames
[] = { 
18402     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
18405   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18406   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18407   if (!SWIG_IsOK(res1
)) { 
18408     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");  
18410   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18411   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18412   if (!SWIG_IsOK(ecode2
)) { 
18413     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'"); 
18415   arg2 
= static_cast< int >(val2
); 
18416   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18417   if (!SWIG_IsOK(ecode3
)) { 
18418     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'"); 
18420   arg3 
= static_cast< int >(val3
); 
18421   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18422   if (!SWIG_IsOK(ecode4
)) { 
18423     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'"); 
18425   arg4 
= static_cast< int >(val4
); 
18426   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
18427   if (!SWIG_IsOK(ecode5
)) { 
18428     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'"); 
18430   arg5 
= static_cast< int >(val5
); 
18431   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
18432   if (!SWIG_IsOK(ecode6
)) { 
18433     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'"); 
18435   arg6 
= static_cast< double >(val6
); 
18437     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18438     (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
18439     wxPyEndAllowThreads(__tstate
); 
18440     if (PyErr_Occurred()) SWIG_fail
; 
18442   resultobj 
= SWIG_Py_Void(); 
18449 SWIGINTERN PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18450   PyObject 
*resultobj 
= 0; 
18451   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18459   PyObject 
* obj0 
= 0 ; 
18460   PyObject 
* obj1 
= 0 ; 
18461   PyObject 
* obj2 
= 0 ; 
18462   char *  kwnames
[] = { 
18463     (char *) "self",(char *) "r",(char *) "radius", NULL 
 
18466   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18467   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18468   if (!SWIG_IsOK(res1
)) { 
18469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");  
18471   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18474     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
18476   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
18477   if (!SWIG_IsOK(ecode3
)) { 
18478     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'"); 
18480   arg3 
= static_cast< double >(val3
); 
18482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18483     (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
18484     wxPyEndAllowThreads(__tstate
); 
18485     if (PyErr_Occurred()) SWIG_fail
; 
18487   resultobj 
= SWIG_Py_Void(); 
18494 SWIGINTERN PyObject 
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18495   PyObject 
*resultobj 
= 0; 
18496   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18497   wxPoint 
*arg2 
= 0 ; 
18506   PyObject 
* obj0 
= 0 ; 
18507   PyObject 
* obj1 
= 0 ; 
18508   PyObject 
* obj2 
= 0 ; 
18509   PyObject 
* obj3 
= 0 ; 
18510   char *  kwnames
[] = { 
18511     (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
18514   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
18515   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18516   if (!SWIG_IsOK(res1
)) { 
18517     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
18519   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18522     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
18526     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
18528   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
18529   if (!SWIG_IsOK(ecode4
)) { 
18530     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'"); 
18532   arg4 
= static_cast< double >(val4
); 
18534     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18535     (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
18536     wxPyEndAllowThreads(__tstate
); 
18537     if (PyErr_Occurred()) SWIG_fail
; 
18539   resultobj 
= SWIG_Py_Void(); 
18546 SWIGINTERN PyObject 
*_wrap_DC_DrawCircle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18547   PyObject 
*resultobj 
= 0; 
18548   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18560   PyObject 
* obj0 
= 0 ; 
18561   PyObject 
* obj1 
= 0 ; 
18562   PyObject 
* obj2 
= 0 ; 
18563   PyObject 
* obj3 
= 0 ; 
18564   char *  kwnames
[] = { 
18565     (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
18568   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
18569   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18570   if (!SWIG_IsOK(res1
)) { 
18571     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");  
18573   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18574   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18575   if (!SWIG_IsOK(ecode2
)) { 
18576     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'"); 
18578   arg2 
= static_cast< int >(val2
); 
18579   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18580   if (!SWIG_IsOK(ecode3
)) { 
18581     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'"); 
18583   arg3 
= static_cast< int >(val3
); 
18584   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18585   if (!SWIG_IsOK(ecode4
)) { 
18586     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'"); 
18588   arg4 
= static_cast< int >(val4
); 
18590     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18591     (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
18592     wxPyEndAllowThreads(__tstate
); 
18593     if (PyErr_Occurred()) SWIG_fail
; 
18595   resultobj 
= SWIG_Py_Void(); 
18602 SWIGINTERN PyObject 
*_wrap_DC_DrawCirclePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18603   PyObject 
*resultobj 
= 0; 
18604   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18605   wxPoint 
*arg2 
= 0 ; 
18612   PyObject 
* obj0 
= 0 ; 
18613   PyObject 
* obj1 
= 0 ; 
18614   PyObject 
* obj2 
= 0 ; 
18615   char *  kwnames
[] = { 
18616     (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
18619   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18620   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18621   if (!SWIG_IsOK(res1
)) { 
18622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");  
18624   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18627     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
18629   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18630   if (!SWIG_IsOK(ecode3
)) { 
18631     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'"); 
18633   arg3 
= static_cast< int >(val3
); 
18635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18636     (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
18637     wxPyEndAllowThreads(__tstate
); 
18638     if (PyErr_Occurred()) SWIG_fail
; 
18640   resultobj 
= SWIG_Py_Void(); 
18647 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18648   PyObject 
*resultobj 
= 0; 
18649   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18664   PyObject 
* obj0 
= 0 ; 
18665   PyObject 
* obj1 
= 0 ; 
18666   PyObject 
* obj2 
= 0 ; 
18667   PyObject 
* obj3 
= 0 ; 
18668   PyObject 
* obj4 
= 0 ; 
18669   char *  kwnames
[] = { 
18670     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
18673   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
18674   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18675   if (!SWIG_IsOK(res1
)) { 
18676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");  
18678   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18679   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18680   if (!SWIG_IsOK(ecode2
)) { 
18681     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'"); 
18683   arg2 
= static_cast< int >(val2
); 
18684   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18685   if (!SWIG_IsOK(ecode3
)) { 
18686     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'"); 
18688   arg3 
= static_cast< int >(val3
); 
18689   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18690   if (!SWIG_IsOK(ecode4
)) { 
18691     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'"); 
18693   arg4 
= static_cast< int >(val4
); 
18694   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
18695   if (!SWIG_IsOK(ecode5
)) { 
18696     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'"); 
18698   arg5 
= static_cast< int >(val5
); 
18700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18701     (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
18702     wxPyEndAllowThreads(__tstate
); 
18703     if (PyErr_Occurred()) SWIG_fail
; 
18705   resultobj 
= SWIG_Py_Void(); 
18712 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18713   PyObject 
*resultobj 
= 0; 
18714   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18719   PyObject 
* obj0 
= 0 ; 
18720   PyObject 
* obj1 
= 0 ; 
18721   char *  kwnames
[] = { 
18722     (char *) "self",(char *) "rect", NULL 
 
18725   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18726   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18727   if (!SWIG_IsOK(res1
)) { 
18728     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");  
18730   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18733     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
18736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18737     (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
18738     wxPyEndAllowThreads(__tstate
); 
18739     if (PyErr_Occurred()) SWIG_fail
; 
18741   resultobj 
= SWIG_Py_Void(); 
18748 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipsePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18749   PyObject 
*resultobj 
= 0; 
18750   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18751   wxPoint 
*arg2 
= 0 ; 
18757   PyObject 
* obj0 
= 0 ; 
18758   PyObject 
* obj1 
= 0 ; 
18759   PyObject 
* obj2 
= 0 ; 
18760   char *  kwnames
[] = { 
18761     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
18764   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18765   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18766   if (!SWIG_IsOK(res1
)) { 
18767     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
18769   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18772     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
18776     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
18779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18780     (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
18781     wxPyEndAllowThreads(__tstate
); 
18782     if (PyErr_Occurred()) SWIG_fail
; 
18784   resultobj 
= SWIG_Py_Void(); 
18791 SWIGINTERN PyObject 
*_wrap_DC_DrawIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18792   PyObject 
*resultobj 
= 0; 
18793   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18805   PyObject 
* obj0 
= 0 ; 
18806   PyObject 
* obj1 
= 0 ; 
18807   PyObject 
* obj2 
= 0 ; 
18808   PyObject 
* obj3 
= 0 ; 
18809   char *  kwnames
[] = { 
18810     (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
18813   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
18814   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18815   if (!SWIG_IsOK(res1
)) { 
18816     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");  
18818   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18819   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
18820   if (!SWIG_IsOK(res2
)) { 
18821     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
18824     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
18826   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
18827   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18828   if (!SWIG_IsOK(ecode3
)) { 
18829     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'"); 
18831   arg3 
= static_cast< int >(val3
); 
18832   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18833   if (!SWIG_IsOK(ecode4
)) { 
18834     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'"); 
18836   arg4 
= static_cast< int >(val4
); 
18838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18839     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
18840     wxPyEndAllowThreads(__tstate
); 
18841     if (PyErr_Occurred()) SWIG_fail
; 
18843   resultobj 
= SWIG_Py_Void(); 
18850 SWIGINTERN PyObject 
*_wrap_DC_DrawIconPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18851   PyObject 
*resultobj 
= 0; 
18852   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18854   wxPoint 
*arg3 
= 0 ; 
18860   PyObject 
* obj0 
= 0 ; 
18861   PyObject 
* obj1 
= 0 ; 
18862   PyObject 
* obj2 
= 0 ; 
18863   char *  kwnames
[] = { 
18864     (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
18867   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18868   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18869   if (!SWIG_IsOK(res1
)) { 
18870     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
18872   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18873   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
18874   if (!SWIG_IsOK(res2
)) { 
18875     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
18878     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
18880   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
18883     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
18886     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18887     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
18888     wxPyEndAllowThreads(__tstate
); 
18889     if (PyErr_Occurred()) SWIG_fail
; 
18891   resultobj 
= SWIG_Py_Void(); 
18898 SWIGINTERN PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18899   PyObject 
*resultobj 
= 0; 
18900   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18901   wxBitmap 
*arg2 
= 0 ; 
18904   bool arg5 
= (bool) false ; 
18915   PyObject 
* obj0 
= 0 ; 
18916   PyObject 
* obj1 
= 0 ; 
18917   PyObject 
* obj2 
= 0 ; 
18918   PyObject 
* obj3 
= 0 ; 
18919   PyObject 
* obj4 
= 0 ; 
18920   char *  kwnames
[] = { 
18921     (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
18924   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
18925   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18926   if (!SWIG_IsOK(res1
)) { 
18927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");  
18929   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18930   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
18931   if (!SWIG_IsOK(res2
)) { 
18932     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
18935     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
18937   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
18938   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18939   if (!SWIG_IsOK(ecode3
)) { 
18940     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'"); 
18942   arg3 
= static_cast< int >(val3
); 
18943   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
18944   if (!SWIG_IsOK(ecode4
)) { 
18945     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'"); 
18947   arg4 
= static_cast< int >(val4
); 
18949     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
18950     if (!SWIG_IsOK(ecode5
)) { 
18951       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'"); 
18953     arg5 
= static_cast< bool >(val5
); 
18956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18957     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
18958     wxPyEndAllowThreads(__tstate
); 
18959     if (PyErr_Occurred()) SWIG_fail
; 
18961   resultobj 
= SWIG_Py_Void(); 
18968 SWIGINTERN PyObject 
*_wrap_DC_DrawBitmapPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18969   PyObject 
*resultobj 
= 0; 
18970   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18971   wxBitmap 
*arg2 
= 0 ; 
18972   wxPoint 
*arg3 
= 0 ; 
18973   bool arg4 
= (bool) false ; 
18981   PyObject 
* obj0 
= 0 ; 
18982   PyObject 
* obj1 
= 0 ; 
18983   PyObject 
* obj2 
= 0 ; 
18984   PyObject 
* obj3 
= 0 ; 
18985   char *  kwnames
[] = { 
18986     (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
18989   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
18990   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18991   if (!SWIG_IsOK(res1
)) { 
18992     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
18994   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18995   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
18996   if (!SWIG_IsOK(res2
)) { 
18997     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
19000     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
19002   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
19005     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
19008     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
19009     if (!SWIG_IsOK(ecode4
)) { 
19010       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'"); 
19012     arg4 
= static_cast< bool >(val4
); 
19015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19016     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
19017     wxPyEndAllowThreads(__tstate
); 
19018     if (PyErr_Occurred()) SWIG_fail
; 
19020   resultobj 
= SWIG_Py_Void(); 
19027 SWIGINTERN PyObject 
*_wrap_DC_DrawText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19028   PyObject 
*resultobj 
= 0; 
19029   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19030   wxString 
*arg2 
= 0 ; 
19035   bool temp2 
= false ; 
19040   PyObject 
* obj0 
= 0 ; 
19041   PyObject 
* obj1 
= 0 ; 
19042   PyObject 
* obj2 
= 0 ; 
19043   PyObject 
* obj3 
= 0 ; 
19044   char *  kwnames
[] = { 
19045     (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
19048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
19049   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19050   if (!SWIG_IsOK(res1
)) { 
19051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");  
19053   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19055     arg2 
= wxString_in_helper(obj1
); 
19056     if (arg2 
== NULL
) SWIG_fail
; 
19059   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19060   if (!SWIG_IsOK(ecode3
)) { 
19061     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'"); 
19063   arg3 
= static_cast< int >(val3
); 
19064   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19065   if (!SWIG_IsOK(ecode4
)) { 
19066     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'"); 
19068   arg4 
= static_cast< int >(val4
); 
19070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19071     (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
19072     wxPyEndAllowThreads(__tstate
); 
19073     if (PyErr_Occurred()) SWIG_fail
; 
19075   resultobj 
= SWIG_Py_Void(); 
19090 SWIGINTERN PyObject 
*_wrap_DC_DrawTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19091   PyObject 
*resultobj 
= 0; 
19092   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19093   wxString 
*arg2 
= 0 ; 
19094   wxPoint 
*arg3 
= 0 ; 
19097   bool temp2 
= false ; 
19099   PyObject 
* obj0 
= 0 ; 
19100   PyObject 
* obj1 
= 0 ; 
19101   PyObject 
* obj2 
= 0 ; 
19102   char *  kwnames
[] = { 
19103     (char *) "self",(char *) "text",(char *) "pt", NULL 
 
19106   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19107   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19108   if (!SWIG_IsOK(res1
)) { 
19109     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
19111   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19113     arg2 
= wxString_in_helper(obj1
); 
19114     if (arg2 
== NULL
) SWIG_fail
; 
19119     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
19122     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19123     (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
19124     wxPyEndAllowThreads(__tstate
); 
19125     if (PyErr_Occurred()) SWIG_fail
; 
19127   resultobj 
= SWIG_Py_Void(); 
19142 SWIGINTERN PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19143   PyObject 
*resultobj 
= 0; 
19144   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19145   wxString 
*arg2 
= 0 ; 
19151   bool temp2 
= false ; 
19158   PyObject 
* obj0 
= 0 ; 
19159   PyObject 
* obj1 
= 0 ; 
19160   PyObject 
* obj2 
= 0 ; 
19161   PyObject 
* obj3 
= 0 ; 
19162   PyObject 
* obj4 
= 0 ; 
19163   char *  kwnames
[] = { 
19164     (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
19167   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19168   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19169   if (!SWIG_IsOK(res1
)) { 
19170     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");  
19172   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19174     arg2 
= wxString_in_helper(obj1
); 
19175     if (arg2 
== NULL
) SWIG_fail
; 
19178   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19179   if (!SWIG_IsOK(ecode3
)) { 
19180     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'"); 
19182   arg3 
= static_cast< int >(val3
); 
19183   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19184   if (!SWIG_IsOK(ecode4
)) { 
19185     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'"); 
19187   arg4 
= static_cast< int >(val4
); 
19188   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
19189   if (!SWIG_IsOK(ecode5
)) { 
19190     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'"); 
19192   arg5 
= static_cast< double >(val5
); 
19194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19195     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
19196     wxPyEndAllowThreads(__tstate
); 
19197     if (PyErr_Occurred()) SWIG_fail
; 
19199   resultobj 
= SWIG_Py_Void(); 
19214 SWIGINTERN PyObject 
*_wrap_DC_DrawRotatedTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19215   PyObject 
*resultobj 
= 0; 
19216   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19217   wxString 
*arg2 
= 0 ; 
19218   wxPoint 
*arg3 
= 0 ; 
19222   bool temp2 
= false ; 
19226   PyObject 
* obj0 
= 0 ; 
19227   PyObject 
* obj1 
= 0 ; 
19228   PyObject 
* obj2 
= 0 ; 
19229   PyObject 
* obj3 
= 0 ; 
19230   char *  kwnames
[] = { 
19231     (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
19234   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
19235   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19236   if (!SWIG_IsOK(res1
)) { 
19237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
19239   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19241     arg2 
= wxString_in_helper(obj1
); 
19242     if (arg2 
== NULL
) SWIG_fail
; 
19247     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
19249   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
19250   if (!SWIG_IsOK(ecode4
)) { 
19251     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'"); 
19253   arg4 
= static_cast< double >(val4
); 
19255     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19256     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
19257     wxPyEndAllowThreads(__tstate
); 
19258     if (PyErr_Occurred()) SWIG_fail
; 
19260   resultobj 
= SWIG_Py_Void(); 
19275 SWIGINTERN PyObject 
*_wrap_DC_Blit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19276   PyObject 
*resultobj 
= 0; 
19277   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19282   wxDC 
*arg6 
= (wxDC 
*) 0 ; 
19285   int arg9 
= (int) wxCOPY 
; 
19286   bool arg10 
= (bool) false ; 
19287   int arg11 
= (int) -1 ; 
19288   int arg12 
= (int) -1 ; 
19314   PyObject 
* obj0 
= 0 ; 
19315   PyObject 
* obj1 
= 0 ; 
19316   PyObject 
* obj2 
= 0 ; 
19317   PyObject 
* obj3 
= 0 ; 
19318   PyObject 
* obj4 
= 0 ; 
19319   PyObject 
* obj5 
= 0 ; 
19320   PyObject 
* obj6 
= 0 ; 
19321   PyObject 
* obj7 
= 0 ; 
19322   PyObject 
* obj8 
= 0 ; 
19323   PyObject 
* obj9 
= 0 ; 
19324   PyObject 
* obj10 
= 0 ; 
19325   PyObject 
* obj11 
= 0 ; 
19326   char *  kwnames
[] = { 
19327     (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 
 
19330   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
; 
19331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19332   if (!SWIG_IsOK(res1
)) { 
19333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");  
19335   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19336   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19337   if (!SWIG_IsOK(ecode2
)) { 
19338     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'"); 
19340   arg2 
= static_cast< int >(val2
); 
19341   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19342   if (!SWIG_IsOK(ecode3
)) { 
19343     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'"); 
19345   arg3 
= static_cast< int >(val3
); 
19346   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19347   if (!SWIG_IsOK(ecode4
)) { 
19348     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'"); 
19350   arg4 
= static_cast< int >(val4
); 
19351   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19352   if (!SWIG_IsOK(ecode5
)) { 
19353     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'"); 
19355   arg5 
= static_cast< int >(val5
); 
19356   res6 
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19357   if (!SWIG_IsOK(res6
)) { 
19358     SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");  
19360   arg6 
= reinterpret_cast< wxDC 
* >(argp6
); 
19361   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
19362   if (!SWIG_IsOK(ecode7
)) { 
19363     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'"); 
19365   arg7 
= static_cast< int >(val7
); 
19366   ecode8 
= SWIG_AsVal_int(obj7
, &val8
); 
19367   if (!SWIG_IsOK(ecode8
)) { 
19368     SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'"); 
19370   arg8 
= static_cast< int >(val8
); 
19372     ecode9 
= SWIG_AsVal_int(obj8
, &val9
); 
19373     if (!SWIG_IsOK(ecode9
)) { 
19374       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'"); 
19376     arg9 
= static_cast< int >(val9
); 
19379     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
19380     if (!SWIG_IsOK(ecode10
)) { 
19381       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'"); 
19383     arg10 
= static_cast< bool >(val10
); 
19386     ecode11 
= SWIG_AsVal_int(obj10
, &val11
); 
19387     if (!SWIG_IsOK(ecode11
)) { 
19388       SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'"); 
19390     arg11 
= static_cast< int >(val11
); 
19393     ecode12 
= SWIG_AsVal_int(obj11
, &val12
); 
19394     if (!SWIG_IsOK(ecode12
)) { 
19395       SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'"); 
19397     arg12 
= static_cast< int >(val12
); 
19400     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19401     result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
19402     wxPyEndAllowThreads(__tstate
); 
19403     if (PyErr_Occurred()) SWIG_fail
; 
19406     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19414 SWIGINTERN PyObject 
*_wrap_DC_BlitPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19415   PyObject 
*resultobj 
= 0; 
19416   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19417   wxPoint 
*arg2 
= 0 ; 
19419   wxDC 
*arg4 
= (wxDC 
*) 0 ; 
19420   wxPoint 
*arg5 
= 0 ; 
19421   int arg6 
= (int) wxCOPY 
; 
19422   bool arg7 
= (bool) false ; 
19423   wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
19424   wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
19438   PyObject 
* obj0 
= 0 ; 
19439   PyObject 
* obj1 
= 0 ; 
19440   PyObject 
* obj2 
= 0 ; 
19441   PyObject 
* obj3 
= 0 ; 
19442   PyObject 
* obj4 
= 0 ; 
19443   PyObject 
* obj5 
= 0 ; 
19444   PyObject 
* obj6 
= 0 ; 
19445   PyObject 
* obj7 
= 0 ; 
19446   char *  kwnames
[] = { 
19447     (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
19450   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
19451   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19452   if (!SWIG_IsOK(res1
)) { 
19453     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
19455   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19458     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
19462     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
19464   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19465   if (!SWIG_IsOK(res4
)) { 
19466     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");  
19468   arg4 
= reinterpret_cast< wxDC 
* >(argp4
); 
19471     if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
19474     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
19475     if (!SWIG_IsOK(ecode6
)) { 
19476       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'"); 
19478     arg6 
= static_cast< int >(val6
); 
19481     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
19482     if (!SWIG_IsOK(ecode7
)) { 
19483       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'"); 
19485     arg7 
= static_cast< bool >(val7
); 
19490       if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
19494     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19495     result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
19496     wxPyEndAllowThreads(__tstate
); 
19497     if (PyErr_Occurred()) SWIG_fail
; 
19500     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19508 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19509   PyObject 
*resultobj 
= 0; 
19510   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19525   PyObject 
* obj0 
= 0 ; 
19526   PyObject 
* obj1 
= 0 ; 
19527   PyObject 
* obj2 
= 0 ; 
19528   PyObject 
* obj3 
= 0 ; 
19529   PyObject 
* obj4 
= 0 ; 
19530   char *  kwnames
[] = { 
19531     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
19534   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19535   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19536   if (!SWIG_IsOK(res1
)) { 
19537     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");  
19539   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19540   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19541   if (!SWIG_IsOK(ecode2
)) { 
19542     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'"); 
19544   arg2 
= static_cast< int >(val2
); 
19545   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19546   if (!SWIG_IsOK(ecode3
)) { 
19547     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'"); 
19549   arg3 
= static_cast< int >(val3
); 
19550   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19551   if (!SWIG_IsOK(ecode4
)) { 
19552     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'"); 
19554   arg4 
= static_cast< int >(val4
); 
19555   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19556   if (!SWIG_IsOK(ecode5
)) { 
19557     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'"); 
19559   arg5 
= static_cast< int >(val5
); 
19561     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19562     (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
19563     wxPyEndAllowThreads(__tstate
); 
19564     if (PyErr_Occurred()) SWIG_fail
; 
19566   resultobj 
= SWIG_Py_Void(); 
19573 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRegionPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19574   PyObject 
*resultobj 
= 0; 
19575   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19576   wxPoint 
*arg2 
= 0 ; 
19582   PyObject 
* obj0 
= 0 ; 
19583   PyObject 
* obj1 
= 0 ; 
19584   PyObject 
* obj2 
= 0 ; 
19585   char *  kwnames
[] = { 
19586     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
19589   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19590   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19591   if (!SWIG_IsOK(res1
)) { 
19592     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
19594   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19597     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
19601     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
19604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19605     (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
19606     wxPyEndAllowThreads(__tstate
); 
19607     if (PyErr_Occurred()) SWIG_fail
; 
19609   resultobj 
= SWIG_Py_Void(); 
19616 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19617   PyObject 
*resultobj 
= 0; 
19618   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19619   wxRegion 
*arg2 
= 0 ; 
19624   PyObject 
* obj0 
= 0 ; 
19625   PyObject 
* obj1 
= 0 ; 
19626   char *  kwnames
[] = { 
19627     (char *) "self",(char *) "region", NULL 
 
19630   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19631   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19632   if (!SWIG_IsOK(res1
)) { 
19633     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");  
19635   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19636   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
19637   if (!SWIG_IsOK(res2
)) { 
19638     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
19641     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
19643   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
19645     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19646     (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
19647     wxPyEndAllowThreads(__tstate
); 
19648     if (PyErr_Occurred()) SWIG_fail
; 
19650   resultobj 
= SWIG_Py_Void(); 
19657 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19658   PyObject 
*resultobj 
= 0; 
19659   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19664   PyObject 
* obj0 
= 0 ; 
19665   PyObject 
* obj1 
= 0 ; 
19666   char *  kwnames
[] = { 
19667     (char *) "self",(char *) "rect", NULL 
 
19670   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19671   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19672   if (!SWIG_IsOK(res1
)) { 
19673     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");  
19675   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19678     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
19681     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19682     (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
19683     wxPyEndAllowThreads(__tstate
); 
19684     if (PyErr_Occurred()) SWIG_fail
; 
19686   resultobj 
= SWIG_Py_Void(); 
19693 SWIGINTERN PyObject 
*_wrap_DC_DrawLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19694   PyObject 
*resultobj 
= 0; 
19695   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19697   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
19698   int arg4 
= (int) 0 ; 
19699   int arg5 
= (int) 0 ; 
19706   PyObject 
* obj0 
= 0 ; 
19707   PyObject 
* obj1 
= 0 ; 
19708   PyObject 
* obj2 
= 0 ; 
19709   PyObject 
* obj3 
= 0 ; 
19710   char *  kwnames
[] = { 
19711     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
19714   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
19715   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19716   if (!SWIG_IsOK(res1
)) { 
19717     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");  
19719   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19721     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
19722     if (arg3 
== NULL
) SWIG_fail
; 
19725     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
19726     if (!SWIG_IsOK(ecode4
)) { 
19727       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'"); 
19729     arg4 
= static_cast< int >(val4
); 
19732     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
19733     if (!SWIG_IsOK(ecode5
)) { 
19734       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'"); 
19736     arg5 
= static_cast< int >(val5
); 
19739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19740     (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
19741     wxPyEndAllowThreads(__tstate
); 
19742     if (PyErr_Occurred()) SWIG_fail
; 
19744   resultobj 
= SWIG_Py_Void(); 
19746     if (arg3
) delete [] arg3
; 
19751     if (arg3
) delete [] arg3
; 
19757 SWIGINTERN PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19758   PyObject 
*resultobj 
= 0; 
19759   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19761   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
19762   int arg4 
= (int) 0 ; 
19763   int arg5 
= (int) 0 ; 
19764   int arg6 
= (int) wxODDEVEN_RULE 
; 
19773   PyObject 
* obj0 
= 0 ; 
19774   PyObject 
* obj1 
= 0 ; 
19775   PyObject 
* obj2 
= 0 ; 
19776   PyObject 
* obj3 
= 0 ; 
19777   PyObject 
* obj4 
= 0 ; 
19778   char *  kwnames
[] = { 
19779     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
19782   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19783   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19784   if (!SWIG_IsOK(res1
)) { 
19785     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");  
19787   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19789     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
19790     if (arg3 
== NULL
) SWIG_fail
; 
19793     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
19794     if (!SWIG_IsOK(ecode4
)) { 
19795       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'"); 
19797     arg4 
= static_cast< int >(val4
); 
19800     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
19801     if (!SWIG_IsOK(ecode5
)) { 
19802       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'"); 
19804     arg5 
= static_cast< int >(val5
); 
19807     ecode6 
= SWIG_AsVal_int(obj4
, &val6
); 
19808     if (!SWIG_IsOK(ecode6
)) { 
19809       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'"); 
19811     arg6 
= static_cast< int >(val6
); 
19814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19815     (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
19816     wxPyEndAllowThreads(__tstate
); 
19817     if (PyErr_Occurred()) SWIG_fail
; 
19819   resultobj 
= SWIG_Py_Void(); 
19821     if (arg3
) delete [] arg3
; 
19826     if (arg3
) delete [] arg3
; 
19832 SWIGINTERN PyObject 
*_wrap_DC_DrawLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19833   PyObject 
*resultobj 
= 0; 
19834   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19835   wxString 
*arg2 
= 0 ; 
19837   int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
19838   int arg5 
= (int) -1 ; 
19841   bool temp2 
= false ; 
19847   PyObject 
* obj0 
= 0 ; 
19848   PyObject 
* obj1 
= 0 ; 
19849   PyObject 
* obj2 
= 0 ; 
19850   PyObject 
* obj3 
= 0 ; 
19851   PyObject 
* obj4 
= 0 ; 
19852   char *  kwnames
[] = { 
19853     (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
19856   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19857   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19858   if (!SWIG_IsOK(res1
)) { 
19859     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");  
19861   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19863     arg2 
= wxString_in_helper(obj1
); 
19864     if (arg2 
== NULL
) SWIG_fail
; 
19869     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
19872     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
19873     if (!SWIG_IsOK(ecode4
)) { 
19874       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'"); 
19876     arg4 
= static_cast< int >(val4
); 
19879     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19880     if (!SWIG_IsOK(ecode5
)) { 
19881       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'"); 
19883     arg5 
= static_cast< int >(val5
); 
19886     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19887     (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
19888     wxPyEndAllowThreads(__tstate
); 
19889     if (PyErr_Occurred()) SWIG_fail
; 
19891   resultobj 
= SWIG_Py_Void(); 
19906 SWIGINTERN PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19907   PyObject 
*resultobj 
= 0; 
19908   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19909   wxString 
*arg2 
= 0 ; 
19910   wxBitmap 
*arg3 
= 0 ; 
19912   int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
19913   int arg6 
= (int) -1 ; 
19917   bool temp2 
= false ; 
19925   PyObject 
* obj0 
= 0 ; 
19926   PyObject 
* obj1 
= 0 ; 
19927   PyObject 
* obj2 
= 0 ; 
19928   PyObject 
* obj3 
= 0 ; 
19929   PyObject 
* obj4 
= 0 ; 
19930   PyObject 
* obj5 
= 0 ; 
19931   char *  kwnames
[] = { 
19932     (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
19935   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
19936   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19937   if (!SWIG_IsOK(res1
)) { 
19938     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");  
19940   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19942     arg2 
= wxString_in_helper(obj1
); 
19943     if (arg2 
== NULL
) SWIG_fail
; 
19946   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
19947   if (!SWIG_IsOK(res3
)) { 
19948     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
19951     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
19953   arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
19956     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
19959     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19960     if (!SWIG_IsOK(ecode5
)) { 
19961       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'"); 
19963     arg5 
= static_cast< int >(val5
); 
19966     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
19967     if (!SWIG_IsOK(ecode6
)) { 
19968       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'"); 
19970     arg6 
= static_cast< int >(val6
); 
19973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19974     result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
19975     wxPyEndAllowThreads(__tstate
); 
19976     if (PyErr_Occurred()) SWIG_fail
; 
19978   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
19993 SWIGINTERN PyObject 
*_wrap_DC_DrawSpline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19994   PyObject 
*resultobj 
= 0; 
19995   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19997   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
20000   PyObject 
* obj0 
= 0 ; 
20001   PyObject 
* obj1 
= 0 ; 
20002   char *  kwnames
[] = { 
20003     (char *) "self",(char *) "points", NULL 
 
20006   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20007   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20008   if (!SWIG_IsOK(res1
)) { 
20009     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");  
20011   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20013     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
20014     if (arg3 
== NULL
) SWIG_fail
; 
20017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20018     (arg1
)->DrawSpline(arg2
,arg3
); 
20019     wxPyEndAllowThreads(__tstate
); 
20020     if (PyErr_Occurred()) SWIG_fail
; 
20022   resultobj 
= SWIG_Py_Void(); 
20024     if (arg3
) delete [] arg3
; 
20029     if (arg3
) delete [] arg3
; 
20035 SWIGINTERN PyObject 
*_wrap_DC_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20036   PyObject 
*resultobj 
= 0; 
20037   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20040   PyObject 
*swig_obj
[1] ; 
20042   if (!args
) SWIG_fail
; 
20043   swig_obj
[0] = args
; 
20044   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20045   if (!SWIG_IsOK(res1
)) { 
20046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");  
20048   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20050     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20052     wxPyEndAllowThreads(__tstate
); 
20053     if (PyErr_Occurred()) SWIG_fail
; 
20055   resultobj 
= SWIG_Py_Void(); 
20062 SWIGINTERN PyObject 
*_wrap_DC_StartDoc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20063   PyObject 
*resultobj 
= 0; 
20064   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20065   wxString 
*arg2 
= 0 ; 
20069   bool temp2 
= false ; 
20070   PyObject 
* obj0 
= 0 ; 
20071   PyObject 
* obj1 
= 0 ; 
20072   char *  kwnames
[] = { 
20073     (char *) "self",(char *) "message", NULL 
 
20076   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20077   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20078   if (!SWIG_IsOK(res1
)) { 
20079     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");  
20081   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20083     arg2 
= wxString_in_helper(obj1
); 
20084     if (arg2 
== NULL
) SWIG_fail
; 
20088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20089     result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
20090     wxPyEndAllowThreads(__tstate
); 
20091     if (PyErr_Occurred()) SWIG_fail
; 
20094     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20110 SWIGINTERN PyObject 
*_wrap_DC_EndDoc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20111   PyObject 
*resultobj 
= 0; 
20112   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20115   PyObject 
*swig_obj
[1] ; 
20117   if (!args
) SWIG_fail
; 
20118   swig_obj
[0] = args
; 
20119   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20120   if (!SWIG_IsOK(res1
)) { 
20121     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");  
20123   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20125     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20127     wxPyEndAllowThreads(__tstate
); 
20128     if (PyErr_Occurred()) SWIG_fail
; 
20130   resultobj 
= SWIG_Py_Void(); 
20137 SWIGINTERN PyObject 
*_wrap_DC_StartPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20138   PyObject 
*resultobj 
= 0; 
20139   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20142   PyObject 
*swig_obj
[1] ; 
20144   if (!args
) SWIG_fail
; 
20145   swig_obj
[0] = args
; 
20146   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20147   if (!SWIG_IsOK(res1
)) { 
20148     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");  
20150   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20153     (arg1
)->StartPage(); 
20154     wxPyEndAllowThreads(__tstate
); 
20155     if (PyErr_Occurred()) SWIG_fail
; 
20157   resultobj 
= SWIG_Py_Void(); 
20164 SWIGINTERN PyObject 
*_wrap_DC_EndPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20165   PyObject 
*resultobj 
= 0; 
20166   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20169   PyObject 
*swig_obj
[1] ; 
20171   if (!args
) SWIG_fail
; 
20172   swig_obj
[0] = args
; 
20173   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20174   if (!SWIG_IsOK(res1
)) { 
20175     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");  
20177   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20181     wxPyEndAllowThreads(__tstate
); 
20182     if (PyErr_Occurred()) SWIG_fail
; 
20184   resultobj 
= SWIG_Py_Void(); 
20191 SWIGINTERN PyObject 
*_wrap_DC_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20192   PyObject 
*resultobj 
= 0; 
20193   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20199   PyObject 
* obj0 
= 0 ; 
20200   PyObject 
* obj1 
= 0 ; 
20201   char *  kwnames
[] = { 
20202     (char *) "self",(char *) "font", NULL 
 
20205   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20206   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20207   if (!SWIG_IsOK(res1
)) { 
20208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");  
20210   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20211   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
20212   if (!SWIG_IsOK(res2
)) { 
20213     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
20216     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
20218   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
20220     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20221     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
20222     wxPyEndAllowThreads(__tstate
); 
20223     if (PyErr_Occurred()) SWIG_fail
; 
20225   resultobj 
= SWIG_Py_Void(); 
20232 SWIGINTERN PyObject 
*_wrap_DC_SetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20233   PyObject 
*resultobj 
= 0; 
20234   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20240   PyObject 
* obj0 
= 0 ; 
20241   PyObject 
* obj1 
= 0 ; 
20242   char *  kwnames
[] = { 
20243     (char *) "self",(char *) "pen", NULL 
 
20246   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20247   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20248   if (!SWIG_IsOK(res1
)) { 
20249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");  
20251   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20252   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
,  0  | 0); 
20253   if (!SWIG_IsOK(res2
)) { 
20254     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
20257     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
20259   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
20261     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20262     (arg1
)->SetPen((wxPen 
const &)*arg2
); 
20263     wxPyEndAllowThreads(__tstate
); 
20264     if (PyErr_Occurred()) SWIG_fail
; 
20266   resultobj 
= SWIG_Py_Void(); 
20273 SWIGINTERN PyObject 
*_wrap_DC_SetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20274   PyObject 
*resultobj 
= 0; 
20275   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20276   wxBrush 
*arg2 
= 0 ; 
20281   PyObject 
* obj0 
= 0 ; 
20282   PyObject 
* obj1 
= 0 ; 
20283   char *  kwnames
[] = { 
20284     (char *) "self",(char *) "brush", NULL 
 
20287   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20288   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20289   if (!SWIG_IsOK(res1
)) { 
20290     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");  
20292   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20293   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
20294   if (!SWIG_IsOK(res2
)) { 
20295     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
20298     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
20300   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
20302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20303     (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
20304     wxPyEndAllowThreads(__tstate
); 
20305     if (PyErr_Occurred()) SWIG_fail
; 
20307   resultobj 
= SWIG_Py_Void(); 
20314 SWIGINTERN PyObject 
*_wrap_DC_SetBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20315   PyObject 
*resultobj 
= 0; 
20316   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20317   wxBrush 
*arg2 
= 0 ; 
20322   PyObject 
* obj0 
= 0 ; 
20323   PyObject 
* obj1 
= 0 ; 
20324   char *  kwnames
[] = { 
20325     (char *) "self",(char *) "brush", NULL 
 
20328   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20329   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20330   if (!SWIG_IsOK(res1
)) { 
20331     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");  
20333   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20334   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
20335   if (!SWIG_IsOK(res2
)) { 
20336     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
20339     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
20341   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
20343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20344     (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
20345     wxPyEndAllowThreads(__tstate
); 
20346     if (PyErr_Occurred()) SWIG_fail
; 
20348   resultobj 
= SWIG_Py_Void(); 
20355 SWIGINTERN PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20356   PyObject 
*resultobj 
= 0; 
20357   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20363   PyObject 
* obj0 
= 0 ; 
20364   PyObject 
* obj1 
= 0 ; 
20365   char *  kwnames
[] = { 
20366     (char *) "self",(char *) "mode", NULL 
 
20369   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20370   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20371   if (!SWIG_IsOK(res1
)) { 
20372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");  
20374   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20375   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20376   if (!SWIG_IsOK(ecode2
)) { 
20377     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'"); 
20379   arg2 
= static_cast< int >(val2
); 
20381     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20382     (arg1
)->SetBackgroundMode(arg2
); 
20383     wxPyEndAllowThreads(__tstate
); 
20384     if (PyErr_Occurred()) SWIG_fail
; 
20386   resultobj 
= SWIG_Py_Void(); 
20393 SWIGINTERN PyObject 
*_wrap_DC_SetPalette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20394   PyObject 
*resultobj 
= 0; 
20395   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20396   wxPalette 
*arg2 
= 0 ; 
20401   PyObject 
* obj0 
= 0 ; 
20402   PyObject 
* obj1 
= 0 ; 
20403   char *  kwnames
[] = { 
20404     (char *) "self",(char *) "palette", NULL 
 
20407   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20408   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20409   if (!SWIG_IsOK(res1
)) { 
20410     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");  
20412   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20413   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
,  0  | 0); 
20414   if (!SWIG_IsOK(res2
)) { 
20415     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
20418     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
20420   arg2 
= reinterpret_cast< wxPalette 
* >(argp2
); 
20422     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20423     (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
20424     wxPyEndAllowThreads(__tstate
); 
20425     if (PyErr_Occurred()) SWIG_fail
; 
20427   resultobj 
= SWIG_Py_Void(); 
20434 SWIGINTERN PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20435   PyObject 
*resultobj 
= 0; 
20436   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20439   PyObject 
*swig_obj
[1] ; 
20441   if (!args
) SWIG_fail
; 
20442   swig_obj
[0] = args
; 
20443   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20444   if (!SWIG_IsOK(res1
)) { 
20445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");  
20447   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20450     (arg1
)->DestroyClippingRegion(); 
20451     wxPyEndAllowThreads(__tstate
); 
20452     if (PyErr_Occurred()) SWIG_fail
; 
20454   resultobj 
= SWIG_Py_Void(); 
20461 SWIGINTERN PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20462   PyObject 
*resultobj 
= 0; 
20463   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20464   int *arg2 
= (int *) 0 ; 
20465   int *arg3 
= (int *) 0 ; 
20466   int *arg4 
= (int *) 0 ; 
20467   int *arg5 
= (int *) 0 ; 
20471   int res2 
= SWIG_TMPOBJ 
; 
20473   int res3 
= SWIG_TMPOBJ 
; 
20475   int res4 
= SWIG_TMPOBJ 
; 
20477   int res5 
= SWIG_TMPOBJ 
; 
20478   PyObject 
*swig_obj
[1] ; 
20484   if (!args
) SWIG_fail
; 
20485   swig_obj
[0] = args
; 
20486   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20487   if (!SWIG_IsOK(res1
)) { 
20488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");  
20490   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20493     ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
20494     wxPyEndAllowThreads(__tstate
); 
20495     if (PyErr_Occurred()) SWIG_fail
; 
20497   resultobj 
= SWIG_Py_Void(); 
20498   if (SWIG_IsTmpObj(res2
)) { 
20499     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
20501     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20502     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
20504   if (SWIG_IsTmpObj(res3
)) { 
20505     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
20507     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20508     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
20510   if (SWIG_IsTmpObj(res4
)) { 
20511     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
20513     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20514     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
20516   if (SWIG_IsTmpObj(res5
)) { 
20517     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
20519     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20520     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
20528 SWIGINTERN PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20529   PyObject 
*resultobj 
= 0; 
20530   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20534   PyObject 
*swig_obj
[1] ; 
20536   if (!args
) SWIG_fail
; 
20537   swig_obj
[0] = args
; 
20538   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20539   if (!SWIG_IsOK(res1
)) { 
20540     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");  
20542   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20544     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20545     result 
= wxDC_GetClippingRect(arg1
); 
20546     wxPyEndAllowThreads(__tstate
); 
20547     if (PyErr_Occurred()) SWIG_fail
; 
20549   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
20556 SWIGINTERN PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20557   PyObject 
*resultobj 
= 0; 
20558   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20562   PyObject 
*swig_obj
[1] ; 
20564   if (!args
) SWIG_fail
; 
20565   swig_obj
[0] = args
; 
20566   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20567   if (!SWIG_IsOK(res1
)) { 
20568     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");  
20570   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20572     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20573     result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
20574     wxPyEndAllowThreads(__tstate
); 
20575     if (PyErr_Occurred()) SWIG_fail
; 
20577   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20584 SWIGINTERN PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20585   PyObject 
*resultobj 
= 0; 
20586   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20590   PyObject 
*swig_obj
[1] ; 
20592   if (!args
) SWIG_fail
; 
20593   swig_obj
[0] = args
; 
20594   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20595   if (!SWIG_IsOK(res1
)) { 
20596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");  
20598   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20601     result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
20602     wxPyEndAllowThreads(__tstate
); 
20603     if (PyErr_Occurred()) SWIG_fail
; 
20605   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20612 SWIGINTERN PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20613   PyObject 
*resultobj 
= 0; 
20614   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20615   wxString 
*arg2 
= 0 ; 
20616   int *arg3 
= (int *) 0 ; 
20617   int *arg4 
= (int *) 0 ; 
20620   bool temp2 
= false ; 
20622   int res3 
= SWIG_TMPOBJ 
; 
20624   int res4 
= SWIG_TMPOBJ 
; 
20625   PyObject 
* obj0 
= 0 ; 
20626   PyObject 
* obj1 
= 0 ; 
20627   char *  kwnames
[] = { 
20628     (char *) "self",(char *) "string", NULL 
 
20633   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20634   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20635   if (!SWIG_IsOK(res1
)) { 
20636     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");  
20638   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20640     arg2 
= wxString_in_helper(obj1
); 
20641     if (arg2 
== NULL
) SWIG_fail
; 
20645     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20646     (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
20647     wxPyEndAllowThreads(__tstate
); 
20648     if (PyErr_Occurred()) SWIG_fail
; 
20650   resultobj 
= SWIG_Py_Void(); 
20651   if (SWIG_IsTmpObj(res3
)) { 
20652     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
20654     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20655     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
20657   if (SWIG_IsTmpObj(res4
)) { 
20658     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
20660     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20661     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
20677 SWIGINTERN PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20678   PyObject 
*resultobj 
= 0; 
20679   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20680   wxString 
*arg2 
= 0 ; 
20681   int *arg3 
= (int *) 0 ; 
20682   int *arg4 
= (int *) 0 ; 
20683   int *arg5 
= (int *) 0 ; 
20684   int *arg6 
= (int *) 0 ; 
20685   wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
20688   bool temp2 
= false ; 
20690   int res3 
= SWIG_TMPOBJ 
; 
20692   int res4 
= SWIG_TMPOBJ 
; 
20694   int res5 
= SWIG_TMPOBJ 
; 
20696   int res6 
= SWIG_TMPOBJ 
; 
20699   PyObject 
* obj0 
= 0 ; 
20700   PyObject 
* obj1 
= 0 ; 
20701   PyObject 
* obj2 
= 0 ; 
20702   char *  kwnames
[] = { 
20703     (char *) "self",(char *) "string",(char *) "font", NULL 
 
20710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
20711   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20712   if (!SWIG_IsOK(res1
)) { 
20713     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");  
20715   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20717     arg2 
= wxString_in_helper(obj1
); 
20718     if (arg2 
== NULL
) SWIG_fail
; 
20722     res7 
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
20723     if (!SWIG_IsOK(res7
)) { 
20724       SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");  
20726     arg7 
= reinterpret_cast< wxFont 
* >(argp7
); 
20729     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20730     (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
20731     wxPyEndAllowThreads(__tstate
); 
20732     if (PyErr_Occurred()) SWIG_fail
; 
20734   resultobj 
= SWIG_Py_Void(); 
20735   if (SWIG_IsTmpObj(res3
)) { 
20736     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
20738     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20739     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
20741   if (SWIG_IsTmpObj(res4
)) { 
20742     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
20744     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20745     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
20747   if (SWIG_IsTmpObj(res5
)) { 
20748     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
20750     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20751     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
20753   if (SWIG_IsTmpObj(res6
)) { 
20754     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
))); 
20756     int new_flags 
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20757     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
)); 
20773 SWIGINTERN PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20774   PyObject 
*resultobj 
= 0; 
20775   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20776   wxString 
*arg2 
= 0 ; 
20777   int *arg3 
= (int *) 0 ; 
20778   int *arg4 
= (int *) 0 ; 
20779   int *arg5 
= (int *) 0 ; 
20780   wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
20783   bool temp2 
= false ; 
20785   int res3 
= SWIG_TMPOBJ 
; 
20787   int res4 
= SWIG_TMPOBJ 
; 
20789   int res5 
= SWIG_TMPOBJ 
; 
20792   PyObject 
* obj0 
= 0 ; 
20793   PyObject 
* obj1 
= 0 ; 
20794   PyObject 
* obj2 
= 0 ; 
20795   char *  kwnames
[] = { 
20796     (char *) "self",(char *) "text",(char *) "font", NULL 
 
20802   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
20803   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20804   if (!SWIG_IsOK(res1
)) { 
20805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");  
20807   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20809     arg2 
= wxString_in_helper(obj1
); 
20810     if (arg2 
== NULL
) SWIG_fail
; 
20814     res6 
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
20815     if (!SWIG_IsOK(res6
)) { 
20816       SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");  
20818     arg6 
= reinterpret_cast< wxFont 
* >(argp6
); 
20821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20822     (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
20823     wxPyEndAllowThreads(__tstate
); 
20824     if (PyErr_Occurred()) SWIG_fail
; 
20826   resultobj 
= SWIG_Py_Void(); 
20827   if (SWIG_IsTmpObj(res3
)) { 
20828     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
20830     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20831     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
20833   if (SWIG_IsTmpObj(res4
)) { 
20834     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
20836     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20837     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
20839   if (SWIG_IsTmpObj(res5
)) { 
20840     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
20842     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20843     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
20859 SWIGINTERN PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20860   PyObject 
*resultobj 
= 0; 
20861   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20862   wxString 
*arg2 
= 0 ; 
20866   bool temp2 
= false ; 
20867   PyObject 
* obj0 
= 0 ; 
20868   PyObject 
* obj1 
= 0 ; 
20869   char *  kwnames
[] = { 
20870     (char *) "self",(char *) "text", NULL 
 
20873   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20874   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20875   if (!SWIG_IsOK(res1
)) { 
20876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");  
20878   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20880     arg2 
= wxString_in_helper(obj1
); 
20881     if (arg2 
== NULL
) SWIG_fail
; 
20885     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20886     result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
20887     wxPyEndAllowThreads(__tstate
); 
20888     if (PyErr_Occurred()) SWIG_fail
; 
20891     resultobj 
= wxArrayInt2PyList_helper(result
); 
20907 SWIGINTERN PyObject 
*_wrap_DC_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20908   PyObject 
*resultobj 
= 0; 
20909   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20913   PyObject 
*swig_obj
[1] ; 
20915   if (!args
) SWIG_fail
; 
20916   swig_obj
[0] = args
; 
20917   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20918   if (!SWIG_IsOK(res1
)) { 
20919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");  
20921   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20924     result 
= (arg1
)->GetSize(); 
20925     wxPyEndAllowThreads(__tstate
); 
20926     if (PyErr_Occurred()) SWIG_fail
; 
20928   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
20935 SWIGINTERN PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20936   PyObject 
*resultobj 
= 0; 
20937   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20938   int *arg2 
= (int *) 0 ; 
20939   int *arg3 
= (int *) 0 ; 
20943   int res2 
= SWIG_TMPOBJ 
; 
20945   int res3 
= SWIG_TMPOBJ 
; 
20946   PyObject 
*swig_obj
[1] ; 
20950   if (!args
) SWIG_fail
; 
20951   swig_obj
[0] = args
; 
20952   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20953   if (!SWIG_IsOK(res1
)) { 
20954     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");  
20956   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20958     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20959     (arg1
)->GetSize(arg2
,arg3
); 
20960     wxPyEndAllowThreads(__tstate
); 
20961     if (PyErr_Occurred()) SWIG_fail
; 
20963   resultobj 
= SWIG_Py_Void(); 
20964   if (SWIG_IsTmpObj(res2
)) { 
20965     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
20967     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20968     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
20970   if (SWIG_IsTmpObj(res3
)) { 
20971     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
20973     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20974     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
20982 SWIGINTERN PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20983   PyObject 
*resultobj 
= 0; 
20984   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20988   PyObject 
*swig_obj
[1] ; 
20990   if (!args
) SWIG_fail
; 
20991   swig_obj
[0] = args
; 
20992   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20993   if (!SWIG_IsOK(res1
)) { 
20994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");  
20996   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20998     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20999     result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
21000     wxPyEndAllowThreads(__tstate
); 
21001     if (PyErr_Occurred()) SWIG_fail
; 
21003   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21010 SWIGINTERN PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21011   PyObject 
*resultobj 
= 0; 
21012   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21013   int *arg2 
= (int *) 0 ; 
21014   int *arg3 
= (int *) 0 ; 
21018   int res2 
= SWIG_TMPOBJ 
; 
21020   int res3 
= SWIG_TMPOBJ 
; 
21021   PyObject 
*swig_obj
[1] ; 
21025   if (!args
) SWIG_fail
; 
21026   swig_obj
[0] = args
; 
21027   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21028   if (!SWIG_IsOK(res1
)) { 
21029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");  
21031   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21034     ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
21035     wxPyEndAllowThreads(__tstate
); 
21036     if (PyErr_Occurred()) SWIG_fail
; 
21038   resultobj 
= SWIG_Py_Void(); 
21039   if (SWIG_IsTmpObj(res2
)) { 
21040     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21042     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21043     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21045   if (SWIG_IsTmpObj(res3
)) { 
21046     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21048     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21049     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21057 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21058   PyObject 
*resultobj 
= 0; 
21059   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21066   PyObject 
* obj0 
= 0 ; 
21067   PyObject 
* obj1 
= 0 ; 
21068   char *  kwnames
[] = { 
21069     (char *) "self",(char *) "x", NULL 
 
21072   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21073   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21074   if (!SWIG_IsOK(res1
)) { 
21075     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");  
21077   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21078   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21079   if (!SWIG_IsOK(ecode2
)) { 
21080     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'"); 
21082   arg2 
= static_cast< int >(val2
); 
21084     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21085     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
21086     wxPyEndAllowThreads(__tstate
); 
21087     if (PyErr_Occurred()) SWIG_fail
; 
21089   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21096 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21097   PyObject 
*resultobj 
= 0; 
21098   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21105   PyObject 
* obj0 
= 0 ; 
21106   PyObject 
* obj1 
= 0 ; 
21107   char *  kwnames
[] = { 
21108     (char *) "self",(char *) "y", NULL 
 
21111   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21112   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21113   if (!SWIG_IsOK(res1
)) { 
21114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");  
21116   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21117   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21118   if (!SWIG_IsOK(ecode2
)) { 
21119     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'"); 
21121   arg2 
= static_cast< int >(val2
); 
21123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21124     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
21125     wxPyEndAllowThreads(__tstate
); 
21126     if (PyErr_Occurred()) SWIG_fail
; 
21128   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21135 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21136   PyObject 
*resultobj 
= 0; 
21137   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21144   PyObject 
* obj0 
= 0 ; 
21145   PyObject 
* obj1 
= 0 ; 
21146   char *  kwnames
[] = { 
21147     (char *) "self",(char *) "x", NULL 
 
21150   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21151   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21152   if (!SWIG_IsOK(res1
)) { 
21153     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
21155   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21156   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21157   if (!SWIG_IsOK(ecode2
)) { 
21158     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'"); 
21160   arg2 
= static_cast< int >(val2
); 
21162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21163     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
21164     wxPyEndAllowThreads(__tstate
); 
21165     if (PyErr_Occurred()) SWIG_fail
; 
21167   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21174 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21175   PyObject 
*resultobj 
= 0; 
21176   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21183   PyObject 
* obj0 
= 0 ; 
21184   PyObject 
* obj1 
= 0 ; 
21185   char *  kwnames
[] = { 
21186     (char *) "self",(char *) "y", NULL 
 
21189   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21190   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21191   if (!SWIG_IsOK(res1
)) { 
21192     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
21194   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21195   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21196   if (!SWIG_IsOK(ecode2
)) { 
21197     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'"); 
21199   arg2 
= static_cast< int >(val2
); 
21201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21202     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
21203     wxPyEndAllowThreads(__tstate
); 
21204     if (PyErr_Occurred()) SWIG_fail
; 
21206   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21213 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21214   PyObject 
*resultobj 
= 0; 
21215   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21222   PyObject 
* obj0 
= 0 ; 
21223   PyObject 
* obj1 
= 0 ; 
21224   char *  kwnames
[] = { 
21225     (char *) "self",(char *) "x", NULL 
 
21228   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21229   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21230   if (!SWIG_IsOK(res1
)) { 
21231     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");  
21233   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21234   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21235   if (!SWIG_IsOK(ecode2
)) { 
21236     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'"); 
21238   arg2 
= static_cast< int >(val2
); 
21240     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21241     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
21242     wxPyEndAllowThreads(__tstate
); 
21243     if (PyErr_Occurred()) SWIG_fail
; 
21245   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21252 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21253   PyObject 
*resultobj 
= 0; 
21254   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21261   PyObject 
* obj0 
= 0 ; 
21262   PyObject 
* obj1 
= 0 ; 
21263   char *  kwnames
[] = { 
21264     (char *) "self",(char *) "y", NULL 
 
21267   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21268   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21269   if (!SWIG_IsOK(res1
)) { 
21270     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");  
21272   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21273   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21274   if (!SWIG_IsOK(ecode2
)) { 
21275     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'"); 
21277   arg2 
= static_cast< int >(val2
); 
21279     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21280     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
21281     wxPyEndAllowThreads(__tstate
); 
21282     if (PyErr_Occurred()) SWIG_fail
; 
21284   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21291 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21292   PyObject 
*resultobj 
= 0; 
21293   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21300   PyObject 
* obj0 
= 0 ; 
21301   PyObject 
* obj1 
= 0 ; 
21302   char *  kwnames
[] = { 
21303     (char *) "self",(char *) "x", NULL 
 
21306   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21307   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21308   if (!SWIG_IsOK(res1
)) { 
21309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
21311   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21312   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21313   if (!SWIG_IsOK(ecode2
)) { 
21314     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'"); 
21316   arg2 
= static_cast< int >(val2
); 
21318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21319     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
21320     wxPyEndAllowThreads(__tstate
); 
21321     if (PyErr_Occurred()) SWIG_fail
; 
21323   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21330 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21331   PyObject 
*resultobj 
= 0; 
21332   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21339   PyObject 
* obj0 
= 0 ; 
21340   PyObject 
* obj1 
= 0 ; 
21341   char *  kwnames
[] = { 
21342     (char *) "self",(char *) "y", NULL 
 
21345   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21346   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21347   if (!SWIG_IsOK(res1
)) { 
21348     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
21350   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21351   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21352   if (!SWIG_IsOK(ecode2
)) { 
21353     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'"); 
21355   arg2 
= static_cast< int >(val2
); 
21357     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21358     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
21359     wxPyEndAllowThreads(__tstate
); 
21360     if (PyErr_Occurred()) SWIG_fail
; 
21362   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21369 SWIGINTERN PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21370   PyObject 
*resultobj 
= 0; 
21371   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21375   PyObject 
*swig_obj
[1] ; 
21377   if (!args
) SWIG_fail
; 
21378   swig_obj
[0] = args
; 
21379   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21380   if (!SWIG_IsOK(res1
)) { 
21381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");  
21383   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21385     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21386     result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
21387     wxPyEndAllowThreads(__tstate
); 
21388     if (PyErr_Occurred()) SWIG_fail
; 
21391     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21399 SWIGINTERN PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21400   PyObject 
*resultobj 
= 0; 
21401   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21405   PyObject 
*swig_obj
[1] ; 
21407   if (!args
) SWIG_fail
; 
21408   swig_obj
[0] = args
; 
21409   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21410   if (!SWIG_IsOK(res1
)) { 
21411     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");  
21413   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21415     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21416     result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
21417     wxPyEndAllowThreads(__tstate
); 
21418     if (PyErr_Occurred()) SWIG_fail
; 
21421     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21429 SWIGINTERN PyObject 
*_wrap_DC_GetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21430   PyObject 
*resultobj 
= 0; 
21431   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21435   PyObject 
*swig_obj
[1] ; 
21437   if (!args
) SWIG_fail
; 
21438   swig_obj
[0] = args
; 
21439   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21440   if (!SWIG_IsOK(res1
)) { 
21441     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");  
21443   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21446     result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
21447     wxPyEndAllowThreads(__tstate
); 
21448     if (PyErr_Occurred()) SWIG_fail
; 
21450   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21457 SWIGINTERN PyObject 
*_wrap_DC_GetPPI(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21458   PyObject 
*resultobj 
= 0; 
21459   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21463   PyObject 
*swig_obj
[1] ; 
21465   if (!args
) SWIG_fail
; 
21466   swig_obj
[0] = args
; 
21467   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21468   if (!SWIG_IsOK(res1
)) { 
21469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");  
21471   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21473     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21474     result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
21475     wxPyEndAllowThreads(__tstate
); 
21476     if (PyErr_Occurred()) SWIG_fail
; 
21478   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21485 SWIGINTERN PyObject 
*_wrap_DC_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21486   PyObject 
*resultobj 
= 0; 
21487   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21491   PyObject 
*swig_obj
[1] ; 
21493   if (!args
) SWIG_fail
; 
21494   swig_obj
[0] = args
; 
21495   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21496   if (!SWIG_IsOK(res1
)) { 
21497     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");  
21499   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21501     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21502     result 
= (bool)((wxDC 
const *)arg1
)->IsOk(); 
21503     wxPyEndAllowThreads(__tstate
); 
21504     if (PyErr_Occurred()) SWIG_fail
; 
21507     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21515 SWIGINTERN PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21516   PyObject 
*resultobj 
= 0; 
21517   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21521   PyObject 
*swig_obj
[1] ; 
21523   if (!args
) SWIG_fail
; 
21524   swig_obj
[0] = args
; 
21525   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21526   if (!SWIG_IsOK(res1
)) { 
21527     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");  
21529   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21531     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21532     result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
21533     wxPyEndAllowThreads(__tstate
); 
21534     if (PyErr_Occurred()) SWIG_fail
; 
21536   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21543 SWIGINTERN PyObject 
*_wrap_DC_GetBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21544   PyObject 
*resultobj 
= 0; 
21545   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21546   wxBrush 
*result 
= 0 ; 
21549   PyObject 
*swig_obj
[1] ; 
21551   if (!args
) SWIG_fail
; 
21552   swig_obj
[0] = args
; 
21553   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21554   if (!SWIG_IsOK(res1
)) { 
21555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");  
21557   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21561       wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
21562       result 
= (wxBrush 
*) &_result_ref
; 
21564     wxPyEndAllowThreads(__tstate
); 
21565     if (PyErr_Occurred()) SWIG_fail
; 
21568     wxBrush
* resultptr 
= new wxBrush(*result
); 
21569     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
21577 SWIGINTERN PyObject 
*_wrap_DC_GetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21578   PyObject 
*resultobj 
= 0; 
21579   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21580   wxBrush 
*result 
= 0 ; 
21583   PyObject 
*swig_obj
[1] ; 
21585   if (!args
) SWIG_fail
; 
21586   swig_obj
[0] = args
; 
21587   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21588   if (!SWIG_IsOK(res1
)) { 
21589     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");  
21591   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21593     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21595       wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
21596       result 
= (wxBrush 
*) &_result_ref
; 
21598     wxPyEndAllowThreads(__tstate
); 
21599     if (PyErr_Occurred()) SWIG_fail
; 
21602     wxBrush
* resultptr 
= new wxBrush(*result
); 
21603     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
21611 SWIGINTERN PyObject 
*_wrap_DC_GetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21612   PyObject 
*resultobj 
= 0; 
21613   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21614   wxFont 
*result 
= 0 ; 
21617   PyObject 
*swig_obj
[1] ; 
21619   if (!args
) SWIG_fail
; 
21620   swig_obj
[0] = args
; 
21621   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21622   if (!SWIG_IsOK(res1
)) { 
21623     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");  
21625   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21627     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21629       wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
21630       result 
= (wxFont 
*) &_result_ref
; 
21632     wxPyEndAllowThreads(__tstate
); 
21633     if (PyErr_Occurred()) SWIG_fail
; 
21636     wxFont
* resultptr 
= new wxFont(*result
); 
21637     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
21645 SWIGINTERN PyObject 
*_wrap_DC_GetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21646   PyObject 
*resultobj 
= 0; 
21647   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21648   wxPen 
*result 
= 0 ; 
21651   PyObject 
*swig_obj
[1] ; 
21653   if (!args
) SWIG_fail
; 
21654   swig_obj
[0] = args
; 
21655   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21656   if (!SWIG_IsOK(res1
)) { 
21657     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");  
21659   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21661     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21663       wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
21664       result 
= (wxPen 
*) &_result_ref
; 
21666     wxPyEndAllowThreads(__tstate
); 
21667     if (PyErr_Occurred()) SWIG_fail
; 
21670     wxPen
* resultptr 
= new wxPen(*result
); 
21671     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
21679 SWIGINTERN PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21680   PyObject 
*resultobj 
= 0; 
21681   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21682   wxColour 
*result 
= 0 ; 
21685   PyObject 
*swig_obj
[1] ; 
21687   if (!args
) SWIG_fail
; 
21688   swig_obj
[0] = args
; 
21689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21690   if (!SWIG_IsOK(res1
)) { 
21691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");  
21693   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21697       wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
21698       result 
= (wxColour 
*) &_result_ref
; 
21700     wxPyEndAllowThreads(__tstate
); 
21701     if (PyErr_Occurred()) SWIG_fail
; 
21703   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
21710 SWIGINTERN PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21711   PyObject 
*resultobj 
= 0; 
21712   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21713   wxColour 
*result 
= 0 ; 
21716   PyObject 
*swig_obj
[1] ; 
21718   if (!args
) SWIG_fail
; 
21719   swig_obj
[0] = args
; 
21720   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21721   if (!SWIG_IsOK(res1
)) { 
21722     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");  
21724   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21728       wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
21729       result 
= (wxColour 
*) &_result_ref
; 
21731     wxPyEndAllowThreads(__tstate
); 
21732     if (PyErr_Occurred()) SWIG_fail
; 
21734   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
21741 SWIGINTERN PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21742   PyObject 
*resultobj 
= 0; 
21743   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21744   wxColour 
*arg2 
= 0 ; 
21748   PyObject 
* obj0 
= 0 ; 
21749   PyObject 
* obj1 
= 0 ; 
21750   char *  kwnames
[] = { 
21751     (char *) "self",(char *) "colour", NULL 
 
21754   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21755   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21756   if (!SWIG_IsOK(res1
)) { 
21757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");  
21759   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21762     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21766     (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
21767     wxPyEndAllowThreads(__tstate
); 
21768     if (PyErr_Occurred()) SWIG_fail
; 
21770   resultobj 
= SWIG_Py_Void(); 
21777 SWIGINTERN PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21778   PyObject 
*resultobj 
= 0; 
21779   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21780   wxColour 
*arg2 
= 0 ; 
21784   PyObject 
* obj0 
= 0 ; 
21785   PyObject 
* obj1 
= 0 ; 
21786   char *  kwnames
[] = { 
21787     (char *) "self",(char *) "colour", NULL 
 
21790   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21791   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21792   if (!SWIG_IsOK(res1
)) { 
21793     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");  
21795   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21798     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21802     (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
21803     wxPyEndAllowThreads(__tstate
); 
21804     if (PyErr_Occurred()) SWIG_fail
; 
21806   resultobj 
= SWIG_Py_Void(); 
21813 SWIGINTERN PyObject 
*_wrap_DC_GetMapMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21814   PyObject 
*resultobj 
= 0; 
21815   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21819   PyObject 
*swig_obj
[1] ; 
21821   if (!args
) SWIG_fail
; 
21822   swig_obj
[0] = args
; 
21823   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21824   if (!SWIG_IsOK(res1
)) { 
21825     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");  
21827   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21830     result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
21831     wxPyEndAllowThreads(__tstate
); 
21832     if (PyErr_Occurred()) SWIG_fail
; 
21834   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21841 SWIGINTERN PyObject 
*_wrap_DC_SetMapMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21842   PyObject 
*resultobj 
= 0; 
21843   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21849   PyObject 
* obj0 
= 0 ; 
21850   PyObject 
* obj1 
= 0 ; 
21851   char *  kwnames
[] = { 
21852     (char *) "self",(char *) "mode", NULL 
 
21855   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21856   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21857   if (!SWIG_IsOK(res1
)) { 
21858     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");  
21860   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21861   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21862   if (!SWIG_IsOK(ecode2
)) { 
21863     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'"); 
21865   arg2 
= static_cast< int >(val2
); 
21867     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21868     (arg1
)->SetMapMode(arg2
); 
21869     wxPyEndAllowThreads(__tstate
); 
21870     if (PyErr_Occurred()) SWIG_fail
; 
21872   resultobj 
= SWIG_Py_Void(); 
21879 SWIGINTERN PyObject 
*_wrap_DC_GetUserScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21880   PyObject 
*resultobj 
= 0; 
21881   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21882   double *arg2 
= (double *) 0 ; 
21883   double *arg3 
= (double *) 0 ; 
21887   int res2 
= SWIG_TMPOBJ 
; 
21889   int res3 
= SWIG_TMPOBJ 
; 
21890   PyObject 
*swig_obj
[1] ; 
21894   if (!args
) SWIG_fail
; 
21895   swig_obj
[0] = args
; 
21896   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21897   if (!SWIG_IsOK(res1
)) { 
21898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");  
21900   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21902     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21903     ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
21904     wxPyEndAllowThreads(__tstate
); 
21905     if (PyErr_Occurred()) SWIG_fail
; 
21907   resultobj 
= SWIG_Py_Void(); 
21908   if (SWIG_IsTmpObj(res2
)) { 
21909     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
))); 
21911     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21912     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
)); 
21914   if (SWIG_IsTmpObj(res3
)) { 
21915     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
))); 
21917     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21918     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
)); 
21926 SWIGINTERN PyObject 
*_wrap_DC_SetUserScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21927   PyObject 
*resultobj 
= 0; 
21928   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21937   PyObject 
* obj0 
= 0 ; 
21938   PyObject 
* obj1 
= 0 ; 
21939   PyObject 
* obj2 
= 0 ; 
21940   char *  kwnames
[] = { 
21941     (char *) "self",(char *) "x",(char *) "y", NULL 
 
21944   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21945   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21946   if (!SWIG_IsOK(res1
)) { 
21947     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");  
21949   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21950   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
21951   if (!SWIG_IsOK(ecode2
)) { 
21952     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'"); 
21954   arg2 
= static_cast< double >(val2
); 
21955   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
21956   if (!SWIG_IsOK(ecode3
)) { 
21957     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'"); 
21959   arg3 
= static_cast< double >(val3
); 
21961     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21962     (arg1
)->SetUserScale(arg2
,arg3
); 
21963     wxPyEndAllowThreads(__tstate
); 
21964     if (PyErr_Occurred()) SWIG_fail
; 
21966   resultobj 
= SWIG_Py_Void(); 
21973 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21974   PyObject 
*resultobj 
= 0; 
21975   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
21976   double *arg2 
= (double *) 0 ; 
21977   double *arg3 
= (double *) 0 ; 
21981   int res2 
= SWIG_TMPOBJ 
; 
21983   int res3 
= SWIG_TMPOBJ 
; 
21984   PyObject 
*swig_obj
[1] ; 
21988   if (!args
) SWIG_fail
; 
21989   swig_obj
[0] = args
; 
21990   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21991   if (!SWIG_IsOK(res1
)) { 
21992     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");  
21994   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
21996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21997     (arg1
)->GetLogicalScale(arg2
,arg3
); 
21998     wxPyEndAllowThreads(__tstate
); 
21999     if (PyErr_Occurred()) SWIG_fail
; 
22001   resultobj 
= SWIG_Py_Void(); 
22002   if (SWIG_IsTmpObj(res2
)) { 
22003     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
))); 
22005     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22006     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
)); 
22008   if (SWIG_IsTmpObj(res3
)) { 
22009     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
))); 
22011     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22012     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
)); 
22020 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22021   PyObject 
*resultobj 
= 0; 
22022   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22031   PyObject 
* obj0 
= 0 ; 
22032   PyObject 
* obj1 
= 0 ; 
22033   PyObject 
* obj2 
= 0 ; 
22034   char *  kwnames
[] = { 
22035     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22038   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22039   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22040   if (!SWIG_IsOK(res1
)) { 
22041     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");  
22043   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22044   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
22045   if (!SWIG_IsOK(ecode2
)) { 
22046     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'"); 
22048   arg2 
= static_cast< double >(val2
); 
22049   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
22050   if (!SWIG_IsOK(ecode3
)) { 
22051     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'"); 
22053   arg3 
= static_cast< double >(val3
); 
22055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22056     (arg1
)->SetLogicalScale(arg2
,arg3
); 
22057     wxPyEndAllowThreads(__tstate
); 
22058     if (PyErr_Occurred()) SWIG_fail
; 
22060   resultobj 
= SWIG_Py_Void(); 
22067 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22068   PyObject 
*resultobj 
= 0; 
22069   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22073   PyObject 
*swig_obj
[1] ; 
22075   if (!args
) SWIG_fail
; 
22076   swig_obj
[0] = args
; 
22077   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22078   if (!SWIG_IsOK(res1
)) { 
22079     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");  
22081   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22083     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22084     result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
22085     wxPyEndAllowThreads(__tstate
); 
22086     if (PyErr_Occurred()) SWIG_fail
; 
22088   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
22095 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22096   PyObject 
*resultobj 
= 0; 
22097   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22098   int *arg2 
= (int *) 0 ; 
22099   int *arg3 
= (int *) 0 ; 
22103   int res2 
= SWIG_TMPOBJ 
; 
22105   int res3 
= SWIG_TMPOBJ 
; 
22106   PyObject 
*swig_obj
[1] ; 
22110   if (!args
) SWIG_fail
; 
22111   swig_obj
[0] = args
; 
22112   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22113   if (!SWIG_IsOK(res1
)) { 
22114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");  
22116   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22118     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22119     ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
22120     wxPyEndAllowThreads(__tstate
); 
22121     if (PyErr_Occurred()) SWIG_fail
; 
22123   resultobj 
= SWIG_Py_Void(); 
22124   if (SWIG_IsTmpObj(res2
)) { 
22125     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22127     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22128     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22130   if (SWIG_IsTmpObj(res3
)) { 
22131     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22133     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22134     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22142 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22143   PyObject 
*resultobj 
= 0; 
22144   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22153   PyObject 
* obj0 
= 0 ; 
22154   PyObject 
* obj1 
= 0 ; 
22155   PyObject 
* obj2 
= 0 ; 
22156   char *  kwnames
[] = { 
22157     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22160   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22161   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22162   if (!SWIG_IsOK(res1
)) { 
22163     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");  
22165   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22166   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22167   if (!SWIG_IsOK(ecode2
)) { 
22168     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'"); 
22170   arg2 
= static_cast< int >(val2
); 
22171   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22172   if (!SWIG_IsOK(ecode3
)) { 
22173     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'"); 
22175   arg3 
= static_cast< int >(val3
); 
22177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22178     (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
22179     wxPyEndAllowThreads(__tstate
); 
22180     if (PyErr_Occurred()) SWIG_fail
; 
22182   resultobj 
= SWIG_Py_Void(); 
22189 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalOriginPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22190   PyObject 
*resultobj 
= 0; 
22191   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22192   wxPoint 
*arg2 
= 0 ; 
22196   PyObject 
* obj0 
= 0 ; 
22197   PyObject 
* obj1 
= 0 ; 
22198   char *  kwnames
[] = { 
22199     (char *) "self",(char *) "point", NULL 
 
22202   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22203   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22204   if (!SWIG_IsOK(res1
)) { 
22205     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
22207   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22210     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
22213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22214     wxDC_SetLogicalOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
22215     wxPyEndAllowThreads(__tstate
); 
22216     if (PyErr_Occurred()) SWIG_fail
; 
22218   resultobj 
= SWIG_Py_Void(); 
22225 SWIGINTERN PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22226   PyObject 
*resultobj 
= 0; 
22227   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22231   PyObject 
*swig_obj
[1] ; 
22233   if (!args
) SWIG_fail
; 
22234   swig_obj
[0] = args
; 
22235   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22236   if (!SWIG_IsOK(res1
)) { 
22237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");  
22239   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22241     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22242     result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
22243     wxPyEndAllowThreads(__tstate
); 
22244     if (PyErr_Occurred()) SWIG_fail
; 
22246   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
22253 SWIGINTERN PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22254   PyObject 
*resultobj 
= 0; 
22255   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22256   int *arg2 
= (int *) 0 ; 
22257   int *arg3 
= (int *) 0 ; 
22261   int res2 
= SWIG_TMPOBJ 
; 
22263   int res3 
= SWIG_TMPOBJ 
; 
22264   PyObject 
*swig_obj
[1] ; 
22268   if (!args
) SWIG_fail
; 
22269   swig_obj
[0] = args
; 
22270   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22271   if (!SWIG_IsOK(res1
)) { 
22272     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");  
22274   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22276     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22277     ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
22278     wxPyEndAllowThreads(__tstate
); 
22279     if (PyErr_Occurred()) SWIG_fail
; 
22281   resultobj 
= SWIG_Py_Void(); 
22282   if (SWIG_IsTmpObj(res2
)) { 
22283     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22285     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22286     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22288   if (SWIG_IsTmpObj(res3
)) { 
22289     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22291     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22292     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22300 SWIGINTERN PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22301   PyObject 
*resultobj 
= 0; 
22302   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22311   PyObject 
* obj0 
= 0 ; 
22312   PyObject 
* obj1 
= 0 ; 
22313   PyObject 
* obj2 
= 0 ; 
22314   char *  kwnames
[] = { 
22315     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22318   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22319   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22320   if (!SWIG_IsOK(res1
)) { 
22321     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");  
22323   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22324   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22325   if (!SWIG_IsOK(ecode2
)) { 
22326     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'"); 
22328   arg2 
= static_cast< int >(val2
); 
22329   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22330   if (!SWIG_IsOK(ecode3
)) { 
22331     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'"); 
22333   arg3 
= static_cast< int >(val3
); 
22335     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22336     (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
22337     wxPyEndAllowThreads(__tstate
); 
22338     if (PyErr_Occurred()) SWIG_fail
; 
22340   resultobj 
= SWIG_Py_Void(); 
22347 SWIGINTERN PyObject 
*_wrap_DC_SetDeviceOriginPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22348   PyObject 
*resultobj 
= 0; 
22349   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22350   wxPoint 
*arg2 
= 0 ; 
22354   PyObject 
* obj0 
= 0 ; 
22355   PyObject 
* obj1 
= 0 ; 
22356   char *  kwnames
[] = { 
22357     (char *) "self",(char *) "point", NULL 
 
22360   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22361   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22362   if (!SWIG_IsOK(res1
)) { 
22363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
22365   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22368     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
22371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22372     wxDC_SetDeviceOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
22373     wxPyEndAllowThreads(__tstate
); 
22374     if (PyErr_Occurred()) SWIG_fail
; 
22376   resultobj 
= SWIG_Py_Void(); 
22383 SWIGINTERN PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22384   PyObject 
*resultobj 
= 0; 
22385   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22394   PyObject 
* obj0 
= 0 ; 
22395   PyObject 
* obj1 
= 0 ; 
22396   PyObject 
* obj2 
= 0 ; 
22397   char *  kwnames
[] = { 
22398     (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
22401   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22402   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22403   if (!SWIG_IsOK(res1
)) { 
22404     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");  
22406   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22407   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
22408   if (!SWIG_IsOK(ecode2
)) { 
22409     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'"); 
22411   arg2 
= static_cast< bool >(val2
); 
22412   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
22413   if (!SWIG_IsOK(ecode3
)) { 
22414     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'"); 
22416   arg3 
= static_cast< bool >(val3
); 
22418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22419     (arg1
)->SetAxisOrientation(arg2
,arg3
); 
22420     wxPyEndAllowThreads(__tstate
); 
22421     if (PyErr_Occurred()) SWIG_fail
; 
22423   resultobj 
= SWIG_Py_Void(); 
22430 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22431   PyObject 
*resultobj 
= 0; 
22432   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22436   PyObject 
*swig_obj
[1] ; 
22438   if (!args
) SWIG_fail
; 
22439   swig_obj
[0] = args
; 
22440   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22441   if (!SWIG_IsOK(res1
)) { 
22442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");  
22444   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22447     result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
22448     wxPyEndAllowThreads(__tstate
); 
22449     if (PyErr_Occurred()) SWIG_fail
; 
22451   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22458 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22459   PyObject 
*resultobj 
= 0; 
22460   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22466   PyObject 
* obj0 
= 0 ; 
22467   PyObject 
* obj1 
= 0 ; 
22468   char *  kwnames
[] = { 
22469     (char *) "self",(char *) "function", NULL 
 
22472   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22473   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22474   if (!SWIG_IsOK(res1
)) { 
22475     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");  
22477   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22478   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22479   if (!SWIG_IsOK(ecode2
)) { 
22480     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'"); 
22482   arg2 
= static_cast< int >(val2
); 
22484     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22485     (arg1
)->SetLogicalFunction(arg2
); 
22486     wxPyEndAllowThreads(__tstate
); 
22487     if (PyErr_Occurred()) SWIG_fail
; 
22489   resultobj 
= SWIG_Py_Void(); 
22496 SWIGINTERN PyObject 
*_wrap_DC_ComputeScaleAndOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22497   PyObject 
*resultobj 
= 0; 
22498   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22501   PyObject 
*swig_obj
[1] ; 
22503   if (!args
) SWIG_fail
; 
22504   swig_obj
[0] = args
; 
22505   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22506   if (!SWIG_IsOK(res1
)) { 
22507     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");  
22509   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22512     (arg1
)->ComputeScaleAndOrigin(); 
22513     wxPyEndAllowThreads(__tstate
); 
22514     if (PyErr_Occurred()) SWIG_fail
; 
22516   resultobj 
= SWIG_Py_Void(); 
22523 SWIGINTERN PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22524   PyObject 
*resultobj 
= 0; 
22525   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22534   PyObject 
* obj0 
= 0 ; 
22535   PyObject 
* obj1 
= 0 ; 
22536   PyObject 
* obj2 
= 0 ; 
22537   char *  kwnames
[] = { 
22538     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22543   if (!SWIG_IsOK(res1
)) { 
22544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");  
22546   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22547   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22548   if (!SWIG_IsOK(ecode2
)) { 
22549     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'"); 
22551   arg2 
= static_cast< int >(val2
); 
22552   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22553   if (!SWIG_IsOK(ecode3
)) { 
22554     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'"); 
22556   arg3 
= static_cast< int >(val3
); 
22558     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22559     (arg1
)->CalcBoundingBox(arg2
,arg3
); 
22560     wxPyEndAllowThreads(__tstate
); 
22561     if (PyErr_Occurred()) SWIG_fail
; 
22563   resultobj 
= SWIG_Py_Void(); 
22570 SWIGINTERN PyObject 
*_wrap_DC_CalcBoundingBoxPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22571   PyObject 
*resultobj 
= 0; 
22572   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22573   wxPoint 
*arg2 
= 0 ; 
22577   PyObject 
* obj0 
= 0 ; 
22578   PyObject 
* obj1 
= 0 ; 
22579   char *  kwnames
[] = { 
22580     (char *) "self",(char *) "point", NULL 
 
22583   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22584   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22585   if (!SWIG_IsOK(res1
)) { 
22586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
22588   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22591     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
22594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22595     wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint 
const &)*arg2
); 
22596     wxPyEndAllowThreads(__tstate
); 
22597     if (PyErr_Occurred()) SWIG_fail
; 
22599   resultobj 
= SWIG_Py_Void(); 
22606 SWIGINTERN PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22607   PyObject 
*resultobj 
= 0; 
22608   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22611   PyObject 
*swig_obj
[1] ; 
22613   if (!args
) SWIG_fail
; 
22614   swig_obj
[0] = args
; 
22615   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22616   if (!SWIG_IsOK(res1
)) { 
22617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");  
22619   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22622     (arg1
)->ResetBoundingBox(); 
22623     wxPyEndAllowThreads(__tstate
); 
22624     if (PyErr_Occurred()) SWIG_fail
; 
22626   resultobj 
= SWIG_Py_Void(); 
22633 SWIGINTERN PyObject 
*_wrap_DC_MinX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22634   PyObject 
*resultobj 
= 0; 
22635   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22639   PyObject 
*swig_obj
[1] ; 
22641   if (!args
) SWIG_fail
; 
22642   swig_obj
[0] = args
; 
22643   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22644   if (!SWIG_IsOK(res1
)) { 
22645     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");  
22647   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22650     result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
22651     wxPyEndAllowThreads(__tstate
); 
22652     if (PyErr_Occurred()) SWIG_fail
; 
22654   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22661 SWIGINTERN PyObject 
*_wrap_DC_MaxX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22662   PyObject 
*resultobj 
= 0; 
22663   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22667   PyObject 
*swig_obj
[1] ; 
22669   if (!args
) SWIG_fail
; 
22670   swig_obj
[0] = args
; 
22671   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22672   if (!SWIG_IsOK(res1
)) { 
22673     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");  
22675   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22677     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22678     result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
22679     wxPyEndAllowThreads(__tstate
); 
22680     if (PyErr_Occurred()) SWIG_fail
; 
22682   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22689 SWIGINTERN PyObject 
*_wrap_DC_MinY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22690   PyObject 
*resultobj 
= 0; 
22691   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22695   PyObject 
*swig_obj
[1] ; 
22697   if (!args
) SWIG_fail
; 
22698   swig_obj
[0] = args
; 
22699   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22700   if (!SWIG_IsOK(res1
)) { 
22701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");  
22703   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22705     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22706     result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
22707     wxPyEndAllowThreads(__tstate
); 
22708     if (PyErr_Occurred()) SWIG_fail
; 
22710   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22717 SWIGINTERN PyObject 
*_wrap_DC_MaxY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22718   PyObject 
*resultobj 
= 0; 
22719   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22723   PyObject 
*swig_obj
[1] ; 
22725   if (!args
) SWIG_fail
; 
22726   swig_obj
[0] = args
; 
22727   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22728   if (!SWIG_IsOK(res1
)) { 
22729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");  
22731   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22734     result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
22735     wxPyEndAllowThreads(__tstate
); 
22736     if (PyErr_Occurred()) SWIG_fail
; 
22738   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22745 SWIGINTERN PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22746   PyObject 
*resultobj 
= 0; 
22747   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22748   int *arg2 
= (int *) 0 ; 
22749   int *arg3 
= (int *) 0 ; 
22750   int *arg4 
= (int *) 0 ; 
22751   int *arg5 
= (int *) 0 ; 
22755   int res2 
= SWIG_TMPOBJ 
; 
22757   int res3 
= SWIG_TMPOBJ 
; 
22759   int res4 
= SWIG_TMPOBJ 
; 
22761   int res5 
= SWIG_TMPOBJ 
; 
22762   PyObject 
*swig_obj
[1] ; 
22768   if (!args
) SWIG_fail
; 
22769   swig_obj
[0] = args
; 
22770   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22771   if (!SWIG_IsOK(res1
)) { 
22772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");  
22774   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22776     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22777     wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
22778     wxPyEndAllowThreads(__tstate
); 
22779     if (PyErr_Occurred()) SWIG_fail
; 
22781   resultobj 
= SWIG_Py_Void(); 
22782   if (SWIG_IsTmpObj(res2
)) { 
22783     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22785     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22786     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22788   if (SWIG_IsTmpObj(res3
)) { 
22789     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22791     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22792     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22794   if (SWIG_IsTmpObj(res4
)) { 
22795     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
22797     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22798     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
22800   if (SWIG_IsTmpObj(res5
)) { 
22801     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
22803     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22804     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
22812 SWIGINTERN PyObject 
*_wrap_DC_GetLayoutDirection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22813   PyObject 
*resultobj 
= 0; 
22814   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22815   wxLayoutDirection result
; 
22818   PyObject 
*swig_obj
[1] ; 
22820   if (!args
) SWIG_fail
; 
22821   swig_obj
[0] = args
; 
22822   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22823   if (!SWIG_IsOK(res1
)) { 
22824     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");  
22826   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22829     result 
= (wxLayoutDirection
)((wxDC 
const *)arg1
)->GetLayoutDirection(); 
22830     wxPyEndAllowThreads(__tstate
); 
22831     if (PyErr_Occurred()) SWIG_fail
; 
22833   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22840 SWIGINTERN PyObject 
*_wrap_DC_SetLayoutDirection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22841   PyObject 
*resultobj 
= 0; 
22842   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22843   wxLayoutDirection arg2 
; 
22848   PyObject 
* obj0 
= 0 ; 
22849   PyObject 
* obj1 
= 0 ; 
22850   char *  kwnames
[] = { 
22851     (char *) "self",(char *) "dir", NULL 
 
22854   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22855   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22856   if (!SWIG_IsOK(res1
)) { 
22857     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");  
22859   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22860   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22861   if (!SWIG_IsOK(ecode2
)) { 
22862     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'"); 
22864   arg2 
= static_cast< wxLayoutDirection 
>(val2
); 
22866     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22867     (arg1
)->SetLayoutDirection(arg2
); 
22868     wxPyEndAllowThreads(__tstate
); 
22869     if (PyErr_Occurred()) SWIG_fail
; 
22871   resultobj 
= SWIG_Py_Void(); 
22878 SWIGINTERN PyObject 
*_wrap_DC__DrawPointList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22879   PyObject 
*resultobj 
= 0; 
22880   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22881   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22882   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22883   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
22884   PyObject 
*result 
= 0 ; 
22887   PyObject 
* obj0 
= 0 ; 
22888   PyObject 
* obj1 
= 0 ; 
22889   PyObject 
* obj2 
= 0 ; 
22890   PyObject 
* obj3 
= 0 ; 
22891   char *  kwnames
[] = { 
22892     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
22895   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
22896   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22897   if (!SWIG_IsOK(res1
)) { 
22898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");  
22900   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22906     result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
22907     wxPyEndAllowThreads(__tstate
); 
22908     if (PyErr_Occurred()) SWIG_fail
; 
22910   resultobj 
= result
; 
22917 SWIGINTERN PyObject 
*_wrap_DC__DrawLineList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22918   PyObject 
*resultobj 
= 0; 
22919   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22920   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22921   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22922   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
22923   PyObject 
*result 
= 0 ; 
22926   PyObject 
* obj0 
= 0 ; 
22927   PyObject 
* obj1 
= 0 ; 
22928   PyObject 
* obj2 
= 0 ; 
22929   PyObject 
* obj3 
= 0 ; 
22930   char *  kwnames
[] = { 
22931     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
22934   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
22935   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22936   if (!SWIG_IsOK(res1
)) { 
22937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");  
22939   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22945     result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
22946     wxPyEndAllowThreads(__tstate
); 
22947     if (PyErr_Occurred()) SWIG_fail
; 
22949   resultobj 
= result
; 
22956 SWIGINTERN PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22957   PyObject 
*resultobj 
= 0; 
22958   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22959   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22960   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22961   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
22962   PyObject 
*result 
= 0 ; 
22965   PyObject 
* obj0 
= 0 ; 
22966   PyObject 
* obj1 
= 0 ; 
22967   PyObject 
* obj2 
= 0 ; 
22968   PyObject 
* obj3 
= 0 ; 
22969   char *  kwnames
[] = { 
22970     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
22973   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
22974   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22975   if (!SWIG_IsOK(res1
)) { 
22976     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");  
22978   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
22983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22984     result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
22985     wxPyEndAllowThreads(__tstate
); 
22986     if (PyErr_Occurred()) SWIG_fail
; 
22988   resultobj 
= result
; 
22995 SWIGINTERN PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22996   PyObject 
*resultobj 
= 0; 
22997   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
22998   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22999   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
23000   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
23001   PyObject 
*result 
= 0 ; 
23004   PyObject 
* obj0 
= 0 ; 
23005   PyObject 
* obj1 
= 0 ; 
23006   PyObject 
* obj2 
= 0 ; 
23007   PyObject 
* obj3 
= 0 ; 
23008   char *  kwnames
[] = { 
23009     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
23012   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
23013   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23014   if (!SWIG_IsOK(res1
)) { 
23015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");  
23017   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23023     result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
23024     wxPyEndAllowThreads(__tstate
); 
23025     if (PyErr_Occurred()) SWIG_fail
; 
23027   resultobj 
= result
; 
23034 SWIGINTERN PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23035   PyObject 
*resultobj 
= 0; 
23036   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
23037   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
23038   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
23039   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
23040   PyObject 
*result 
= 0 ; 
23043   PyObject 
* obj0 
= 0 ; 
23044   PyObject 
* obj1 
= 0 ; 
23045   PyObject 
* obj2 
= 0 ; 
23046   PyObject 
* obj3 
= 0 ; 
23047   char *  kwnames
[] = { 
23048     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
23051   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
23052   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23053   if (!SWIG_IsOK(res1
)) { 
23054     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");  
23056   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23062     result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
23063     wxPyEndAllowThreads(__tstate
); 
23064     if (PyErr_Occurred()) SWIG_fail
; 
23066   resultobj 
= result
; 
23073 SWIGINTERN PyObject 
*_wrap_DC__DrawTextList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23074   PyObject 
*resultobj 
= 0; 
23075   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
23076   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
23077   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
23078   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
23079   PyObject 
*arg5 
= (PyObject 
*) 0 ; 
23080   PyObject 
*result 
= 0 ; 
23083   PyObject 
* obj0 
= 0 ; 
23084   PyObject 
* obj1 
= 0 ; 
23085   PyObject 
* obj2 
= 0 ; 
23086   PyObject 
* obj3 
= 0 ; 
23087   PyObject 
* obj4 
= 0 ; 
23088   char *  kwnames
[] = { 
23089     (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
23092   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
23093   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23094   if (!SWIG_IsOK(res1
)) { 
23095     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");  
23097   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23103     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23104     result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
23105     wxPyEndAllowThreads(__tstate
); 
23106     if (PyErr_Occurred()) SWIG_fail
; 
23108   resultobj 
= result
; 
23115 SWIGINTERN PyObject 
*DC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23117   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23118   SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
)); 
23119   return SWIG_Py_Void(); 
23122 SWIGINTERN PyObject 
*_wrap_new_MemoryDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23123   PyObject 
*resultobj 
= 0; 
23124   wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
23125   wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
23126   wxMemoryDC 
*result 
= 0 ; 
23129   PyObject 
* obj0 
= 0 ; 
23130   char *  kwnames
[] = { 
23131     (char *) "bitmap", NULL 
 
23134   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
; 
23136     res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
23137     if (!SWIG_IsOK(res1
)) { 
23138       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
23141       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
23143     arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
23146     if (!wxPyCheckForApp()) SWIG_fail
; 
23147     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23148     result 
= (wxMemoryDC 
*)new wxMemoryDC((wxBitmap 
const &)*arg1
); 
23149     wxPyEndAllowThreads(__tstate
); 
23150     if (PyErr_Occurred()) SWIG_fail
; 
23152   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW 
|  0 ); 
23159 SWIGINTERN PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23160   PyObject 
*resultobj 
= 0; 
23161   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
23162   wxMemoryDC 
*result 
= 0 ; 
23165   PyObject 
* obj0 
= 0 ; 
23166   char *  kwnames
[] = { 
23167     (char *) "oldDC", NULL 
 
23170   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
; 
23171   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23172   if (!SWIG_IsOK(res1
)) { 
23173     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");  
23175   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23177     if (!wxPyCheckForApp()) SWIG_fail
; 
23178     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23179     result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
23180     wxPyEndAllowThreads(__tstate
); 
23181     if (PyErr_Occurred()) SWIG_fail
; 
23183   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN 
|  0 ); 
23190 SWIGINTERN PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23191   PyObject 
*resultobj 
= 0; 
23192   wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
23193   wxBitmap 
*arg2 
= 0 ; 
23198   PyObject 
* obj0 
= 0 ; 
23199   PyObject 
* obj1 
= 0 ; 
23200   char *  kwnames
[] = { 
23201     (char *) "self",(char *) "bitmap", NULL 
 
23204   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23205   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 |  0 ); 
23206   if (!SWIG_IsOK(res1
)) { 
23207     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");  
23209   arg1 
= reinterpret_cast< wxMemoryDC 
* >(argp1
); 
23210   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
23211   if (!SWIG_IsOK(res2
)) { 
23212     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
23215     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
23217   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
23219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23220     (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
23221     wxPyEndAllowThreads(__tstate
); 
23222     if (PyErr_Occurred()) SWIG_fail
; 
23224   resultobj 
= SWIG_Py_Void(); 
23231 SWIGINTERN PyObject 
*MemoryDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23233   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23234   SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
)); 
23235   return SWIG_Py_Void(); 
23238 SWIGINTERN PyObject 
*MemoryDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23239   return SWIG_Python_InitShadowInstance(args
); 
23242 SWIGINTERN PyObject 
*_wrap_new_ScreenDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23243   PyObject 
*resultobj 
= 0; 
23244   wxScreenDC 
*result 
= 0 ; 
23246   if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
; 
23248     if (!wxPyCheckForApp()) SWIG_fail
; 
23249     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23250     result 
= (wxScreenDC 
*)new wxScreenDC(); 
23251     wxPyEndAllowThreads(__tstate
); 
23252     if (PyErr_Occurred()) SWIG_fail
; 
23254   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW 
|  0 ); 
23261 SWIGINTERN PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23262   PyObject 
*resultobj 
= 0; 
23263   wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
23264   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
23270   PyObject 
* obj0 
= 0 ; 
23271   PyObject 
* obj1 
= 0 ; 
23272   char *  kwnames
[] = { 
23273     (char *) "self",(char *) "window", NULL 
 
23276   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23277   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 |  0 ); 
23278   if (!SWIG_IsOK(res1
)) { 
23279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");  
23281   arg1 
= reinterpret_cast< wxScreenDC 
* >(argp1
); 
23282   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23283   if (!SWIG_IsOK(res2
)) { 
23284     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");  
23286   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
23288     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23289     result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
23290     wxPyEndAllowThreads(__tstate
); 
23291     if (PyErr_Occurred()) SWIG_fail
; 
23294     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23302 SWIGINTERN PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23303   PyObject 
*resultobj 
= 0; 
23304   wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
23305   wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
23311   PyObject 
* obj0 
= 0 ; 
23312   PyObject 
* obj1 
= 0 ; 
23313   char *  kwnames
[] = { 
23314     (char *) "self",(char *) "rect", NULL 
 
23317   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23318   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 |  0 ); 
23319   if (!SWIG_IsOK(res1
)) { 
23320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");  
23322   arg1 
= reinterpret_cast< wxScreenDC 
* >(argp1
); 
23324     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
23325     if (!SWIG_IsOK(res2
)) { 
23326       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");  
23328     arg2 
= reinterpret_cast< wxRect 
* >(argp2
); 
23331     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23332     result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
23333     wxPyEndAllowThreads(__tstate
); 
23334     if (PyErr_Occurred()) SWIG_fail
; 
23337     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23345 SWIGINTERN PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23346   PyObject 
*resultobj 
= 0; 
23347   wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
23351   PyObject 
*swig_obj
[1] ; 
23353   if (!args
) SWIG_fail
; 
23354   swig_obj
[0] = args
; 
23355   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 |  0 ); 
23356   if (!SWIG_IsOK(res1
)) { 
23357     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");  
23359   arg1 
= reinterpret_cast< wxScreenDC 
* >(argp1
); 
23361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23362     result 
= (bool)(arg1
)->EndDrawingOnTop(); 
23363     wxPyEndAllowThreads(__tstate
); 
23364     if (PyErr_Occurred()) SWIG_fail
; 
23367     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23375 SWIGINTERN PyObject 
*ScreenDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23377   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23378   SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
)); 
23379   return SWIG_Py_Void(); 
23382 SWIGINTERN PyObject 
*ScreenDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23383   return SWIG_Python_InitShadowInstance(args
); 
23386 SWIGINTERN PyObject 
*_wrap_new_WindowDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23387   PyObject 
*resultobj 
= 0; 
23388   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23389   wxWindowDC 
*result 
= 0 ; 
23392   PyObject 
* obj0 
= 0 ; 
23393   char *  kwnames
[] = { 
23394     (char *) "win", NULL 
 
23397   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
; 
23398   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23399   if (!SWIG_IsOK(res1
)) { 
23400     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
23402   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
23404     if (!wxPyCheckForApp()) SWIG_fail
; 
23405     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23406     result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
23407     wxPyEndAllowThreads(__tstate
); 
23408     if (PyErr_Occurred()) SWIG_fail
; 
23410   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW 
|  0 ); 
23417 SWIGINTERN PyObject 
*WindowDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23419   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23420   SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
)); 
23421   return SWIG_Py_Void(); 
23424 SWIGINTERN PyObject 
*WindowDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23425   return SWIG_Python_InitShadowInstance(args
); 
23428 SWIGINTERN PyObject 
*_wrap_new_ClientDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23429   PyObject 
*resultobj 
= 0; 
23430   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23431   wxClientDC 
*result 
= 0 ; 
23434   PyObject 
* obj0 
= 0 ; 
23435   char *  kwnames
[] = { 
23436     (char *) "win", NULL 
 
23439   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
; 
23440   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23441   if (!SWIG_IsOK(res1
)) { 
23442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
23444   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
23446     if (!wxPyCheckForApp()) SWIG_fail
; 
23447     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23448     result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
23449     wxPyEndAllowThreads(__tstate
); 
23450     if (PyErr_Occurred()) SWIG_fail
; 
23452   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW 
|  0 ); 
23459 SWIGINTERN PyObject 
*ClientDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23461   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23462   SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
)); 
23463   return SWIG_Py_Void(); 
23466 SWIGINTERN PyObject 
*ClientDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23467   return SWIG_Python_InitShadowInstance(args
); 
23470 SWIGINTERN PyObject 
*_wrap_new_PaintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23471   PyObject 
*resultobj 
= 0; 
23472   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23473   wxPaintDC 
*result 
= 0 ; 
23476   PyObject 
* obj0 
= 0 ; 
23477   char *  kwnames
[] = { 
23478     (char *) "win", NULL 
 
23481   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
; 
23482   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23483   if (!SWIG_IsOK(res1
)) { 
23484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
23486   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
23488     if (!wxPyCheckForApp()) SWIG_fail
; 
23489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23490     result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
23491     wxPyEndAllowThreads(__tstate
); 
23492     if (PyErr_Occurred()) SWIG_fail
; 
23494   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW 
|  0 ); 
23501 SWIGINTERN PyObject 
*PaintDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23503   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23504   SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
)); 
23505   return SWIG_Py_Void(); 
23508 SWIGINTERN PyObject 
*PaintDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23509   return SWIG_Python_InitShadowInstance(args
); 
23512 SWIGINTERN PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
23513   PyObject 
*resultobj 
= 0; 
23514   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
23515   wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
23516   wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
23517   int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
23518   wxBufferedDC 
*result 
= 0 ; 
23526   if ((nobjs 
< 1) || (nobjs 
> 3)) SWIG_fail
; 
23527   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23528   if (!SWIG_IsOK(res1
)) { 
23529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");  
23531   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23533     res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
23534     if (!SWIG_IsOK(res2
)) { 
23535       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
23538       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
23540     arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
23543     ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
23544     if (!SWIG_IsOK(ecode3
)) { 
23545       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'"); 
23547     arg3 
= static_cast< int >(val3
); 
23550     if (!wxPyCheckForApp()) SWIG_fail
; 
23551     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23552     result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
23553     wxPyEndAllowThreads(__tstate
); 
23554     if (PyErr_Occurred()) SWIG_fail
; 
23556   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW 
|  0 ); 
23563 SWIGINTERN PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
23564   PyObject 
*resultobj 
= 0; 
23565   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
23567   int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
23568   wxBufferedDC 
*result 
= 0 ; 
23575   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
23576   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23577   if (!SWIG_IsOK(res1
)) { 
23578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");  
23580   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23583     if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
23586     ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
23587     if (!SWIG_IsOK(ecode3
)) { 
23588       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'"); 
23590     arg3 
= static_cast< int >(val3
); 
23593     if (!wxPyCheckForApp()) SWIG_fail
; 
23594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23595     result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
,arg3
); 
23596     wxPyEndAllowThreads(__tstate
); 
23597     if (PyErr_Occurred()) SWIG_fail
; 
23599   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW 
|  0 ); 
23606 SWIGINTERN PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
23610   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
; 
23612   if ((argc 
>= 1) && (argc 
<= 3)) { 
23616         int res 
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0); 
23617         _v 
= SWIG_CheckState(res
); 
23619       if (!_v
) goto check_1
; 
23621     return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
); 
23625   if ((argc 
>= 2) && (argc 
<= 3)) { 
23626     return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
); 
23630   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'"); 
23635 SWIGINTERN PyObject 
*_wrap_delete_BufferedDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23636   PyObject 
*resultobj 
= 0; 
23637   wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
23640   PyObject 
*swig_obj
[1] ; 
23642   if (!args
) SWIG_fail
; 
23643   swig_obj
[0] = args
; 
23644   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN 
|  0 ); 
23645   if (!SWIG_IsOK(res1
)) { 
23646     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");  
23648   arg1 
= reinterpret_cast< wxBufferedDC 
* >(argp1
); 
23650     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23653     wxPyEndAllowThreads(__tstate
); 
23654     if (PyErr_Occurred()) SWIG_fail
; 
23656   resultobj 
= SWIG_Py_Void(); 
23663 SWIGINTERN PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23664   PyObject 
*resultobj 
= 0; 
23665   wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
23668   PyObject 
*swig_obj
[1] ; 
23670   if (!args
) SWIG_fail
; 
23671   swig_obj
[0] = args
; 
23672   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 |  0 ); 
23673   if (!SWIG_IsOK(res1
)) { 
23674     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");  
23676   arg1 
= reinterpret_cast< wxBufferedDC 
* >(argp1
); 
23678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23680     wxPyEndAllowThreads(__tstate
); 
23681     if (PyErr_Occurred()) SWIG_fail
; 
23683   resultobj 
= SWIG_Py_Void(); 
23690 SWIGINTERN PyObject 
*BufferedDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23692   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23693   SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
)); 
23694   return SWIG_Py_Void(); 
23697 SWIGINTERN PyObject 
*BufferedDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23698   return SWIG_Python_InitShadowInstance(args
); 
23701 SWIGINTERN PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23702   PyObject 
*resultobj 
= 0; 
23703   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23704   wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
23705   wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
23706   int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
23707   wxBufferedPaintDC 
*result 
= 0 ; 
23714   PyObject 
* obj0 
= 0 ; 
23715   PyObject 
* obj1 
= 0 ; 
23716   PyObject 
* obj2 
= 0 ; 
23717   char *  kwnames
[] = { 
23718     (char *) "window",(char *) "buffer",(char *) "style", NULL 
 
23721   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23722   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23723   if (!SWIG_IsOK(res1
)) { 
23724     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
23726   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
23728     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
23729     if (!SWIG_IsOK(res2
)) { 
23730       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
23733       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
23735     arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
23738     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23739     if (!SWIG_IsOK(ecode3
)) { 
23740       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'"); 
23742     arg3 
= static_cast< int >(val3
); 
23745     if (!wxPyCheckForApp()) SWIG_fail
; 
23746     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23747     result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
23748     wxPyEndAllowThreads(__tstate
); 
23749     if (PyErr_Occurred()) SWIG_fail
; 
23751   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW 
|  0 ); 
23758 SWIGINTERN PyObject 
*BufferedPaintDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23760   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23761   SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
)); 
23762   return SWIG_Py_Void(); 
23765 SWIGINTERN PyObject 
*BufferedPaintDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23766   return SWIG_Python_InitShadowInstance(args
); 
23769 SWIGINTERN PyObject 
*_wrap_new_AutoBufferedPaintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23770   PyObject 
*resultobj 
= 0; 
23771   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23772   wxAutoBufferedPaintDC 
*result 
= 0 ; 
23775   PyObject 
* obj0 
= 0 ; 
23776   char *  kwnames
[] = { 
23777     (char *) "win", NULL 
 
23780   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
; 
23781   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23782   if (!SWIG_IsOK(res1
)) { 
23783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
23785   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
23787     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23788     result 
= (wxAutoBufferedPaintDC 
*)new wxAutoBufferedPaintDC(arg1
); 
23789     wxPyEndAllowThreads(__tstate
); 
23790     if (PyErr_Occurred()) SWIG_fail
; 
23792   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW 
|  0 ); 
23799 SWIGINTERN PyObject 
*AutoBufferedPaintDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23801   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23802   SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
)); 
23803   return SWIG_Py_Void(); 
23806 SWIGINTERN PyObject 
*AutoBufferedPaintDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23807   return SWIG_Python_InitShadowInstance(args
); 
23810 SWIGINTERN PyObject 
*_wrap_AutoBufferedPaintDCFactory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23811   PyObject 
*resultobj 
= 0; 
23812   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23816   PyObject 
* obj0 
= 0 ; 
23817   char *  kwnames
[] = { 
23818     (char *) "window", NULL 
 
23821   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
; 
23822   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
23823   if (!SWIG_IsOK(res1
)) { 
23824     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");  
23826   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
23828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23829     result 
= (wxDC 
*)wxAutoBufferedPaintDCFactory(arg1
); 
23830     wxPyEndAllowThreads(__tstate
); 
23831     if (PyErr_Occurred()) SWIG_fail
; 
23834     resultobj 
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);  
23842 SWIGINTERN PyObject 
*_wrap_new_MirrorDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23843   PyObject 
*resultobj 
= 0; 
23846   wxMirrorDC 
*result 
= 0 ; 
23851   PyObject 
* obj0 
= 0 ; 
23852   PyObject 
* obj1 
= 0 ; 
23853   char *  kwnames
[] = { 
23854     (char *) "dc",(char *) "mirror", NULL 
 
23857   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23858   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
,  0 ); 
23859   if (!SWIG_IsOK(res1
)) { 
23860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");  
23863     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");  
23865   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
23866   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
23867   if (!SWIG_IsOK(ecode2
)) { 
23868     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'"); 
23870   arg2 
= static_cast< bool >(val2
); 
23872     if (!wxPyCheckForApp()) SWIG_fail
; 
23873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23874     result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
23875     wxPyEndAllowThreads(__tstate
); 
23876     if (PyErr_Occurred()) SWIG_fail
; 
23878   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW 
|  0 ); 
23885 SWIGINTERN PyObject 
*MirrorDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23887   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23888   SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
)); 
23889   return SWIG_Py_Void(); 
23892 SWIGINTERN PyObject 
*MirrorDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23893   return SWIG_Python_InitShadowInstance(args
); 
23896 SWIGINTERN PyObject 
*_wrap_new_PostScriptDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23897   PyObject 
*resultobj 
= 0; 
23898   wxPrintData 
*arg1 
= 0 ; 
23899   wxPostScriptDC 
*result 
= 0 ; 
23902   PyObject 
* obj0 
= 0 ; 
23903   char *  kwnames
[] = { 
23904     (char *) "printData", NULL 
 
23907   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
; 
23908   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
23909   if (!SWIG_IsOK(res1
)) { 
23910     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23913     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23915   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23917     if (!wxPyCheckForApp()) SWIG_fail
; 
23918     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23919     result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
23920     wxPyEndAllowThreads(__tstate
); 
23921     if (PyErr_Occurred()) SWIG_fail
; 
23923   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW 
|  0 ); 
23930 SWIGINTERN PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23931   PyObject 
*resultobj 
= 0; 
23932   wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
23933   wxPrintData 
*result 
= 0 ; 
23936   PyObject 
*swig_obj
[1] ; 
23938   if (!args
) SWIG_fail
; 
23939   swig_obj
[0] = args
; 
23940   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 |  0 ); 
23941   if (!SWIG_IsOK(res1
)) { 
23942     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");  
23944   arg1 
= reinterpret_cast< wxPostScriptDC 
* >(argp1
); 
23946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23948       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
23949       result 
= (wxPrintData 
*) &_result_ref
; 
23951     wxPyEndAllowThreads(__tstate
); 
23952     if (PyErr_Occurred()) SWIG_fail
; 
23954   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23961 SWIGINTERN PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23962   PyObject 
*resultobj 
= 0; 
23963   wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
23964   wxPrintData 
*arg2 
= 0 ; 
23969   PyObject 
* obj0 
= 0 ; 
23970   PyObject 
* obj1 
= 0 ; 
23971   char *  kwnames
[] = { 
23972     (char *) "self",(char *) "data", NULL 
 
23975   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23976   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 |  0 ); 
23977   if (!SWIG_IsOK(res1
)) { 
23978     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");  
23980   arg1 
= reinterpret_cast< wxPostScriptDC 
* >(argp1
); 
23981   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
23982   if (!SWIG_IsOK(res2
)) { 
23983     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
23986     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
23988   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
23990     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23991     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
23992     wxPyEndAllowThreads(__tstate
); 
23993     if (PyErr_Occurred()) SWIG_fail
; 
23995   resultobj 
= SWIG_Py_Void(); 
24002 SWIGINTERN PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24003   PyObject 
*resultobj 
= 0; 
24007   PyObject 
* obj0 
= 0 ; 
24008   char *  kwnames
[] = { 
24009     (char *) "ppi", NULL 
 
24012   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
; 
24013   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
24014   if (!SWIG_IsOK(ecode1
)) { 
24015     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'"); 
24017   arg1 
= static_cast< int >(val1
); 
24019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24020     wxPostScriptDC::SetResolution(arg1
); 
24021     wxPyEndAllowThreads(__tstate
); 
24022     if (PyErr_Occurred()) SWIG_fail
; 
24024   resultobj 
= SWIG_Py_Void(); 
24031 SWIGINTERN PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24032   PyObject 
*resultobj 
= 0; 
24035   if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
; 
24037     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24038     result 
= (int)wxPostScriptDC::GetResolution(); 
24039     wxPyEndAllowThreads(__tstate
); 
24040     if (PyErr_Occurred()) SWIG_fail
; 
24042   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24049 SWIGINTERN PyObject 
*PostScriptDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24051   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24052   SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
)); 
24053   return SWIG_Py_Void(); 
24056 SWIGINTERN PyObject 
*PostScriptDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24057   return SWIG_Python_InitShadowInstance(args
); 
24060 SWIGINTERN PyObject 
*_wrap_new_MetaFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24061   PyObject 
*resultobj 
= 0; 
24062   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
24063   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
24064   wxMetaFile 
*result 
= 0 ; 
24065   bool temp1 
= false ; 
24066   PyObject 
* obj0 
= 0 ; 
24067   char *  kwnames
[] = { 
24068     (char *) "filename", NULL 
 
24071   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
; 
24074       arg1 
= wxString_in_helper(obj0
); 
24075       if (arg1 
== NULL
) SWIG_fail
; 
24080     if (!wxPyCheckForApp()) SWIG_fail
; 
24081     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24082     result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
24083     wxPyEndAllowThreads(__tstate
); 
24084     if (PyErr_Occurred()) SWIG_fail
; 
24086   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW 
|  0 ); 
24101 SWIGINTERN PyObject 
*MetaFile_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24103   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24104   SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
)); 
24105   return SWIG_Py_Void(); 
24108 SWIGINTERN PyObject 
*MetaFile_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24109   return SWIG_Python_InitShadowInstance(args
); 
24112 SWIGINTERN PyObject 
*_wrap_new_MetaFileDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24113   PyObject 
*resultobj 
= 0; 
24114   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
24115   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
24116   int arg2 
= (int) 0 ; 
24117   int arg3 
= (int) 0 ; 
24118   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
24119   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
24120   wxMetaFileDC 
*result 
= 0 ; 
24121   bool temp1 
= false ; 
24126   bool temp4 
= false ; 
24127   PyObject 
* obj0 
= 0 ; 
24128   PyObject 
* obj1 
= 0 ; 
24129   PyObject 
* obj2 
= 0 ; 
24130   PyObject 
* obj3 
= 0 ; 
24131   char *  kwnames
[] = { 
24132     (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
24135   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
24138       arg1 
= wxString_in_helper(obj0
); 
24139       if (arg1 
== NULL
) SWIG_fail
; 
24144     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24145     if (!SWIG_IsOK(ecode2
)) { 
24146       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'"); 
24148     arg2 
= static_cast< int >(val2
); 
24151     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
24152     if (!SWIG_IsOK(ecode3
)) { 
24153       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'"); 
24155     arg3 
= static_cast< int >(val3
); 
24159       arg4 
= wxString_in_helper(obj3
); 
24160       if (arg4 
== NULL
) SWIG_fail
; 
24165     if (!wxPyCheckForApp()) SWIG_fail
; 
24166     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24167     result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
24168     wxPyEndAllowThreads(__tstate
); 
24169     if (PyErr_Occurred()) SWIG_fail
; 
24171   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW 
|  0 ); 
24194 SWIGINTERN PyObject 
*MetaFileDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24196   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24197   SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
)); 
24198   return SWIG_Py_Void(); 
24201 SWIGINTERN PyObject 
*MetaFileDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24202   return SWIG_Python_InitShadowInstance(args
); 
24205 SWIGINTERN PyObject 
*_wrap_new_PrinterDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24206   PyObject 
*resultobj 
= 0; 
24207   wxPrintData 
*arg1 
= 0 ; 
24208   wxPrinterDC 
*result 
= 0 ; 
24211   PyObject 
* obj0 
= 0 ; 
24212   char *  kwnames
[] = { 
24213     (char *) "printData", NULL 
 
24216   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
; 
24217   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
24218   if (!SWIG_IsOK(res1
)) { 
24219     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24222     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24224   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24226     if (!wxPyCheckForApp()) SWIG_fail
; 
24227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24228     result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
24229     wxPyEndAllowThreads(__tstate
); 
24230     if (PyErr_Occurred()) SWIG_fail
; 
24232   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW 
|  0 ); 
24239 SWIGINTERN PyObject 
*PrinterDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24241   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24242   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
)); 
24243   return SWIG_Py_Void(); 
24246 SWIGINTERN PyObject 
*PrinterDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24247   return SWIG_Python_InitShadowInstance(args
); 
24250 SWIGINTERN PyObject 
*_wrap_delete_GraphicsPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24251   PyObject 
*resultobj 
= 0; 
24252   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24255   PyObject 
*swig_obj
[1] ; 
24257   if (!args
) SWIG_fail
; 
24258   swig_obj
[0] = args
; 
24259   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN 
|  0 ); 
24260   if (!SWIG_IsOK(res1
)) { 
24261     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24263   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24267     if (PyErr_Occurred()) SWIG_fail
; 
24269   resultobj 
= SWIG_Py_Void(); 
24276 SWIGINTERN PyObject 
*_wrap_GraphicsPath_MoveToPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24277   PyObject 
*resultobj 
= 0; 
24278   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24287   PyObject 
* obj0 
= 0 ; 
24288   PyObject 
* obj1 
= 0 ; 
24289   PyObject 
* obj2 
= 0 ; 
24290   char *  kwnames
[] = { 
24291     (char *) "self",(char *) "x",(char *) "y", NULL 
 
24294   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
24295   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24296   if (!SWIG_IsOK(res1
)) { 
24297     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24299   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24300   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24301   if (!SWIG_IsOK(ecode2
)) { 
24302     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'"); 
24304   arg2 
= static_cast< wxDouble 
>(val2
); 
24305   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24306   if (!SWIG_IsOK(ecode3
)) { 
24307     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'"); 
24309   arg3 
= static_cast< wxDouble 
>(val3
); 
24311     (arg1
)->MoveToPoint(arg2
,arg3
); 
24312     if (PyErr_Occurred()) SWIG_fail
; 
24314   resultobj 
= SWIG_Py_Void(); 
24321 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddLineToPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24322   PyObject 
*resultobj 
= 0; 
24323   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24332   PyObject 
* obj0 
= 0 ; 
24333   PyObject 
* obj1 
= 0 ; 
24334   PyObject 
* obj2 
= 0 ; 
24335   char *  kwnames
[] = { 
24336     (char *) "self",(char *) "x",(char *) "y", NULL 
 
24339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
24340   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24341   if (!SWIG_IsOK(res1
)) { 
24342     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24344   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24345   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24346   if (!SWIG_IsOK(ecode2
)) { 
24347     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'"); 
24349   arg2 
= static_cast< wxDouble 
>(val2
); 
24350   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24351   if (!SWIG_IsOK(ecode3
)) { 
24352     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'"); 
24354   arg3 
= static_cast< wxDouble 
>(val3
); 
24356     (arg1
)->AddLineToPoint(arg2
,arg3
); 
24357     if (PyErr_Occurred()) SWIG_fail
; 
24359   resultobj 
= SWIG_Py_Void(); 
24366 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddCurveToPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24367   PyObject 
*resultobj 
= 0; 
24368   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24389   PyObject 
* obj0 
= 0 ; 
24390   PyObject 
* obj1 
= 0 ; 
24391   PyObject 
* obj2 
= 0 ; 
24392   PyObject 
* obj3 
= 0 ; 
24393   PyObject 
* obj4 
= 0 ; 
24394   PyObject 
* obj5 
= 0 ; 
24395   PyObject 
* obj6 
= 0 ; 
24396   char *  kwnames
[] = { 
24397     (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL 
 
24400   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
24401   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24402   if (!SWIG_IsOK(res1
)) { 
24403     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24405   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24406   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24407   if (!SWIG_IsOK(ecode2
)) { 
24408     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'"); 
24410   arg2 
= static_cast< wxDouble 
>(val2
); 
24411   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24412   if (!SWIG_IsOK(ecode3
)) { 
24413     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'"); 
24415   arg3 
= static_cast< wxDouble 
>(val3
); 
24416   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
24417   if (!SWIG_IsOK(ecode4
)) { 
24418     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'"); 
24420   arg4 
= static_cast< wxDouble 
>(val4
); 
24421   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
24422   if (!SWIG_IsOK(ecode5
)) { 
24423     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'"); 
24425   arg5 
= static_cast< wxDouble 
>(val5
); 
24426   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
24427   if (!SWIG_IsOK(ecode6
)) { 
24428     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'"); 
24430   arg6 
= static_cast< wxDouble 
>(val6
); 
24431   ecode7 
= SWIG_AsVal_double(obj6
, &val7
); 
24432   if (!SWIG_IsOK(ecode7
)) { 
24433     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'"); 
24435   arg7 
= static_cast< wxDouble 
>(val7
); 
24437     (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
24438     if (PyErr_Occurred()) SWIG_fail
; 
24440   resultobj 
= SWIG_Py_Void(); 
24447 SWIGINTERN PyObject 
*_wrap_GraphicsPath_CloseSubpath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24448   PyObject 
*resultobj 
= 0; 
24449   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24452   PyObject 
*swig_obj
[1] ; 
24454   if (!args
) SWIG_fail
; 
24455   swig_obj
[0] = args
; 
24456   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24457   if (!SWIG_IsOK(res1
)) { 
24458     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24460   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24462     (arg1
)->CloseSubpath(); 
24463     if (PyErr_Occurred()) SWIG_fail
; 
24465   resultobj 
= SWIG_Py_Void(); 
24472 SWIGINTERN PyObject 
*_wrap_GraphicsPath_GetCurrentPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24473   PyObject 
*resultobj 
= 0; 
24474   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24478   PyObject 
*swig_obj
[1] ; 
24480   if (!args
) SWIG_fail
; 
24481   swig_obj
[0] = args
; 
24482   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24483   if (!SWIG_IsOK(res1
)) { 
24484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24486   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24488     result 
= (arg1
)->GetCurrentPoint(); 
24489     if (PyErr_Occurred()) SWIG_fail
; 
24491   resultobj 
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN 
|  0 ); 
24498 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24499   PyObject 
*resultobj 
= 0; 
24500   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24521   PyObject 
* obj0 
= 0 ; 
24522   PyObject 
* obj1 
= 0 ; 
24523   PyObject 
* obj2 
= 0 ; 
24524   PyObject 
* obj3 
= 0 ; 
24525   PyObject 
* obj4 
= 0 ; 
24526   PyObject 
* obj5 
= 0 ; 
24527   PyObject 
* obj6 
= 0 ; 
24528   char *  kwnames
[] = { 
24529     (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL 
 
24532   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
24533   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24534   if (!SWIG_IsOK(res1
)) { 
24535     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24537   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24538   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24539   if (!SWIG_IsOK(ecode2
)) { 
24540     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'"); 
24542   arg2 
= static_cast< wxDouble 
>(val2
); 
24543   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24544   if (!SWIG_IsOK(ecode3
)) { 
24545     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'"); 
24547   arg3 
= static_cast< wxDouble 
>(val3
); 
24548   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
24549   if (!SWIG_IsOK(ecode4
)) { 
24550     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'"); 
24552   arg4 
= static_cast< wxDouble 
>(val4
); 
24553   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
24554   if (!SWIG_IsOK(ecode5
)) { 
24555     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'"); 
24557   arg5 
= static_cast< wxDouble 
>(val5
); 
24558   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
24559   if (!SWIG_IsOK(ecode6
)) { 
24560     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'"); 
24562   arg6 
= static_cast< wxDouble 
>(val6
); 
24563   ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
24564   if (!SWIG_IsOK(ecode7
)) { 
24565     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'"); 
24567   arg7 
= static_cast< bool >(val7
); 
24569     (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
24570     if (PyErr_Occurred()) SWIG_fail
; 
24572   resultobj 
= SWIG_Py_Void(); 
24579 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24580   PyObject 
*resultobj 
= 0; 
24581   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24596   PyObject 
* obj0 
= 0 ; 
24597   PyObject 
* obj1 
= 0 ; 
24598   PyObject 
* obj2 
= 0 ; 
24599   PyObject 
* obj3 
= 0 ; 
24600   PyObject 
* obj4 
= 0 ; 
24601   char *  kwnames
[] = { 
24602     (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL 
 
24605   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24606   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24607   if (!SWIG_IsOK(res1
)) { 
24608     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24610   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24611   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24612   if (!SWIG_IsOK(ecode2
)) { 
24613     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'"); 
24615   arg2 
= static_cast< wxDouble 
>(val2
); 
24616   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24617   if (!SWIG_IsOK(ecode3
)) { 
24618     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'"); 
24620   arg3 
= static_cast< wxDouble 
>(val3
); 
24621   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
24622   if (!SWIG_IsOK(ecode4
)) { 
24623     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'"); 
24625   arg4 
= static_cast< wxDouble 
>(val4
); 
24626   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
24627   if (!SWIG_IsOK(ecode5
)) { 
24628     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'"); 
24630   arg5 
= static_cast< wxDouble 
>(val5
); 
24632     (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
); 
24633     if (PyErr_Occurred()) SWIG_fail
; 
24635   resultobj 
= SWIG_Py_Void(); 
24642 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24643   PyObject 
*resultobj 
= 0; 
24644   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24659   PyObject 
* obj0 
= 0 ; 
24660   PyObject 
* obj1 
= 0 ; 
24661   PyObject 
* obj2 
= 0 ; 
24662   PyObject 
* obj3 
= 0 ; 
24663   PyObject 
* obj4 
= 0 ; 
24664   char *  kwnames
[] = { 
24665     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
24668   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24669   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24670   if (!SWIG_IsOK(res1
)) { 
24671     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24673   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24674   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24675   if (!SWIG_IsOK(ecode2
)) { 
24676     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'"); 
24678   arg2 
= static_cast< wxDouble 
>(val2
); 
24679   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24680   if (!SWIG_IsOK(ecode3
)) { 
24681     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'"); 
24683   arg3 
= static_cast< wxDouble 
>(val3
); 
24684   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
24685   if (!SWIG_IsOK(ecode4
)) { 
24686     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'"); 
24688   arg4 
= static_cast< wxDouble 
>(val4
); 
24689   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
24690   if (!SWIG_IsOK(ecode5
)) { 
24691     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'"); 
24693   arg5 
= static_cast< wxDouble 
>(val5
); 
24695     (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
); 
24696     if (PyErr_Occurred()) SWIG_fail
; 
24698   resultobj 
= SWIG_Py_Void(); 
24705 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddCircle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24706   PyObject 
*resultobj 
= 0; 
24707   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24719   PyObject 
* obj0 
= 0 ; 
24720   PyObject 
* obj1 
= 0 ; 
24721   PyObject 
* obj2 
= 0 ; 
24722   PyObject 
* obj3 
= 0 ; 
24723   char *  kwnames
[] = { 
24724     (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL 
 
24727   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
24728   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24729   if (!SWIG_IsOK(res1
)) { 
24730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24732   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24733   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24734   if (!SWIG_IsOK(ecode2
)) { 
24735     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'"); 
24737   arg2 
= static_cast< wxDouble 
>(val2
); 
24738   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24739   if (!SWIG_IsOK(ecode3
)) { 
24740     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'"); 
24742   arg3 
= static_cast< wxDouble 
>(val3
); 
24743   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
24744   if (!SWIG_IsOK(ecode4
)) { 
24745     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'"); 
24747   arg4 
= static_cast< wxDouble 
>(val4
); 
24749     (arg1
)->AddCircle(arg2
,arg3
,arg4
); 
24750     if (PyErr_Occurred()) SWIG_fail
; 
24752   resultobj 
= SWIG_Py_Void(); 
24759 SWIGINTERN PyObject 
*_wrap_GraphicsPath_AddArcToPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24760   PyObject 
*resultobj 
= 0; 
24761   wxGraphicsPath 
*arg1 
= (wxGraphicsPath 
*) 0 ; 
24779   PyObject 
* obj0 
= 0 ; 
24780   PyObject 
* obj1 
= 0 ; 
24781   PyObject 
* obj2 
= 0 ; 
24782   PyObject 
* obj3 
= 0 ; 
24783   PyObject 
* obj4 
= 0 ; 
24784   PyObject 
* obj5 
= 0 ; 
24785   char *  kwnames
[] = { 
24786     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL 
 
24789   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
24790   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24791   if (!SWIG_IsOK(res1
)) { 
24792     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");  
24794   arg1 
= reinterpret_cast< wxGraphicsPath 
* >(argp1
); 
24795   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
24796   if (!SWIG_IsOK(ecode2
)) { 
24797     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'"); 
24799   arg2 
= static_cast< wxDouble 
>(val2
); 
24800   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
24801   if (!SWIG_IsOK(ecode3
)) { 
24802     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'"); 
24804   arg3 
= static_cast< wxDouble 
>(val3
); 
24805   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
24806   if (!SWIG_IsOK(ecode4
)) { 
24807     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'"); 
24809   arg4 
= static_cast< wxDouble 
>(val4
); 
24810   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
24811   if (!SWIG_IsOK(ecode5
)) { 
24812     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'"); 
24814   arg5 
= static_cast< wxDouble 
>(val5
); 
24815   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
24816   if (!SWIG_IsOK(ecode6
)) { 
24817     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'"); 
24819   arg6 
= static_cast< wxDouble 
>(val6
); 
24821     (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
); 
24822     if (PyErr_Occurred()) SWIG_fail
; 
24824   resultobj 
= SWIG_Py_Void(); 
24831 SWIGINTERN PyObject 
*GraphicsPath_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24833   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24834   SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
)); 
24835   return SWIG_Py_Void(); 
24838 SWIGINTERN PyObject 
*_wrap_delete_GraphicsContext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24839   PyObject 
*resultobj 
= 0; 
24840   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
24843   PyObject 
*swig_obj
[1] ; 
24845   if (!args
) SWIG_fail
; 
24846   swig_obj
[0] = args
; 
24847   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN 
|  0 ); 
24848   if (!SWIG_IsOK(res1
)) { 
24849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
24851   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
24855     if (PyErr_Occurred()) SWIG_fail
; 
24857   resultobj 
= SWIG_Py_Void(); 
24864 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Create__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24865   PyObject 
*resultobj 
= 0; 
24866   wxWindowDC 
*arg1 
= 0 ; 
24867   wxGraphicsContext 
*result 
= 0 ; 
24871   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24872   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
,  0  | 0); 
24873   if (!SWIG_IsOK(res1
)) { 
24874     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");  
24877     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");  
24879   arg1 
= reinterpret_cast< wxWindowDC 
* >(argp1
); 
24881     result 
= (wxGraphicsContext 
*)wxGraphicsContext::Create((wxWindowDC 
const &)*arg1
); 
24882     if (PyErr_Occurred()) SWIG_fail
; 
24884   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
24891 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Create__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24892   PyObject 
*resultobj 
= 0; 
24893   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
24894   wxGraphicsContext 
*result 
= 0 ; 
24898   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24899   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24900   if (!SWIG_IsOK(res1
)) { 
24901     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");  
24903   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
24905     result 
= (wxGraphicsContext 
*)wxGraphicsContext::Create(arg1
); 
24906     if (PyErr_Occurred()) SWIG_fail
; 
24908   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
24915 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Create(PyObject 
*self
, PyObject 
*args
) { 
24919   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
; 
24924       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0); 
24925       _v 
= SWIG_CheckState(res
); 
24927     if (!_v
) goto check_1
; 
24928     return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
); 
24933     return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
); 
24937   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'"); 
24942 SWIGINTERN PyObject 
*_wrap_GraphicsContext_CreateFromNative(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24943   PyObject 
*resultobj 
= 0; 
24944   void *arg1 
= (void *) 0 ; 
24945   wxGraphicsContext 
*result 
= 0 ; 
24947   PyObject 
* obj0 
= 0 ; 
24948   char *  kwnames
[] = { 
24949     (char *) "context", NULL 
 
24952   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
; 
24953   res1 
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0); 
24954   if (!SWIG_IsOK(res1
)) { 
24955     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");  
24958     result 
= (wxGraphicsContext 
*)wxGraphicsContext::CreateFromNative(arg1
); 
24959     if (PyErr_Occurred()) SWIG_fail
; 
24961   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
24968 SWIGINTERN PyObject 
*_wrap_GraphicsContext_CreatePath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24969   PyObject 
*resultobj 
= 0; 
24970   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
24971   wxGraphicsPath 
*result 
= 0 ; 
24974   PyObject 
*swig_obj
[1] ; 
24976   if (!args
) SWIG_fail
; 
24977   swig_obj
[0] = args
; 
24978   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
24979   if (!SWIG_IsOK(res1
)) { 
24980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
24982   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
24984     result 
= (wxGraphicsPath 
*)(arg1
)->CreatePath(); 
24985     if (PyErr_Occurred()) SWIG_fail
; 
24987   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
24994 SWIGINTERN PyObject 
*_wrap_GraphicsContext_PushState(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24995   PyObject 
*resultobj 
= 0; 
24996   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
24999   PyObject 
*swig_obj
[1] ; 
25001   if (!args
) SWIG_fail
; 
25002   swig_obj
[0] = args
; 
25003   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25004   if (!SWIG_IsOK(res1
)) { 
25005     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25007   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25009     (arg1
)->PushState(); 
25010     if (PyErr_Occurred()) SWIG_fail
; 
25012   resultobj 
= SWIG_Py_Void(); 
25019 SWIGINTERN PyObject 
*_wrap_GraphicsContext_PopState(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25020   PyObject 
*resultobj 
= 0; 
25021   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25024   PyObject 
*swig_obj
[1] ; 
25026   if (!args
) SWIG_fail
; 
25027   swig_obj
[0] = args
; 
25028   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25029   if (!SWIG_IsOK(res1
)) { 
25030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25032   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25034     (arg1
)->PopState(); 
25035     if (PyErr_Occurred()) SWIG_fail
; 
25037   resultobj 
= SWIG_Py_Void(); 
25044 SWIGINTERN PyObject 
*_wrap_GraphicsContext_ClipRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25045   PyObject 
*resultobj 
= 0; 
25046   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25047   wxRegion 
*arg2 
= 0 ; 
25052   PyObject 
* obj0 
= 0 ; 
25053   PyObject 
* obj1 
= 0 ; 
25054   char *  kwnames
[] = { 
25055     (char *) "self",(char *) "region", NULL 
 
25058   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25059   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25060   if (!SWIG_IsOK(res1
)) { 
25061     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25063   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25064   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
25065   if (!SWIG_IsOK(res2
)) { 
25066     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
25069     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
25071   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
25073     (arg1
)->Clip((wxRegion 
const &)*arg2
); 
25074     if (PyErr_Occurred()) SWIG_fail
; 
25076   resultobj 
= SWIG_Py_Void(); 
25083 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Clip(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25084   PyObject 
*resultobj 
= 0; 
25085   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25100   PyObject 
* obj0 
= 0 ; 
25101   PyObject 
* obj1 
= 0 ; 
25102   PyObject 
* obj2 
= 0 ; 
25103   PyObject 
* obj3 
= 0 ; 
25104   PyObject 
* obj4 
= 0 ; 
25105   char *  kwnames
[] = { 
25106     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
25109   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
25110   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25111   if (!SWIG_IsOK(res1
)) { 
25112     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25114   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25115   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
25116   if (!SWIG_IsOK(ecode2
)) { 
25117     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'"); 
25119   arg2 
= static_cast< wxDouble 
>(val2
); 
25120   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25121   if (!SWIG_IsOK(ecode3
)) { 
25122     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'"); 
25124   arg3 
= static_cast< wxDouble 
>(val3
); 
25125   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
25126   if (!SWIG_IsOK(ecode4
)) { 
25127     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'"); 
25129   arg4 
= static_cast< wxDouble 
>(val4
); 
25130   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
25131   if (!SWIG_IsOK(ecode5
)) { 
25132     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'"); 
25134   arg5 
= static_cast< wxDouble 
>(val5
); 
25136     (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
); 
25137     if (PyErr_Occurred()) SWIG_fail
; 
25139   resultobj 
= SWIG_Py_Void(); 
25146 SWIGINTERN PyObject 
*_wrap_GraphicsContext_ResetClip(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25147   PyObject 
*resultobj 
= 0; 
25148   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25151   PyObject 
*swig_obj
[1] ; 
25153   if (!args
) SWIG_fail
; 
25154   swig_obj
[0] = args
; 
25155   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25156   if (!SWIG_IsOK(res1
)) { 
25157     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25159   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25161     (arg1
)->ResetClip(); 
25162     if (PyErr_Occurred()) SWIG_fail
; 
25164   resultobj 
= SWIG_Py_Void(); 
25171 SWIGINTERN PyObject 
*_wrap_GraphicsContext_GetNativeContext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25172   PyObject 
*resultobj 
= 0; 
25173   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25177   PyObject 
*swig_obj
[1] ; 
25179   if (!args
) SWIG_fail
; 
25180   swig_obj
[0] = args
; 
25181   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25182   if (!SWIG_IsOK(res1
)) { 
25183     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25185   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25187     result 
= (void *)(arg1
)->GetNativeContext(); 
25188     if (PyErr_Occurred()) SWIG_fail
; 
25190   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 |  0 ); 
25197 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Translate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25198   PyObject 
*resultobj 
= 0; 
25199   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25208   PyObject 
* obj0 
= 0 ; 
25209   PyObject 
* obj1 
= 0 ; 
25210   PyObject 
* obj2 
= 0 ; 
25211   char *  kwnames
[] = { 
25212     (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
25215   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25216   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25217   if (!SWIG_IsOK(res1
)) { 
25218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25220   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25221   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
25222   if (!SWIG_IsOK(ecode2
)) { 
25223     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'"); 
25225   arg2 
= static_cast< wxDouble 
>(val2
); 
25226   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25227   if (!SWIG_IsOK(ecode3
)) { 
25228     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'"); 
25230   arg3 
= static_cast< wxDouble 
>(val3
); 
25232     (arg1
)->Translate(arg2
,arg3
); 
25233     if (PyErr_Occurred()) SWIG_fail
; 
25235   resultobj 
= SWIG_Py_Void(); 
25242 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Scale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25243   PyObject 
*resultobj 
= 0; 
25244   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25253   PyObject 
* obj0 
= 0 ; 
25254   PyObject 
* obj1 
= 0 ; 
25255   PyObject 
* obj2 
= 0 ; 
25256   char *  kwnames
[] = { 
25257     (char *) "self",(char *) "xScale",(char *) "yScale", NULL 
 
25260   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25261   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25262   if (!SWIG_IsOK(res1
)) { 
25263     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25265   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25266   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
25267   if (!SWIG_IsOK(ecode2
)) { 
25268     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'"); 
25270   arg2 
= static_cast< wxDouble 
>(val2
); 
25271   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25272   if (!SWIG_IsOK(ecode3
)) { 
25273     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'"); 
25275   arg3 
= static_cast< wxDouble 
>(val3
); 
25277     (arg1
)->Scale(arg2
,arg3
); 
25278     if (PyErr_Occurred()) SWIG_fail
; 
25280   resultobj 
= SWIG_Py_Void(); 
25287 SWIGINTERN PyObject 
*_wrap_GraphicsContext_Rotate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25288   PyObject 
*resultobj 
= 0; 
25289   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25295   PyObject 
* obj0 
= 0 ; 
25296   PyObject 
* obj1 
= 0 ; 
25297   char *  kwnames
[] = { 
25298     (char *) "self",(char *) "angle", NULL 
 
25301   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25302   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25303   if (!SWIG_IsOK(res1
)) { 
25304     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25306   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25307   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
25308   if (!SWIG_IsOK(ecode2
)) { 
25309     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'"); 
25311   arg2 
= static_cast< wxDouble 
>(val2
); 
25313     (arg1
)->Rotate(arg2
); 
25314     if (PyErr_Occurred()) SWIG_fail
; 
25316   resultobj 
= SWIG_Py_Void(); 
25323 SWIGINTERN PyObject 
*_wrap_GraphicsContext_SetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25324   PyObject 
*resultobj 
= 0; 
25325   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25331   PyObject 
* obj0 
= 0 ; 
25332   PyObject 
* obj1 
= 0 ; 
25333   char *  kwnames
[] = { 
25334     (char *) "self",(char *) "pen", NULL 
 
25337   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25338   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25339   if (!SWIG_IsOK(res1
)) { 
25340     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25342   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25343   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
,  0  | 0); 
25344   if (!SWIG_IsOK(res2
)) { 
25345     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
25348     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
25350   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
25352     (arg1
)->SetPen((wxPen 
const &)*arg2
); 
25353     if (PyErr_Occurred()) SWIG_fail
; 
25355   resultobj 
= SWIG_Py_Void(); 
25362 SWIGINTERN PyObject 
*_wrap_GraphicsContext_SetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25363   PyObject 
*resultobj 
= 0; 
25364   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25365   wxBrush 
*arg2 
= 0 ; 
25370   PyObject 
* obj0 
= 0 ; 
25371   PyObject 
* obj1 
= 0 ; 
25372   char *  kwnames
[] = { 
25373     (char *) "self",(char *) "brush", NULL 
 
25376   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25377   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25378   if (!SWIG_IsOK(res1
)) { 
25379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25381   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25382   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
25383   if (!SWIG_IsOK(res2
)) { 
25384     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
25387     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
25389   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
25391     (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
25392     if (PyErr_Occurred()) SWIG_fail
; 
25394   resultobj 
= SWIG_Py_Void(); 
25401 SWIGINTERN PyObject 
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25402   PyObject 
*resultobj 
= 0; 
25403   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25408   wxColour 
*arg6 
= 0 ; 
25409   wxColour 
*arg7 
= 0 ; 
25422   PyObject 
* obj0 
= 0 ; 
25423   PyObject 
* obj1 
= 0 ; 
25424   PyObject 
* obj2 
= 0 ; 
25425   PyObject 
* obj3 
= 0 ; 
25426   PyObject 
* obj4 
= 0 ; 
25427   PyObject 
* obj5 
= 0 ; 
25428   PyObject 
* obj6 
= 0 ; 
25429   char *  kwnames
[] = { 
25430     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL 
 
25433   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
25434   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25435   if (!SWIG_IsOK(res1
)) { 
25436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25438   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25439   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
25440   if (!SWIG_IsOK(ecode2
)) { 
25441     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'"); 
25443   arg2 
= static_cast< wxDouble 
>(val2
); 
25444   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25445   if (!SWIG_IsOK(ecode3
)) { 
25446     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'"); 
25448   arg3 
= static_cast< wxDouble 
>(val3
); 
25449   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
25450   if (!SWIG_IsOK(ecode4
)) { 
25451     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'"); 
25453   arg4 
= static_cast< wxDouble 
>(val4
); 
25454   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
25455   if (!SWIG_IsOK(ecode5
)) { 
25456     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'"); 
25458   arg5 
= static_cast< wxDouble 
>(val5
); 
25461     if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
25465     if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
; 
25468     (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour 
const &)*arg6
,(wxColour 
const &)*arg7
); 
25469     if (PyErr_Occurred()) SWIG_fail
; 
25471   resultobj 
= SWIG_Py_Void(); 
25478 SWIGINTERN PyObject 
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25479   PyObject 
*resultobj 
= 0; 
25480   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25486   wxColour 
*arg7 
= 0 ; 
25487   wxColour 
*arg8 
= 0 ; 
25502   PyObject 
* obj0 
= 0 ; 
25503   PyObject 
* obj1 
= 0 ; 
25504   PyObject 
* obj2 
= 0 ; 
25505   PyObject 
* obj3 
= 0 ; 
25506   PyObject 
* obj4 
= 0 ; 
25507   PyObject 
* obj5 
= 0 ; 
25508   PyObject 
* obj6 
= 0 ; 
25509   PyObject 
* obj7 
= 0 ; 
25510   char *  kwnames
[] = { 
25511     (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL 
 
25514   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
25515   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25516   if (!SWIG_IsOK(res1
)) { 
25517     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25519   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25520   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
25521   if (!SWIG_IsOK(ecode2
)) { 
25522     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'"); 
25524   arg2 
= static_cast< wxDouble 
>(val2
); 
25525   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25526   if (!SWIG_IsOK(ecode3
)) { 
25527     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'"); 
25529   arg3 
= static_cast< wxDouble 
>(val3
); 
25530   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
25531   if (!SWIG_IsOK(ecode4
)) { 
25532     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'"); 
25534   arg4 
= static_cast< wxDouble 
>(val4
); 
25535   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
25536   if (!SWIG_IsOK(ecode5
)) { 
25537     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'"); 
25539   arg5 
= static_cast< wxDouble 
>(val5
); 
25540   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
25541   if (!SWIG_IsOK(ecode6
)) { 
25542     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'"); 
25544   arg6 
= static_cast< wxDouble 
>(val6
); 
25547     if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
; 
25551     if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
; 
25554     (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour 
const &)*arg7
,(wxColour 
const &)*arg8
); 
25555     if (PyErr_Occurred()) SWIG_fail
; 
25557   resultobj 
= SWIG_Py_Void(); 
25564 SWIGINTERN PyObject 
*_wrap_GraphicsContext_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25565   PyObject 
*resultobj 
= 0; 
25566   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25572   PyObject 
* obj0 
= 0 ; 
25573   PyObject 
* obj1 
= 0 ; 
25574   char *  kwnames
[] = { 
25575     (char *) "self",(char *) "font", NULL 
 
25578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25579   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25580   if (!SWIG_IsOK(res1
)) { 
25581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25583   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25584   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
25585   if (!SWIG_IsOK(res2
)) { 
25586     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
25589     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
25591   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
25593     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
25594     if (PyErr_Occurred()) SWIG_fail
; 
25596   resultobj 
= SWIG_Py_Void(); 
25603 SWIGINTERN PyObject 
*_wrap_GraphicsContext_SetTextColor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25604   PyObject 
*resultobj 
= 0; 
25605   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25606   wxColour 
*arg2 
= 0 ; 
25610   PyObject 
* obj0 
= 0 ; 
25611   PyObject 
* obj1 
= 0 ; 
25612   char *  kwnames
[] = { 
25613     (char *) "self",(char *) "col", NULL 
 
25616   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25617   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25618   if (!SWIG_IsOK(res1
)) { 
25619     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25621   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25624     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
25627     (arg1
)->SetTextColor((wxColour 
const &)*arg2
); 
25628     if (PyErr_Occurred()) SWIG_fail
; 
25630   resultobj 
= SWIG_Py_Void(); 
25637 SWIGINTERN PyObject 
*_wrap_GraphicsContext_StrokePath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25638   PyObject 
*resultobj 
= 0; 
25639   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25640   wxGraphicsPath 
*arg2 
= (wxGraphicsPath 
*) 0 ; 
25645   PyObject 
* obj0 
= 0 ; 
25646   PyObject 
* obj1 
= 0 ; 
25647   char *  kwnames
[] = { 
25648     (char *) "self",(char *) "path", NULL 
 
25651   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25652   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25653   if (!SWIG_IsOK(res1
)) { 
25654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25656   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25657   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
25658   if (!SWIG_IsOK(res2
)) { 
25659     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");  
25661   arg2 
= reinterpret_cast< wxGraphicsPath 
* >(argp2
); 
25663     (arg1
)->StrokePath((wxGraphicsPath 
const *)arg2
); 
25664     if (PyErr_Occurred()) SWIG_fail
; 
25666   resultobj 
= SWIG_Py_Void(); 
25673 SWIGINTERN PyObject 
*_wrap_GraphicsContext_FillPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25674   PyObject 
*resultobj 
= 0; 
25675   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25676   wxGraphicsPath 
*arg2 
= (wxGraphicsPath 
*) 0 ; 
25677   int arg3 
= (int) wxWINDING_RULE 
; 
25684   PyObject 
* obj0 
= 0 ; 
25685   PyObject 
* obj1 
= 0 ; 
25686   PyObject 
* obj2 
= 0 ; 
25687   char *  kwnames
[] = { 
25688     (char *) "self",(char *) "path",(char *) "fillStyle", NULL 
 
25691   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25692   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25693   if (!SWIG_IsOK(res1
)) { 
25694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25696   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25697   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
25698   if (!SWIG_IsOK(res2
)) { 
25699     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");  
25701   arg2 
= reinterpret_cast< wxGraphicsPath 
* >(argp2
); 
25703     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
25704     if (!SWIG_IsOK(ecode3
)) { 
25705       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'"); 
25707     arg3 
= static_cast< int >(val3
); 
25710     (arg1
)->FillPath((wxGraphicsPath 
const *)arg2
,arg3
); 
25711     if (PyErr_Occurred()) SWIG_fail
; 
25713   resultobj 
= SWIG_Py_Void(); 
25720 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25721   PyObject 
*resultobj 
= 0; 
25722   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25723   wxGraphicsPath 
*arg2 
= (wxGraphicsPath 
*) 0 ; 
25724   int arg3 
= (int) wxWINDING_RULE 
; 
25731   PyObject 
* obj0 
= 0 ; 
25732   PyObject 
* obj1 
= 0 ; 
25733   PyObject 
* obj2 
= 0 ; 
25734   char *  kwnames
[] = { 
25735     (char *) "self",(char *) "path",(char *) "fillStyle", NULL 
 
25738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25740   if (!SWIG_IsOK(res1
)) { 
25741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25743   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25744   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 |  0 ); 
25745   if (!SWIG_IsOK(res2
)) { 
25746     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");  
25748   arg2 
= reinterpret_cast< wxGraphicsPath 
* >(argp2
); 
25750     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
25751     if (!SWIG_IsOK(ecode3
)) { 
25752       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'"); 
25754     arg3 
= static_cast< int >(val3
); 
25757     (arg1
)->DrawPath((wxGraphicsPath 
const *)arg2
,arg3
); 
25758     if (PyErr_Occurred()) SWIG_fail
; 
25760   resultobj 
= SWIG_Py_Void(); 
25767 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25768   PyObject 
*resultobj 
= 0; 
25769   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25770   wxString 
*arg2 
= 0 ; 
25775   bool temp2 
= false ; 
25780   PyObject 
* obj0 
= 0 ; 
25781   PyObject 
* obj1 
= 0 ; 
25782   PyObject 
* obj2 
= 0 ; 
25783   PyObject 
* obj3 
= 0 ; 
25784   char *  kwnames
[] = { 
25785     (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL 
 
25788   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
25789   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25790   if (!SWIG_IsOK(res1
)) { 
25791     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25793   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25795     arg2 
= wxString_in_helper(obj1
); 
25796     if (arg2 
== NULL
) SWIG_fail
; 
25799   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25800   if (!SWIG_IsOK(ecode3
)) { 
25801     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'"); 
25803   arg3 
= static_cast< wxDouble 
>(val3
); 
25804   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
25805   if (!SWIG_IsOK(ecode4
)) { 
25806     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'"); 
25808   arg4 
= static_cast< wxDouble 
>(val4
); 
25810     (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
25811     if (PyErr_Occurred()) SWIG_fail
; 
25813   resultobj 
= SWIG_Py_Void(); 
25828 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawRotatedText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25829   PyObject 
*resultobj 
= 0; 
25830   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25831   wxString 
*arg2 
= 0 ; 
25837   bool temp2 
= false ; 
25844   PyObject 
* obj0 
= 0 ; 
25845   PyObject 
* obj1 
= 0 ; 
25846   PyObject 
* obj2 
= 0 ; 
25847   PyObject 
* obj3 
= 0 ; 
25848   PyObject 
* obj4 
= 0 ; 
25849   char *  kwnames
[] = { 
25850     (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
25853   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
25854   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25855   if (!SWIG_IsOK(res1
)) { 
25856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
25858   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25860     arg2 
= wxString_in_helper(obj1
); 
25861     if (arg2 
== NULL
) SWIG_fail
; 
25864   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
25865   if (!SWIG_IsOK(ecode3
)) { 
25866     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'"); 
25868   arg3 
= static_cast< wxDouble 
>(val3
); 
25869   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
25870   if (!SWIG_IsOK(ecode4
)) { 
25871     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'"); 
25873   arg4 
= static_cast< wxDouble 
>(val4
); 
25874   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
25875   if (!SWIG_IsOK(ecode5
)) { 
25876     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'"); 
25878   arg5 
= static_cast< wxDouble 
>(val5
); 
25880     (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
25881     if (PyErr_Occurred()) SWIG_fail
; 
25883   resultobj 
= SWIG_Py_Void(); 
25898 SWIGINTERN PyObject 
*_wrap_GraphicsContext_GetTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25899   PyObject 
*resultobj 
= 0; 
25900   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25901   wxString 
*arg2 
= 0 ; 
25902   wxDouble 
*arg3 
= (wxDouble 
*) 0 ; 
25903   wxDouble 
*arg4 
= (wxDouble 
*) 0 ; 
25904   wxDouble 
*arg5 
= (wxDouble 
*) 0 ; 
25905   wxDouble 
*arg6 
= (wxDouble 
*) 0 ; 
25908   bool temp2 
= false ; 
25910   int res3 
= SWIG_TMPOBJ 
; 
25912   int res4 
= SWIG_TMPOBJ 
; 
25914   int res5 
= SWIG_TMPOBJ 
; 
25916   int res6 
= SWIG_TMPOBJ 
; 
25917   PyObject 
* obj0 
= 0 ; 
25918   PyObject 
* obj1 
= 0 ; 
25919   char *  kwnames
[] = { 
25920     (char *) "self",(char *) "text", NULL 
 
25927   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25928   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25929   if (!SWIG_IsOK(res1
)) { 
25930     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");  
25932   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
25934     arg2 
= wxString_in_helper(obj1
); 
25935     if (arg2 
== NULL
) SWIG_fail
; 
25939     ((wxGraphicsContext 
const *)arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
25940     if (PyErr_Occurred()) SWIG_fail
; 
25942   resultobj 
= SWIG_Py_Void(); 
25943   if (SWIG_IsTmpObj(res3
)) { 
25944     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
))); 
25946     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
25947     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
)); 
25949   if (SWIG_IsTmpObj(res4
)) { 
25950     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
))); 
25952     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
25953     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
)); 
25955   if (SWIG_IsTmpObj(res5
)) { 
25956     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
))); 
25958     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
25959     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
)); 
25961   if (SWIG_IsTmpObj(res6
)) { 
25962     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
))); 
25964     int new_flags 
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
25965     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
)); 
25981 SWIGINTERN PyObject 
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25982   PyObject 
*resultobj 
= 0; 
25983   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
25984   wxString 
*arg2 
= 0 ; 
25985   wxArrayDouble result
; 
25988   bool temp2 
= false ; 
25989   PyObject 
* obj0 
= 0 ; 
25990   PyObject 
* obj1 
= 0 ; 
25991   char *  kwnames
[] = { 
25992     (char *) "self",(char *) "text", NULL 
 
25995   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25996   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
25997   if (!SWIG_IsOK(res1
)) { 
25998     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26000   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26002     arg2 
= wxString_in_helper(obj1
); 
26003     if (arg2 
== NULL
) SWIG_fail
; 
26007     result 
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
26008     if (PyErr_Occurred()) SWIG_fail
; 
26011     resultobj 
= wxArrayDouble2PyList_helper(result
); 
26027 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26028   PyObject 
*resultobj 
= 0; 
26029   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26030   wxBitmap 
*arg2 
= 0 ; 
26047   PyObject 
* obj0 
= 0 ; 
26048   PyObject 
* obj1 
= 0 ; 
26049   PyObject 
* obj2 
= 0 ; 
26050   PyObject 
* obj3 
= 0 ; 
26051   PyObject 
* obj4 
= 0 ; 
26052   PyObject 
* obj5 
= 0 ; 
26053   char *  kwnames
[] = { 
26054     (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
26057   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
26058   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26059   if (!SWIG_IsOK(res1
)) { 
26060     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26062   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26063   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
26064   if (!SWIG_IsOK(res2
)) { 
26065     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
26068     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
26070   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
26071   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26072   if (!SWIG_IsOK(ecode3
)) { 
26073     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'"); 
26075   arg3 
= static_cast< wxDouble 
>(val3
); 
26076   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26077   if (!SWIG_IsOK(ecode4
)) { 
26078     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'"); 
26080   arg4 
= static_cast< wxDouble 
>(val4
); 
26081   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26082   if (!SWIG_IsOK(ecode5
)) { 
26083     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'"); 
26085   arg5 
= static_cast< wxDouble 
>(val5
); 
26086   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
26087   if (!SWIG_IsOK(ecode6
)) { 
26088     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'"); 
26090   arg6 
= static_cast< wxDouble 
>(val6
); 
26092     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
26093     if (PyErr_Occurred()) SWIG_fail
; 
26095   resultobj 
= SWIG_Py_Void(); 
26102 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26103   PyObject 
*resultobj 
= 0; 
26104   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26122   PyObject 
* obj0 
= 0 ; 
26123   PyObject 
* obj1 
= 0 ; 
26124   PyObject 
* obj2 
= 0 ; 
26125   PyObject 
* obj3 
= 0 ; 
26126   PyObject 
* obj4 
= 0 ; 
26127   PyObject 
* obj5 
= 0 ; 
26128   char *  kwnames
[] = { 
26129     (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
26132   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
26133   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26134   if (!SWIG_IsOK(res1
)) { 
26135     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26137   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26138   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
26139   if (!SWIG_IsOK(res2
)) { 
26140     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
26143     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
26145   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
26146   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26147   if (!SWIG_IsOK(ecode3
)) { 
26148     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'"); 
26150   arg3 
= static_cast< wxDouble 
>(val3
); 
26151   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26152   if (!SWIG_IsOK(ecode4
)) { 
26153     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'"); 
26155   arg4 
= static_cast< wxDouble 
>(val4
); 
26156   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26157   if (!SWIG_IsOK(ecode5
)) { 
26158     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'"); 
26160   arg5 
= static_cast< wxDouble 
>(val5
); 
26161   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
26162   if (!SWIG_IsOK(ecode6
)) { 
26163     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'"); 
26165   arg6 
= static_cast< wxDouble 
>(val6
); 
26167     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
26168     if (PyErr_Occurred()) SWIG_fail
; 
26170   resultobj 
= SWIG_Py_Void(); 
26177 SWIGINTERN PyObject 
*_wrap_GraphicsContext_StrokeLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26178   PyObject 
*resultobj 
= 0; 
26179   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26194   PyObject 
* obj0 
= 0 ; 
26195   PyObject 
* obj1 
= 0 ; 
26196   PyObject 
* obj2 
= 0 ; 
26197   PyObject 
* obj3 
= 0 ; 
26198   PyObject 
* obj4 
= 0 ; 
26199   char *  kwnames
[] = { 
26200     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
26203   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26204   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26205   if (!SWIG_IsOK(res1
)) { 
26206     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26208   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26209   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
26210   if (!SWIG_IsOK(ecode2
)) { 
26211     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'"); 
26213   arg2 
= static_cast< wxDouble 
>(val2
); 
26214   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26215   if (!SWIG_IsOK(ecode3
)) { 
26216     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'"); 
26218   arg3 
= static_cast< wxDouble 
>(val3
); 
26219   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26220   if (!SWIG_IsOK(ecode4
)) { 
26221     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'"); 
26223   arg4 
= static_cast< wxDouble 
>(val4
); 
26224   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26225   if (!SWIG_IsOK(ecode5
)) { 
26226     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'"); 
26228   arg5 
= static_cast< wxDouble 
>(val5
); 
26230     (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
); 
26231     if (PyErr_Occurred()) SWIG_fail
; 
26233   resultobj 
= SWIG_Py_Void(); 
26240 SWIGINTERN PyObject 
*_wrap_GraphicsContext_StrokeLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26241   PyObject 
*resultobj 
= 0; 
26242   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26244   wxPoint2D 
*arg3 
= (wxPoint2D 
*) 0 ; 
26247   PyObject 
* obj0 
= 0 ; 
26248   PyObject 
* obj1 
= 0 ; 
26249   char *  kwnames
[] = { 
26250     (char *) "self",(char *) "points", NULL 
 
26253   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26254   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26255   if (!SWIG_IsOK(res1
)) { 
26256     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26258   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26260     arg3 
= wxPoint2D_LIST_helper(obj1
, &arg2
); 
26261     if (arg3 
== NULL
) SWIG_fail
; 
26264     (arg1
)->StrokeLines(arg2
,(wxPoint2D 
const *)arg3
); 
26265     if (PyErr_Occurred()) SWIG_fail
; 
26267   resultobj 
= SWIG_Py_Void(); 
26269     if (arg3
) delete [] arg3
; 
26274     if (arg3
) delete [] arg3
; 
26280 SWIGINTERN PyObject 
*_wrap_GraphicsContext_StrokeLineSegements(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26281   PyObject 
*resultobj 
= 0; 
26282   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26283   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26284   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26287   PyObject 
* obj0 
= 0 ; 
26288   PyObject 
* obj1 
= 0 ; 
26289   PyObject 
* obj2 
= 0 ; 
26290   char *  kwnames
[] = { 
26291     (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL 
 
26294   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26295   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26296   if (!SWIG_IsOK(res1
)) { 
26297     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26299   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26303     wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
); 
26304     if (PyErr_Occurred()) SWIG_fail
; 
26306   resultobj 
= SWIG_Py_Void(); 
26313 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26314   PyObject 
*resultobj 
= 0; 
26315   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26317   wxPoint2D 
*arg3 
= (wxPoint2D 
*) 0 ; 
26318   int arg4 
= (int) wxWINDING_RULE 
; 
26323   PyObject 
* obj0 
= 0 ; 
26324   PyObject 
* obj1 
= 0 ; 
26325   PyObject 
* obj2 
= 0 ; 
26326   char *  kwnames
[] = { 
26327     (char *) "self",(char *) "points",(char *) "fillStyle", NULL 
 
26330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26332   if (!SWIG_IsOK(res1
)) { 
26333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26335   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26337     arg3 
= wxPoint2D_LIST_helper(obj1
, &arg2
); 
26338     if (arg3 
== NULL
) SWIG_fail
; 
26341     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
26342     if (!SWIG_IsOK(ecode4
)) { 
26343       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'"); 
26345     arg4 
= static_cast< int >(val4
); 
26348     (arg1
)->DrawLines(arg2
,(wxPoint2D 
const *)arg3
,arg4
); 
26349     if (PyErr_Occurred()) SWIG_fail
; 
26351   resultobj 
= SWIG_Py_Void(); 
26353     if (arg3
) delete [] arg3
; 
26358     if (arg3
) delete [] arg3
; 
26364 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26365   PyObject 
*resultobj 
= 0; 
26366   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26381   PyObject 
* obj0 
= 0 ; 
26382   PyObject 
* obj1 
= 0 ; 
26383   PyObject 
* obj2 
= 0 ; 
26384   PyObject 
* obj3 
= 0 ; 
26385   PyObject 
* obj4 
= 0 ; 
26386   char *  kwnames
[] = { 
26387     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
26390   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26391   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26392   if (!SWIG_IsOK(res1
)) { 
26393     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26395   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26396   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
26397   if (!SWIG_IsOK(ecode2
)) { 
26398     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'"); 
26400   arg2 
= static_cast< wxDouble 
>(val2
); 
26401   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26402   if (!SWIG_IsOK(ecode3
)) { 
26403     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'"); 
26405   arg3 
= static_cast< wxDouble 
>(val3
); 
26406   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26407   if (!SWIG_IsOK(ecode4
)) { 
26408     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'"); 
26410   arg4 
= static_cast< wxDouble 
>(val4
); 
26411   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26412   if (!SWIG_IsOK(ecode5
)) { 
26413     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'"); 
26415   arg5 
= static_cast< wxDouble 
>(val5
); 
26417     (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
26418     if (PyErr_Occurred()) SWIG_fail
; 
26420   resultobj 
= SWIG_Py_Void(); 
26427 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawEllipse(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26428   PyObject 
*resultobj 
= 0; 
26429   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26444   PyObject 
* obj0 
= 0 ; 
26445   PyObject 
* obj1 
= 0 ; 
26446   PyObject 
* obj2 
= 0 ; 
26447   PyObject 
* obj3 
= 0 ; 
26448   PyObject 
* obj4 
= 0 ; 
26449   char *  kwnames
[] = { 
26450     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
26453   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26454   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26455   if (!SWIG_IsOK(res1
)) { 
26456     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26458   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26459   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
26460   if (!SWIG_IsOK(ecode2
)) { 
26461     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'"); 
26463   arg2 
= static_cast< wxDouble 
>(val2
); 
26464   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26465   if (!SWIG_IsOK(ecode3
)) { 
26466     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'"); 
26468   arg3 
= static_cast< wxDouble 
>(val3
); 
26469   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26470   if (!SWIG_IsOK(ecode4
)) { 
26471     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'"); 
26473   arg4 
= static_cast< wxDouble 
>(val4
); 
26474   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26475   if (!SWIG_IsOK(ecode5
)) { 
26476     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'"); 
26478   arg5 
= static_cast< wxDouble 
>(val5
); 
26480     (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
26481     if (PyErr_Occurred()) SWIG_fail
; 
26483   resultobj 
= SWIG_Py_Void(); 
26490 SWIGINTERN PyObject 
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26491   PyObject 
*resultobj 
= 0; 
26492   wxGraphicsContext 
*arg1 
= (wxGraphicsContext 
*) 0 ; 
26510   PyObject 
* obj0 
= 0 ; 
26511   PyObject 
* obj1 
= 0 ; 
26512   PyObject 
* obj2 
= 0 ; 
26513   PyObject 
* obj3 
= 0 ; 
26514   PyObject 
* obj4 
= 0 ; 
26515   PyObject 
* obj5 
= 0 ; 
26516   char *  kwnames
[] = { 
26517     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL 
 
26520   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
26521   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26522   if (!SWIG_IsOK(res1
)) { 
26523     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");  
26525   arg1 
= reinterpret_cast< wxGraphicsContext 
* >(argp1
); 
26526   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
26527   if (!SWIG_IsOK(ecode2
)) { 
26528     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'"); 
26530   arg2 
= static_cast< wxDouble 
>(val2
); 
26531   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26532   if (!SWIG_IsOK(ecode3
)) { 
26533     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'"); 
26535   arg3 
= static_cast< wxDouble 
>(val3
); 
26536   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26537   if (!SWIG_IsOK(ecode4
)) { 
26538     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'"); 
26540   arg4 
= static_cast< wxDouble 
>(val4
); 
26541   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26542   if (!SWIG_IsOK(ecode5
)) { 
26543     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'"); 
26545   arg5 
= static_cast< wxDouble 
>(val5
); 
26546   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
26547   if (!SWIG_IsOK(ecode6
)) { 
26548     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'"); 
26550   arg6 
= static_cast< wxDouble 
>(val6
); 
26552     (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
26553     if (PyErr_Occurred()) SWIG_fail
; 
26555   resultobj 
= SWIG_Py_Void(); 
26562 SWIGINTERN PyObject 
*GraphicsContext_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26564   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26565   SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
)); 
26566   return SWIG_Py_Void(); 
26569 SWIGINTERN PyObject 
*_wrap_new_GCDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26570   PyObject 
*resultobj 
= 0; 
26571   wxWindowDC 
*arg1 
= 0 ; 
26572   wxGCDC 
*result 
= 0 ; 
26575   PyObject 
* obj0 
= 0 ; 
26576   char *  kwnames
[] = { 
26577     (char *) "dc", NULL 
 
26580   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
; 
26581   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
,  0  | 0); 
26582   if (!SWIG_IsOK(res1
)) { 
26583     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");  
26586     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");  
26588   arg1 
= reinterpret_cast< wxWindowDC 
* >(argp1
); 
26590     if (!wxPyCheckForApp()) SWIG_fail
; 
26591     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26592     result 
= (wxGCDC 
*)new wxGCDC((wxWindowDC 
const &)*arg1
); 
26593     wxPyEndAllowThreads(__tstate
); 
26594     if (PyErr_Occurred()) SWIG_fail
; 
26596   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW 
|  0 ); 
26603 SWIGINTERN PyObject 
*_wrap_delete_GCDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26604   PyObject 
*resultobj 
= 0; 
26605   wxGCDC 
*arg1 
= (wxGCDC 
*) 0 ; 
26608   PyObject 
*swig_obj
[1] ; 
26610   if (!args
) SWIG_fail
; 
26611   swig_obj
[0] = args
; 
26612   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN 
|  0 ); 
26613   if (!SWIG_IsOK(res1
)) { 
26614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");  
26616   arg1 
= reinterpret_cast< wxGCDC 
* >(argp1
); 
26620     if (PyErr_Occurred()) SWIG_fail
; 
26622   resultobj 
= SWIG_Py_Void(); 
26629 SWIGINTERN PyObject 
*_wrap_GCDC_GetGraphicsContext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26630   PyObject 
*resultobj 
= 0; 
26631   wxGCDC 
*arg1 
= (wxGCDC 
*) 0 ; 
26632   wxGraphicsContext 
*result 
= 0 ; 
26635   PyObject 
*swig_obj
[1] ; 
26637   if (!args
) SWIG_fail
; 
26638   swig_obj
[0] = args
; 
26639   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 |  0 ); 
26640   if (!SWIG_IsOK(res1
)) { 
26641     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");  
26643   arg1 
= reinterpret_cast< wxGCDC 
* >(argp1
); 
26645     result 
= (wxGraphicsContext 
*)(arg1
)->GetGraphicsContext(); 
26646     if (PyErr_Occurred()) SWIG_fail
; 
26648   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26655 SWIGINTERN PyObject 
*_wrap_GCDC_SetGraphicsContext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26656   PyObject 
*resultobj 
= 0; 
26657   wxGCDC 
*arg1 
= (wxGCDC 
*) 0 ; 
26658   wxGraphicsContext 
*arg2 
= (wxGraphicsContext 
*) 0 ; 
26663   PyObject 
* obj0 
= 0 ; 
26664   PyObject 
* obj1 
= 0 ; 
26665   char *  kwnames
[] = { 
26666     (char *) "self",(char *) "ctx", NULL 
 
26669   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26670   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 |  0 ); 
26671   if (!SWIG_IsOK(res1
)) { 
26672     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");  
26674   arg1 
= reinterpret_cast< wxGCDC 
* >(argp1
); 
26675   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 |  0 ); 
26676   if (!SWIG_IsOK(res2
)) { 
26677     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");  
26679   arg2 
= reinterpret_cast< wxGraphicsContext 
* >(argp2
); 
26681     (arg1
)->SetGraphicsContext(arg2
); 
26682     if (PyErr_Occurred()) SWIG_fail
; 
26684   resultobj 
= SWIG_Py_Void(); 
26691 SWIGINTERN PyObject 
*GCDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26693   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26694   SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
)); 
26695   return SWIG_Py_Void(); 
26698 SWIGINTERN PyObject 
*GCDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26699   return SWIG_Python_InitShadowInstance(args
); 
26702 SWIGINTERN PyObject 
*_wrap_new_Overlay(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26703   PyObject 
*resultobj 
= 0; 
26704   wxOverlay 
*result 
= 0 ; 
26706   if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
; 
26708     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26709     result 
= (wxOverlay 
*)new wxOverlay(); 
26710     wxPyEndAllowThreads(__tstate
); 
26711     if (PyErr_Occurred()) SWIG_fail
; 
26713   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW 
|  0 ); 
26720 SWIGINTERN PyObject 
*_wrap_delete_Overlay(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26721   PyObject 
*resultobj 
= 0; 
26722   wxOverlay 
*arg1 
= (wxOverlay 
*) 0 ; 
26725   PyObject 
*swig_obj
[1] ; 
26727   if (!args
) SWIG_fail
; 
26728   swig_obj
[0] = args
; 
26729   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN 
|  0 ); 
26730   if (!SWIG_IsOK(res1
)) { 
26731     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");  
26733   arg1 
= reinterpret_cast< wxOverlay 
* >(argp1
); 
26735     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26738     wxPyEndAllowThreads(__tstate
); 
26739     if (PyErr_Occurred()) SWIG_fail
; 
26741   resultobj 
= SWIG_Py_Void(); 
26748 SWIGINTERN PyObject 
*_wrap_Overlay_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26749   PyObject 
*resultobj 
= 0; 
26750   wxOverlay 
*arg1 
= (wxOverlay 
*) 0 ; 
26753   PyObject 
*swig_obj
[1] ; 
26755   if (!args
) SWIG_fail
; 
26756   swig_obj
[0] = args
; 
26757   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 |  0 ); 
26758   if (!SWIG_IsOK(res1
)) { 
26759     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");  
26761   arg1 
= reinterpret_cast< wxOverlay 
* >(argp1
); 
26763     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26765     wxPyEndAllowThreads(__tstate
); 
26766     if (PyErr_Occurred()) SWIG_fail
; 
26768   resultobj 
= SWIG_Py_Void(); 
26775 SWIGINTERN PyObject 
*Overlay_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26777   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26778   SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
)); 
26779   return SWIG_Py_Void(); 
26782 SWIGINTERN PyObject 
*Overlay_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26783   return SWIG_Python_InitShadowInstance(args
); 
26786 SWIGINTERN PyObject 
*_wrap_new_DCOverlay__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
26787   PyObject 
*resultobj 
= 0; 
26788   wxOverlay 
*arg1 
= 0 ; 
26789   wxWindowDC 
*arg2 
= (wxWindowDC 
*) 0 ; 
26794   wxDCOverlay 
*result 
= 0 ; 
26808   if ((nobjs 
< 6) || (nobjs 
> 6)) SWIG_fail
; 
26809   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
,  0 ); 
26810   if (!SWIG_IsOK(res1
)) { 
26811     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");  
26814     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");  
26816   arg1 
= reinterpret_cast< wxOverlay 
* >(argp1
); 
26817   res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 |  0 ); 
26818   if (!SWIG_IsOK(res2
)) { 
26819     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");  
26821   arg2 
= reinterpret_cast< wxWindowDC 
* >(argp2
); 
26822   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
26823   if (!SWIG_IsOK(ecode3
)) { 
26824     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'"); 
26826   arg3 
= static_cast< int >(val3
); 
26827   ecode4 
= SWIG_AsVal_int(swig_obj
[3], &val4
); 
26828   if (!SWIG_IsOK(ecode4
)) { 
26829     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'"); 
26831   arg4 
= static_cast< int >(val4
); 
26832   ecode5 
= SWIG_AsVal_int(swig_obj
[4], &val5
); 
26833   if (!SWIG_IsOK(ecode5
)) { 
26834     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'"); 
26836   arg5 
= static_cast< int >(val5
); 
26837   ecode6 
= SWIG_AsVal_int(swig_obj
[5], &val6
); 
26838   if (!SWIG_IsOK(ecode6
)) { 
26839     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'"); 
26841   arg6 
= static_cast< int >(val6
); 
26843     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26844     result 
= (wxDCOverlay 
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
26845     wxPyEndAllowThreads(__tstate
); 
26846     if (PyErr_Occurred()) SWIG_fail
; 
26848   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW 
|  0 ); 
26855 SWIGINTERN PyObject 
*_wrap_new_DCOverlay__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
26856   PyObject 
*resultobj 
= 0; 
26857   wxOverlay 
*arg1 
= 0 ; 
26858   wxWindowDC 
*arg2 
= (wxWindowDC 
*) 0 ; 
26859   wxDCOverlay 
*result 
= 0 ; 
26865   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
26866   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
,  0 ); 
26867   if (!SWIG_IsOK(res1
)) { 
26868     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");  
26871     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");  
26873   arg1 
= reinterpret_cast< wxOverlay 
* >(argp1
); 
26874   res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 |  0 ); 
26875   if (!SWIG_IsOK(res2
)) { 
26876     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");  
26878   arg2 
= reinterpret_cast< wxWindowDC 
* >(argp2
); 
26880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26881     result 
= (wxDCOverlay 
*)new wxDCOverlay(*arg1
,arg2
); 
26882     wxPyEndAllowThreads(__tstate
); 
26883     if (PyErr_Occurred()) SWIG_fail
; 
26885   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW 
|  0 ); 
26892 SWIGINTERN PyObject 
*_wrap_new_DCOverlay(PyObject 
*self
, PyObject 
*args
) { 
26896   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
; 
26899     return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
); 
26902     return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
); 
26906   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'"); 
26911 SWIGINTERN PyObject 
*_wrap_delete_DCOverlay(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26912   PyObject 
*resultobj 
= 0; 
26913   wxDCOverlay 
*arg1 
= (wxDCOverlay 
*) 0 ; 
26916   PyObject 
*swig_obj
[1] ; 
26918   if (!args
) SWIG_fail
; 
26919   swig_obj
[0] = args
; 
26920   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN 
|  0 ); 
26921   if (!SWIG_IsOK(res1
)) { 
26922     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");  
26924   arg1 
= reinterpret_cast< wxDCOverlay 
* >(argp1
); 
26926     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26929     wxPyEndAllowThreads(__tstate
); 
26930     if (PyErr_Occurred()) SWIG_fail
; 
26932   resultobj 
= SWIG_Py_Void(); 
26939 SWIGINTERN PyObject 
*_wrap_DCOverlay_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26940   PyObject 
*resultobj 
= 0; 
26941   wxDCOverlay 
*arg1 
= (wxDCOverlay 
*) 0 ; 
26944   PyObject 
*swig_obj
[1] ; 
26946   if (!args
) SWIG_fail
; 
26947   swig_obj
[0] = args
; 
26948   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 |  0 ); 
26949   if (!SWIG_IsOK(res1
)) { 
26950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");  
26952   arg1 
= reinterpret_cast< wxDCOverlay 
* >(argp1
); 
26954     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26956     wxPyEndAllowThreads(__tstate
); 
26957     if (PyErr_Occurred()) SWIG_fail
; 
26959   resultobj 
= SWIG_Py_Void(); 
26966 SWIGINTERN PyObject 
*DCOverlay_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26968   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26969   SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
)); 
26970   return SWIG_Py_Void(); 
26973 SWIGINTERN PyObject 
*DCOverlay_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26974   return SWIG_Python_InitShadowInstance(args
); 
26977 SWIGINTERN PyObject 
*_wrap_new_ImageList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26978   PyObject 
*resultobj 
= 0; 
26981   int arg3 
= (int) true ; 
26982   int arg4 
= (int) 1 ; 
26983   wxImageList 
*result 
= 0 ; 
26992   PyObject 
* obj0 
= 0 ; 
26993   PyObject 
* obj1 
= 0 ; 
26994   PyObject 
* obj2 
= 0 ; 
26995   PyObject 
* obj3 
= 0 ; 
26996   char *  kwnames
[] = { 
26997     (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
27000   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27001   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
27002   if (!SWIG_IsOK(ecode1
)) { 
27003     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'"); 
27005   arg1 
= static_cast< int >(val1
); 
27006   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27007   if (!SWIG_IsOK(ecode2
)) { 
27008     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'"); 
27010   arg2 
= static_cast< int >(val2
); 
27012     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27013     if (!SWIG_IsOK(ecode3
)) { 
27014       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'"); 
27016     arg3 
= static_cast< int >(val3
); 
27019     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27020     if (!SWIG_IsOK(ecode4
)) { 
27021       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'"); 
27023     arg4 
= static_cast< int >(val4
); 
27026     if (!wxPyCheckForApp()) SWIG_fail
; 
27027     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27028     result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
27029     wxPyEndAllowThreads(__tstate
); 
27030     if (PyErr_Occurred()) SWIG_fail
; 
27032   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW 
|  0 ); 
27039 SWIGINTERN PyObject 
*_wrap_delete_ImageList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27040   PyObject 
*resultobj 
= 0; 
27041   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27044   PyObject 
*swig_obj
[1] ; 
27046   if (!args
) SWIG_fail
; 
27047   swig_obj
[0] = args
; 
27048   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN 
|  0 ); 
27049   if (!SWIG_IsOK(res1
)) { 
27050     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");  
27052   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27054     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27057     wxPyEndAllowThreads(__tstate
); 
27058     if (PyErr_Occurred()) SWIG_fail
; 
27060   resultobj 
= SWIG_Py_Void(); 
27067 SWIGINTERN PyObject 
*_wrap_ImageList_Add(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27068   PyObject 
*resultobj 
= 0; 
27069   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27070   wxBitmap 
*arg2 
= 0 ; 
27071   wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
27072   wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
27080   PyObject 
* obj0 
= 0 ; 
27081   PyObject 
* obj1 
= 0 ; 
27082   PyObject 
* obj2 
= 0 ; 
27083   char *  kwnames
[] = { 
27084     (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
27087   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27088   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27089   if (!SWIG_IsOK(res1
)) { 
27090     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");  
27092   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27093   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27094   if (!SWIG_IsOK(res2
)) { 
27095     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27098     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27100   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
27102     res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27103     if (!SWIG_IsOK(res3
)) { 
27104       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
27107       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
27109     arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
27112     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27113     result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
27114     wxPyEndAllowThreads(__tstate
); 
27115     if (PyErr_Occurred()) SWIG_fail
; 
27117   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27124 SWIGINTERN PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27125   PyObject 
*resultobj 
= 0; 
27126   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27127   wxBitmap 
*arg2 
= 0 ; 
27128   wxColour 
*arg3 
= 0 ; 
27135   PyObject 
* obj0 
= 0 ; 
27136   PyObject 
* obj1 
= 0 ; 
27137   PyObject 
* obj2 
= 0 ; 
27138   char *  kwnames
[] = { 
27139     (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
27142   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27143   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27144   if (!SWIG_IsOK(res1
)) { 
27145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");  
27147   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27148   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27149   if (!SWIG_IsOK(res2
)) { 
27150     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27153     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27155   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
27158     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
27161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27162     result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
27163     wxPyEndAllowThreads(__tstate
); 
27164     if (PyErr_Occurred()) SWIG_fail
; 
27166   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27173 SWIGINTERN PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27174   PyObject 
*resultobj 
= 0; 
27175   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27182   PyObject 
* obj0 
= 0 ; 
27183   PyObject 
* obj1 
= 0 ; 
27184   char *  kwnames
[] = { 
27185     (char *) "self",(char *) "icon", NULL 
 
27188   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27189   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27190   if (!SWIG_IsOK(res1
)) { 
27191     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");  
27193   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27194   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
27195   if (!SWIG_IsOK(res2
)) { 
27196     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
27199     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
27201   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
27203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27204     result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
27205     wxPyEndAllowThreads(__tstate
); 
27206     if (PyErr_Occurred()) SWIG_fail
; 
27208   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27215 SWIGINTERN PyObject 
*_wrap_ImageList_GetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27216   PyObject 
*resultobj 
= 0; 
27217   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27219   SwigValueWrapper
<wxBitmap 
> result
; 
27224   PyObject 
* obj0 
= 0 ; 
27225   PyObject 
* obj1 
= 0 ; 
27226   char *  kwnames
[] = { 
27227     (char *) "self",(char *) "index", NULL 
 
27230   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27231   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27232   if (!SWIG_IsOK(res1
)) { 
27233     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");  
27235   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27236   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27237   if (!SWIG_IsOK(ecode2
)) { 
27238     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'"); 
27240   arg2 
= static_cast< int >(val2
); 
27242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27243     result 
= ((wxImageList 
const *)arg1
)->GetBitmap(arg2
); 
27244     wxPyEndAllowThreads(__tstate
); 
27245     if (PyErr_Occurred()) SWIG_fail
; 
27247   resultobj 
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
27254 SWIGINTERN PyObject 
*_wrap_ImageList_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27255   PyObject 
*resultobj 
= 0; 
27256   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27263   PyObject 
* obj0 
= 0 ; 
27264   PyObject 
* obj1 
= 0 ; 
27265   char *  kwnames
[] = { 
27266     (char *) "self",(char *) "index", NULL 
 
27269   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27270   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27271   if (!SWIG_IsOK(res1
)) { 
27272     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");  
27274   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27275   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27276   if (!SWIG_IsOK(ecode2
)) { 
27277     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'"); 
27279   arg2 
= static_cast< int >(val2
); 
27281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27282     result 
= ((wxImageList 
const *)arg1
)->GetIcon(arg2
); 
27283     wxPyEndAllowThreads(__tstate
); 
27284     if (PyErr_Occurred()) SWIG_fail
; 
27286   resultobj 
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
27293 SWIGINTERN PyObject 
*_wrap_ImageList_Replace(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27294   PyObject 
*resultobj 
= 0; 
27295   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27297   wxBitmap 
*arg3 
= 0 ; 
27298   wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
27299   wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
27309   PyObject 
* obj0 
= 0 ; 
27310   PyObject 
* obj1 
= 0 ; 
27311   PyObject 
* obj2 
= 0 ; 
27312   PyObject 
* obj3 
= 0 ; 
27313   char *  kwnames
[] = { 
27314     (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL 
 
27317   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27318   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27319   if (!SWIG_IsOK(res1
)) { 
27320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");  
27322   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27323   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27324   if (!SWIG_IsOK(ecode2
)) { 
27325     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'"); 
27327   arg2 
= static_cast< int >(val2
); 
27328   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27329   if (!SWIG_IsOK(res3
)) { 
27330     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
27333     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
27335   arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
27337     res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27338     if (!SWIG_IsOK(res4
)) { 
27339       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");  
27342       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");  
27344     arg4 
= reinterpret_cast< wxBitmap 
* >(argp4
); 
27347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27348     result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
,(wxBitmap 
const &)*arg4
); 
27349     wxPyEndAllowThreads(__tstate
); 
27350     if (PyErr_Occurred()) SWIG_fail
; 
27353     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27361 SWIGINTERN PyObject 
*_wrap_ImageList_Draw(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27362   PyObject 
*resultobj 
= 0; 
27363   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27368   int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
27369   bool arg7 
= (bool) (bool)false ; 
27385   PyObject 
* obj0 
= 0 ; 
27386   PyObject 
* obj1 
= 0 ; 
27387   PyObject 
* obj2 
= 0 ; 
27388   PyObject 
* obj3 
= 0 ; 
27389   PyObject 
* obj4 
= 0 ; 
27390   PyObject 
* obj5 
= 0 ; 
27391   PyObject 
* obj6 
= 0 ; 
27392   char *  kwnames
[] = { 
27393     (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
27396   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
27397   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27398   if (!SWIG_IsOK(res1
)) { 
27399     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");  
27401   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27402   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27403   if (!SWIG_IsOK(ecode2
)) { 
27404     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'"); 
27406   arg2 
= static_cast< int >(val2
); 
27407   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
27408   if (!SWIG_IsOK(res3
)) { 
27409     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");  
27412     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");  
27414   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
27415   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27416   if (!SWIG_IsOK(ecode4
)) { 
27417     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'"); 
27419   arg4 
= static_cast< int >(val4
); 
27420   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
27421   if (!SWIG_IsOK(ecode5
)) { 
27422     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'"); 
27424   arg5 
= static_cast< int >(val5
); 
27426     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
27427     if (!SWIG_IsOK(ecode6
)) { 
27428       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'"); 
27430     arg6 
= static_cast< int >(val6
); 
27433     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
27434     if (!SWIG_IsOK(ecode7
)) { 
27435       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'"); 
27437     arg7 
= static_cast< bool >(val7
); 
27440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27441     result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
27442     wxPyEndAllowThreads(__tstate
); 
27443     if (PyErr_Occurred()) SWIG_fail
; 
27446     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27454 SWIGINTERN PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27455   PyObject 
*resultobj 
= 0; 
27456   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27460   PyObject 
*swig_obj
[1] ; 
27462   if (!args
) SWIG_fail
; 
27463   swig_obj
[0] = args
; 
27464   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27465   if (!SWIG_IsOK(res1
)) { 
27466     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");  
27468   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27470     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27471     result 
= (int)(arg1
)->GetImageCount(); 
27472     wxPyEndAllowThreads(__tstate
); 
27473     if (PyErr_Occurred()) SWIG_fail
; 
27475   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27482 SWIGINTERN PyObject 
*_wrap_ImageList_Remove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27483   PyObject 
*resultobj 
= 0; 
27484   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27491   PyObject 
* obj0 
= 0 ; 
27492   PyObject 
* obj1 
= 0 ; 
27493   char *  kwnames
[] = { 
27494     (char *) "self",(char *) "index", NULL 
 
27497   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27498   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27499   if (!SWIG_IsOK(res1
)) { 
27500     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");  
27502   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27503   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27504   if (!SWIG_IsOK(ecode2
)) { 
27505     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'"); 
27507   arg2 
= static_cast< int >(val2
); 
27509     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27510     result 
= (bool)(arg1
)->Remove(arg2
); 
27511     wxPyEndAllowThreads(__tstate
); 
27512     if (PyErr_Occurred()) SWIG_fail
; 
27515     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27523 SWIGINTERN PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27524   PyObject 
*resultobj 
= 0; 
27525   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27529   PyObject 
*swig_obj
[1] ; 
27531   if (!args
) SWIG_fail
; 
27532   swig_obj
[0] = args
; 
27533   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27534   if (!SWIG_IsOK(res1
)) { 
27535     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");  
27537   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27539     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27540     result 
= (bool)(arg1
)->RemoveAll(); 
27541     wxPyEndAllowThreads(__tstate
); 
27542     if (PyErr_Occurred()) SWIG_fail
; 
27545     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27553 SWIGINTERN PyObject 
*_wrap_ImageList_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27554   PyObject 
*resultobj 
= 0; 
27555   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
27564   int res3 
= SWIG_TMPOBJ 
; 
27566   int res4 
= SWIG_TMPOBJ 
; 
27567   PyObject 
* obj0 
= 0 ; 
27568   PyObject 
* obj1 
= 0 ; 
27569   char *  kwnames
[] = { 
27570     (char *) "self",(char *) "index", NULL 
 
27575   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27576   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
27577   if (!SWIG_IsOK(res1
)) { 
27578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");  
27580   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
27581   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27582   if (!SWIG_IsOK(ecode2
)) { 
27583     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'"); 
27585   arg2 
= static_cast< int >(val2
); 
27587     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27588     (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
27589     wxPyEndAllowThreads(__tstate
); 
27590     if (PyErr_Occurred()) SWIG_fail
; 
27592   resultobj 
= SWIG_Py_Void(); 
27593   if (SWIG_IsTmpObj(res3
)) { 
27594     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
27596     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27597     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
27599   if (SWIG_IsTmpObj(res4
)) { 
27600     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
27602     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27603     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
27611 SWIGINTERN PyObject 
*ImageList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27613   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27614   SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
)); 
27615   return SWIG_Py_Void(); 
27618 SWIGINTERN PyObject 
*ImageList_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27619   return SWIG_Python_InitShadowInstance(args
); 
27622 SWIGINTERN PyObject 
*_wrap_new_StockGDI(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27623   PyObject 
*resultobj 
= 0; 
27624   wxStockGDI 
*result 
= 0 ; 
27626   if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
; 
27628     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27629     result 
= (wxStockGDI 
*)new wxStockGDI(); 
27630     wxPyEndAllowThreads(__tstate
); 
27631     if (PyErr_Occurred()) SWIG_fail
; 
27633   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW 
|  0 ); 
27640 SWIGINTERN PyObject 
*_wrap_delete_StockGDI(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27641   PyObject 
*resultobj 
= 0; 
27642   wxStockGDI 
*arg1 
= (wxStockGDI 
*) 0 ; 
27645   PyObject 
*swig_obj
[1] ; 
27647   if (!args
) SWIG_fail
; 
27648   swig_obj
[0] = args
; 
27649   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN 
|  0 ); 
27650   if (!SWIG_IsOK(res1
)) { 
27651     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");  
27653   arg1 
= reinterpret_cast< wxStockGDI 
* >(argp1
); 
27655     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27658     wxPyEndAllowThreads(__tstate
); 
27659     if (PyErr_Occurred()) SWIG_fail
; 
27661   resultobj 
= SWIG_Py_Void(); 
27668 SWIGINTERN PyObject 
*_wrap_StockGDI_DeleteAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27669   PyObject 
*resultobj 
= 0; 
27671   if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
; 
27673     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27674     wxStockGDI::DeleteAll(); 
27675     wxPyEndAllowThreads(__tstate
); 
27676     if (PyErr_Occurred()) SWIG_fail
; 
27678   resultobj 
= SWIG_Py_Void(); 
27685 SWIGINTERN PyObject 
*_wrap_StockGDI_instance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27686   PyObject 
*resultobj 
= 0; 
27687   wxStockGDI 
*result 
= 0 ; 
27689   if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
; 
27691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27693       wxStockGDI 
&_result_ref 
= wxStockGDI::instance(); 
27694       result 
= (wxStockGDI 
*) &_result_ref
; 
27696     wxPyEndAllowThreads(__tstate
); 
27697     if (PyErr_Occurred()) SWIG_fail
; 
27699   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 |  0 ); 
27706 SWIGINTERN PyObject 
*_wrap_StockGDI_GetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27707   PyObject 
*resultobj 
= 0; 
27708   wxStockGDI::Item arg1 
; 
27709   wxBrush 
*result 
= 0 ; 
27712   PyObject 
* obj0 
= 0 ; 
27713   char *  kwnames
[] = { 
27714     (char *) "item", NULL 
 
27717   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
; 
27718   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
27719   if (!SWIG_IsOK(ecode1
)) { 
27720     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
27722   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
27724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27725     result 
= (wxBrush 
*)wxStockGDI::GetBrush(arg1
); 
27726     wxPyEndAllowThreads(__tstate
); 
27727     if (PyErr_Occurred()) SWIG_fail
; 
27729   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 |  0 ); 
27736 SWIGINTERN PyObject 
*_wrap_StockGDI_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27737   PyObject 
*resultobj 
= 0; 
27738   wxStockGDI::Item arg1 
; 
27739   wxColour 
*result 
= 0 ; 
27742   PyObject 
* obj0 
= 0 ; 
27743   char *  kwnames
[] = { 
27744     (char *) "item", NULL 
 
27747   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
; 
27748   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
27749   if (!SWIG_IsOK(ecode1
)) { 
27750     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
27752   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
27754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27755     result 
= (wxColour 
*)wxStockGDI::GetColour(arg1
); 
27756     wxPyEndAllowThreads(__tstate
); 
27757     if (PyErr_Occurred()) SWIG_fail
; 
27759   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
27766 SWIGINTERN PyObject 
*_wrap_StockGDI_GetCursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27767   PyObject 
*resultobj 
= 0; 
27768   wxStockGDI::Item arg1 
; 
27769   wxCursor 
*result 
= 0 ; 
27772   PyObject 
* obj0 
= 0 ; 
27773   char *  kwnames
[] = { 
27774     (char *) "item", NULL 
 
27777   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
; 
27778   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
27779   if (!SWIG_IsOK(ecode1
)) { 
27780     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
27782   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
27784     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27785     result 
= (wxCursor 
*)wxStockGDI::GetCursor(arg1
); 
27786     wxPyEndAllowThreads(__tstate
); 
27787     if (PyErr_Occurred()) SWIG_fail
; 
27789   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 |  0 ); 
27796 SWIGINTERN PyObject 
*_wrap_StockGDI_GetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27797   PyObject 
*resultobj 
= 0; 
27798   wxStockGDI::Item arg1 
; 
27799   wxPen 
*result 
= 0 ; 
27802   PyObject 
* obj0 
= 0 ; 
27803   char *  kwnames
[] = { 
27804     (char *) "item", NULL 
 
27807   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
; 
27808   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
27809   if (!SWIG_IsOK(ecode1
)) { 
27810     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
27812   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
27814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27815     result 
= (wxPen 
*)wxStockGDI::GetPen(arg1
); 
27816     wxPyEndAllowThreads(__tstate
); 
27817     if (PyErr_Occurred()) SWIG_fail
; 
27819   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 |  0 ); 
27826 SWIGINTERN PyObject 
*_wrap_StockGDI_GetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27827   PyObject 
*resultobj 
= 0; 
27828   wxStockGDI 
*arg1 
= (wxStockGDI 
*) 0 ; 
27829   wxStockGDI::Item arg2 
; 
27830   wxFont 
*result 
= 0 ; 
27835   PyObject 
* obj0 
= 0 ; 
27836   PyObject 
* obj1 
= 0 ; 
27837   char *  kwnames
[] = { 
27838     (char *) "self",(char *) "item", NULL 
 
27841   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27842   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 |  0 ); 
27843   if (!SWIG_IsOK(res1
)) { 
27844     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");  
27846   arg1 
= reinterpret_cast< wxStockGDI 
* >(argp1
); 
27847   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27848   if (!SWIG_IsOK(ecode2
)) { 
27849     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'"); 
27851   arg2 
= static_cast< wxStockGDI::Item 
>(val2
); 
27853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27854     result 
= (wxFont 
*)(arg1
)->GetFont(arg2
); 
27855     wxPyEndAllowThreads(__tstate
); 
27856     if (PyErr_Occurred()) SWIG_fail
; 
27858   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 |  0 ); 
27865 SWIGINTERN PyObject 
*StockGDI_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27867   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27868   SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
)); 
27869   return SWIG_Py_Void(); 
27872 SWIGINTERN PyObject 
*StockGDI_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27873   return SWIG_Python_InitShadowInstance(args
); 
27876 SWIGINTERN 
int NullBitmap_set(PyObject 
*) { 
27877   SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only."); 
27882 SWIGINTERN PyObject 
*NullBitmap_get(void) { 
27883   PyObject 
*pyobj 
= 0; 
27885   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
,  0 ); 
27890 SWIGINTERN 
int NullIcon_set(PyObject 
*) { 
27891   SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only."); 
27896 SWIGINTERN PyObject 
*NullIcon_get(void) { 
27897   PyObject 
*pyobj 
= 0; 
27899   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
,  0 ); 
27904 SWIGINTERN 
int NullCursor_set(PyObject 
*) { 
27905   SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only."); 
27910 SWIGINTERN PyObject 
*NullCursor_get(void) { 
27911   PyObject 
*pyobj 
= 0; 
27913   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
,  0 ); 
27918 SWIGINTERN 
int NullPen_set(PyObject 
*) { 
27919   SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only."); 
27924 SWIGINTERN PyObject 
*NullPen_get(void) { 
27925   PyObject 
*pyobj 
= 0; 
27927   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
,  0 ); 
27932 SWIGINTERN 
int NullBrush_set(PyObject 
*) { 
27933   SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only."); 
27938 SWIGINTERN PyObject 
*NullBrush_get(void) { 
27939   PyObject 
*pyobj 
= 0; 
27941   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
,  0 ); 
27946 SWIGINTERN 
int NullPalette_set(PyObject 
*) { 
27947   SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only."); 
27952 SWIGINTERN PyObject 
*NullPalette_get(void) { 
27953   PyObject 
*pyobj 
= 0; 
27955   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
,  0 ); 
27960 SWIGINTERN 
int NullFont_set(PyObject 
*) { 
27961   SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only."); 
27966 SWIGINTERN PyObject 
*NullFont_get(void) { 
27967   PyObject 
*pyobj 
= 0; 
27969   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
,  0 ); 
27974 SWIGINTERN 
int NullColour_set(PyObject 
*) { 
27975   SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only."); 
27980 SWIGINTERN PyObject 
*NullColour_get(void) { 
27981   PyObject 
*pyobj 
= 0; 
27983   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
,  0 ); 
27988 SWIGINTERN PyObject 
*_wrap_new_GDIObjListBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27989   PyObject 
*resultobj 
= 0; 
27990   wxGDIObjListBase 
*result 
= 0 ; 
27992   if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
; 
27994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27995     result 
= (wxGDIObjListBase 
*)new wxGDIObjListBase(); 
27996     wxPyEndAllowThreads(__tstate
); 
27997     if (PyErr_Occurred()) SWIG_fail
; 
27999   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW 
|  0 ); 
28006 SWIGINTERN PyObject 
*_wrap_delete_GDIObjListBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28007   PyObject 
*resultobj 
= 0; 
28008   wxGDIObjListBase 
*arg1 
= (wxGDIObjListBase 
*) 0 ; 
28011   PyObject 
*swig_obj
[1] ; 
28013   if (!args
) SWIG_fail
; 
28014   swig_obj
[0] = args
; 
28015   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN 
|  0 ); 
28016   if (!SWIG_IsOK(res1
)) { 
28017     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");  
28019   arg1 
= reinterpret_cast< wxGDIObjListBase 
* >(argp1
); 
28021     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28024     wxPyEndAllowThreads(__tstate
); 
28025     if (PyErr_Occurred()) SWIG_fail
; 
28027   resultobj 
= SWIG_Py_Void(); 
28034 SWIGINTERN PyObject 
*GDIObjListBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28036   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28037   SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
)); 
28038   return SWIG_Py_Void(); 
28041 SWIGINTERN PyObject 
*GDIObjListBase_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28042   return SWIG_Python_InitShadowInstance(args
); 
28045 SWIGINTERN PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28046   PyObject 
*resultobj 
= 0; 
28047   wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
28048   wxColour 
*arg2 
= 0 ; 
28051   wxPen 
*result 
= 0 ; 
28059   PyObject 
* obj0 
= 0 ; 
28060   PyObject 
* obj1 
= 0 ; 
28061   PyObject 
* obj2 
= 0 ; 
28062   PyObject 
* obj3 
= 0 ; 
28063   char *  kwnames
[] = { 
28064     (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
28067   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
28068   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 |  0 ); 
28069   if (!SWIG_IsOK(res1
)) { 
28070     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");  
28072   arg1 
= reinterpret_cast< wxPenList 
* >(argp1
); 
28075     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
28077   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28078   if (!SWIG_IsOK(ecode3
)) { 
28079     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'"); 
28081   arg3 
= static_cast< int >(val3
); 
28082   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
28083   if (!SWIG_IsOK(ecode4
)) { 
28084     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'"); 
28086   arg4 
= static_cast< int >(val4
); 
28088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28089     result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
28090     wxPyEndAllowThreads(__tstate
); 
28091     if (PyErr_Occurred()) SWIG_fail
; 
28093   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 |  0 ); 
28100 SWIGINTERN PyObject 
*_wrap_PenList_AddPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28101   PyObject 
*resultobj 
= 0; 
28102   wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
28103   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
28108   PyObject 
* obj0 
= 0 ; 
28109   PyObject 
* obj1 
= 0 ; 
28110   char *  kwnames
[] = { 
28111     (char *) "self",(char *) "pen", NULL 
 
28114   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28115   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 |  0 ); 
28116   if (!SWIG_IsOK(res1
)) { 
28117     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");  
28119   arg1 
= reinterpret_cast< wxPenList 
* >(argp1
); 
28120   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
28121   if (!SWIG_IsOK(res2
)) { 
28122     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");  
28124   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
28126     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28127     (arg1
)->AddPen(arg2
); 
28128     wxPyEndAllowThreads(__tstate
); 
28129     if (PyErr_Occurred()) SWIG_fail
; 
28131   resultobj 
= SWIG_Py_Void(); 
28138 SWIGINTERN PyObject 
*_wrap_PenList_RemovePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28139   PyObject 
*resultobj 
= 0; 
28140   wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
28141   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
28146   PyObject 
* obj0 
= 0 ; 
28147   PyObject 
* obj1 
= 0 ; 
28148   char *  kwnames
[] = { 
28149     (char *) "self",(char *) "pen", NULL 
 
28152   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28153   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 |  0 ); 
28154   if (!SWIG_IsOK(res1
)) { 
28155     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");  
28157   arg1 
= reinterpret_cast< wxPenList 
* >(argp1
); 
28158   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
28159   if (!SWIG_IsOK(res2
)) { 
28160     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");  
28162   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
28164     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28165     (arg1
)->RemovePen(arg2
); 
28166     wxPyEndAllowThreads(__tstate
); 
28167     if (PyErr_Occurred()) SWIG_fail
; 
28169   resultobj 
= SWIG_Py_Void(); 
28176 SWIGINTERN PyObject 
*PenList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28178   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28179   SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
)); 
28180   return SWIG_Py_Void(); 
28183 SWIGINTERN PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28184   PyObject 
*resultobj 
= 0; 
28185   wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
28186   wxColour 
*arg2 
= 0 ; 
28187   int arg3 
= (int) wxSOLID 
; 
28188   wxBrush 
*result 
= 0 ; 
28194   PyObject 
* obj0 
= 0 ; 
28195   PyObject 
* obj1 
= 0 ; 
28196   PyObject 
* obj2 
= 0 ; 
28197   char *  kwnames
[] = { 
28198     (char *) "self",(char *) "colour",(char *) "style", NULL 
 
28201   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28202   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
28203   if (!SWIG_IsOK(res1
)) { 
28204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");  
28206   arg1 
= reinterpret_cast< wxBrushList 
* >(argp1
); 
28209     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
28212     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28213     if (!SWIG_IsOK(ecode3
)) { 
28214       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'"); 
28216     arg3 
= static_cast< int >(val3
); 
28219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28220     result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
28221     wxPyEndAllowThreads(__tstate
); 
28222     if (PyErr_Occurred()) SWIG_fail
; 
28224   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 |  0 ); 
28231 SWIGINTERN PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28232   PyObject 
*resultobj 
= 0; 
28233   wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
28234   wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
28239   PyObject 
* obj0 
= 0 ; 
28240   PyObject 
* obj1 
= 0 ; 
28241   char *  kwnames
[] = { 
28242     (char *) "self",(char *) "brush", NULL 
 
28245   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28246   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
28247   if (!SWIG_IsOK(res1
)) { 
28248     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");  
28250   arg1 
= reinterpret_cast< wxBrushList 
* >(argp1
); 
28251   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
28252   if (!SWIG_IsOK(res2
)) { 
28253     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");  
28255   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
28257     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28258     (arg1
)->AddBrush(arg2
); 
28259     wxPyEndAllowThreads(__tstate
); 
28260     if (PyErr_Occurred()) SWIG_fail
; 
28262   resultobj 
= SWIG_Py_Void(); 
28269 SWIGINTERN PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28270   PyObject 
*resultobj 
= 0; 
28271   wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
28272   wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
28277   PyObject 
* obj0 
= 0 ; 
28278   PyObject 
* obj1 
= 0 ; 
28279   char *  kwnames
[] = { 
28280     (char *) "self",(char *) "brush", NULL 
 
28283   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28284   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
28285   if (!SWIG_IsOK(res1
)) { 
28286     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");  
28288   arg1 
= reinterpret_cast< wxBrushList 
* >(argp1
); 
28289   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
28290   if (!SWIG_IsOK(res2
)) { 
28291     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");  
28293   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
28295     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28296     (arg1
)->RemoveBrush(arg2
); 
28297     wxPyEndAllowThreads(__tstate
); 
28298     if (PyErr_Occurred()) SWIG_fail
; 
28300   resultobj 
= SWIG_Py_Void(); 
28307 SWIGINTERN PyObject 
*BrushList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28309   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28310   SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
)); 
28311   return SWIG_Py_Void(); 
28314 SWIGINTERN PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28315   PyObject 
*resultobj 
= 0; 
28316   wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
28321   bool arg6 
= (bool) false ; 
28322   wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
28323   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28324   wxFontEncoding arg8 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
28325   wxFont 
*result 
= 0 ; 
28338   bool temp7 
= false ; 
28341   PyObject 
* obj0 
= 0 ; 
28342   PyObject 
* obj1 
= 0 ; 
28343   PyObject 
* obj2 
= 0 ; 
28344   PyObject 
* obj3 
= 0 ; 
28345   PyObject 
* obj4 
= 0 ; 
28346   PyObject 
* obj5 
= 0 ; 
28347   PyObject 
* obj6 
= 0 ; 
28348   PyObject 
* obj7 
= 0 ; 
28349   char *  kwnames
[] = { 
28350     (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
28353   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
28354   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 |  0 ); 
28355   if (!SWIG_IsOK(res1
)) { 
28356     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");  
28358   arg1 
= reinterpret_cast< wxFontList 
* >(argp1
); 
28359   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28360   if (!SWIG_IsOK(ecode2
)) { 
28361     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'"); 
28363   arg2 
= static_cast< int >(val2
); 
28364   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28365   if (!SWIG_IsOK(ecode3
)) { 
28366     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'"); 
28368   arg3 
= static_cast< int >(val3
); 
28369   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
28370   if (!SWIG_IsOK(ecode4
)) { 
28371     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'"); 
28373   arg4 
= static_cast< int >(val4
); 
28374   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
28375   if (!SWIG_IsOK(ecode5
)) { 
28376     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'"); 
28378   arg5 
= static_cast< int >(val5
); 
28380     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
28381     if (!SWIG_IsOK(ecode6
)) { 
28382       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'"); 
28384     arg6 
= static_cast< bool >(val6
); 
28388       arg7 
= wxString_in_helper(obj6
); 
28389       if (arg7 
== NULL
) SWIG_fail
; 
28394     ecode8 
= SWIG_AsVal_int(obj7
, &val8
); 
28395     if (!SWIG_IsOK(ecode8
)) { 
28396       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'"); 
28398     arg8 
= static_cast< wxFontEncoding 
>(val8
); 
28401     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28402     result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,arg8
); 
28403     wxPyEndAllowThreads(__tstate
); 
28404     if (PyErr_Occurred()) SWIG_fail
; 
28406   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 |  0 ); 
28421 SWIGINTERN PyObject 
*_wrap_FontList_AddFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28422   PyObject 
*resultobj 
= 0; 
28423   wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
28424   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
28429   PyObject 
* obj0 
= 0 ; 
28430   PyObject 
* obj1 
= 0 ; 
28431   char *  kwnames
[] = { 
28432     (char *) "self",(char *) "font", NULL 
 
28435   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28436   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 |  0 ); 
28437   if (!SWIG_IsOK(res1
)) { 
28438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");  
28440   arg1 
= reinterpret_cast< wxFontList 
* >(argp1
); 
28441   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
28442   if (!SWIG_IsOK(res2
)) { 
28443     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");  
28445   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
28447     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28448     (arg1
)->AddFont(arg2
); 
28449     wxPyEndAllowThreads(__tstate
); 
28450     if (PyErr_Occurred()) SWIG_fail
; 
28452   resultobj 
= SWIG_Py_Void(); 
28459 SWIGINTERN PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28460   PyObject 
*resultobj 
= 0; 
28461   wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
28462   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
28467   PyObject 
* obj0 
= 0 ; 
28468   PyObject 
* obj1 
= 0 ; 
28469   char *  kwnames
[] = { 
28470     (char *) "self",(char *) "font", NULL 
 
28473   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28474   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 |  0 ); 
28475   if (!SWIG_IsOK(res1
)) { 
28476     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");  
28478   arg1 
= reinterpret_cast< wxFontList 
* >(argp1
); 
28479   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
28480   if (!SWIG_IsOK(res2
)) { 
28481     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");  
28483   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
28485     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28486     (arg1
)->RemoveFont(arg2
); 
28487     wxPyEndAllowThreads(__tstate
); 
28488     if (PyErr_Occurred()) SWIG_fail
; 
28490   resultobj 
= SWIG_Py_Void(); 
28497 SWIGINTERN PyObject 
*FontList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28499   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28500   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
)); 
28501   return SWIG_Py_Void(); 
28504 SWIGINTERN PyObject 
*_wrap_new_ColourDatabase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28505   PyObject 
*resultobj 
= 0; 
28506   wxColourDatabase 
*result 
= 0 ; 
28508   if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
; 
28510     if (!wxPyCheckForApp()) SWIG_fail
; 
28511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28512     result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
28513     wxPyEndAllowThreads(__tstate
); 
28514     if (PyErr_Occurred()) SWIG_fail
; 
28516   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW 
|  0 ); 
28523 SWIGINTERN PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28524   PyObject 
*resultobj 
= 0; 
28525   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
28528   PyObject 
*swig_obj
[1] ; 
28530   if (!args
) SWIG_fail
; 
28531   swig_obj
[0] = args
; 
28532   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN 
|  0 ); 
28533   if (!SWIG_IsOK(res1
)) { 
28534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");  
28536   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
28538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28541     wxPyEndAllowThreads(__tstate
); 
28542     if (PyErr_Occurred()) SWIG_fail
; 
28544   resultobj 
= SWIG_Py_Void(); 
28551 SWIGINTERN PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28552   PyObject 
*resultobj 
= 0; 
28553   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
28554   wxString 
*arg2 
= 0 ; 
28558   bool temp2 
= false ; 
28559   PyObject 
* obj0 
= 0 ; 
28560   PyObject 
* obj1 
= 0 ; 
28561   char *  kwnames
[] = { 
28562     (char *) "self",(char *) "name", NULL 
 
28565   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28566   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
28567   if (!SWIG_IsOK(res1
)) { 
28568     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");  
28570   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
28572     arg2 
= wxString_in_helper(obj1
); 
28573     if (arg2 
== NULL
) SWIG_fail
; 
28577     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28578     result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
28579     wxPyEndAllowThreads(__tstate
); 
28580     if (PyErr_Occurred()) SWIG_fail
; 
28582   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
28597 SWIGINTERN PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28598   PyObject 
*resultobj 
= 0; 
28599   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
28600   wxColour 
*arg2 
= 0 ; 
28605   PyObject 
* obj0 
= 0 ; 
28606   PyObject 
* obj1 
= 0 ; 
28607   char *  kwnames
[] = { 
28608     (char *) "self",(char *) "colour", NULL 
 
28611   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28612   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
28613   if (!SWIG_IsOK(res1
)) { 
28614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");  
28616   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
28619     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
28622     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28623     result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
28624     wxPyEndAllowThreads(__tstate
); 
28625     if (PyErr_Occurred()) SWIG_fail
; 
28629     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28631     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28640 SWIGINTERN PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28641   PyObject 
*resultobj 
= 0; 
28642   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
28643   wxString 
*arg2 
= 0 ; 
28644   wxColour 
*arg3 
= 0 ; 
28647   bool temp2 
= false ; 
28649   PyObject 
* obj0 
= 0 ; 
28650   PyObject 
* obj1 
= 0 ; 
28651   PyObject 
* obj2 
= 0 ; 
28652   char *  kwnames
[] = { 
28653     (char *) "self",(char *) "name",(char *) "colour", NULL 
 
28656   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28657   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
28658   if (!SWIG_IsOK(res1
)) { 
28659     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");  
28661   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
28663     arg2 
= wxString_in_helper(obj1
); 
28664     if (arg2 
== NULL
) SWIG_fail
; 
28669     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
28672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28673     (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
28674     wxPyEndAllowThreads(__tstate
); 
28675     if (PyErr_Occurred()) SWIG_fail
; 
28677   resultobj 
= SWIG_Py_Void(); 
28692 SWIGINTERN PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28693   PyObject 
*resultobj 
= 0; 
28694   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
28695   wxString 
*arg2 
= 0 ; 
28701   bool temp2 
= false ; 
28708   PyObject 
* obj0 
= 0 ; 
28709   PyObject 
* obj1 
= 0 ; 
28710   PyObject 
* obj2 
= 0 ; 
28711   PyObject 
* obj3 
= 0 ; 
28712   PyObject 
* obj4 
= 0 ; 
28713   char *  kwnames
[] = { 
28714     (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
28717   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
28718   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
28719   if (!SWIG_IsOK(res1
)) { 
28720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");  
28722   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
28724     arg2 
= wxString_in_helper(obj1
); 
28725     if (arg2 
== NULL
) SWIG_fail
; 
28728   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28729   if (!SWIG_IsOK(ecode3
)) { 
28730     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'"); 
28732   arg3 
= static_cast< int >(val3
); 
28733   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
28734   if (!SWIG_IsOK(ecode4
)) { 
28735     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'"); 
28737   arg4 
= static_cast< int >(val4
); 
28738   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
28739   if (!SWIG_IsOK(ecode5
)) { 
28740     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'"); 
28742   arg5 
= static_cast< int >(val5
); 
28744     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28745     wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
28746     wxPyEndAllowThreads(__tstate
); 
28747     if (PyErr_Occurred()) SWIG_fail
; 
28749   resultobj 
= SWIG_Py_Void(); 
28764 SWIGINTERN PyObject 
*ColourDatabase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28766   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28767   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
)); 
28768   return SWIG_Py_Void(); 
28771 SWIGINTERN PyObject 
*ColourDatabase_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28772   return SWIG_Python_InitShadowInstance(args
); 
28775 SWIGINTERN PyObject 
*_wrap__wxPyInitTheFontList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28776   PyObject 
*resultobj 
= 0; 
28777   wxFontList 
*result 
= 0 ; 
28779   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
; 
28781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28782     result 
= (wxFontList 
*)_wxPyInitTheFontList(); 
28783     wxPyEndAllowThreads(__tstate
); 
28784     if (PyErr_Occurred()) SWIG_fail
; 
28786   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 |  0 ); 
28793 SWIGINTERN PyObject 
*_wrap__wxPyInitThePenList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28794   PyObject 
*resultobj 
= 0; 
28795   wxPenList 
*result 
= 0 ; 
28797   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
; 
28799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28800     result 
= (wxPenList 
*)_wxPyInitThePenList(); 
28801     wxPyEndAllowThreads(__tstate
); 
28802     if (PyErr_Occurred()) SWIG_fail
; 
28804   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 |  0 ); 
28811 SWIGINTERN PyObject 
*_wrap__wxPyInitTheBrushList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28812   PyObject 
*resultobj 
= 0; 
28813   wxBrushList 
*result 
= 0 ; 
28815   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
; 
28817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28818     result 
= (wxBrushList 
*)_wxPyInitTheBrushList(); 
28819     wxPyEndAllowThreads(__tstate
); 
28820     if (PyErr_Occurred()) SWIG_fail
; 
28822   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
28829 SWIGINTERN PyObject 
*_wrap__wxPyInitTheColourDatabase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28830   PyObject 
*resultobj 
= 0; 
28831   wxColourDatabase 
*result 
= 0 ; 
28833   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
; 
28835     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28836     result 
= (wxColourDatabase 
*)_wxPyInitTheColourDatabase(); 
28837     wxPyEndAllowThreads(__tstate
); 
28838     if (PyErr_Occurred()) SWIG_fail
; 
28840   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
28847 SWIGINTERN PyObject 
*_wrap_new_Effects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28848   PyObject 
*resultobj 
= 0; 
28849   wxEffects 
*result 
= 0 ; 
28851   if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
; 
28853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28854     result 
= (wxEffects 
*)new wxEffects(); 
28855     wxPyEndAllowThreads(__tstate
); 
28856     if (PyErr_Occurred()) SWIG_fail
; 
28858   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW 
|  0 ); 
28865 SWIGINTERN PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28866   PyObject 
*resultobj 
= 0; 
28867   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
28871   PyObject 
*swig_obj
[1] ; 
28873   if (!args
) SWIG_fail
; 
28874   swig_obj
[0] = args
; 
28875   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
28876   if (!SWIG_IsOK(res1
)) { 
28877     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");  
28879   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
28881     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28882     result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
28883     wxPyEndAllowThreads(__tstate
); 
28884     if (PyErr_Occurred()) SWIG_fail
; 
28886   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
28893 SWIGINTERN PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28894   PyObject 
*resultobj 
= 0; 
28895   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
28899   PyObject 
*swig_obj
[1] ; 
28901   if (!args
) SWIG_fail
; 
28902   swig_obj
[0] = args
; 
28903   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
28904   if (!SWIG_IsOK(res1
)) { 
28905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");  
28907   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
28909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28910     result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
28911     wxPyEndAllowThreads(__tstate
); 
28912     if (PyErr_Occurred()) SWIG_fail
; 
28914   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
28921 SWIGINTERN PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28922   PyObject 
*resultobj 
= 0; 
28923   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
28927   PyObject 
*swig_obj
[1] ; 
28929   if (!args
) SWIG_fail
; 
28930   swig_obj
[0] = args
; 
28931   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
28932   if (!SWIG_IsOK(res1
)) { 
28933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");  
28935   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
28937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28938     result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
28939     wxPyEndAllowThreads(__tstate
); 
28940     if (PyErr_Occurred()) SWIG_fail
; 
28942   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
28949 SWIGINTERN PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28950   PyObject 
*resultobj 
= 0; 
28951   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
28955   PyObject 
*swig_obj
[1] ; 
28957   if (!args
) SWIG_fail
; 
28958   swig_obj
[0] = args
; 
28959   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
28960   if (!SWIG_IsOK(res1
)) { 
28961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");  
28963   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
28965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28966     result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
28967     wxPyEndAllowThreads(__tstate
); 
28968     if (PyErr_Occurred()) SWIG_fail
; 
28970   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
28977 SWIGINTERN PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28978   PyObject 
*resultobj 
= 0; 
28979   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
28983   PyObject 
*swig_obj
[1] ; 
28985   if (!args
) SWIG_fail
; 
28986   swig_obj
[0] = args
; 
28987   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
28988   if (!SWIG_IsOK(res1
)) { 
28989     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");  
28991   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
28993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28994     result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
28995     wxPyEndAllowThreads(__tstate
); 
28996     if (PyErr_Occurred()) SWIG_fail
; 
28998   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
29005 SWIGINTERN PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29006   PyObject 
*resultobj 
= 0; 
29007   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29008   wxColour 
*arg2 
= 0 ; 
29012   PyObject 
* obj0 
= 0 ; 
29013   PyObject 
* obj1 
= 0 ; 
29014   char *  kwnames
[] = { 
29015     (char *) "self",(char *) "c", NULL 
 
29018   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29019   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29020   if (!SWIG_IsOK(res1
)) { 
29021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");  
29023   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29026     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29030     (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
29031     wxPyEndAllowThreads(__tstate
); 
29032     if (PyErr_Occurred()) SWIG_fail
; 
29034   resultobj 
= SWIG_Py_Void(); 
29041 SWIGINTERN PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29042   PyObject 
*resultobj 
= 0; 
29043   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29044   wxColour 
*arg2 
= 0 ; 
29048   PyObject 
* obj0 
= 0 ; 
29049   PyObject 
* obj1 
= 0 ; 
29050   char *  kwnames
[] = { 
29051     (char *) "self",(char *) "c", NULL 
 
29054   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29055   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29056   if (!SWIG_IsOK(res1
)) { 
29057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");  
29059   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29062     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29066     (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
29067     wxPyEndAllowThreads(__tstate
); 
29068     if (PyErr_Occurred()) SWIG_fail
; 
29070   resultobj 
= SWIG_Py_Void(); 
29077 SWIGINTERN PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29078   PyObject 
*resultobj 
= 0; 
29079   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29080   wxColour 
*arg2 
= 0 ; 
29084   PyObject 
* obj0 
= 0 ; 
29085   PyObject 
* obj1 
= 0 ; 
29086   char *  kwnames
[] = { 
29087     (char *) "self",(char *) "c", NULL 
 
29090   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29091   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29092   if (!SWIG_IsOK(res1
)) { 
29093     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");  
29095   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29098     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29102     (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
29103     wxPyEndAllowThreads(__tstate
); 
29104     if (PyErr_Occurred()) SWIG_fail
; 
29106   resultobj 
= SWIG_Py_Void(); 
29113 SWIGINTERN PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29114   PyObject 
*resultobj 
= 0; 
29115   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29116   wxColour 
*arg2 
= 0 ; 
29120   PyObject 
* obj0 
= 0 ; 
29121   PyObject 
* obj1 
= 0 ; 
29122   char *  kwnames
[] = { 
29123     (char *) "self",(char *) "c", NULL 
 
29126   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29127   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29128   if (!SWIG_IsOK(res1
)) { 
29129     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");  
29131   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29134     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29138     (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
29139     wxPyEndAllowThreads(__tstate
); 
29140     if (PyErr_Occurred()) SWIG_fail
; 
29142   resultobj 
= SWIG_Py_Void(); 
29149 SWIGINTERN PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29150   PyObject 
*resultobj 
= 0; 
29151   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29152   wxColour 
*arg2 
= 0 ; 
29156   PyObject 
* obj0 
= 0 ; 
29157   PyObject 
* obj1 
= 0 ; 
29158   char *  kwnames
[] = { 
29159     (char *) "self",(char *) "c", NULL 
 
29162   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29163   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29164   if (!SWIG_IsOK(res1
)) { 
29165     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");  
29167   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29170     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29174     (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
29175     wxPyEndAllowThreads(__tstate
); 
29176     if (PyErr_Occurred()) SWIG_fail
; 
29178   resultobj 
= SWIG_Py_Void(); 
29185 SWIGINTERN PyObject 
*_wrap_Effects_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29186   PyObject 
*resultobj 
= 0; 
29187   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29188   wxColour 
*arg2 
= 0 ; 
29189   wxColour 
*arg3 
= 0 ; 
29190   wxColour 
*arg4 
= 0 ; 
29191   wxColour 
*arg5 
= 0 ; 
29192   wxColour 
*arg6 
= 0 ; 
29200   PyObject 
* obj0 
= 0 ; 
29201   PyObject 
* obj1 
= 0 ; 
29202   PyObject 
* obj2 
= 0 ; 
29203   PyObject 
* obj3 
= 0 ; 
29204   PyObject 
* obj4 
= 0 ; 
29205   PyObject 
* obj5 
= 0 ; 
29206   char *  kwnames
[] = { 
29207     (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
29210   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
29211   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29212   if (!SWIG_IsOK(res1
)) { 
29213     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");  
29215   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29218     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29222     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
29226     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
29230     if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
29234     if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
29237     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29238     (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
29239     wxPyEndAllowThreads(__tstate
); 
29240     if (PyErr_Occurred()) SWIG_fail
; 
29242   resultobj 
= SWIG_Py_Void(); 
29249 SWIGINTERN PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29250   PyObject 
*resultobj 
= 0; 
29251   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29254   int arg4 
= (int) 1 ; 
29262   PyObject 
* obj0 
= 0 ; 
29263   PyObject 
* obj1 
= 0 ; 
29264   PyObject 
* obj2 
= 0 ; 
29265   PyObject 
* obj3 
= 0 ; 
29266   char *  kwnames
[] = { 
29267     (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
29270   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
29271   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29272   if (!SWIG_IsOK(res1
)) { 
29273     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");  
29275   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29276   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
29277   if (!SWIG_IsOK(res2
)) { 
29278     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");  
29281     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");  
29283   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
29286     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
29289     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
29290     if (!SWIG_IsOK(ecode4
)) { 
29291       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'"); 
29293     arg4 
= static_cast< int >(val4
); 
29296     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29297     (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
29298     wxPyEndAllowThreads(__tstate
); 
29299     if (PyErr_Occurred()) SWIG_fail
; 
29301   resultobj 
= SWIG_Py_Void(); 
29308 SWIGINTERN PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29309   PyObject 
*resultobj 
= 0; 
29310   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
29313   wxBitmap 
*arg4 
= 0 ; 
29322   PyObject 
* obj0 
= 0 ; 
29323   PyObject 
* obj1 
= 0 ; 
29324   PyObject 
* obj2 
= 0 ; 
29325   PyObject 
* obj3 
= 0 ; 
29326   char *  kwnames
[] = { 
29327     (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
29330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
29331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
29332   if (!SWIG_IsOK(res1
)) { 
29333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");  
29335   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
29338     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
29340   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29341   if (!SWIG_IsOK(res3
)) { 
29342     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");  
29345     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");  
29347   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29348   res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
,  0 ); 
29349   if (!SWIG_IsOK(res4
)) { 
29350     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");  
29353     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");  
29355   arg4 
= reinterpret_cast< wxBitmap 
* >(argp4
); 
29357     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29358     result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
29359     wxPyEndAllowThreads(__tstate
); 
29360     if (PyErr_Occurred()) SWIG_fail
; 
29363     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29371 SWIGINTERN PyObject 
*Effects_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29373   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29374   SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
)); 
29375   return SWIG_Py_Void(); 
29378 SWIGINTERN PyObject 
*Effects_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29379   return SWIG_Python_InitShadowInstance(args
); 
29382 SWIGINTERN PyObject 
*_wrap_new_SplitterRenderParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29383   PyObject 
*resultobj 
= 0; 
29387   wxSplitterRenderParams 
*result 
= 0 ; 
29394   PyObject 
* obj0 
= 0 ; 
29395   PyObject 
* obj1 
= 0 ; 
29396   PyObject 
* obj2 
= 0 ; 
29397   char *  kwnames
[] = { 
29398     (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL 
 
29401   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29402   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
29403   if (!SWIG_IsOK(ecode1
)) { 
29404     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'"); 
29406   arg1 
= static_cast< int >(val1
); 
29407   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29408   if (!SWIG_IsOK(ecode2
)) { 
29409     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'"); 
29411   arg2 
= static_cast< int >(val2
); 
29412   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
29413   if (!SWIG_IsOK(ecode3
)) { 
29414     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'"); 
29416   arg3 
= static_cast< bool >(val3
); 
29418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29419     result 
= (wxSplitterRenderParams 
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
); 
29420     wxPyEndAllowThreads(__tstate
); 
29421     if (PyErr_Occurred()) SWIG_fail
; 
29423   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW 
|  0 ); 
29430 SWIGINTERN PyObject 
*_wrap_delete_SplitterRenderParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29431   PyObject 
*resultobj 
= 0; 
29432   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
29435   PyObject 
*swig_obj
[1] ; 
29437   if (!args
) SWIG_fail
; 
29438   swig_obj
[0] = args
; 
29439   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN 
|  0 ); 
29440   if (!SWIG_IsOK(res1
)) { 
29441     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
29443   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
29445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29448     wxPyEndAllowThreads(__tstate
); 
29449     if (PyErr_Occurred()) SWIG_fail
; 
29451   resultobj 
= SWIG_Py_Void(); 
29458 SWIGINTERN PyObject 
*_wrap_SplitterRenderParams_widthSash_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29459   PyObject 
*resultobj 
= 0; 
29460   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
29464   PyObject 
*swig_obj
[1] ; 
29466   if (!args
) SWIG_fail
; 
29467   swig_obj
[0] = args
; 
29468   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 |  0 ); 
29469   if (!SWIG_IsOK(res1
)) { 
29470     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
29472   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
29473   result 
= (int)(int) ((arg1
)->widthSash
); 
29474   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29481 SWIGINTERN PyObject 
*_wrap_SplitterRenderParams_border_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29482   PyObject 
*resultobj 
= 0; 
29483   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
29487   PyObject 
*swig_obj
[1] ; 
29489   if (!args
) SWIG_fail
; 
29490   swig_obj
[0] = args
; 
29491   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 |  0 ); 
29492   if (!SWIG_IsOK(res1
)) { 
29493     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
29495   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
29496   result 
= (int)(int) ((arg1
)->border
); 
29497   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29504 SWIGINTERN PyObject 
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29505   PyObject 
*resultobj 
= 0; 
29506   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
29510   PyObject 
*swig_obj
[1] ; 
29512   if (!args
) SWIG_fail
; 
29513   swig_obj
[0] = args
; 
29514   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 |  0 ); 
29515   if (!SWIG_IsOK(res1
)) { 
29516     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
29518   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
29519   result 
= (bool)(bool) ((arg1
)->isHotSensitive
); 
29520   resultobj 
= SWIG_From_bool(static_cast< bool >(result
)); 
29527 SWIGINTERN PyObject 
*SplitterRenderParams_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29529   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29530   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
)); 
29531   return SWIG_Py_Void(); 
29534 SWIGINTERN PyObject 
*SplitterRenderParams_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29535   return SWIG_Python_InitShadowInstance(args
); 
29538 SWIGINTERN PyObject 
*_wrap_new_HeaderButtonParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29539   PyObject 
*resultobj 
= 0; 
29540   wxHeaderButtonParams 
*result 
= 0 ; 
29542   if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
; 
29544     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29545     result 
= (wxHeaderButtonParams 
*)new wxHeaderButtonParams(); 
29546     wxPyEndAllowThreads(__tstate
); 
29547     if (PyErr_Occurred()) SWIG_fail
; 
29549   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW 
|  0 ); 
29556 SWIGINTERN PyObject 
*_wrap_delete_HeaderButtonParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29557   PyObject 
*resultobj 
= 0; 
29558   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29561   PyObject 
*swig_obj
[1] ; 
29563   if (!args
) SWIG_fail
; 
29564   swig_obj
[0] = args
; 
29565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN 
|  0 ); 
29566   if (!SWIG_IsOK(res1
)) { 
29567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29569   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29574     wxPyEndAllowThreads(__tstate
); 
29575     if (PyErr_Occurred()) SWIG_fail
; 
29577   resultobj 
= SWIG_Py_Void(); 
29584 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29585   PyObject 
*resultobj 
= 0; 
29586   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29587   wxColour 
*arg2 
= (wxColour 
*) 0 ; 
29591   PyObject 
*swig_obj
[2] ; 
29593   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
; 
29594   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29595   if (!SWIG_IsOK(res1
)) { 
29596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29598   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29601     if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
29603   if (arg1
) (arg1
)->m_arrowColour 
= *arg2
; 
29605   resultobj 
= SWIG_Py_Void(); 
29612 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29613   PyObject 
*resultobj 
= 0; 
29614   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29615   wxColour 
*result 
= 0 ; 
29618   PyObject 
*swig_obj
[1] ; 
29620   if (!args
) SWIG_fail
; 
29621   swig_obj
[0] = args
; 
29622   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29623   if (!SWIG_IsOK(res1
)) { 
29624     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29626   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29627   result 
= (wxColour 
*)& ((arg1
)->m_arrowColour
); 
29628   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
29635 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29636   PyObject 
*resultobj 
= 0; 
29637   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29638   wxColour 
*arg2 
= (wxColour 
*) 0 ; 
29642   PyObject 
*swig_obj
[2] ; 
29644   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
; 
29645   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29646   if (!SWIG_IsOK(res1
)) { 
29647     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29649   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29652     if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
29654   if (arg1
) (arg1
)->m_selectionColour 
= *arg2
; 
29656   resultobj 
= SWIG_Py_Void(); 
29663 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29664   PyObject 
*resultobj 
= 0; 
29665   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29666   wxColour 
*result 
= 0 ; 
29669   PyObject 
*swig_obj
[1] ; 
29671   if (!args
) SWIG_fail
; 
29672   swig_obj
[0] = args
; 
29673   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29674   if (!SWIG_IsOK(res1
)) { 
29675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29677   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29678   result 
= (wxColour 
*)& ((arg1
)->m_selectionColour
); 
29679   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
29686 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelText_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29687   PyObject 
*resultobj 
= 0; 
29688   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29689   wxString 
*arg2 
= (wxString 
*) 0 ; 
29692   bool temp2 
= false ; 
29693   PyObject 
*swig_obj
[2] ; 
29695   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
; 
29696   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29697   if (!SWIG_IsOK(res1
)) { 
29698     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29700   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29702     arg2 
= wxString_in_helper(swig_obj
[1]); 
29703     if (arg2 
== NULL
) SWIG_fail
; 
29706   if (arg1
) (arg1
)->m_labelText 
= *arg2
; 
29708   resultobj 
= SWIG_Py_Void(); 
29723 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelText_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29724   PyObject 
*resultobj 
= 0; 
29725   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29726   wxString 
*result 
= 0 ; 
29729   PyObject 
*swig_obj
[1] ; 
29731   if (!args
) SWIG_fail
; 
29732   swig_obj
[0] = args
; 
29733   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29734   if (!SWIG_IsOK(res1
)) { 
29735     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29737   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29738   result 
= (wxString 
*)& ((arg1
)->m_labelText
); 
29741     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
29743     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
29752 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29753   PyObject 
*resultobj 
= 0; 
29754   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29755   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
29760   PyObject 
*swig_obj
[2] ; 
29762   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
; 
29763   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29764   if (!SWIG_IsOK(res1
)) { 
29765     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29767   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29768   res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
29769   if (!SWIG_IsOK(res2
)) { 
29770     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");  
29772   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
29773   if (arg1
) (arg1
)->m_labelFont 
= *arg2
; 
29775   resultobj 
= SWIG_Py_Void(); 
29782 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29783   PyObject 
*resultobj 
= 0; 
29784   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29785   wxFont 
*result 
= 0 ; 
29788   PyObject 
*swig_obj
[1] ; 
29790   if (!args
) SWIG_fail
; 
29791   swig_obj
[0] = args
; 
29792   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29793   if (!SWIG_IsOK(res1
)) { 
29794     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29796   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29797   result 
= (wxFont 
*)& ((arg1
)->m_labelFont
); 
29798   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 |  0 ); 
29805 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29806   PyObject 
*resultobj 
= 0; 
29807   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29808   wxColour 
*arg2 
= (wxColour 
*) 0 ; 
29812   PyObject 
*swig_obj
[2] ; 
29814   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
; 
29815   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29816   if (!SWIG_IsOK(res1
)) { 
29817     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29819   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29822     if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
29824   if (arg1
) (arg1
)->m_labelColour 
= *arg2
; 
29826   resultobj 
= SWIG_Py_Void(); 
29833 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29834   PyObject 
*resultobj 
= 0; 
29835   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29836   wxColour 
*result 
= 0 ; 
29839   PyObject 
*swig_obj
[1] ; 
29841   if (!args
) SWIG_fail
; 
29842   swig_obj
[0] = args
; 
29843   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29844   if (!SWIG_IsOK(res1
)) { 
29845     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29847   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29848   result 
= (wxColour 
*)& ((arg1
)->m_labelColour
); 
29849   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
29856 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29857   PyObject 
*resultobj 
= 0; 
29858   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29859   wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
29864   PyObject 
*swig_obj
[2] ; 
29866   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
; 
29867   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29868   if (!SWIG_IsOK(res1
)) { 
29869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29871   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29872   res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
29873   if (!SWIG_IsOK(res2
)) { 
29874     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");  
29876   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
29877   if (arg1
) (arg1
)->m_labelBitmap 
= *arg2
; 
29879   resultobj 
= SWIG_Py_Void(); 
29886 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29887   PyObject 
*resultobj 
= 0; 
29888   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29889   wxBitmap 
*result 
= 0 ; 
29892   PyObject 
*swig_obj
[1] ; 
29894   if (!args
) SWIG_fail
; 
29895   swig_obj
[0] = args
; 
29896   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29897   if (!SWIG_IsOK(res1
)) { 
29898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29900   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29901   result 
= (wxBitmap 
*)& ((arg1
)->m_labelBitmap
); 
29902   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
29909 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29910   PyObject 
*resultobj 
= 0; 
29911   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29917   PyObject 
*swig_obj
[2] ; 
29919   if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
; 
29920   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29921   if (!SWIG_IsOK(res1
)) { 
29922     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29924   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29925   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
29926   if (!SWIG_IsOK(ecode2
)) { 
29927     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'"); 
29929   arg2 
= static_cast< int >(val2
); 
29930   if (arg1
) (arg1
)->m_labelAlignment 
= arg2
; 
29932   resultobj 
= SWIG_Py_Void(); 
29939 SWIGINTERN PyObject 
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29940   PyObject 
*resultobj 
= 0; 
29941   wxHeaderButtonParams 
*arg1 
= (wxHeaderButtonParams 
*) 0 ; 
29945   PyObject 
*swig_obj
[1] ; 
29947   if (!args
) SWIG_fail
; 
29948   swig_obj
[0] = args
; 
29949   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
29950   if (!SWIG_IsOK(res1
)) { 
29951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");  
29953   arg1 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp1
); 
29954   result 
= (int) ((arg1
)->m_labelAlignment
); 
29955   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29962 SWIGINTERN PyObject 
*HeaderButtonParams_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29964   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29965   SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
)); 
29966   return SWIG_Py_Void(); 
29969 SWIGINTERN PyObject 
*HeaderButtonParams_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29970   return SWIG_Python_InitShadowInstance(args
); 
29973 SWIGINTERN PyObject 
*_wrap_new_RendererVersion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29974   PyObject 
*resultobj 
= 0; 
29977   wxRendererVersion 
*result 
= 0 ; 
29982   PyObject 
* obj0 
= 0 ; 
29983   PyObject 
* obj1 
= 0 ; 
29984   char *  kwnames
[] = { 
29985     (char *) "version_",(char *) "age_", NULL 
 
29988   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29989   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
29990   if (!SWIG_IsOK(ecode1
)) { 
29991     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'"); 
29993   arg1 
= static_cast< int >(val1
); 
29994   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29995   if (!SWIG_IsOK(ecode2
)) { 
29996     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'"); 
29998   arg2 
= static_cast< int >(val2
); 
30000     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30001     result 
= (wxRendererVersion 
*)new wxRendererVersion(arg1
,arg2
); 
30002     wxPyEndAllowThreads(__tstate
); 
30003     if (PyErr_Occurred()) SWIG_fail
; 
30005   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW 
|  0 ); 
30012 SWIGINTERN PyObject 
*_wrap_delete_RendererVersion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30013   PyObject 
*resultobj 
= 0; 
30014   wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
30017   PyObject 
*swig_obj
[1] ; 
30019   if (!args
) SWIG_fail
; 
30020   swig_obj
[0] = args
; 
30021   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN 
|  0 ); 
30022   if (!SWIG_IsOK(res1
)) { 
30023     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");  
30025   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
30027     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30030     wxPyEndAllowThreads(__tstate
); 
30031     if (PyErr_Occurred()) SWIG_fail
; 
30033   resultobj 
= SWIG_Py_Void(); 
30040 SWIGINTERN PyObject 
*_wrap_RendererVersion_IsCompatible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30041   PyObject 
*resultobj 
= 0; 
30042   wxRendererVersion 
*arg1 
= 0 ; 
30046   PyObject 
* obj0 
= 0 ; 
30047   char *  kwnames
[] = { 
30048     (char *) "ver", NULL 
 
30051   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
; 
30052   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
,  0  | 0); 
30053   if (!SWIG_IsOK(res1
)) { 
30054     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");  
30057     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");  
30059   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
30061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30062     result 
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion 
const &)*arg1
); 
30063     wxPyEndAllowThreads(__tstate
); 
30064     if (PyErr_Occurred()) SWIG_fail
; 
30067     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30075 SWIGINTERN PyObject 
*_wrap_RendererVersion_version_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30076   PyObject 
*resultobj 
= 0; 
30077   wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
30081   PyObject 
*swig_obj
[1] ; 
30083   if (!args
) SWIG_fail
; 
30084   swig_obj
[0] = args
; 
30085   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 |  0 ); 
30086   if (!SWIG_IsOK(res1
)) { 
30087     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");  
30089   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
30090   result 
= (int)(int) ((arg1
)->version
); 
30091   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
30098 SWIGINTERN PyObject 
*_wrap_RendererVersion_age_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30099   PyObject 
*resultobj 
= 0; 
30100   wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
30104   PyObject 
*swig_obj
[1] ; 
30106   if (!args
) SWIG_fail
; 
30107   swig_obj
[0] = args
; 
30108   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 |  0 ); 
30109   if (!SWIG_IsOK(res1
)) { 
30110     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");  
30112   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
30113   result 
= (int)(int) ((arg1
)->age
); 
30114   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
30121 SWIGINTERN PyObject 
*RendererVersion_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30123   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30124   SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
)); 
30125   return SWIG_Py_Void(); 
30128 SWIGINTERN PyObject 
*RendererVersion_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30129   return SWIG_Python_InitShadowInstance(args
); 
30132 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawHeaderButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30133   PyObject 
*resultobj 
= 0; 
30134   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30135   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30138   int arg5 
= (int) 0 ; 
30139   wxHeaderSortIconType arg6 
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE 
; 
30140   wxHeaderButtonParams 
*arg7 
= (wxHeaderButtonParams 
*) NULL 
; 
30154   PyObject 
* obj0 
= 0 ; 
30155   PyObject 
* obj1 
= 0 ; 
30156   PyObject 
* obj2 
= 0 ; 
30157   PyObject 
* obj3 
= 0 ; 
30158   PyObject 
* obj4 
= 0 ; 
30159   PyObject 
* obj5 
= 0 ; 
30160   PyObject 
* obj6 
= 0 ; 
30161   char *  kwnames
[] = { 
30162     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL 
 
30165   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30166   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30167   if (!SWIG_IsOK(res1
)) { 
30168     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30170   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30171   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30172   if (!SWIG_IsOK(res2
)) { 
30173     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
30175   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30176   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30177   if (!SWIG_IsOK(res3
)) { 
30178     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30181     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30183   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30186     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30189     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30190     if (!SWIG_IsOK(ecode5
)) { 
30191       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'"); 
30193     arg5 
= static_cast< int >(val5
); 
30196     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
30197     if (!SWIG_IsOK(ecode6
)) { 
30198       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'"); 
30200     arg6 
= static_cast< wxHeaderSortIconType 
>(val6
); 
30203     res7 
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
30204     if (!SWIG_IsOK(res7
)) { 
30205       SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");  
30207     arg7 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp7
); 
30210     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30211     (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
,arg7
); 
30212     wxPyEndAllowThreads(__tstate
); 
30213     if (PyErr_Occurred()) SWIG_fail
; 
30215   resultobj 
= SWIG_Py_Void(); 
30222 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30223   PyObject 
*resultobj 
= 0; 
30224   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30225   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30228   int arg5 
= (int) 0 ; 
30229   wxHeaderSortIconType arg6 
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE 
; 
30230   wxHeaderButtonParams 
*arg7 
= (wxHeaderButtonParams 
*) NULL 
; 
30244   PyObject 
* obj0 
= 0 ; 
30245   PyObject 
* obj1 
= 0 ; 
30246   PyObject 
* obj2 
= 0 ; 
30247   PyObject 
* obj3 
= 0 ; 
30248   PyObject 
* obj4 
= 0 ; 
30249   PyObject 
* obj5 
= 0 ; 
30250   PyObject 
* obj6 
= 0 ; 
30251   char *  kwnames
[] = { 
30252     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL 
 
30255   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30256   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30257   if (!SWIG_IsOK(res1
)) { 
30258     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30260   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30261   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30262   if (!SWIG_IsOK(res2
)) { 
30263     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");  
30265   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30266   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30267   if (!SWIG_IsOK(res3
)) { 
30268     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");  
30271     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");  
30273   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30276     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30279     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30280     if (!SWIG_IsOK(ecode5
)) { 
30281       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'"); 
30283     arg5 
= static_cast< int >(val5
); 
30286     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
30287     if (!SWIG_IsOK(ecode6
)) { 
30288       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'"); 
30290     arg6 
= static_cast< wxHeaderSortIconType 
>(val6
); 
30293     res7 
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 |  0 ); 
30294     if (!SWIG_IsOK(res7
)) { 
30295       SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");  
30297     arg7 
= reinterpret_cast< wxHeaderButtonParams 
* >(argp7
); 
30300     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30301     (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
,arg7
); 
30302     wxPyEndAllowThreads(__tstate
); 
30303     if (PyErr_Occurred()) SWIG_fail
; 
30305   resultobj 
= SWIG_Py_Void(); 
30312 SWIGINTERN PyObject 
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30313   PyObject 
*resultobj 
= 0; 
30314   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30315   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30321   PyObject 
* obj0 
= 0 ; 
30322   PyObject 
* obj1 
= 0 ; 
30323   char *  kwnames
[] = { 
30324     (char *) "self",(char *) "win", NULL 
 
30327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30329   if (!SWIG_IsOK(res1
)) { 
30330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30332   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30333   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30334   if (!SWIG_IsOK(res2
)) { 
30335     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");  
30337   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30340     result 
= (int)(arg1
)->GetHeaderButtonHeight(arg2
); 
30341     wxPyEndAllowThreads(__tstate
); 
30342     if (PyErr_Occurred()) SWIG_fail
; 
30344   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
30351 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawTreeItemButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30352   PyObject 
*resultobj 
= 0; 
30353   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30354   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30357   int arg5 
= (int) 0 ; 
30367   PyObject 
* obj0 
= 0 ; 
30368   PyObject 
* obj1 
= 0 ; 
30369   PyObject 
* obj2 
= 0 ; 
30370   PyObject 
* obj3 
= 0 ; 
30371   PyObject 
* obj4 
= 0 ; 
30372   char *  kwnames
[] = { 
30373     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30376   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30377   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30378   if (!SWIG_IsOK(res1
)) { 
30379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30381   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30382   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30383   if (!SWIG_IsOK(res2
)) { 
30384     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
30386   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30387   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30388   if (!SWIG_IsOK(res3
)) { 
30389     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30392     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30394   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30397     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30400     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30401     if (!SWIG_IsOK(ecode5
)) { 
30402       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'"); 
30404     arg5 
= static_cast< int >(val5
); 
30407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30408     (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30409     wxPyEndAllowThreads(__tstate
); 
30410     if (PyErr_Occurred()) SWIG_fail
; 
30412   resultobj 
= SWIG_Py_Void(); 
30419 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawSplitterBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30420   PyObject 
*resultobj 
= 0; 
30421   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30422   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30425   int arg5 
= (int) 0 ; 
30435   PyObject 
* obj0 
= 0 ; 
30436   PyObject 
* obj1 
= 0 ; 
30437   PyObject 
* obj2 
= 0 ; 
30438   PyObject 
* obj3 
= 0 ; 
30439   PyObject 
* obj4 
= 0 ; 
30440   char *  kwnames
[] = { 
30441     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30445   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30446   if (!SWIG_IsOK(res1
)) { 
30447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30449   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30450   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30451   if (!SWIG_IsOK(res2
)) { 
30452     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");  
30454   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30455   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30456   if (!SWIG_IsOK(res3
)) { 
30457     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");  
30460     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");  
30462   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30465     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30468     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30469     if (!SWIG_IsOK(ecode5
)) { 
30470       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'"); 
30472     arg5 
= static_cast< int >(val5
); 
30475     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30476     (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30477     wxPyEndAllowThreads(__tstate
); 
30478     if (PyErr_Occurred()) SWIG_fail
; 
30480   resultobj 
= SWIG_Py_Void(); 
30487 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawSplitterSash(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30488   PyObject 
*resultobj 
= 0; 
30489   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30490   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30494   wxOrientation arg6 
; 
30495   int arg7 
= (int) 0 ; 
30509   PyObject 
* obj0 
= 0 ; 
30510   PyObject 
* obj1 
= 0 ; 
30511   PyObject 
* obj2 
= 0 ; 
30512   PyObject 
* obj3 
= 0 ; 
30513   PyObject 
* obj4 
= 0 ; 
30514   PyObject 
* obj5 
= 0 ; 
30515   PyObject 
* obj6 
= 0 ; 
30516   char *  kwnames
[] = { 
30517     (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL 
 
30520   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30521   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30522   if (!SWIG_IsOK(res1
)) { 
30523     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30525   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30526   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30527   if (!SWIG_IsOK(res2
)) { 
30528     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");  
30530   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30531   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30532   if (!SWIG_IsOK(res3
)) { 
30533     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");  
30536     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");  
30538   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30541     if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
30543   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30544   if (!SWIG_IsOK(ecode5
)) { 
30545     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'"); 
30547   arg5 
= static_cast< int >(val5
); 
30548   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
30549   if (!SWIG_IsOK(ecode6
)) { 
30550     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'"); 
30552   arg6 
= static_cast< wxOrientation 
>(val6
); 
30554     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
30555     if (!SWIG_IsOK(ecode7
)) { 
30556       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'"); 
30558     arg7 
= static_cast< int >(val7
); 
30561     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30562     (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize 
const &)*arg4
,arg5
,arg6
,arg7
); 
30563     wxPyEndAllowThreads(__tstate
); 
30564     if (PyErr_Occurred()) SWIG_fail
; 
30566   resultobj 
= SWIG_Py_Void(); 
30573 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30574   PyObject 
*resultobj 
= 0; 
30575   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30576   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30579   int arg5 
= (int) 0 ; 
30589   PyObject 
* obj0 
= 0 ; 
30590   PyObject 
* obj1 
= 0 ; 
30591   PyObject 
* obj2 
= 0 ; 
30592   PyObject 
* obj3 
= 0 ; 
30593   PyObject 
* obj4 
= 0 ; 
30594   char *  kwnames
[] = { 
30595     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30598   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30599   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30600   if (!SWIG_IsOK(res1
)) { 
30601     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30603   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30604   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30605   if (!SWIG_IsOK(res2
)) { 
30606     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
30608   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30609   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30610   if (!SWIG_IsOK(res3
)) { 
30611     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30614     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30616   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30619     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30622     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30623     if (!SWIG_IsOK(ecode5
)) { 
30624       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'"); 
30626     arg5 
= static_cast< int >(val5
); 
30629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30630     (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30631     wxPyEndAllowThreads(__tstate
); 
30632     if (PyErr_Occurred()) SWIG_fail
; 
30634   resultobj 
= SWIG_Py_Void(); 
30641 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawDropArrow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30642   PyObject 
*resultobj 
= 0; 
30643   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30644   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30647   int arg5 
= (int) 0 ; 
30657   PyObject 
* obj0 
= 0 ; 
30658   PyObject 
* obj1 
= 0 ; 
30659   PyObject 
* obj2 
= 0 ; 
30660   PyObject 
* obj3 
= 0 ; 
30661   PyObject 
* obj4 
= 0 ; 
30662   char *  kwnames
[] = { 
30663     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30666   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30667   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30668   if (!SWIG_IsOK(res1
)) { 
30669     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30671   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30672   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30673   if (!SWIG_IsOK(res2
)) { 
30674     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");  
30676   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30677   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30678   if (!SWIG_IsOK(res3
)) { 
30679     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");  
30682     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");  
30684   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30687     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30690     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30691     if (!SWIG_IsOK(ecode5
)) { 
30692       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'"); 
30694     arg5 
= static_cast< int >(val5
); 
30697     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30698     (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30699     wxPyEndAllowThreads(__tstate
); 
30700     if (PyErr_Occurred()) SWIG_fail
; 
30702   resultobj 
= SWIG_Py_Void(); 
30709 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawCheckBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30710   PyObject 
*resultobj 
= 0; 
30711   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30712   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30715   int arg5 
= (int) 0 ; 
30725   PyObject 
* obj0 
= 0 ; 
30726   PyObject 
* obj1 
= 0 ; 
30727   PyObject 
* obj2 
= 0 ; 
30728   PyObject 
* obj3 
= 0 ; 
30729   PyObject 
* obj4 
= 0 ; 
30730   char *  kwnames
[] = { 
30731     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30734   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30735   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30736   if (!SWIG_IsOK(res1
)) { 
30737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30739   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30740   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30741   if (!SWIG_IsOK(res2
)) { 
30742     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");  
30744   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30745   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30746   if (!SWIG_IsOK(res3
)) { 
30747     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");  
30750     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");  
30752   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30755     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30758     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30759     if (!SWIG_IsOK(ecode5
)) { 
30760       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'"); 
30762     arg5 
= static_cast< int >(val5
); 
30765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30766     (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30767     wxPyEndAllowThreads(__tstate
); 
30768     if (PyErr_Occurred()) SWIG_fail
; 
30770   resultobj 
= SWIG_Py_Void(); 
30777 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawPushButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30778   PyObject 
*resultobj 
= 0; 
30779   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30780   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30783   int arg5 
= (int) 0 ; 
30793   PyObject 
* obj0 
= 0 ; 
30794   PyObject 
* obj1 
= 0 ; 
30795   PyObject 
* obj2 
= 0 ; 
30796   PyObject 
* obj3 
= 0 ; 
30797   PyObject 
* obj4 
= 0 ; 
30798   char *  kwnames
[] = { 
30799     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30802   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30803   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30804   if (!SWIG_IsOK(res1
)) { 
30805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30807   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30808   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30809   if (!SWIG_IsOK(res2
)) { 
30810     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
30812   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30813   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30814   if (!SWIG_IsOK(res3
)) { 
30815     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30818     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");  
30820   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30823     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30826     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30827     if (!SWIG_IsOK(ecode5
)) { 
30828       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'"); 
30830     arg5 
= static_cast< int >(val5
); 
30833     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30834     (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30835     wxPyEndAllowThreads(__tstate
); 
30836     if (PyErr_Occurred()) SWIG_fail
; 
30838   resultobj 
= SWIG_Py_Void(); 
30845 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawItemSelectionRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30846   PyObject 
*resultobj 
= 0; 
30847   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30848   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30851   int arg5 
= (int) 0 ; 
30861   PyObject 
* obj0 
= 0 ; 
30862   PyObject 
* obj1 
= 0 ; 
30863   PyObject 
* obj2 
= 0 ; 
30864   PyObject 
* obj3 
= 0 ; 
30865   PyObject 
* obj4 
= 0 ; 
30866   char *  kwnames
[] = { 
30867     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
30870   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
30871   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30872   if (!SWIG_IsOK(res1
)) { 
30873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30875   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30876   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30877   if (!SWIG_IsOK(res2
)) { 
30878     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");  
30880   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30881   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
30882   if (!SWIG_IsOK(res3
)) { 
30883     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");  
30886     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");  
30888   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
30891     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
30894     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
30895     if (!SWIG_IsOK(ecode5
)) { 
30896       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'"); 
30898     arg5 
= static_cast< int >(val5
); 
30901     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30902     (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
30903     wxPyEndAllowThreads(__tstate
); 
30904     if (PyErr_Occurred()) SWIG_fail
; 
30906   resultobj 
= SWIG_Py_Void(); 
30913 SWIGINTERN PyObject 
*_wrap_RendererNative_GetSplitterParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30914   PyObject 
*resultobj 
= 0; 
30915   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
30916   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
30917   SwigValueWrapper
<wxSplitterRenderParams 
> result
; 
30922   PyObject 
* obj0 
= 0 ; 
30923   PyObject 
* obj1 
= 0 ; 
30924   char *  kwnames
[] = { 
30925     (char *) "self",(char *) "win", NULL 
 
30928   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30929   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30930   if (!SWIG_IsOK(res1
)) { 
30931     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
30933   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
30934   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30935   if (!SWIG_IsOK(res2
)) { 
30936     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");  
30938   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
30940     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30941     result 
= (arg1
)->GetSplitterParams((wxWindow 
const *)arg2
); 
30942     wxPyEndAllowThreads(__tstate
); 
30943     if (PyErr_Occurred()) SWIG_fail
; 
30945   resultobj 
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN 
|  0 ); 
30952 SWIGINTERN PyObject 
*_wrap_RendererNative_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30953   PyObject 
*resultobj 
= 0; 
30954   wxRendererNative 
*result 
= 0 ; 
30956   if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
; 
30958     if (!wxPyCheckForApp()) SWIG_fail
; 
30959     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30961       wxRendererNative 
&_result_ref 
= wxRendererNative::Get(); 
30962       result 
= (wxRendererNative 
*) &_result_ref
; 
30964     wxPyEndAllowThreads(__tstate
); 
30965     if (PyErr_Occurred()) SWIG_fail
; 
30967   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30974 SWIGINTERN PyObject 
*_wrap_RendererNative_GetGeneric(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30975   PyObject 
*resultobj 
= 0; 
30976   wxRendererNative 
*result 
= 0 ; 
30978   if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
; 
30980     if (!wxPyCheckForApp()) SWIG_fail
; 
30981     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30983       wxRendererNative 
&_result_ref 
= wxRendererNative::GetGeneric(); 
30984       result 
= (wxRendererNative 
*) &_result_ref
; 
30986     wxPyEndAllowThreads(__tstate
); 
30987     if (PyErr_Occurred()) SWIG_fail
; 
30989   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
30996 SWIGINTERN PyObject 
*_wrap_RendererNative_GetDefault(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30997   PyObject 
*resultobj 
= 0; 
30998   wxRendererNative 
*result 
= 0 ; 
31000   if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
; 
31002     if (!wxPyCheckForApp()) SWIG_fail
; 
31003     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31005       wxRendererNative 
&_result_ref 
= wxRendererNative::GetDefault(); 
31006       result 
= (wxRendererNative 
*) &_result_ref
; 
31008     wxPyEndAllowThreads(__tstate
); 
31009     if (PyErr_Occurred()) SWIG_fail
; 
31011   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
31018 SWIGINTERN PyObject 
*_wrap_RendererNative_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31019   PyObject 
*resultobj 
= 0; 
31020   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
31021   wxRendererNative 
*result 
= 0 ; 
31024   PyObject 
* obj0 
= 0 ; 
31025   char *  kwnames
[] = { 
31026     (char *) "renderer", NULL 
 
31029   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
; 
31030   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
31031   if (!SWIG_IsOK(res1
)) { 
31032     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
31034   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
31036     if (!wxPyCheckForApp()) SWIG_fail
; 
31037     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31038     result 
= (wxRendererNative 
*)wxRendererNative::Set(arg1
); 
31039     wxPyEndAllowThreads(__tstate
); 
31040     if (PyErr_Occurred()) SWIG_fail
; 
31042   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
31049 SWIGINTERN PyObject 
*_wrap_RendererNative_GetVersion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31050   PyObject 
*resultobj 
= 0; 
31051   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
31052   SwigValueWrapper
<wxRendererVersion 
> result
; 
31055   PyObject 
*swig_obj
[1] ; 
31057   if (!args
) SWIG_fail
; 
31058   swig_obj
[0] = args
; 
31059   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
31060   if (!SWIG_IsOK(res1
)) { 
31061     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");  
31063   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
31065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31066     result 
= ((wxRendererNative 
const *)arg1
)->GetVersion(); 
31067     wxPyEndAllowThreads(__tstate
); 
31068     if (PyErr_Occurred()) SWIG_fail
; 
31070   resultobj 
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN 
|  0 ); 
31077 SWIGINTERN PyObject 
*RendererNative_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31079   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
31080   SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
)); 
31081   return SWIG_Py_Void(); 
31084 SWIGINTERN PyObject 
*_wrap_new_PseudoDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31085   PyObject 
*resultobj 
= 0; 
31086   wxPseudoDC 
*result 
= 0 ; 
31088   if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
; 
31090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31091     result 
= (wxPseudoDC 
*)new wxPseudoDC(); 
31092     wxPyEndAllowThreads(__tstate
); 
31093     if (PyErr_Occurred()) SWIG_fail
; 
31095   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW 
|  0 ); 
31102 SWIGINTERN PyObject 
*_wrap_PseudoDC_BeginDrawing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31103   PyObject 
*resultobj 
= 0; 
31104   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31107   PyObject 
*swig_obj
[1] ; 
31109   if (!args
) SWIG_fail
; 
31110   swig_obj
[0] = args
; 
31111   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31112   if (!SWIG_IsOK(res1
)) { 
31113     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31115   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31117     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31118     (arg1
)->BeginDrawing(); 
31119     wxPyEndAllowThreads(__tstate
); 
31120     if (PyErr_Occurred()) SWIG_fail
; 
31122   resultobj 
= SWIG_Py_Void(); 
31129 SWIGINTERN PyObject 
*_wrap_PseudoDC_EndDrawing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31130   PyObject 
*resultobj 
= 0; 
31131   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31134   PyObject 
*swig_obj
[1] ; 
31136   if (!args
) SWIG_fail
; 
31137   swig_obj
[0] = args
; 
31138   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31139   if (!SWIG_IsOK(res1
)) { 
31140     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31142   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31145     (arg1
)->EndDrawing(); 
31146     wxPyEndAllowThreads(__tstate
); 
31147     if (PyErr_Occurred()) SWIG_fail
; 
31149   resultobj 
= SWIG_Py_Void(); 
31156 SWIGINTERN PyObject 
*_wrap_delete_PseudoDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31157   PyObject 
*resultobj 
= 0; 
31158   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31161   PyObject 
*swig_obj
[1] ; 
31163   if (!args
) SWIG_fail
; 
31164   swig_obj
[0] = args
; 
31165   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN 
|  0 ); 
31166   if (!SWIG_IsOK(res1
)) { 
31167     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31169   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31171     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31174     wxPyEndAllowThreads(__tstate
); 
31175     if (PyErr_Occurred()) SWIG_fail
; 
31177   resultobj 
= SWIG_Py_Void(); 
31184 SWIGINTERN PyObject 
*_wrap_PseudoDC_RemoveAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31185   PyObject 
*resultobj 
= 0; 
31186   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31189   PyObject 
*swig_obj
[1] ; 
31191   if (!args
) SWIG_fail
; 
31192   swig_obj
[0] = args
; 
31193   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31194   if (!SWIG_IsOK(res1
)) { 
31195     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31197   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31200     (arg1
)->RemoveAll(); 
31201     wxPyEndAllowThreads(__tstate
); 
31202     if (PyErr_Occurred()) SWIG_fail
; 
31204   resultobj 
= SWIG_Py_Void(); 
31211 SWIGINTERN PyObject 
*_wrap_PseudoDC_GetLen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
31212   PyObject 
*resultobj 
= 0; 
31213   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31217   PyObject 
*swig_obj
[1] ; 
31219   if (!args
) SWIG_fail
; 
31220   swig_obj
[0] = args
; 
31221   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31222   if (!SWIG_IsOK(res1
)) { 
31223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31225   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31228     result 
= (int)(arg1
)->GetLen(); 
31229     wxPyEndAllowThreads(__tstate
); 
31230     if (PyErr_Occurred()) SWIG_fail
; 
31232   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
31239 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31240   PyObject 
*resultobj 
= 0; 
31241   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31247   PyObject 
* obj0 
= 0 ; 
31248   PyObject 
* obj1 
= 0 ; 
31249   char *  kwnames
[] = { 
31250     (char *) "self",(char *) "id", NULL 
 
31253   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
31254   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31255   if (!SWIG_IsOK(res1
)) { 
31256     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31258   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31259   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31260   if (!SWIG_IsOK(ecode2
)) { 
31261     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'"); 
31263   arg2 
= static_cast< int >(val2
); 
31265     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31266     (arg1
)->SetId(arg2
); 
31267     wxPyEndAllowThreads(__tstate
); 
31268     if (PyErr_Occurred()) SWIG_fail
; 
31270   resultobj 
= SWIG_Py_Void(); 
31277 SWIGINTERN PyObject 
*_wrap_PseudoDC_ClearId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31278   PyObject 
*resultobj 
= 0; 
31279   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31285   PyObject 
* obj0 
= 0 ; 
31286   PyObject 
* obj1 
= 0 ; 
31287   char *  kwnames
[] = { 
31288     (char *) "self",(char *) "id", NULL 
 
31291   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
31292   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31293   if (!SWIG_IsOK(res1
)) { 
31294     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31296   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31297   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31298   if (!SWIG_IsOK(ecode2
)) { 
31299     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'"); 
31301   arg2 
= static_cast< int >(val2
); 
31303     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31304     (arg1
)->ClearId(arg2
); 
31305     wxPyEndAllowThreads(__tstate
); 
31306     if (PyErr_Occurred()) SWIG_fail
; 
31308   resultobj 
= SWIG_Py_Void(); 
31315 SWIGINTERN PyObject 
*_wrap_PseudoDC_RemoveId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31316   PyObject 
*resultobj 
= 0; 
31317   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31323   PyObject 
* obj0 
= 0 ; 
31324   PyObject 
* obj1 
= 0 ; 
31325   char *  kwnames
[] = { 
31326     (char *) "self",(char *) "id", NULL 
 
31329   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
31330   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31331   if (!SWIG_IsOK(res1
)) { 
31332     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31334   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31335   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31336   if (!SWIG_IsOK(ecode2
)) { 
31337     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'"); 
31339   arg2 
= static_cast< int >(val2
); 
31341     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31342     (arg1
)->RemoveId(arg2
); 
31343     wxPyEndAllowThreads(__tstate
); 
31344     if (PyErr_Occurred()) SWIG_fail
; 
31346   resultobj 
= SWIG_Py_Void(); 
31353 SWIGINTERN PyObject 
*_wrap_PseudoDC_TranslateId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31354   PyObject 
*resultobj 
= 0; 
31355   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31367   PyObject 
* obj0 
= 0 ; 
31368   PyObject 
* obj1 
= 0 ; 
31369   PyObject 
* obj2 
= 0 ; 
31370   PyObject 
* obj3 
= 0 ; 
31371   char *  kwnames
[] = { 
31372     (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL 
 
31375   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
31376   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31377   if (!SWIG_IsOK(res1
)) { 
31378     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31380   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31381   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31382   if (!SWIG_IsOK(ecode2
)) { 
31383     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'"); 
31385   arg2 
= static_cast< int >(val2
); 
31386   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
31387   if (!SWIG_IsOK(ecode3
)) { 
31388     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'"); 
31390   arg3 
= static_cast< int >(val3
); 
31391   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
31392   if (!SWIG_IsOK(ecode4
)) { 
31393     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'"); 
31395   arg4 
= static_cast< int >(val4
); 
31397     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31398     (arg1
)->TranslateId(arg2
,arg3
,arg4
); 
31399     wxPyEndAllowThreads(__tstate
); 
31400     if (PyErr_Occurred()) SWIG_fail
; 
31402   resultobj 
= SWIG_Py_Void(); 
31409 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetIdGreyedOut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31410   PyObject 
*resultobj 
= 0; 
31411   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31413   bool arg3 
= (bool) true ; 
31420   PyObject 
* obj0 
= 0 ; 
31421   PyObject 
* obj1 
= 0 ; 
31422   PyObject 
* obj2 
= 0 ; 
31423   char *  kwnames
[] = { 
31424     (char *) "self",(char *) "id",(char *) "greyout", NULL 
 
31427   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
31428   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31429   if (!SWIG_IsOK(res1
)) { 
31430     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31432   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31433   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31434   if (!SWIG_IsOK(ecode2
)) { 
31435     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'"); 
31437   arg2 
= static_cast< int >(val2
); 
31439     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
31440     if (!SWIG_IsOK(ecode3
)) { 
31441       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'"); 
31443     arg3 
= static_cast< bool >(val3
); 
31446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31447     (arg1
)->SetIdGreyedOut(arg2
,arg3
); 
31448     wxPyEndAllowThreads(__tstate
); 
31449     if (PyErr_Occurred()) SWIG_fail
; 
31451   resultobj 
= SWIG_Py_Void(); 
31458 SWIGINTERN PyObject 
*_wrap_PseudoDC_GetIdGreyedOut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31459   PyObject 
*resultobj 
= 0; 
31460   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31467   PyObject 
* obj0 
= 0 ; 
31468   PyObject 
* obj1 
= 0 ; 
31469   char *  kwnames
[] = { 
31470     (char *) "self",(char *) "id", NULL 
 
31473   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
31474   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31475   if (!SWIG_IsOK(res1
)) { 
31476     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31478   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31479   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31480   if (!SWIG_IsOK(ecode2
)) { 
31481     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'"); 
31483   arg2 
= static_cast< int >(val2
); 
31485     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31486     result 
= (bool)(arg1
)->GetIdGreyedOut(arg2
); 
31487     wxPyEndAllowThreads(__tstate
); 
31488     if (PyErr_Occurred()) SWIG_fail
; 
31491     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31499 SWIGINTERN PyObject 
*_wrap_PseudoDC_FindObjects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31500   PyObject 
*resultobj 
= 0; 
31501   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31504   int arg4 
= (int) 1 ; 
31505   wxColor 
const &arg5_defvalue 
= *wxWHITE 
; 
31506   wxColor 
*arg5 
= (wxColor 
*) &arg5_defvalue 
; 
31507   PyObject 
*result 
= 0 ; 
31518   PyObject 
* obj0 
= 0 ; 
31519   PyObject 
* obj1 
= 0 ; 
31520   PyObject 
* obj2 
= 0 ; 
31521   PyObject 
* obj3 
= 0 ; 
31522   PyObject 
* obj4 
= 0 ; 
31523   char *  kwnames
[] = { 
31524     (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL 
 
31527   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
31528   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31529   if (!SWIG_IsOK(res1
)) { 
31530     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31532   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31533   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31534   if (!SWIG_IsOK(ecode2
)) { 
31535     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'"); 
31537   arg2 
= static_cast< int >(val2
); 
31538   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
31539   if (!SWIG_IsOK(ecode3
)) { 
31540     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'"); 
31542   arg3 
= static_cast< int >(val3
); 
31544     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
31545     if (!SWIG_IsOK(ecode4
)) { 
31546       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'"); 
31548     arg4 
= static_cast< int >(val4
); 
31551     res5 
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
,  0  | 0); 
31552     if (!SWIG_IsOK(res5
)) { 
31553       SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");  
31556       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");  
31558     arg5 
= reinterpret_cast< wxColor 
* >(argp5
); 
31561     result 
= (PyObject 
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor 
const &)*arg5
); 
31562     if (PyErr_Occurred()) SWIG_fail
; 
31564   resultobj 
= result
; 
31571 SWIGINTERN PyObject 
*_wrap_PseudoDC_FindObjectsByBBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31572   PyObject 
*resultobj 
= 0; 
31573   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31576   PyObject 
*result 
= 0 ; 
31583   PyObject 
* obj0 
= 0 ; 
31584   PyObject 
* obj1 
= 0 ; 
31585   PyObject 
* obj2 
= 0 ; 
31586   char *  kwnames
[] = { 
31587     (char *) "self",(char *) "x",(char *) "y", NULL 
 
31590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
31591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31592   if (!SWIG_IsOK(res1
)) { 
31593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31595   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31596   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31597   if (!SWIG_IsOK(ecode2
)) { 
31598     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'"); 
31600   arg2 
= static_cast< int >(val2
); 
31601   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
31602   if (!SWIG_IsOK(ecode3
)) { 
31603     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'"); 
31605   arg3 
= static_cast< int >(val3
); 
31607     result 
= (PyObject 
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
); 
31608     if (PyErr_Occurred()) SWIG_fail
; 
31610   resultobj 
= result
; 
31617 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawIdToDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31618   PyObject 
*resultobj 
= 0; 
31619   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31621   wxDC 
*arg3 
= (wxDC 
*) 0 ; 
31628   PyObject 
* obj0 
= 0 ; 
31629   PyObject 
* obj1 
= 0 ; 
31630   PyObject 
* obj2 
= 0 ; 
31631   char *  kwnames
[] = { 
31632     (char *) "self",(char *) "id",(char *) "dc", NULL 
 
31635   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
31636   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31637   if (!SWIG_IsOK(res1
)) { 
31638     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31640   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31641   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31642   if (!SWIG_IsOK(ecode2
)) { 
31643     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'"); 
31645   arg2 
= static_cast< int >(val2
); 
31646   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
31647   if (!SWIG_IsOK(res3
)) { 
31648     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");  
31650   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
31652     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31653     (arg1
)->DrawIdToDC(arg2
,arg3
); 
31654     wxPyEndAllowThreads(__tstate
); 
31655     if (PyErr_Occurred()) SWIG_fail
; 
31657   resultobj 
= SWIG_Py_Void(); 
31664 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetIdBounds(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31665   PyObject 
*resultobj 
= 0; 
31666   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31674   PyObject 
* obj0 
= 0 ; 
31675   PyObject 
* obj1 
= 0 ; 
31676   PyObject 
* obj2 
= 0 ; 
31677   char *  kwnames
[] = { 
31678     (char *) "self",(char *) "id",(char *) "rect", NULL 
 
31681   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
31682   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31683   if (!SWIG_IsOK(res1
)) { 
31684     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31686   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31687   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31688   if (!SWIG_IsOK(ecode2
)) { 
31689     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'"); 
31691   arg2 
= static_cast< int >(val2
); 
31694     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
31697     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31698     (arg1
)->SetIdBounds(arg2
,*arg3
); 
31699     wxPyEndAllowThreads(__tstate
); 
31700     if (PyErr_Occurred()) SWIG_fail
; 
31702   resultobj 
= SWIG_Py_Void(); 
31709 SWIGINTERN PyObject 
*_wrap_PseudoDC_GetIdBounds(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31710   PyObject 
*resultobj 
= 0; 
31711   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31718   PyObject 
* obj0 
= 0 ; 
31719   PyObject 
* obj1 
= 0 ; 
31720   char *  kwnames
[] = { 
31721     (char *) "self",(char *) "id", NULL 
 
31724   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
31725   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31726   if (!SWIG_IsOK(res1
)) { 
31727     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31729   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31730   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31731   if (!SWIG_IsOK(ecode2
)) { 
31732     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'"); 
31734   arg2 
= static_cast< int >(val2
); 
31736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31737     result 
= wxPseudoDC_GetIdBounds(arg1
,arg2
); 
31738     wxPyEndAllowThreads(__tstate
); 
31739     if (PyErr_Occurred()) SWIG_fail
; 
31741   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
31748 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawToDCClipped(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31749   PyObject 
*resultobj 
= 0; 
31750   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31751   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
31758   PyObject 
* obj0 
= 0 ; 
31759   PyObject 
* obj1 
= 0 ; 
31760   PyObject 
* obj2 
= 0 ; 
31761   char *  kwnames
[] = { 
31762     (char *) "self",(char *) "dc",(char *) "rect", NULL 
 
31765   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
31766   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31767   if (!SWIG_IsOK(res1
)) { 
31768     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31770   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31771   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
31772   if (!SWIG_IsOK(res2
)) { 
31773     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");  
31775   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
31778     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
31781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31782     (arg1
)->DrawToDCClipped(arg2
,(wxRect 
const &)*arg3
); 
31783     wxPyEndAllowThreads(__tstate
); 
31784     if (PyErr_Occurred()) SWIG_fail
; 
31786   resultobj 
= SWIG_Py_Void(); 
31793 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31794   PyObject 
*resultobj 
= 0; 
31795   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31796   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
31797   wxRegion 
*arg3 
= 0 ; 
31804   PyObject 
* obj0 
= 0 ; 
31805   PyObject 
* obj1 
= 0 ; 
31806   PyObject 
* obj2 
= 0 ; 
31807   char *  kwnames
[] = { 
31808     (char *) "self",(char *) "dc",(char *) "region", NULL 
 
31811   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
31812   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31813   if (!SWIG_IsOK(res1
)) { 
31814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31816   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31817   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
31818   if (!SWIG_IsOK(res2
)) { 
31819     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");  
31821   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
31822   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
,  0  | 0); 
31823   if (!SWIG_IsOK(res3
)) { 
31824     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");  
31827     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");  
31829   arg3 
= reinterpret_cast< wxRegion 
* >(argp3
); 
31831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31832     (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion 
const &)*arg3
); 
31833     wxPyEndAllowThreads(__tstate
); 
31834     if (PyErr_Occurred()) SWIG_fail
; 
31836   resultobj 
= SWIG_Py_Void(); 
31843 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawToDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31844   PyObject 
*resultobj 
= 0; 
31845   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31846   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
31851   PyObject 
* obj0 
= 0 ; 
31852   PyObject 
* obj1 
= 0 ; 
31853   char *  kwnames
[] = { 
31854     (char *) "self",(char *) "dc", NULL 
 
31857   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
31858   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31859   if (!SWIG_IsOK(res1
)) { 
31860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31862   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31863   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
31864   if (!SWIG_IsOK(res2
)) { 
31865     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");  
31867   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
31869     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31870     (arg1
)->DrawToDC(arg2
); 
31871     wxPyEndAllowThreads(__tstate
); 
31872     if (PyErr_Occurred()) SWIG_fail
; 
31874   resultobj 
= SWIG_Py_Void(); 
31881 SWIGINTERN PyObject 
*_wrap_PseudoDC_FloodFill(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31882   PyObject 
*resultobj 
= 0; 
31883   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31886   wxColour 
*arg4 
= 0 ; 
31887   int arg5 
= (int) wxFLOOD_SURFACE 
; 
31897   PyObject 
* obj0 
= 0 ; 
31898   PyObject 
* obj1 
= 0 ; 
31899   PyObject 
* obj2 
= 0 ; 
31900   PyObject 
* obj3 
= 0 ; 
31901   PyObject 
* obj4 
= 0 ; 
31902   char *  kwnames
[] = { 
31903     (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
31906   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
31907   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31908   if (!SWIG_IsOK(res1
)) { 
31909     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31911   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31912   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
31913   if (!SWIG_IsOK(ecode2
)) { 
31914     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'"); 
31916   arg2 
= static_cast< int >(val2
); 
31917   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
31918   if (!SWIG_IsOK(ecode3
)) { 
31919     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'"); 
31921   arg3 
= static_cast< int >(val3
); 
31924     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
31927     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
31928     if (!SWIG_IsOK(ecode5
)) { 
31929       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'"); 
31931     arg5 
= static_cast< int >(val5
); 
31934     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31935     (arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
31936     wxPyEndAllowThreads(__tstate
); 
31937     if (PyErr_Occurred()) SWIG_fail
; 
31939   resultobj 
= SWIG_Py_Void(); 
31946 SWIGINTERN PyObject 
*_wrap_PseudoDC_FloodFillPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
31947   PyObject 
*resultobj 
= 0; 
31948   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
31949   wxPoint 
*arg2 
= 0 ; 
31950   wxColour 
*arg3 
= 0 ; 
31951   int arg4 
= (int) wxFLOOD_SURFACE 
; 
31958   PyObject 
* obj0 
= 0 ; 
31959   PyObject 
* obj1 
= 0 ; 
31960   PyObject 
* obj2 
= 0 ; 
31961   PyObject 
* obj3 
= 0 ; 
31962   char *  kwnames
[] = { 
31963     (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
31966   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
31967   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
31968   if (!SWIG_IsOK(res1
)) { 
31969     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
31971   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
31974     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
31978     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
31981     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
31982     if (!SWIG_IsOK(ecode4
)) { 
31983       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'"); 
31985     arg4 
= static_cast< int >(val4
); 
31988     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31989     (arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
31990     wxPyEndAllowThreads(__tstate
); 
31991     if (PyErr_Occurred()) SWIG_fail
; 
31993   resultobj 
= SWIG_Py_Void(); 
32000 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32001   PyObject 
*resultobj 
= 0; 
32002   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32017   PyObject 
* obj0 
= 0 ; 
32018   PyObject 
* obj1 
= 0 ; 
32019   PyObject 
* obj2 
= 0 ; 
32020   PyObject 
* obj3 
= 0 ; 
32021   PyObject 
* obj4 
= 0 ; 
32022   char *  kwnames
[] = { 
32023     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
32026   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
32027   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32028   if (!SWIG_IsOK(res1
)) { 
32029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32031   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32032   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32033   if (!SWIG_IsOK(ecode2
)) { 
32034     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'"); 
32036   arg2 
= static_cast< int >(val2
); 
32037   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32038   if (!SWIG_IsOK(ecode3
)) { 
32039     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'"); 
32041   arg3 
= static_cast< int >(val3
); 
32042   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
32043   if (!SWIG_IsOK(ecode4
)) { 
32044     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'"); 
32046   arg4 
= static_cast< int >(val4
); 
32047   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
32048   if (!SWIG_IsOK(ecode5
)) { 
32049     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'"); 
32051   arg5 
= static_cast< int >(val5
); 
32053     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32054     (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
32055     wxPyEndAllowThreads(__tstate
); 
32056     if (PyErr_Occurred()) SWIG_fail
; 
32058   resultobj 
= SWIG_Py_Void(); 
32065 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLinePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32066   PyObject 
*resultobj 
= 0; 
32067   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32068   wxPoint 
*arg2 
= 0 ; 
32069   wxPoint 
*arg3 
= 0 ; 
32074   PyObject 
* obj0 
= 0 ; 
32075   PyObject 
* obj1 
= 0 ; 
32076   PyObject 
* obj2 
= 0 ; 
32077   char *  kwnames
[] = { 
32078     (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
32081   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
32082   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32083   if (!SWIG_IsOK(res1
)) { 
32084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32086   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32089     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32093     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
32096     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32097     (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
32098     wxPyEndAllowThreads(__tstate
); 
32099     if (PyErr_Occurred()) SWIG_fail
; 
32101   resultobj 
= SWIG_Py_Void(); 
32108 SWIGINTERN PyObject 
*_wrap_PseudoDC_CrossHair(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32109   PyObject 
*resultobj 
= 0; 
32110   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32119   PyObject 
* obj0 
= 0 ; 
32120   PyObject 
* obj1 
= 0 ; 
32121   PyObject 
* obj2 
= 0 ; 
32122   char *  kwnames
[] = { 
32123     (char *) "self",(char *) "x",(char *) "y", NULL 
 
32126   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
32127   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32128   if (!SWIG_IsOK(res1
)) { 
32129     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32131   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32132   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32133   if (!SWIG_IsOK(ecode2
)) { 
32134     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'"); 
32136   arg2 
= static_cast< int >(val2
); 
32137   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32138   if (!SWIG_IsOK(ecode3
)) { 
32139     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'"); 
32141   arg3 
= static_cast< int >(val3
); 
32143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32144     (arg1
)->CrossHair(arg2
,arg3
); 
32145     wxPyEndAllowThreads(__tstate
); 
32146     if (PyErr_Occurred()) SWIG_fail
; 
32148   resultobj 
= SWIG_Py_Void(); 
32155 SWIGINTERN PyObject 
*_wrap_PseudoDC_CrossHairPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32156   PyObject 
*resultobj 
= 0; 
32157   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32158   wxPoint 
*arg2 
= 0 ; 
32162   PyObject 
* obj0 
= 0 ; 
32163   PyObject 
* obj1 
= 0 ; 
32164   char *  kwnames
[] = { 
32165     (char *) "self",(char *) "pt", NULL 
 
32168   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
32169   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32170   if (!SWIG_IsOK(res1
)) { 
32171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32173   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32176     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32180     (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
32181     wxPyEndAllowThreads(__tstate
); 
32182     if (PyErr_Occurred()) SWIG_fail
; 
32184   resultobj 
= SWIG_Py_Void(); 
32191 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32192   PyObject 
*resultobj 
= 0; 
32193   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32214   PyObject 
* obj0 
= 0 ; 
32215   PyObject 
* obj1 
= 0 ; 
32216   PyObject 
* obj2 
= 0 ; 
32217   PyObject 
* obj3 
= 0 ; 
32218   PyObject 
* obj4 
= 0 ; 
32219   PyObject 
* obj5 
= 0 ; 
32220   PyObject 
* obj6 
= 0 ; 
32221   char *  kwnames
[] = { 
32222     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
32225   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
32226   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32227   if (!SWIG_IsOK(res1
)) { 
32228     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32230   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32231   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32232   if (!SWIG_IsOK(ecode2
)) { 
32233     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'"); 
32235   arg2 
= static_cast< int >(val2
); 
32236   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32237   if (!SWIG_IsOK(ecode3
)) { 
32238     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'"); 
32240   arg3 
= static_cast< int >(val3
); 
32241   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
32242   if (!SWIG_IsOK(ecode4
)) { 
32243     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'"); 
32245   arg4 
= static_cast< int >(val4
); 
32246   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
32247   if (!SWIG_IsOK(ecode5
)) { 
32248     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'"); 
32250   arg5 
= static_cast< int >(val5
); 
32251   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
32252   if (!SWIG_IsOK(ecode6
)) { 
32253     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'"); 
32255   arg6 
= static_cast< int >(val6
); 
32256   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
32257   if (!SWIG_IsOK(ecode7
)) { 
32258     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'"); 
32260   arg7 
= static_cast< int >(val7
); 
32262     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32263     (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
32264     wxPyEndAllowThreads(__tstate
); 
32265     if (PyErr_Occurred()) SWIG_fail
; 
32267   resultobj 
= SWIG_Py_Void(); 
32274 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawArcPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32275   PyObject 
*resultobj 
= 0; 
32276   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32277   wxPoint 
*arg2 
= 0 ; 
32278   wxPoint 
*arg3 
= 0 ; 
32279   wxPoint 
*arg4 
= 0 ; 
32285   PyObject 
* obj0 
= 0 ; 
32286   PyObject 
* obj1 
= 0 ; 
32287   PyObject 
* obj2 
= 0 ; 
32288   PyObject 
* obj3 
= 0 ; 
32289   char *  kwnames
[] = { 
32290     (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
32293   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
32294   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32295   if (!SWIG_IsOK(res1
)) { 
32296     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32298   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32301     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32305     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
32309     if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
32312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32313     (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
32314     wxPyEndAllowThreads(__tstate
); 
32315     if (PyErr_Occurred()) SWIG_fail
; 
32317   resultobj 
= SWIG_Py_Void(); 
32324 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCheckMark(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32325   PyObject 
*resultobj 
= 0; 
32326   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32341   PyObject 
* obj0 
= 0 ; 
32342   PyObject 
* obj1 
= 0 ; 
32343   PyObject 
* obj2 
= 0 ; 
32344   PyObject 
* obj3 
= 0 ; 
32345   PyObject 
* obj4 
= 0 ; 
32346   char *  kwnames
[] = { 
32347     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
32350   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
32351   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32352   if (!SWIG_IsOK(res1
)) { 
32353     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32355   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32356   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32357   if (!SWIG_IsOK(ecode2
)) { 
32358     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'"); 
32360   arg2 
= static_cast< int >(val2
); 
32361   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32362   if (!SWIG_IsOK(ecode3
)) { 
32363     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'"); 
32365   arg3 
= static_cast< int >(val3
); 
32366   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
32367   if (!SWIG_IsOK(ecode4
)) { 
32368     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'"); 
32370   arg4 
= static_cast< int >(val4
); 
32371   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
32372   if (!SWIG_IsOK(ecode5
)) { 
32373     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'"); 
32375   arg5 
= static_cast< int >(val5
); 
32377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32378     (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
32379     wxPyEndAllowThreads(__tstate
); 
32380     if (PyErr_Occurred()) SWIG_fail
; 
32382   resultobj 
= SWIG_Py_Void(); 
32389 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32390   PyObject 
*resultobj 
= 0; 
32391   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32396   PyObject 
* obj0 
= 0 ; 
32397   PyObject 
* obj1 
= 0 ; 
32398   char *  kwnames
[] = { 
32399     (char *) "self",(char *) "rect", NULL 
 
32402   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
32403   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32404   if (!SWIG_IsOK(res1
)) { 
32405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32407   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32410     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
32413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32414     (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
32415     wxPyEndAllowThreads(__tstate
); 
32416     if (PyErr_Occurred()) SWIG_fail
; 
32418   resultobj 
= SWIG_Py_Void(); 
32425 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipticArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32426   PyObject 
*resultobj 
= 0; 
32427   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32448   PyObject 
* obj0 
= 0 ; 
32449   PyObject 
* obj1 
= 0 ; 
32450   PyObject 
* obj2 
= 0 ; 
32451   PyObject 
* obj3 
= 0 ; 
32452   PyObject 
* obj4 
= 0 ; 
32453   PyObject 
* obj5 
= 0 ; 
32454   PyObject 
* obj6 
= 0 ; 
32455   char *  kwnames
[] = { 
32456     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
32459   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
32460   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32461   if (!SWIG_IsOK(res1
)) { 
32462     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32464   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32465   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32466   if (!SWIG_IsOK(ecode2
)) { 
32467     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'"); 
32469   arg2 
= static_cast< int >(val2
); 
32470   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32471   if (!SWIG_IsOK(ecode3
)) { 
32472     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'"); 
32474   arg3 
= static_cast< int >(val3
); 
32475   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
32476   if (!SWIG_IsOK(ecode4
)) { 
32477     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'"); 
32479   arg4 
= static_cast< int >(val4
); 
32480   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
32481   if (!SWIG_IsOK(ecode5
)) { 
32482     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'"); 
32484   arg5 
= static_cast< int >(val5
); 
32485   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
32486   if (!SWIG_IsOK(ecode6
)) { 
32487     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'"); 
32489   arg6 
= static_cast< double >(val6
); 
32490   ecode7 
= SWIG_AsVal_double(obj6
, &val7
); 
32491   if (!SWIG_IsOK(ecode7
)) { 
32492     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'"); 
32494   arg7 
= static_cast< double >(val7
); 
32496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32497     (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
32498     wxPyEndAllowThreads(__tstate
); 
32499     if (PyErr_Occurred()) SWIG_fail
; 
32501   resultobj 
= SWIG_Py_Void(); 
32508 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32509   PyObject 
*resultobj 
= 0; 
32510   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32511   wxPoint 
*arg2 
= 0 ; 
32523   PyObject 
* obj0 
= 0 ; 
32524   PyObject 
* obj1 
= 0 ; 
32525   PyObject 
* obj2 
= 0 ; 
32526   PyObject 
* obj3 
= 0 ; 
32527   PyObject 
* obj4 
= 0 ; 
32528   char *  kwnames
[] = { 
32529     (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
32532   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
32533   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32534   if (!SWIG_IsOK(res1
)) { 
32535     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32537   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32540     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32544     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
32546   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
32547   if (!SWIG_IsOK(ecode4
)) { 
32548     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'"); 
32550   arg4 
= static_cast< double >(val4
); 
32551   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
32552   if (!SWIG_IsOK(ecode5
)) { 
32553     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'"); 
32555   arg5 
= static_cast< double >(val5
); 
32557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32558     (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
32559     wxPyEndAllowThreads(__tstate
); 
32560     if (PyErr_Occurred()) SWIG_fail
; 
32562   resultobj 
= SWIG_Py_Void(); 
32569 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32570   PyObject 
*resultobj 
= 0; 
32571   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32580   PyObject 
* obj0 
= 0 ; 
32581   PyObject 
* obj1 
= 0 ; 
32582   PyObject 
* obj2 
= 0 ; 
32583   char *  kwnames
[] = { 
32584     (char *) "self",(char *) "x",(char *) "y", NULL 
 
32587   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
32588   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32589   if (!SWIG_IsOK(res1
)) { 
32590     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32592   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32593   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32594   if (!SWIG_IsOK(ecode2
)) { 
32595     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'"); 
32597   arg2 
= static_cast< int >(val2
); 
32598   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32599   if (!SWIG_IsOK(ecode3
)) { 
32600     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'"); 
32602   arg3 
= static_cast< int >(val3
); 
32604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32605     (arg1
)->DrawPoint(arg2
,arg3
); 
32606     wxPyEndAllowThreads(__tstate
); 
32607     if (PyErr_Occurred()) SWIG_fail
; 
32609   resultobj 
= SWIG_Py_Void(); 
32616 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawPointPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32617   PyObject 
*resultobj 
= 0; 
32618   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32619   wxPoint 
*arg2 
= 0 ; 
32623   PyObject 
* obj0 
= 0 ; 
32624   PyObject 
* obj1 
= 0 ; 
32625   char *  kwnames
[] = { 
32626     (char *) "self",(char *) "pt", NULL 
 
32629   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
32630   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32631   if (!SWIG_IsOK(res1
)) { 
32632     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32634   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32637     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32640     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32641     (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
32642     wxPyEndAllowThreads(__tstate
); 
32643     if (PyErr_Occurred()) SWIG_fail
; 
32645   resultobj 
= SWIG_Py_Void(); 
32652 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32653   PyObject 
*resultobj 
= 0; 
32654   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32669   PyObject 
* obj0 
= 0 ; 
32670   PyObject 
* obj1 
= 0 ; 
32671   PyObject 
* obj2 
= 0 ; 
32672   PyObject 
* obj3 
= 0 ; 
32673   PyObject 
* obj4 
= 0 ; 
32674   char *  kwnames
[] = { 
32675     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
32678   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
32679   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32680   if (!SWIG_IsOK(res1
)) { 
32681     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32683   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32684   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32685   if (!SWIG_IsOK(ecode2
)) { 
32686     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'"); 
32688   arg2 
= static_cast< int >(val2
); 
32689   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32690   if (!SWIG_IsOK(ecode3
)) { 
32691     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'"); 
32693   arg3 
= static_cast< int >(val3
); 
32694   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
32695   if (!SWIG_IsOK(ecode4
)) { 
32696     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'"); 
32698   arg4 
= static_cast< int >(val4
); 
32699   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
32700   if (!SWIG_IsOK(ecode5
)) { 
32701     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'"); 
32703   arg5 
= static_cast< int >(val5
); 
32705     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32706     (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
32707     wxPyEndAllowThreads(__tstate
); 
32708     if (PyErr_Occurred()) SWIG_fail
; 
32710   resultobj 
= SWIG_Py_Void(); 
32717 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32718   PyObject 
*resultobj 
= 0; 
32719   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32724   PyObject 
* obj0 
= 0 ; 
32725   PyObject 
* obj1 
= 0 ; 
32726   char *  kwnames
[] = { 
32727     (char *) "self",(char *) "rect", NULL 
 
32730   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
32731   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32732   if (!SWIG_IsOK(res1
)) { 
32733     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32735   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32738     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
32741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32742     (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
32743     wxPyEndAllowThreads(__tstate
); 
32744     if (PyErr_Occurred()) SWIG_fail
; 
32746   resultobj 
= SWIG_Py_Void(); 
32753 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32754   PyObject 
*resultobj 
= 0; 
32755   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32756   wxPoint 
*arg2 
= 0 ; 
32762   PyObject 
* obj0 
= 0 ; 
32763   PyObject 
* obj1 
= 0 ; 
32764   PyObject 
* obj2 
= 0 ; 
32765   char *  kwnames
[] = { 
32766     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
32769   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
32770   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32771   if (!SWIG_IsOK(res1
)) { 
32772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32774   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32777     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32781     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
32784     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32785     (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
32786     wxPyEndAllowThreads(__tstate
); 
32787     if (PyErr_Occurred()) SWIG_fail
; 
32789   resultobj 
= SWIG_Py_Void(); 
32796 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32797   PyObject 
*resultobj 
= 0; 
32798   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32816   PyObject 
* obj0 
= 0 ; 
32817   PyObject 
* obj1 
= 0 ; 
32818   PyObject 
* obj2 
= 0 ; 
32819   PyObject 
* obj3 
= 0 ; 
32820   PyObject 
* obj4 
= 0 ; 
32821   PyObject 
* obj5 
= 0 ; 
32822   char *  kwnames
[] = { 
32823     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
32826   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
32827   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32828   if (!SWIG_IsOK(res1
)) { 
32829     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32831   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32832   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32833   if (!SWIG_IsOK(ecode2
)) { 
32834     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'"); 
32836   arg2 
= static_cast< int >(val2
); 
32837   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
32838   if (!SWIG_IsOK(ecode3
)) { 
32839     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'"); 
32841   arg3 
= static_cast< int >(val3
); 
32842   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
32843   if (!SWIG_IsOK(ecode4
)) { 
32844     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'"); 
32846   arg4 
= static_cast< int >(val4
); 
32847   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
32848   if (!SWIG_IsOK(ecode5
)) { 
32849     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'"); 
32851   arg5 
= static_cast< int >(val5
); 
32852   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
32853   if (!SWIG_IsOK(ecode6
)) { 
32854     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'"); 
32856   arg6 
= static_cast< double >(val6
); 
32858     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32859     (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
32860     wxPyEndAllowThreads(__tstate
); 
32861     if (PyErr_Occurred()) SWIG_fail
; 
32863   resultobj 
= SWIG_Py_Void(); 
32870 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32871   PyObject 
*resultobj 
= 0; 
32872   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32880   PyObject 
* obj0 
= 0 ; 
32881   PyObject 
* obj1 
= 0 ; 
32882   PyObject 
* obj2 
= 0 ; 
32883   char *  kwnames
[] = { 
32884     (char *) "self",(char *) "r",(char *) "radius", NULL 
 
32887   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
32888   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32889   if (!SWIG_IsOK(res1
)) { 
32890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32892   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32895     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
32897   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
32898   if (!SWIG_IsOK(ecode3
)) { 
32899     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'"); 
32901   arg3 
= static_cast< double >(val3
); 
32903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32904     (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
32905     wxPyEndAllowThreads(__tstate
); 
32906     if (PyErr_Occurred()) SWIG_fail
; 
32908   resultobj 
= SWIG_Py_Void(); 
32915 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32916   PyObject 
*resultobj 
= 0; 
32917   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32918   wxPoint 
*arg2 
= 0 ; 
32927   PyObject 
* obj0 
= 0 ; 
32928   PyObject 
* obj1 
= 0 ; 
32929   PyObject 
* obj2 
= 0 ; 
32930   PyObject 
* obj3 
= 0 ; 
32931   char *  kwnames
[] = { 
32932     (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
32935   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
32936   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32937   if (!SWIG_IsOK(res1
)) { 
32938     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32940   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32943     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
32947     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
32949   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
32950   if (!SWIG_IsOK(ecode4
)) { 
32951     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'"); 
32953   arg4 
= static_cast< double >(val4
); 
32955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32956     (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
32957     wxPyEndAllowThreads(__tstate
); 
32958     if (PyErr_Occurred()) SWIG_fail
; 
32960   resultobj 
= SWIG_Py_Void(); 
32967 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCircle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
32968   PyObject 
*resultobj 
= 0; 
32969   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
32981   PyObject 
* obj0 
= 0 ; 
32982   PyObject 
* obj1 
= 0 ; 
32983   PyObject 
* obj2 
= 0 ; 
32984   PyObject 
* obj3 
= 0 ; 
32985   char *  kwnames
[] = { 
32986     (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
32989   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
32990   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
32991   if (!SWIG_IsOK(res1
)) { 
32992     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
32994   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
32995   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
32996   if (!SWIG_IsOK(ecode2
)) { 
32997     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'"); 
32999   arg2 
= static_cast< int >(val2
); 
33000   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33001   if (!SWIG_IsOK(ecode3
)) { 
33002     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'"); 
33004   arg3 
= static_cast< int >(val3
); 
33005   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33006   if (!SWIG_IsOK(ecode4
)) { 
33007     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'"); 
33009   arg4 
= static_cast< int >(val4
); 
33011     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33012     (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
33013     wxPyEndAllowThreads(__tstate
); 
33014     if (PyErr_Occurred()) SWIG_fail
; 
33016   resultobj 
= SWIG_Py_Void(); 
33023 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCirclePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33024   PyObject 
*resultobj 
= 0; 
33025   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33026   wxPoint 
*arg2 
= 0 ; 
33033   PyObject 
* obj0 
= 0 ; 
33034   PyObject 
* obj1 
= 0 ; 
33035   PyObject 
* obj2 
= 0 ; 
33036   char *  kwnames
[] = { 
33037     (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
33040   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
33041   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33042   if (!SWIG_IsOK(res1
)) { 
33043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33045   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33048     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
33050   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33051   if (!SWIG_IsOK(ecode3
)) { 
33052     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'"); 
33054   arg3 
= static_cast< int >(val3
); 
33056     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33057     (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
33058     wxPyEndAllowThreads(__tstate
); 
33059     if (PyErr_Occurred()) SWIG_fail
; 
33061   resultobj 
= SWIG_Py_Void(); 
33068 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipse(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33069   PyObject 
*resultobj 
= 0; 
33070   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33085   PyObject 
* obj0 
= 0 ; 
33086   PyObject 
* obj1 
= 0 ; 
33087   PyObject 
* obj2 
= 0 ; 
33088   PyObject 
* obj3 
= 0 ; 
33089   PyObject 
* obj4 
= 0 ; 
33090   char *  kwnames
[] = { 
33091     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
33094   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
33095   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33096   if (!SWIG_IsOK(res1
)) { 
33097     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33099   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33100   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
33101   if (!SWIG_IsOK(ecode2
)) { 
33102     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'"); 
33104   arg2 
= static_cast< int >(val2
); 
33105   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33106   if (!SWIG_IsOK(ecode3
)) { 
33107     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'"); 
33109   arg3 
= static_cast< int >(val3
); 
33110   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33111   if (!SWIG_IsOK(ecode4
)) { 
33112     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'"); 
33114   arg4 
= static_cast< int >(val4
); 
33115   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
33116   if (!SWIG_IsOK(ecode5
)) { 
33117     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'"); 
33119   arg5 
= static_cast< int >(val5
); 
33121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33122     (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
33123     wxPyEndAllowThreads(__tstate
); 
33124     if (PyErr_Occurred()) SWIG_fail
; 
33126   resultobj 
= SWIG_Py_Void(); 
33133 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipseRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33134   PyObject 
*resultobj 
= 0; 
33135   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33140   PyObject 
* obj0 
= 0 ; 
33141   PyObject 
* obj1 
= 0 ; 
33142   char *  kwnames
[] = { 
33143     (char *) "self",(char *) "rect", NULL 
 
33146   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
33147   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33148   if (!SWIG_IsOK(res1
)) { 
33149     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33151   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33154     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
33157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33158     (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
33159     wxPyEndAllowThreads(__tstate
); 
33160     if (PyErr_Occurred()) SWIG_fail
; 
33162   resultobj 
= SWIG_Py_Void(); 
33169 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33170   PyObject 
*resultobj 
= 0; 
33171   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33172   wxPoint 
*arg2 
= 0 ; 
33178   PyObject 
* obj0 
= 0 ; 
33179   PyObject 
* obj1 
= 0 ; 
33180   PyObject 
* obj2 
= 0 ; 
33181   char *  kwnames
[] = { 
33182     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
33185   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
33186   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33187   if (!SWIG_IsOK(res1
)) { 
33188     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33190   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33193     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
33197     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
33200     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33201     (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
33202     wxPyEndAllowThreads(__tstate
); 
33203     if (PyErr_Occurred()) SWIG_fail
; 
33205   resultobj 
= SWIG_Py_Void(); 
33212 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33213   PyObject 
*resultobj 
= 0; 
33214   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33226   PyObject 
* obj0 
= 0 ; 
33227   PyObject 
* obj1 
= 0 ; 
33228   PyObject 
* obj2 
= 0 ; 
33229   PyObject 
* obj3 
= 0 ; 
33230   char *  kwnames
[] = { 
33231     (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
33234   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
33235   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33236   if (!SWIG_IsOK(res1
)) { 
33237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33239   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33240   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
33241   if (!SWIG_IsOK(res2
)) { 
33242     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
33245     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
33247   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
33248   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33249   if (!SWIG_IsOK(ecode3
)) { 
33250     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'"); 
33252   arg3 
= static_cast< int >(val3
); 
33253   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33254   if (!SWIG_IsOK(ecode4
)) { 
33255     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'"); 
33257   arg4 
= static_cast< int >(val4
); 
33259     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33260     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
33261     wxPyEndAllowThreads(__tstate
); 
33262     if (PyErr_Occurred()) SWIG_fail
; 
33264   resultobj 
= SWIG_Py_Void(); 
33271 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawIconPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33272   PyObject 
*resultobj 
= 0; 
33273   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33275   wxPoint 
*arg3 
= 0 ; 
33281   PyObject 
* obj0 
= 0 ; 
33282   PyObject 
* obj1 
= 0 ; 
33283   PyObject 
* obj2 
= 0 ; 
33284   char *  kwnames
[] = { 
33285     (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
33288   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
33289   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33290   if (!SWIG_IsOK(res1
)) { 
33291     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33293   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33294   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
33295   if (!SWIG_IsOK(res2
)) { 
33296     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
33299     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
33301   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
33304     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
33307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33308     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
33309     wxPyEndAllowThreads(__tstate
); 
33310     if (PyErr_Occurred()) SWIG_fail
; 
33312   resultobj 
= SWIG_Py_Void(); 
33319 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33320   PyObject 
*resultobj 
= 0; 
33321   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33322   wxBitmap 
*arg2 
= 0 ; 
33325   bool arg5 
= (bool) false ; 
33336   PyObject 
* obj0 
= 0 ; 
33337   PyObject 
* obj1 
= 0 ; 
33338   PyObject 
* obj2 
= 0 ; 
33339   PyObject 
* obj3 
= 0 ; 
33340   PyObject 
* obj4 
= 0 ; 
33341   char *  kwnames
[] = { 
33342     (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
33345   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
33346   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33347   if (!SWIG_IsOK(res1
)) { 
33348     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33350   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33351   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
33352   if (!SWIG_IsOK(res2
)) { 
33353     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
33356     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
33358   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
33359   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33360   if (!SWIG_IsOK(ecode3
)) { 
33361     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'"); 
33363   arg3 
= static_cast< int >(val3
); 
33364   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33365   if (!SWIG_IsOK(ecode4
)) { 
33366     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'"); 
33368   arg4 
= static_cast< int >(val4
); 
33370     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
33371     if (!SWIG_IsOK(ecode5
)) { 
33372       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'"); 
33374     arg5 
= static_cast< bool >(val5
); 
33377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33378     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
33379     wxPyEndAllowThreads(__tstate
); 
33380     if (PyErr_Occurred()) SWIG_fail
; 
33382   resultobj 
= SWIG_Py_Void(); 
33389 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawBitmapPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33390   PyObject 
*resultobj 
= 0; 
33391   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33392   wxBitmap 
*arg2 
= 0 ; 
33393   wxPoint 
*arg3 
= 0 ; 
33394   bool arg4 
= (bool) false ; 
33402   PyObject 
* obj0 
= 0 ; 
33403   PyObject 
* obj1 
= 0 ; 
33404   PyObject 
* obj2 
= 0 ; 
33405   PyObject 
* obj3 
= 0 ; 
33406   char *  kwnames
[] = { 
33407     (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
33410   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
33411   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33412   if (!SWIG_IsOK(res1
)) { 
33413     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33415   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33416   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
33417   if (!SWIG_IsOK(res2
)) { 
33418     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
33421     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
33423   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
33426     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
33429     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
33430     if (!SWIG_IsOK(ecode4
)) { 
33431       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'"); 
33433     arg4 
= static_cast< bool >(val4
); 
33436     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33437     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
33438     wxPyEndAllowThreads(__tstate
); 
33439     if (PyErr_Occurred()) SWIG_fail
; 
33441   resultobj 
= SWIG_Py_Void(); 
33448 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33449   PyObject 
*resultobj 
= 0; 
33450   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33451   wxString 
*arg2 
= 0 ; 
33456   bool temp2 
= false ; 
33461   PyObject 
* obj0 
= 0 ; 
33462   PyObject 
* obj1 
= 0 ; 
33463   PyObject 
* obj2 
= 0 ; 
33464   PyObject 
* obj3 
= 0 ; 
33465   char *  kwnames
[] = { 
33466     (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
33469   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
33470   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33471   if (!SWIG_IsOK(res1
)) { 
33472     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33474   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33476     arg2 
= wxString_in_helper(obj1
); 
33477     if (arg2 
== NULL
) SWIG_fail
; 
33480   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33481   if (!SWIG_IsOK(ecode3
)) { 
33482     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'"); 
33484   arg3 
= static_cast< int >(val3
); 
33485   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33486   if (!SWIG_IsOK(ecode4
)) { 
33487     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'"); 
33489   arg4 
= static_cast< int >(val4
); 
33491     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33492     (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
33493     wxPyEndAllowThreads(__tstate
); 
33494     if (PyErr_Occurred()) SWIG_fail
; 
33496   resultobj 
= SWIG_Py_Void(); 
33511 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33512   PyObject 
*resultobj 
= 0; 
33513   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33514   wxString 
*arg2 
= 0 ; 
33515   wxPoint 
*arg3 
= 0 ; 
33518   bool temp2 
= false ; 
33520   PyObject 
* obj0 
= 0 ; 
33521   PyObject 
* obj1 
= 0 ; 
33522   PyObject 
* obj2 
= 0 ; 
33523   char *  kwnames
[] = { 
33524     (char *) "self",(char *) "text",(char *) "pt", NULL 
 
33527   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
33528   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33529   if (!SWIG_IsOK(res1
)) { 
33530     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33532   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33534     arg2 
= wxString_in_helper(obj1
); 
33535     if (arg2 
== NULL
) SWIG_fail
; 
33540     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
33543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33544     (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
33545     wxPyEndAllowThreads(__tstate
); 
33546     if (PyErr_Occurred()) SWIG_fail
; 
33548   resultobj 
= SWIG_Py_Void(); 
33563 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRotatedText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33564   PyObject 
*resultobj 
= 0; 
33565   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33566   wxString 
*arg2 
= 0 ; 
33572   bool temp2 
= false ; 
33579   PyObject 
* obj0 
= 0 ; 
33580   PyObject 
* obj1 
= 0 ; 
33581   PyObject 
* obj2 
= 0 ; 
33582   PyObject 
* obj3 
= 0 ; 
33583   PyObject 
* obj4 
= 0 ; 
33584   char *  kwnames
[] = { 
33585     (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
33588   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
33589   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33590   if (!SWIG_IsOK(res1
)) { 
33591     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33593   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33595     arg2 
= wxString_in_helper(obj1
); 
33596     if (arg2 
== NULL
) SWIG_fail
; 
33599   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
33600   if (!SWIG_IsOK(ecode3
)) { 
33601     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'"); 
33603   arg3 
= static_cast< int >(val3
); 
33604   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33605   if (!SWIG_IsOK(ecode4
)) { 
33606     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'"); 
33608   arg4 
= static_cast< int >(val4
); 
33609   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
33610   if (!SWIG_IsOK(ecode5
)) { 
33611     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'"); 
33613   arg5 
= static_cast< double >(val5
); 
33615     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33616     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
33617     wxPyEndAllowThreads(__tstate
); 
33618     if (PyErr_Occurred()) SWIG_fail
; 
33620   resultobj 
= SWIG_Py_Void(); 
33635 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33636   PyObject 
*resultobj 
= 0; 
33637   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33638   wxString 
*arg2 
= 0 ; 
33639   wxPoint 
*arg3 
= 0 ; 
33643   bool temp2 
= false ; 
33647   PyObject 
* obj0 
= 0 ; 
33648   PyObject 
* obj1 
= 0 ; 
33649   PyObject 
* obj2 
= 0 ; 
33650   PyObject 
* obj3 
= 0 ; 
33651   char *  kwnames
[] = { 
33652     (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
33655   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
33656   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33657   if (!SWIG_IsOK(res1
)) { 
33658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33660   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33662     arg2 
= wxString_in_helper(obj1
); 
33663     if (arg2 
== NULL
) SWIG_fail
; 
33668     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
33670   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
33671   if (!SWIG_IsOK(ecode4
)) { 
33672     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'"); 
33674   arg4 
= static_cast< double >(val4
); 
33676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33677     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
33678     wxPyEndAllowThreads(__tstate
); 
33679     if (PyErr_Occurred()) SWIG_fail
; 
33681   resultobj 
= SWIG_Py_Void(); 
33696 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33697   PyObject 
*resultobj 
= 0; 
33698   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33700   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
33701   int arg4 
= (int) 0 ; 
33702   int arg5 
= (int) 0 ; 
33709   PyObject 
* obj0 
= 0 ; 
33710   PyObject 
* obj1 
= 0 ; 
33711   PyObject 
* obj2 
= 0 ; 
33712   PyObject 
* obj3 
= 0 ; 
33713   char *  kwnames
[] = { 
33714     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
33717   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
33718   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33719   if (!SWIG_IsOK(res1
)) { 
33720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33722   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33724     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
33725     if (arg3 
== NULL
) SWIG_fail
; 
33728     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
33729     if (!SWIG_IsOK(ecode4
)) { 
33730       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'"); 
33732     arg4 
= static_cast< int >(val4
); 
33735     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
33736     if (!SWIG_IsOK(ecode5
)) { 
33737       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'"); 
33739     arg5 
= static_cast< int >(val5
); 
33742     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33743     (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
33744     wxPyEndAllowThreads(__tstate
); 
33745     if (PyErr_Occurred()) SWIG_fail
; 
33747   resultobj 
= SWIG_Py_Void(); 
33749     if (arg3
) delete [] arg3
; 
33754     if (arg3
) delete [] arg3
; 
33760 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawPolygon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33761   PyObject 
*resultobj 
= 0; 
33762   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33764   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
33765   int arg4 
= (int) 0 ; 
33766   int arg5 
= (int) 0 ; 
33767   int arg6 
= (int) wxODDEVEN_RULE 
; 
33776   PyObject 
* obj0 
= 0 ; 
33777   PyObject 
* obj1 
= 0 ; 
33778   PyObject 
* obj2 
= 0 ; 
33779   PyObject 
* obj3 
= 0 ; 
33780   PyObject 
* obj4 
= 0 ; 
33781   char *  kwnames
[] = { 
33782     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
33785   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
33786   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33787   if (!SWIG_IsOK(res1
)) { 
33788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33790   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33792     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
33793     if (arg3 
== NULL
) SWIG_fail
; 
33796     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
33797     if (!SWIG_IsOK(ecode4
)) { 
33798       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'"); 
33800     arg4 
= static_cast< int >(val4
); 
33803     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
33804     if (!SWIG_IsOK(ecode5
)) { 
33805       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'"); 
33807     arg5 
= static_cast< int >(val5
); 
33810     ecode6 
= SWIG_AsVal_int(obj4
, &val6
); 
33811     if (!SWIG_IsOK(ecode6
)) { 
33812       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'"); 
33814     arg6 
= static_cast< int >(val6
); 
33817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33818     (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
33819     wxPyEndAllowThreads(__tstate
); 
33820     if (PyErr_Occurred()) SWIG_fail
; 
33822   resultobj 
= SWIG_Py_Void(); 
33824     if (arg3
) delete [] arg3
; 
33829     if (arg3
) delete [] arg3
; 
33835 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33836   PyObject 
*resultobj 
= 0; 
33837   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33838   wxString 
*arg2 
= 0 ; 
33840   int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
33841   int arg5 
= (int) -1 ; 
33844   bool temp2 
= false ; 
33850   PyObject 
* obj0 
= 0 ; 
33851   PyObject 
* obj1 
= 0 ; 
33852   PyObject 
* obj2 
= 0 ; 
33853   PyObject 
* obj3 
= 0 ; 
33854   PyObject 
* obj4 
= 0 ; 
33855   char *  kwnames
[] = { 
33856     (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
33859   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
33860   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33861   if (!SWIG_IsOK(res1
)) { 
33862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33864   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33866     arg2 
= wxString_in_helper(obj1
); 
33867     if (arg2 
== NULL
) SWIG_fail
; 
33872     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
33875     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
33876     if (!SWIG_IsOK(ecode4
)) { 
33877       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'"); 
33879     arg4 
= static_cast< int >(val4
); 
33882     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
33883     if (!SWIG_IsOK(ecode5
)) { 
33884       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'"); 
33886     arg5 
= static_cast< int >(val5
); 
33889     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33890     (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
33891     wxPyEndAllowThreads(__tstate
); 
33892     if (PyErr_Occurred()) SWIG_fail
; 
33894   resultobj 
= SWIG_Py_Void(); 
33909 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawImageLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33910   PyObject 
*resultobj 
= 0; 
33911   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33912   wxString 
*arg2 
= 0 ; 
33913   wxBitmap 
*arg3 
= 0 ; 
33915   int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
33916   int arg6 
= (int) -1 ; 
33919   bool temp2 
= false ; 
33927   PyObject 
* obj0 
= 0 ; 
33928   PyObject 
* obj1 
= 0 ; 
33929   PyObject 
* obj2 
= 0 ; 
33930   PyObject 
* obj3 
= 0 ; 
33931   PyObject 
* obj4 
= 0 ; 
33932   PyObject 
* obj5 
= 0 ; 
33933   char *  kwnames
[] = { 
33934     (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
33937   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
33938   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
33939   if (!SWIG_IsOK(res1
)) { 
33940     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
33942   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
33944     arg2 
= wxString_in_helper(obj1
); 
33945     if (arg2 
== NULL
) SWIG_fail
; 
33948   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
33949   if (!SWIG_IsOK(res3
)) { 
33950     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
33953     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
33955   arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
33958     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
33961     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
33962     if (!SWIG_IsOK(ecode5
)) { 
33963       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'"); 
33965     arg5 
= static_cast< int >(val5
); 
33968     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
33969     if (!SWIG_IsOK(ecode6
)) { 
33970       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'"); 
33972     arg6 
= static_cast< int >(val6
); 
33975     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33976     (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
33977     wxPyEndAllowThreads(__tstate
); 
33978     if (PyErr_Occurred()) SWIG_fail
; 
33980   resultobj 
= SWIG_Py_Void(); 
33995 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawSpline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
33996   PyObject 
*resultobj 
= 0; 
33997   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
33999   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
34002   PyObject 
* obj0 
= 0 ; 
34003   PyObject 
* obj1 
= 0 ; 
34004   char *  kwnames
[] = { 
34005     (char *) "self",(char *) "points", NULL 
 
34008   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34009   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34010   if (!SWIG_IsOK(res1
)) { 
34011     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34013   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34015     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
34016     if (arg3 
== NULL
) SWIG_fail
; 
34019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34020     (arg1
)->DrawSpline(arg2
,arg3
); 
34021     wxPyEndAllowThreads(__tstate
); 
34022     if (PyErr_Occurred()) SWIG_fail
; 
34024   resultobj 
= SWIG_Py_Void(); 
34026     if (arg3
) delete [] arg3
; 
34031     if (arg3
) delete [] arg3
; 
34037 SWIGINTERN PyObject 
*_wrap_PseudoDC_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
34038   PyObject 
*resultobj 
= 0; 
34039   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34042   PyObject 
*swig_obj
[1] ; 
34044   if (!args
) SWIG_fail
; 
34045   swig_obj
[0] = args
; 
34046   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34047   if (!SWIG_IsOK(res1
)) { 
34048     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34050   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34054     wxPyEndAllowThreads(__tstate
); 
34055     if (PyErr_Occurred()) SWIG_fail
; 
34057   resultobj 
= SWIG_Py_Void(); 
34064 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34065   PyObject 
*resultobj 
= 0; 
34066   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34072   PyObject 
* obj0 
= 0 ; 
34073   PyObject 
* obj1 
= 0 ; 
34074   char *  kwnames
[] = { 
34075     (char *) "self",(char *) "font", NULL 
 
34078   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34079   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34080   if (!SWIG_IsOK(res1
)) { 
34081     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34083   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34084   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
34085   if (!SWIG_IsOK(res2
)) { 
34086     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
34089     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
34091   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
34093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34094     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
34095     wxPyEndAllowThreads(__tstate
); 
34096     if (PyErr_Occurred()) SWIG_fail
; 
34098   resultobj 
= SWIG_Py_Void(); 
34105 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34106   PyObject 
*resultobj 
= 0; 
34107   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34113   PyObject 
* obj0 
= 0 ; 
34114   PyObject 
* obj1 
= 0 ; 
34115   char *  kwnames
[] = { 
34116     (char *) "self",(char *) "pen", NULL 
 
34119   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34120   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34121   if (!SWIG_IsOK(res1
)) { 
34122     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34124   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34125   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
,  0  | 0); 
34126   if (!SWIG_IsOK(res2
)) { 
34127     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
34130     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
34132   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
34134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34135     (arg1
)->SetPen((wxPen 
const &)*arg2
); 
34136     wxPyEndAllowThreads(__tstate
); 
34137     if (PyErr_Occurred()) SWIG_fail
; 
34139   resultobj 
= SWIG_Py_Void(); 
34146 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34147   PyObject 
*resultobj 
= 0; 
34148   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34149   wxBrush 
*arg2 
= 0 ; 
34154   PyObject 
* obj0 
= 0 ; 
34155   PyObject 
* obj1 
= 0 ; 
34156   char *  kwnames
[] = { 
34157     (char *) "self",(char *) "brush", NULL 
 
34160   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34161   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34162   if (!SWIG_IsOK(res1
)) { 
34163     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34165   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34166   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
34167   if (!SWIG_IsOK(res2
)) { 
34168     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
34171     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
34173   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
34175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34176     (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
34177     wxPyEndAllowThreads(__tstate
); 
34178     if (PyErr_Occurred()) SWIG_fail
; 
34180   resultobj 
= SWIG_Py_Void(); 
34187 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34188   PyObject 
*resultobj 
= 0; 
34189   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34190   wxBrush 
*arg2 
= 0 ; 
34195   PyObject 
* obj0 
= 0 ; 
34196   PyObject 
* obj1 
= 0 ; 
34197   char *  kwnames
[] = { 
34198     (char *) "self",(char *) "brush", NULL 
 
34201   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34202   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34203   if (!SWIG_IsOK(res1
)) { 
34204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34206   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34207   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
34208   if (!SWIG_IsOK(res2
)) { 
34209     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
34212     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
34214   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
34216     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34217     (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
34218     wxPyEndAllowThreads(__tstate
); 
34219     if (PyErr_Occurred()) SWIG_fail
; 
34221   resultobj 
= SWIG_Py_Void(); 
34228 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetBackgroundMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34229   PyObject 
*resultobj 
= 0; 
34230   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34236   PyObject 
* obj0 
= 0 ; 
34237   PyObject 
* obj1 
= 0 ; 
34238   char *  kwnames
[] = { 
34239     (char *) "self",(char *) "mode", NULL 
 
34242   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34243   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34244   if (!SWIG_IsOK(res1
)) { 
34245     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34247   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34248   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
34249   if (!SWIG_IsOK(ecode2
)) { 
34250     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'"); 
34252   arg2 
= static_cast< int >(val2
); 
34254     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34255     (arg1
)->SetBackgroundMode(arg2
); 
34256     wxPyEndAllowThreads(__tstate
); 
34257     if (PyErr_Occurred()) SWIG_fail
; 
34259   resultobj 
= SWIG_Py_Void(); 
34266 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetPalette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34267   PyObject 
*resultobj 
= 0; 
34268   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34269   wxPalette 
*arg2 
= 0 ; 
34274   PyObject 
* obj0 
= 0 ; 
34275   PyObject 
* obj1 
= 0 ; 
34276   char *  kwnames
[] = { 
34277     (char *) "self",(char *) "palette", NULL 
 
34280   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34281   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34282   if (!SWIG_IsOK(res1
)) { 
34283     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34285   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34286   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
,  0  | 0); 
34287   if (!SWIG_IsOK(res2
)) { 
34288     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
34291     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
34293   arg2 
= reinterpret_cast< wxPalette 
* >(argp2
); 
34295     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34296     (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
34297     wxPyEndAllowThreads(__tstate
); 
34298     if (PyErr_Occurred()) SWIG_fail
; 
34300   resultobj 
= SWIG_Py_Void(); 
34307 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetTextForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34308   PyObject 
*resultobj 
= 0; 
34309   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34310   wxColour 
*arg2 
= 0 ; 
34314   PyObject 
* obj0 
= 0 ; 
34315   PyObject 
* obj1 
= 0 ; 
34316   char *  kwnames
[] = { 
34317     (char *) "self",(char *) "colour", NULL 
 
34320   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34321   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34322   if (!SWIG_IsOK(res1
)) { 
34323     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34325   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34328     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
34331     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34332     (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
34333     wxPyEndAllowThreads(__tstate
); 
34334     if (PyErr_Occurred()) SWIG_fail
; 
34336   resultobj 
= SWIG_Py_Void(); 
34343 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetTextBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34344   PyObject 
*resultobj 
= 0; 
34345   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34346   wxColour 
*arg2 
= 0 ; 
34350   PyObject 
* obj0 
= 0 ; 
34351   PyObject 
* obj1 
= 0 ; 
34352   char *  kwnames
[] = { 
34353     (char *) "self",(char *) "colour", NULL 
 
34356   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34357   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34358   if (!SWIG_IsOK(res1
)) { 
34359     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34361   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34364     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
34367     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34368     (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
34369     wxPyEndAllowThreads(__tstate
); 
34370     if (PyErr_Occurred()) SWIG_fail
; 
34372   resultobj 
= SWIG_Py_Void(); 
34379 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetLogicalFunction(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
34380   PyObject 
*resultobj 
= 0; 
34381   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
34387   PyObject 
* obj0 
= 0 ; 
34388   PyObject 
* obj1 
= 0 ; 
34389   char *  kwnames
[] = { 
34390     (char *) "self",(char *) "function", NULL 
 
34393   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
34394   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
34395   if (!SWIG_IsOK(res1
)) { 
34396     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
34398   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
34399   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
34400   if (!SWIG_IsOK(ecode2
)) { 
34401     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'"); 
34403   arg2 
= static_cast< int >(val2
); 
34405     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34406     (arg1
)->SetLogicalFunction(arg2
); 
34407     wxPyEndAllowThreads(__tstate
); 
34408     if (PyErr_Occurred()) SWIG_fail
; 
34410   resultobj 
= SWIG_Py_Void(); 
34417 SWIGINTERN PyObject 
*PseudoDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
34419   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
34420   SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
)); 
34421   return SWIG_Py_Void(); 
34424 SWIGINTERN PyObject 
*PseudoDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
34425   return SWIG_Python_InitShadowInstance(args
); 
34428 static PyMethodDef SwigMethods
[] = { 
34429          { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
}, 
34430          { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
}, 
34431          { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
}, 
34432          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
}, 
34433          { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
}, 
34434          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34435          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34436          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34437          { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
}, 
34438          { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
}, 
34439          { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
}, 
34440          { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
}, 
34441          { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
}, 
34442          { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
}, 
34443          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34444          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34445          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34446          { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34447          { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
}, 
34448          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34449          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34450          { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34451          { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
}, 
34452          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
}, 
34453          { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
}, 
34454          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34455          { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
}, 
34456          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34457          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34458          { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
}, 
34459          { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
}, 
34460          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
}, 
34461          { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
}, 
34462          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34463          { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
}, 
34464          { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
}, 
34465          { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
}, 
34466          { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
}, 
34467          { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
}, 
34468          { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
}, 
34469          { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
}, 
34470          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34471          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34472          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34473          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34474          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34475          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34476          { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
}, 
34477          { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34478          { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
}, 
34479          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34480          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34481          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
}, 
34482          { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
}, 
34483          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34484          { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34485          { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
}, 
34486          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34487          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34488          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34489          { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
}, 
34490          { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
}, 
34491          { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
}, 
34492          { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
}, 
34493          { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
}, 
34494          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
}, 
34495          { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
}, 
34496          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34497          { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
}, 
34498          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34499          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34500          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34501          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34502          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34503          { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
}, 
34504          { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
}, 
34505          { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
}, 
34506          { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
}, 
34507          { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
}, 
34508          { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
}, 
34509          { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
}, 
34510          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34511          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34512          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34513          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34514          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34515          { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
}, 
34516          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34517          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34518          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34519          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34520          { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34521          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34522          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34523          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
}, 
34524          { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
}, 
34525          { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34526          { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34527          { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34528          { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
}, 
34529          { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
}, 
34530          { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
}, 
34531          { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
}, 
34532          { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
}, 
34533          { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
}, 
34534          { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
}, 
34535          { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
}, 
34536          { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
}, 
34537          { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
}, 
34538          { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
}, 
34539          { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
}, 
34540          { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
}, 
34541          { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
}, 
34542          { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
}, 
34543          { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34544          { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
}, 
34545          { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
}, 
34546          { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34547          { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34548          { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34549          { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34550          { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34551          { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
}, 
34552          { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
}, 
34553          { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
}, 
34554          { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
}, 
34555          { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
}, 
34556          { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
}, 
34557          { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
}, 
34558          { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
}, 
34559          { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
}, 
34560          { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
}, 
34561          { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
}, 
34562          { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
}, 
34563          { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34564          { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
}, 
34565          { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
}, 
34566          { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34567          { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34568          { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34569          { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34570          { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34571          { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
}, 
34572          { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
}, 
34573          { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
}, 
34574          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34575          { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
}, 
34576          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
}, 
34577          { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
}, 
34578          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34579          { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
}, 
34580          { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
}, 
34581          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34582          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34583          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34584          { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34585          { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
}, 
34586          { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
}, 
34587          { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
}, 
34588          { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
}, 
34589          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34590          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34591          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34592          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34593          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
}, 
34594          { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
}, 
34595          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34596          { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
}, 
34597          { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
}, 
34598          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34599          { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
}, 
34600          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34601          { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
}, 
34602          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
}, 
34603          { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
}, 
34604          { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
}, 
34605          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34606          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34607          { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
}, 
34608          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34609          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34610          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34611          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
}, 
34612          { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
}, 
34613          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34614          { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
}, 
34615          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34616          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34617          { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
}, 
34618          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
}, 
34619          { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
}, 
34620          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34621          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34622          { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34623          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34624          { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
}, 
34625          { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
}, 
34626          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34627          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34628          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34629          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34630          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34631          { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
}, 
34632          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34633          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34634          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34635          { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
}, 
34636          { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34637          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34638          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34639          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34640          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34641          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34642          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34643          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34644          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34645          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34646          { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
}, 
34647          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34648          { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34649          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
}, 
34650          { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
}, 
34651          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34652          { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
}, 
34653          { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
}, 
34654          { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
}, 
34655          { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
}, 
34656          { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
}, 
34657          { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
}, 
34658          { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
}, 
34659          { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
}, 
34660          { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
}, 
34661          { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
}, 
34662          { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
}, 
34663          { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
}, 
34664          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
}, 
34665          { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
}, 
34666          { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
}, 
34667          { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
}, 
34668          { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
}, 
34669          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34670          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
}, 
34671          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
}, 
34672          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
}, 
34673          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
}, 
34674          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
}, 
34675          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
}, 
34676          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
}, 
34677          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34678          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34679          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34680          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34681          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34682          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34683          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34684          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34685          { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
}, 
34686          { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
}, 
34687          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34688          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
}, 
34689          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
}, 
34690          { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
}, 
34691          { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
}, 
34692          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
}, 
34693          { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
}, 
34694          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
}, 
34695          { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
}, 
34696          { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
}, 
34697          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34698          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
}, 
34699          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
}, 
34700          { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
}, 
34701          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34702          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34703          { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
}, 
34704          { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
}, 
34705          { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
}, 
34706          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34707          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34708          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
}, 
34709          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34710          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34711          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34712          { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34713          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34714          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
}, 
34715          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34716          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34717          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34718          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34719          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
}, 
34720          { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
}, 
34721          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34722          { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
}, 
34723          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34724          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34725          { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34726          { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34727          { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34728          { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
}, 
34729          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34730          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34731          { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
}, 
34732          { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
}, 
34733          { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
}, 
34734          { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
}, 
34735          { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
}, 
34736          { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
}, 
34737          { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
}, 
34738          { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
}, 
34739          { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
}, 
34740          { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
}, 
34741          { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
}, 
34742          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
}, 
34743          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
}, 
34744          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34745          { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34746          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34747          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34748          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34749          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34750          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34751          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34752          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34753          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34754          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34755          { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
}, 
34756          { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
}, 
34757          { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
}, 
34758          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34759          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
}, 
34760          { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
}, 
34761          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34762          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
}, 
34763          { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
}, 
34764          { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
}, 
34765          { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
}, 
34766          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34767          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34768          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34769          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
}, 
34770          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
}, 
34771          { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34772          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
}, 
34773          { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
}, 
34774          { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
}, 
34775          { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
}, 
34776          { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
}, 
34777          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
}, 
34778          { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
}, 
34779          { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
}, 
34780          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
}, 
34781          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34782          { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
}, 
34783          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34784          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34785          { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
}, 
34786          { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
}, 
34787          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
}, 
34788          { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
}, 
34789          { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
}, 
34790          { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
}, 
34791          { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
}, 
34792          { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
}, 
34793          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34794          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34795          { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34796          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34797          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34798          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34799          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34800          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34801          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34802          { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
}, 
34803          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
}, 
34804          { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
}, 
34805          { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34806          { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
}, 
34807          { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34808          { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34809          { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34810          { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
}, 
34811          { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
}, 
34812          { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
}, 
34813          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
}, 
34814          { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
}, 
34815          { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
}, 
34816          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34817          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34818          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34819          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34820          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34821          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
}, 
34822          { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
}, 
34823          { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
}, 
34824          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34825          { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34826          { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34827          { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34828          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34829          { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34830          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34831          { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34832          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34833          { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34834          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34835          { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34836          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34837          { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34838          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34839          { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34840          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34841          { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34842          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34843          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34844          { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34845          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34846          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34847          { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34848          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34849          { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34850          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34851          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34852          { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34853          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34854          { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34855          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34856          { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34857          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34858          { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34859          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34860          { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34861          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34862          { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34863          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34864          { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34865          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34866          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34867          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34868          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34869          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34870          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34871          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34872          { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
}, 
34873          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34874          { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
}, 
34875          { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
}, 
34876          { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
}, 
34877          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34878          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34879          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34880          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34881          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34882          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34883          { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
}, 
34884          { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
}, 
34885          { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
}, 
34886          { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
}, 
34887          { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
}, 
34888          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34889          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34890          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34891          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34892          { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
}, 
34893          { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
}, 
34894          { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
}, 
34895          { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
}, 
34896          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34897          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34898          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34899          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34900          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34901          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34902          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34903          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34904          { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
}, 
34905          { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
}, 
34906          { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
}, 
34907          { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
}, 
34908          { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
}, 
34909          { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
}, 
34910          { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
}, 
34911          { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
}, 
34912          { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
}, 
34913          { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
}, 
34914          { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
}, 
34915          { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
}, 
34916          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34917          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34918          { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
}, 
34919          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34920          { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
}, 
34921          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34922          { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
}, 
34923          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34924          { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
}, 
34925          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
}, 
34926          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34927          { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34928          { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
}, 
34929          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
}, 
34930          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34931          { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34932          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34933          { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
}, 
34934          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34935          { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
}, 
34936          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34937          { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34938          { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
}, 
34939          { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
}, 
34940          { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
}, 
34941          { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
}, 
34942          { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
}, 
34943          { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
}, 
34944          { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
}, 
34945          { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34946          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34947          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34948          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34949          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34950          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34951          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34952          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
}, 
34953          { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34954          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34955          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34956          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
}, 
34957          { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
}, 
34958          { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
}, 
34959          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34960          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34961          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
}, 
34962          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
}, 
34963          { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
}, 
34964          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34965          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
}, 
34966          { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
}, 
34967          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34968          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
}, 
34969          { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
}, 
34970          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34971          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
}, 
34972          { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
}, 
34973          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
}, 
34974          { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
}, 
34975          { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
}, 
34976          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
}, 
34977          { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
}, 
34978          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34979          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
}, 
34980          { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
}, 
34981          { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34982          { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
}, 
34983          { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
}, 
34984          { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34985          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34986          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
}, 
34987          { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
}, 
34988          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34989          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
}, 
34990          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34991          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34992          { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
}, 
34993          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
}, 
34994          { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
}, 
34995          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34996          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
}, 
34997          { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
}, 
34998          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34999          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
}, 
35000          { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
}, 
35001          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35002          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
}, 
35003          { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
}, 
35004          { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
}, 
35005          { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35006          { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35007          { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35008          { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
}, 
35009          { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
}, 
35010          { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35011          { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35012          { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35013          { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35014          { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35015          { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
}, 
35016          { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
}, 
35017          { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
}, 
35018          { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35019          { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
}, 
35020          { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
}, 
35021          { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
}, 
35022          { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35023          { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35024          { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
}, 
35025          { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
}, 
35026          { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35027          { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35028          { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35029          { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35030          { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35031          { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35032          { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35033          { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35034          { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35035          { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35036          { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35037          { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35038          { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35039          { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35040          { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35041          { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35042          { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35043          { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35044          { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35045          { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35046          { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35047          { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35048          { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35049          { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35050          { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35051          { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
}, 
35052          { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35053          { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
}, 
35054          { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
}, 
35055          { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35056          { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
}, 
35057          { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
}, 
35058          { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
}, 
35059          { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
}, 
35060          { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
}, 
35061          { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
}, 
35062          { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
}, 
35063          { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
}, 
35064          { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
}, 
35065          { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
}, 
35066          { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
}, 
35067          { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
}, 
35068          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35069          { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
}, 
35070          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35071          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35072          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35073          { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35074          { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35075          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35076          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35077          { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
}, 
35078          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35079          { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
}, 
35080          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35081          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
}, 
35082          { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
}, 
35083          { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
}, 
35084          { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
}, 
35085          { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
}, 
35086          { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
}, 
35087          { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35088          { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35089          { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35090          { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35091          { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35092          { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
}, 
35093          { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
}, 
35094          { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
}, 
35095          { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
}, 
35096          { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
}, 
35097          { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
}, 
35098          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35099          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35100          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35101          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
}, 
35102          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35103          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35104          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35105          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
}, 
35106          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35107          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35108          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35109          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
}, 
35110          { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
}, 
35111          { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
}, 
35112          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35113          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35114          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35115          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35116          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
}, 
35117          { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
}, 
35118          { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
}, 
35119          { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
}, 
35120          { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
}, 
35121          { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
}, 
35122          { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
}, 
35123          { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
}, 
35124          { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
}, 
35125          { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
}, 
35126          { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
}, 
35127          { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
}, 
35128          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35129          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35130          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35131          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35132          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35133          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35134          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35135          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35136          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
}, 
35137          { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
}, 
35138          { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35139          { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
}, 
35140          { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
}, 
35141          { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
}, 
35142          { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
}, 
35143          { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
}, 
35144          { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
}, 
35145          { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
}, 
35146          { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
}, 
35147          { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
}, 
35148          { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
}, 
35149          { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
}, 
35150          { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
}, 
35151          { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
}, 
35152          { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
}, 
35153          { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
}, 
35154          { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
}, 
35155          { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
}, 
35156          { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
}, 
35157          { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
}, 
35158          { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
}, 
35159          { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
}, 
35160          { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
}, 
35161          { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
}, 
35162          { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
}, 
35163          { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35164          { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
}, 
35165          { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35166          { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
}, 
35167          { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
}, 
35168          { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
}, 
35169          { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
}, 
35170          { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35171          { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35172          { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35173          { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35174          { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35175          { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35176          { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35177          { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35178          { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35179          { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35180          { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35181          { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35182          { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
}, 
35183          { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
}, 
35184          { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
}, 
35185          { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35186          { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
}, 
35187          { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
}, 
35188          { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
}, 
35189          { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
}, 
35190          { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
}, 
35191          { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
}, 
35192          { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
}, 
35193          { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
}, 
35194          { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35195          { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35196          { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35197          { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35198          { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35199          { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35200          { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35201          { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35202          { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35203          { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35204          { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35205          { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35206          { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35207          { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35208          { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35209          { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35210          { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35211          { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35212          { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35213          { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35214          { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35215          { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35216          { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35217          { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35218          { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35219          { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35220          { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35221          { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35222          { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35223          { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35224          { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35225          { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35226          { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35227          { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35228          { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35229          { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35230          { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35231          { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35232          { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35233          { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35234          { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35235          { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35236          { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35237          { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35238          { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35239          { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35240          { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35241          { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35242          { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35243          { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35244          { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35245          { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35246          { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
}, 
35247          { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35248          { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35249          { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35250          { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35251          { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35252          { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35253          { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35254          { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35255          { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35256          { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
}, 
35257          { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
}, 
35258          { NULL
, NULL
, 0, NULL 
} 
35262 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
35264 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) { 
35265     return (void *)((wxClientDC 
*)  ((wxPaintDC 
*) x
)); 
35267 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
35268     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
35270 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
35271     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
35273 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) { 
35274     return (void *)((wxWindowDC 
*)  ((wxClientDC 
*) x
)); 
35276 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) { 
35277     return (void *)((wxWindowDC 
*) (wxClientDC 
*) ((wxPaintDC 
*) x
)); 
35279 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) { 
35280     return (void *)((wxLocale 
*)  ((wxPyLocale 
*) x
)); 
35282 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
35283     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
35285 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
35286     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
35288 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
35289     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
35291 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
35292     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
35294 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
35295     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
35297 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
35298     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
35300 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
35301     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
35303 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
35304     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
35306 static void *_p_wxGCDCTo_p_wxDC(void *x
) { 
35307     return (void *)((wxDC 
*)  ((wxGCDC 
*) x
)); 
35309 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
35310     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
35312 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
35313     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
35315 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
35316     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
35318 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
35319     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
35321 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
35322     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
35324 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
35325     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
35327 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
35328     return (void *)((wxDC 
*) (wxWindowDC 
*) ((wxClientDC 
*) x
)); 
35330 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
35331     return (void *)((wxDC 
*) (wxWindowDC 
*)(wxClientDC 
*) ((wxPaintDC 
*) x
)); 
35333 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
35334     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
35336 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) { 
35337     return (void *)((wxDC 
*)  ((wxAutoBufferedPaintDC 
*) x
)); 
35339 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
35340     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
35342 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
35343     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
35345 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) { 
35346     return (void *)((wxGDIObjListBase 
*)  ((wxBrushList 
*) x
)); 
35348 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) { 
35349     return (void *)((wxGDIObjListBase 
*)  ((wxFontList 
*) x
)); 
35351 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) { 
35352     return (void *)((wxGDIObjListBase 
*)  ((wxPenList 
*) x
)); 
35354 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
35355     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
35357 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
35358     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
35360 static void *_p_wxPenTo_p_wxObject(void *x
) { 
35361     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
35363 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
35364     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
35366 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
35367     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
35369 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
35370     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
35372 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
35373     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
35375 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
35376     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
35378 static void *_p_wxIconTo_p_wxObject(void *x
) { 
35379     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
35381 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
35382     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
35384 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
35385     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
35387 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
35388     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
35390 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
35391     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
35393 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
35394     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
35396 static void *_p_wxEventTo_p_wxObject(void *x
) { 
35397     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
35399 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
35400     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
35402 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
35403     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
35405 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
35406     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
35408 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) { 
35409     return (void *)((wxObject 
*)  ((wxPseudoDC 
*) x
)); 
35411 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
35412     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
35414 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
35415     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
35417 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
35418     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
35420 static void *_p_wxDCTo_p_wxObject(void *x
) { 
35421     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
35423 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
35424     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
35426 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
35427     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
35429 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
35430     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
35432 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
35433     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
35435 static void *_p_wxControlTo_p_wxObject(void *x
) { 
35436     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
35438 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
35439     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
35441 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
35442     return (void *)((wxObject 
*) (wxDC 
*)(wxWindowDC 
*) ((wxClientDC 
*) x
)); 
35444 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
35445     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
35447 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
35448     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
35450 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
35451     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
35453 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
35454     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
35456 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
35457     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
35459 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
35460     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
35462 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
35463     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
35465 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
35466     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
35468 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
35469     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
35471 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
35472     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
35474 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
35475     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
35477 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
35478     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
35480 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
35481     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
35483 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
35484     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
35486 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
35487     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
35489 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
35490     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
35492 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
35493     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
35495 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
35496     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
35498 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
35499     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
35501 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
35502     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
35504 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
35505     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
35507 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
35508     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
35510 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
35511     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
35513 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
35514     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
35516 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
35517     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
35519 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
35520     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
35522 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
35523     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
35525 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
35526     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
35528 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
35529     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
35531 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
35532     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
35534 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
35535     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
35537 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
35538     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
35540 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
35541     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
35543 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
35544     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
35546 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
35547     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
35549 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) { 
35550     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureLostEvent 
*) x
)); 
35552 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
35553     return (void *)((wxObject 
*) (wxDC 
*)(wxWindowDC 
*)(wxClientDC 
*) ((wxPaintDC 
*) x
)); 
35555 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
35556     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
35558 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) { 
35559     return (void *)((wxObject 
*) (wxDC 
*) ((wxAutoBufferedPaintDC 
*) x
)); 
35561 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
35562     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
35564 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
35565     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
35567 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
35568     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
35570 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
35571     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
35573 static void *_p_wxImageTo_p_wxObject(void *x
) { 
35574     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
35576 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
35577     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
35579 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
35580     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
35582 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
35583     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
35585 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
35586     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
35588 static void *_p_wxGCDCTo_p_wxObject(void *x
) { 
35589     return (void *)((wxObject 
*) (wxDC 
*) ((wxGCDC 
*) x
)); 
35591 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
35592     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
35594 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
35595     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
35597 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
35598     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
35600 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
35601     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
35603 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
35604     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
35606 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
35607     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
35609 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
35610     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
35612 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
35613     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
35615 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
35616     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
35618 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
35619     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
35621 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
35622     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
35624 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
35625     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
35627 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
35628     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
35630 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
35631     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
35633 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
35634     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
35636 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
35637     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
35639 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
35640     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
35642 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
35643     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
35645 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
35646     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
35648 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
35649     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
35651 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
35652     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
35654 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
35655     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
35657 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
35658     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
35660 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
35661     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
35663 static void *_p_wxFontTo_p_wxObject(void *x
) { 
35664     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
35666 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
35667     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
35669 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
35670     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
35672 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
35673     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
35675 static void *_p_wxColourTo_p_wxObject(void *x
) { 
35676     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
35678 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
35679     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
35681 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
35682     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
35684 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
35685     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
35687 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
35688     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
35690 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
35691     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
35693 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) { 
35694     return (void *)((wxPixelDataBase 
*)  ((wxNativePixelData 
*) x
)); 
35696 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) { 
35697     return (void *)((wxPixelDataBase 
*)  ((wxAlphaPixelData 
*) x
)); 
35699 static swig_type_info _swigt__p_buffer 
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0}; 
35700 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
35701 static swig_type_info _swigt__p_double 
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0}; 
35702 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}; 
35703 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
35704 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
35705 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
35706 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
35707 static swig_type_info _swigt__p_void 
= {"_p_void", "void *", 0, 0, (void*)0, 0}; 
35708 static swig_type_info _swigt__p_wxAlphaPixelData 
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0}; 
35709 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor 
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0}; 
35710 static swig_type_info _swigt__p_wxAutoBufferedPaintDC 
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0}; 
35711 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
35712 static swig_type_info _swigt__p_wxBrush 
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0}; 
35713 static swig_type_info _swigt__p_wxBrushList 
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0}; 
35714 static swig_type_info _swigt__p_wxBufferedDC 
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0}; 
35715 static swig_type_info _swigt__p_wxBufferedPaintDC 
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0}; 
35716 static swig_type_info _swigt__p_wxChar 
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; 
35717 static swig_type_info _swigt__p_wxClientDC 
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0}; 
35718 static swig_type_info _swigt__p_wxColor 
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; 
35719 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
35720 static swig_type_info _swigt__p_wxColourDatabase 
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0}; 
35721 static swig_type_info _swigt__p_wxCursor 
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; 
35722 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
35723 static swig_type_info _swigt__p_wxDCOverlay 
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0}; 
35724 static swig_type_info _swigt__p_wxDash 
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0}; 
35725 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
35726 static swig_type_info _swigt__p_wxEffects 
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0}; 
35727 static swig_type_info _swigt__p_wxEncodingConverter 
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0}; 
35728 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
35729 static swig_type_info _swigt__p_wxFontList 
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0}; 
35730 static swig_type_info _swigt__p_wxFontMapper 
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0}; 
35731 static swig_type_info _swigt__p_wxGCDC 
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0}; 
35732 static swig_type_info _swigt__p_wxGDIObjListBase 
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0}; 
35733 static swig_type_info _swigt__p_wxGDIObject 
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0}; 
35734 static swig_type_info _swigt__p_wxGraphicsContext 
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0}; 
35735 static swig_type_info _swigt__p_wxGraphicsPath 
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0}; 
35736 static swig_type_info _swigt__p_wxHeaderButtonParams 
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0}; 
35737 static swig_type_info _swigt__p_wxIcon 
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; 
35738 static swig_type_info _swigt__p_wxIconBundle 
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; 
35739 static swig_type_info _swigt__p_wxIconLocation 
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0}; 
35740 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; 
35741 static swig_type_info _swigt__p_wxImageList 
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0}; 
35742 static swig_type_info _swigt__p_wxLanguageInfo 
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0}; 
35743 static swig_type_info _swigt__p_wxLocale 
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0}; 
35744 static swig_type_info _swigt__p_wxMask 
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0}; 
35745 static swig_type_info _swigt__p_wxMemoryDC 
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0}; 
35746 static swig_type_info _swigt__p_wxMetaFile 
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0}; 
35747 static swig_type_info _swigt__p_wxMetaFileDC 
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0}; 
35748 static swig_type_info _swigt__p_wxMirrorDC 
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0}; 
35749 static swig_type_info _swigt__p_wxNativeEncodingInfo 
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0}; 
35750 static swig_type_info _swigt__p_wxNativeFontInfo 
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0}; 
35751 static swig_type_info _swigt__p_wxNativePixelData 
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0}; 
35752 static swig_type_info _swigt__p_wxNativePixelData_Accessor 
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0}; 
35753 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
35754 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
35755 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
35756 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
35757 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
35758 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
35759 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
35760 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
35761 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
35762 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
35763 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
35764 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
35765 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", 0, 0, 0, 0, 0}; 
35766 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
35767 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
35768 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
35769 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
35770 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
35771 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
35772 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
35773 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
35774 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
35775 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
35776 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
35777 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
35778 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
35779 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
35780 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
35781 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; 
35782 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
35783 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
35784 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
35785 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
35786 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
35787 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
35788 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
35789 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
35790 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
35791 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
35792 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
35793 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
35794 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
35795 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
35796 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
35797 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
35798 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
35799 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0}; 
35800 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
35801 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
35802 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
35803 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
35804 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
35805 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
35806 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
35807 static swig_type_info _swigt__p_wxMouseCaptureLostEvent 
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; 
35808 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
35809 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
35810 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
35811 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
35812 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
35813 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
35814 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
35815 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
35816 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
35817 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
35818 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
35819 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
35820 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
35821 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
35822 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
35823 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0}; 
35824 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
35825 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
35826 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
35827 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
35828 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
35829 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
35830 static swig_type_info _swigt__p_wxOverlay 
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0}; 
35831 static swig_type_info _swigt__p_wxPaintDC 
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0}; 
35832 static swig_type_info _swigt__p_wxPalette 
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0}; 
35833 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
35834 static swig_type_info _swigt__p_wxPen 
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0}; 
35835 static swig_type_info _swigt__p_wxPenList 
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0}; 
35836 static swig_type_info _swigt__p_wxPixelDataBase 
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0}; 
35837 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
35838 static swig_type_info _swigt__p_wxPoint2D 
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0}; 
35839 static swig_type_info _swigt__p_wxPostScriptDC 
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0}; 
35840 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; 
35841 static swig_type_info _swigt__p_wxPrinterDC 
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0}; 
35842 static swig_type_info _swigt__p_wxPseudoDC 
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0}; 
35843 static swig_type_info _swigt__p_wxPyFontEnumerator 
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0}; 
35844 static swig_type_info _swigt__p_wxPyLocale 
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0}; 
35845 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
35846 static swig_type_info _swigt__p_wxRegion 
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0}; 
35847 static swig_type_info _swigt__p_wxRegionIterator 
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0}; 
35848 static swig_type_info _swigt__p_wxRendererNative 
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0}; 
35849 static swig_type_info _swigt__p_wxRendererVersion 
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0}; 
35850 static swig_type_info _swigt__p_wxScreenDC 
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0}; 
35851 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; 
35852 static swig_type_info _swigt__p_wxSplitterRenderParams 
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0}; 
35853 static swig_type_info _swigt__p_wxStockGDI 
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0}; 
35854 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
35855 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
35856 static swig_type_info _swigt__p_wxWindowDC 
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0}; 
35858 static swig_type_info 
*swig_type_initial
[] = { 
35862   &_swigt__p_form_ops_t
, 
35864   &_swigt__p_unsigned_char
, 
35865   &_swigt__p_unsigned_int
, 
35866   &_swigt__p_unsigned_long
, 
35868   &_swigt__p_wxANIHandler
, 
35869   &_swigt__p_wxAcceleratorTable
, 
35870   &_swigt__p_wxActivateEvent
, 
35871   &_swigt__p_wxAlphaPixelData
, 
35872   &_swigt__p_wxAlphaPixelData_Accessor
, 
35873   &_swigt__p_wxAutoBufferedPaintDC
, 
35874   &_swigt__p_wxBMPHandler
, 
35875   &_swigt__p_wxBitmap
, 
35876   &_swigt__p_wxBoxSizer
, 
35877   &_swigt__p_wxBrush
, 
35878   &_swigt__p_wxBrushList
, 
35879   &_swigt__p_wxBufferedDC
, 
35880   &_swigt__p_wxBufferedPaintDC
, 
35881   &_swigt__p_wxCURHandler
, 
35883   &_swigt__p_wxChildFocusEvent
, 
35884   &_swigt__p_wxClientDC
, 
35885   &_swigt__p_wxClipboardTextEvent
, 
35886   &_swigt__p_wxCloseEvent
, 
35887   &_swigt__p_wxColor
, 
35888   &_swigt__p_wxColour
, 
35889   &_swigt__p_wxColourDatabase
, 
35890   &_swigt__p_wxCommandEvent
, 
35891   &_swigt__p_wxContextMenuEvent
, 
35892   &_swigt__p_wxControl
, 
35893   &_swigt__p_wxControlWithItems
, 
35894   &_swigt__p_wxCursor
, 
35896   &_swigt__p_wxDCOverlay
, 
35898   &_swigt__p_wxDateEvent
, 
35899   &_swigt__p_wxDisplayChangedEvent
, 
35900   &_swigt__p_wxDropFilesEvent
, 
35901   &_swigt__p_wxDuplexMode
, 
35902   &_swigt__p_wxEffects
, 
35903   &_swigt__p_wxEncodingConverter
, 
35904   &_swigt__p_wxEraseEvent
, 
35905   &_swigt__p_wxEvent
, 
35906   &_swigt__p_wxEvtHandler
, 
35907   &_swigt__p_wxFSFile
, 
35908   &_swigt__p_wxFileSystem
, 
35909   &_swigt__p_wxFlexGridSizer
, 
35910   &_swigt__p_wxFocusEvent
, 
35912   &_swigt__p_wxFontList
, 
35913   &_swigt__p_wxFontMapper
, 
35914   &_swigt__p_wxGBSizerItem
, 
35916   &_swigt__p_wxGDIObjListBase
, 
35917   &_swigt__p_wxGDIObject
, 
35918   &_swigt__p_wxGIFHandler
, 
35919   &_swigt__p_wxGraphicsContext
, 
35920   &_swigt__p_wxGraphicsPath
, 
35921   &_swigt__p_wxGridBagSizer
, 
35922   &_swigt__p_wxGridSizer
, 
35923   &_swigt__p_wxHeaderButtonParams
, 
35924   &_swigt__p_wxICOHandler
, 
35926   &_swigt__p_wxIconBundle
, 
35927   &_swigt__p_wxIconLocation
, 
35928   &_swigt__p_wxIconizeEvent
, 
35929   &_swigt__p_wxIdleEvent
, 
35930   &_swigt__p_wxImage
, 
35931   &_swigt__p_wxImageHandler
, 
35932   &_swigt__p_wxImageList
, 
35933   &_swigt__p_wxIndividualLayoutConstraint
, 
35934   &_swigt__p_wxInitDialogEvent
, 
35935   &_swigt__p_wxJPEGHandler
, 
35936   &_swigt__p_wxKeyEvent
, 
35937   &_swigt__p_wxLanguageInfo
, 
35938   &_swigt__p_wxLayoutConstraints
, 
35939   &_swigt__p_wxLocale
, 
35941   &_swigt__p_wxMaximizeEvent
, 
35942   &_swigt__p_wxMemoryDC
, 
35944   &_swigt__p_wxMenuBar
, 
35945   &_swigt__p_wxMenuEvent
, 
35946   &_swigt__p_wxMenuItem
, 
35947   &_swigt__p_wxMetaFile
, 
35948   &_swigt__p_wxMetaFileDC
, 
35949   &_swigt__p_wxMirrorDC
, 
35950   &_swigt__p_wxMouseCaptureChangedEvent
, 
35951   &_swigt__p_wxMouseCaptureLostEvent
, 
35952   &_swigt__p_wxMouseEvent
, 
35953   &_swigt__p_wxMoveEvent
, 
35954   &_swigt__p_wxNativeEncodingInfo
, 
35955   &_swigt__p_wxNativeFontInfo
, 
35956   &_swigt__p_wxNativePixelData
, 
35957   &_swigt__p_wxNativePixelData_Accessor
, 
35958   &_swigt__p_wxNavigationKeyEvent
, 
35959   &_swigt__p_wxNcPaintEvent
, 
35960   &_swigt__p_wxNotifyEvent
, 
35961   &_swigt__p_wxObject
, 
35962   &_swigt__p_wxOverlay
, 
35963   &_swigt__p_wxPCXHandler
, 
35964   &_swigt__p_wxPNGHandler
, 
35965   &_swigt__p_wxPNMHandler
, 
35966   &_swigt__p_wxPaintDC
, 
35967   &_swigt__p_wxPaintEvent
, 
35968   &_swigt__p_wxPalette
, 
35969   &_swigt__p_wxPaletteChangedEvent
, 
35970   &_swigt__p_wxPaperSize
, 
35972   &_swigt__p_wxPenList
, 
35973   &_swigt__p_wxPixelDataBase
, 
35974   &_swigt__p_wxPoint
, 
35975   &_swigt__p_wxPoint2D
, 
35976   &_swigt__p_wxPostScriptDC
, 
35977   &_swigt__p_wxPrintData
, 
35978   &_swigt__p_wxPrinterDC
, 
35979   &_swigt__p_wxPseudoDC
, 
35980   &_swigt__p_wxPyApp
, 
35981   &_swigt__p_wxPyCommandEvent
, 
35982   &_swigt__p_wxPyEvent
, 
35983   &_swigt__p_wxPyFontEnumerator
, 
35984   &_swigt__p_wxPyImageHandler
, 
35985   &_swigt__p_wxPyLocale
, 
35986   &_swigt__p_wxPySizer
, 
35987   &_swigt__p_wxPyValidator
, 
35988   &_swigt__p_wxQueryNewPaletteEvent
, 
35990   &_swigt__p_wxRegion
, 
35991   &_swigt__p_wxRegionIterator
, 
35992   &_swigt__p_wxRendererNative
, 
35993   &_swigt__p_wxRendererVersion
, 
35994   &_swigt__p_wxScreenDC
, 
35995   &_swigt__p_wxScrollEvent
, 
35996   &_swigt__p_wxScrollWinEvent
, 
35997   &_swigt__p_wxSetCursorEvent
, 
35998   &_swigt__p_wxShowEvent
, 
36000   &_swigt__p_wxSizeEvent
, 
36001   &_swigt__p_wxSizer
, 
36002   &_swigt__p_wxSizerItem
, 
36003   &_swigt__p_wxSplitterRenderParams
, 
36004   &_swigt__p_wxStaticBoxSizer
, 
36005   &_swigt__p_wxStdDialogButtonSizer
, 
36006   &_swigt__p_wxStockGDI
, 
36007   &_swigt__p_wxString
, 
36008   &_swigt__p_wxSysColourChangedEvent
, 
36009   &_swigt__p_wxTIFFHandler
, 
36010   &_swigt__p_wxUpdateUIEvent
, 
36011   &_swigt__p_wxValidator
, 
36012   &_swigt__p_wxWindow
, 
36013   &_swigt__p_wxWindowCreateEvent
, 
36014   &_swigt__p_wxWindowDC
, 
36015   &_swigt__p_wxWindowDestroyEvent
, 
36016   &_swigt__p_wxXPMHandler
, 
36019 static swig_cast_info _swigc__p_buffer
[] = {  {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}}; 
36020 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
36021 static swig_cast_info _swigc__p_double
[] = {  {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}}; 
36022 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
36023 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
36024 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
36025 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
36026 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
36027 static swig_cast_info _swigc__p_void
[] = {  {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}}; 
36028 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = {  {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}}; 
36029 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = {  {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}}; 
36030 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = {  {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36031 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
36032 static swig_cast_info _swigc__p_wxBrush
[] = {  {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}}; 
36033 static swig_cast_info _swigc__p_wxBrushList
[] = {  {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}}; 
36034 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}}; 
36035 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = {  {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36036 static swig_cast_info _swigc__p_wxChar
[] = {  {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}}; 
36037 static swig_cast_info _swigc__p_wxClientDC
[] = {  {&_swigt__p_wxClientDC
, 0, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxClientDC
, 0, 0},{0, 0, 0, 0}}; 
36038 static swig_cast_info _swigc__p_wxColor
[] = {  {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}}; 
36039 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
36040 static swig_cast_info _swigc__p_wxColourDatabase
[] = {  {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}}; 
36041 static swig_cast_info _swigc__p_wxCursor
[] = {  {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}}; 
36042 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxDC
, 0, 0, 0},  {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}}; 
36043 static swig_cast_info _swigc__p_wxDCOverlay
[] = {  {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}}; 
36044 static swig_cast_info _swigc__p_wxDash
[] = {  {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}}; 
36045 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
36046 static swig_cast_info _swigc__p_wxEffects
[] = {  {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}}; 
36047 static swig_cast_info _swigc__p_wxEncodingConverter
[] = {  {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}}; 
36048 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
36049 static swig_cast_info _swigc__p_wxFontList
[] = {  {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}}; 
36050 static swig_cast_info _swigc__p_wxFontMapper
[] = {  {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}}; 
36051 static swig_cast_info _swigc__p_wxGCDC
[] = {  {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36052 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}}; 
36053 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}}; 
36054 static swig_cast_info _swigc__p_wxGraphicsContext
[] = {  {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}}; 
36055 static swig_cast_info _swigc__p_wxGraphicsPath
[] = {  {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}}; 
36056 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = {  {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}}; 
36057 static swig_cast_info _swigc__p_wxIcon
[] = {  {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
36058 static swig_cast_info _swigc__p_wxIconBundle
[] = {  {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}}; 
36059 static swig_cast_info _swigc__p_wxIconLocation
[] = {  {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}}; 
36060 static swig_cast_info _swigc__p_wxImage
[] = {  {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
36061 static swig_cast_info _swigc__p_wxImageList
[] = {  {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}}; 
36062 static swig_cast_info _swigc__p_wxLanguageInfo
[] = {  {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
36063 static swig_cast_info _swigc__p_wxLocale
[] = {  {&_swigt__p_wxPyLocale
, _p_wxPyLocaleTo_p_wxLocale
, 0, 0},  {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}}; 
36064 static swig_cast_info _swigc__p_wxMask
[] = {  {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}}; 
36065 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}}; 
36066 static swig_cast_info _swigc__p_wxMetaFile
[] = {  {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}}; 
36067 static swig_cast_info _swigc__p_wxMetaFileDC
[] = {  {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36068 static swig_cast_info _swigc__p_wxMirrorDC
[] = {  {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36069 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = {  {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
36070 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = {  {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
36071 static swig_cast_info _swigc__p_wxNativePixelData
[] = {  {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}}; 
36072 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = {  {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}}; 
36073 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
36074 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
36075 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
36076 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36077 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
36078 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36079 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36080 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36081 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36082 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36083 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
36084 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36085 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36086 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36087 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36088 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36089 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36090 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36091 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36092 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36093 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36094 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36095 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
36096 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36097 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
36098 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36099 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36100 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36101 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36102 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
36103 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36104 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36105 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36106 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36107 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36108 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36109 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36110 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36111 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36112 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36113 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36114 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36115 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36116 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36117 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36118 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36119 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36120 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36121 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36122 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36123 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36124 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36125 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
36126 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36127 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
36128 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
36129 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36130 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36131 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36132 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36133 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
36134 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
36135 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36136 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36137 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
36138 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36139 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36140 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36141 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36142 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36143 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36144 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36145 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
36146 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
36147 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
36148 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
36149 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_wxGCDC
, _p_wxGCDCTo_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_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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_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_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_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}}; 
36150 static swig_cast_info _swigc__p_wxOverlay
[] = {  {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}}; 
36151 static swig_cast_info _swigc__p_wxPaintDC
[] = {  {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36152 static swig_cast_info _swigc__p_wxPalette
[] = {  {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}}; 
36153 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
36154 static swig_cast_info _swigc__p_wxPen
[] = {  {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}}; 
36155 static swig_cast_info _swigc__p_wxPenList
[] = {  {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}}; 
36156 static swig_cast_info _swigc__p_wxPixelDataBase
[] = {  {&_swigt__p_wxPixelDataBase
, 0, 0, 0},  {&_swigt__p_wxNativePixelData
, _p_wxNativePixelDataTo_p_wxPixelDataBase
, 0, 0},  {&_swigt__p_wxAlphaPixelData
, _p_wxAlphaPixelDataTo_p_wxPixelDataBase
, 0, 0},{0, 0, 0, 0}}; 
36157 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
36158 static swig_cast_info _swigc__p_wxPoint2D
[] = {  {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}}; 
36159 static swig_cast_info _swigc__p_wxPostScriptDC
[] = {  {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36160 static swig_cast_info _swigc__p_wxPrintData
[] = {  {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
36161 static swig_cast_info _swigc__p_wxPrinterDC
[] = {  {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36162 static swig_cast_info _swigc__p_wxPseudoDC
[] = {  {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36163 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = {  {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}}; 
36164 static swig_cast_info _swigc__p_wxPyLocale
[] = {  {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}}; 
36165 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
36166 static swig_cast_info _swigc__p_wxRegion
[] = {  {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}}; 
36167 static swig_cast_info _swigc__p_wxRegionIterator
[] = {  {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}}; 
36168 static swig_cast_info _swigc__p_wxRendererNative
[] = {  {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}}; 
36169 static swig_cast_info _swigc__p_wxRendererVersion
[] = {  {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}}; 
36170 static swig_cast_info _swigc__p_wxScreenDC
[] = {  {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}}; 
36171 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
36172 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = {  {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}}; 
36173 static swig_cast_info _swigc__p_wxStockGDI
[] = {  {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}}; 
36174 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
36175 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}}; 
36176 static swig_cast_info _swigc__p_wxWindowDC
[] = {  {&_swigt__p_wxWindowDC
, 0, 0, 0},  {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}}; 
36178 static swig_cast_info 
*swig_cast_initial
[] = { 
36182   _swigc__p_form_ops_t
, 
36184   _swigc__p_unsigned_char
, 
36185   _swigc__p_unsigned_int
, 
36186   _swigc__p_unsigned_long
, 
36188   _swigc__p_wxANIHandler
, 
36189   _swigc__p_wxAcceleratorTable
, 
36190   _swigc__p_wxActivateEvent
, 
36191   _swigc__p_wxAlphaPixelData
, 
36192   _swigc__p_wxAlphaPixelData_Accessor
, 
36193   _swigc__p_wxAutoBufferedPaintDC
, 
36194   _swigc__p_wxBMPHandler
, 
36195   _swigc__p_wxBitmap
, 
36196   _swigc__p_wxBoxSizer
, 
36198   _swigc__p_wxBrushList
, 
36199   _swigc__p_wxBufferedDC
, 
36200   _swigc__p_wxBufferedPaintDC
, 
36201   _swigc__p_wxCURHandler
, 
36203   _swigc__p_wxChildFocusEvent
, 
36204   _swigc__p_wxClientDC
, 
36205   _swigc__p_wxClipboardTextEvent
, 
36206   _swigc__p_wxCloseEvent
, 
36208   _swigc__p_wxColour
, 
36209   _swigc__p_wxColourDatabase
, 
36210   _swigc__p_wxCommandEvent
, 
36211   _swigc__p_wxContextMenuEvent
, 
36212   _swigc__p_wxControl
, 
36213   _swigc__p_wxControlWithItems
, 
36214   _swigc__p_wxCursor
, 
36216   _swigc__p_wxDCOverlay
, 
36218   _swigc__p_wxDateEvent
, 
36219   _swigc__p_wxDisplayChangedEvent
, 
36220   _swigc__p_wxDropFilesEvent
, 
36221   _swigc__p_wxDuplexMode
, 
36222   _swigc__p_wxEffects
, 
36223   _swigc__p_wxEncodingConverter
, 
36224   _swigc__p_wxEraseEvent
, 
36226   _swigc__p_wxEvtHandler
, 
36227   _swigc__p_wxFSFile
, 
36228   _swigc__p_wxFileSystem
, 
36229   _swigc__p_wxFlexGridSizer
, 
36230   _swigc__p_wxFocusEvent
, 
36232   _swigc__p_wxFontList
, 
36233   _swigc__p_wxFontMapper
, 
36234   _swigc__p_wxGBSizerItem
, 
36236   _swigc__p_wxGDIObjListBase
, 
36237   _swigc__p_wxGDIObject
, 
36238   _swigc__p_wxGIFHandler
, 
36239   _swigc__p_wxGraphicsContext
, 
36240   _swigc__p_wxGraphicsPath
, 
36241   _swigc__p_wxGridBagSizer
, 
36242   _swigc__p_wxGridSizer
, 
36243   _swigc__p_wxHeaderButtonParams
, 
36244   _swigc__p_wxICOHandler
, 
36246   _swigc__p_wxIconBundle
, 
36247   _swigc__p_wxIconLocation
, 
36248   _swigc__p_wxIconizeEvent
, 
36249   _swigc__p_wxIdleEvent
, 
36251   _swigc__p_wxImageHandler
, 
36252   _swigc__p_wxImageList
, 
36253   _swigc__p_wxIndividualLayoutConstraint
, 
36254   _swigc__p_wxInitDialogEvent
, 
36255   _swigc__p_wxJPEGHandler
, 
36256   _swigc__p_wxKeyEvent
, 
36257   _swigc__p_wxLanguageInfo
, 
36258   _swigc__p_wxLayoutConstraints
, 
36259   _swigc__p_wxLocale
, 
36261   _swigc__p_wxMaximizeEvent
, 
36262   _swigc__p_wxMemoryDC
, 
36264   _swigc__p_wxMenuBar
, 
36265   _swigc__p_wxMenuEvent
, 
36266   _swigc__p_wxMenuItem
, 
36267   _swigc__p_wxMetaFile
, 
36268   _swigc__p_wxMetaFileDC
, 
36269   _swigc__p_wxMirrorDC
, 
36270   _swigc__p_wxMouseCaptureChangedEvent
, 
36271   _swigc__p_wxMouseCaptureLostEvent
, 
36272   _swigc__p_wxMouseEvent
, 
36273   _swigc__p_wxMoveEvent
, 
36274   _swigc__p_wxNativeEncodingInfo
, 
36275   _swigc__p_wxNativeFontInfo
, 
36276   _swigc__p_wxNativePixelData
, 
36277   _swigc__p_wxNativePixelData_Accessor
, 
36278   _swigc__p_wxNavigationKeyEvent
, 
36279   _swigc__p_wxNcPaintEvent
, 
36280   _swigc__p_wxNotifyEvent
, 
36281   _swigc__p_wxObject
, 
36282   _swigc__p_wxOverlay
, 
36283   _swigc__p_wxPCXHandler
, 
36284   _swigc__p_wxPNGHandler
, 
36285   _swigc__p_wxPNMHandler
, 
36286   _swigc__p_wxPaintDC
, 
36287   _swigc__p_wxPaintEvent
, 
36288   _swigc__p_wxPalette
, 
36289   _swigc__p_wxPaletteChangedEvent
, 
36290   _swigc__p_wxPaperSize
, 
36292   _swigc__p_wxPenList
, 
36293   _swigc__p_wxPixelDataBase
, 
36295   _swigc__p_wxPoint2D
, 
36296   _swigc__p_wxPostScriptDC
, 
36297   _swigc__p_wxPrintData
, 
36298   _swigc__p_wxPrinterDC
, 
36299   _swigc__p_wxPseudoDC
, 
36301   _swigc__p_wxPyCommandEvent
, 
36302   _swigc__p_wxPyEvent
, 
36303   _swigc__p_wxPyFontEnumerator
, 
36304   _swigc__p_wxPyImageHandler
, 
36305   _swigc__p_wxPyLocale
, 
36306   _swigc__p_wxPySizer
, 
36307   _swigc__p_wxPyValidator
, 
36308   _swigc__p_wxQueryNewPaletteEvent
, 
36310   _swigc__p_wxRegion
, 
36311   _swigc__p_wxRegionIterator
, 
36312   _swigc__p_wxRendererNative
, 
36313   _swigc__p_wxRendererVersion
, 
36314   _swigc__p_wxScreenDC
, 
36315   _swigc__p_wxScrollEvent
, 
36316   _swigc__p_wxScrollWinEvent
, 
36317   _swigc__p_wxSetCursorEvent
, 
36318   _swigc__p_wxShowEvent
, 
36320   _swigc__p_wxSizeEvent
, 
36322   _swigc__p_wxSizerItem
, 
36323   _swigc__p_wxSplitterRenderParams
, 
36324   _swigc__p_wxStaticBoxSizer
, 
36325   _swigc__p_wxStdDialogButtonSizer
, 
36326   _swigc__p_wxStockGDI
, 
36327   _swigc__p_wxString
, 
36328   _swigc__p_wxSysColourChangedEvent
, 
36329   _swigc__p_wxTIFFHandler
, 
36330   _swigc__p_wxUpdateUIEvent
, 
36331   _swigc__p_wxValidator
, 
36332   _swigc__p_wxWindow
, 
36333   _swigc__p_wxWindowCreateEvent
, 
36334   _swigc__p_wxWindowDC
, 
36335   _swigc__p_wxWindowDestroyEvent
, 
36336   _swigc__p_wxXPMHandler
, 
36340 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
36342 static swig_const_info swig_const_table
[] = { 
36343 {0, 0, 0, 0.0, 0, 0}}; 
36348 /* ----------------------------------------------------------------------------- 
36349  * Type initialization: 
36350  * This problem is tough by the requirement that no dynamic  
36351  * memory is used. Also, since swig_type_info structures store pointers to  
36352  * swig_cast_info structures and swig_cast_info structures store pointers back 
36353  * to swig_type_info structures, we need some lookup code at initialization.  
36354  * The idea is that swig generates all the structures that are needed.  
36355  * The runtime then collects these partially filled structures.  
36356  * The SWIG_InitializeModule function takes these initial arrays out of  
36357  * swig_module, and does all the lookup, filling in the swig_module.types 
36358  * array with the correct data and linking the correct swig_cast_info 
36359  * structures together. 
36361  * The generated swig_type_info structures are assigned staticly to an initial  
36362  * array. We just loop though that array, and handle each type individually. 
36363  * First we lookup if this type has been already loaded, and if so, use the 
36364  * loaded structure instead of the generated one. Then we have to fill in the 
36365  * cast linked list. The cast data is initially stored in something like a 
36366  * two-dimensional array. Each row corresponds to a type (there are the same 
36367  * number of rows as there are in the swig_type_initial array). Each entry in 
36368  * a column is one of the swig_cast_info structures for that type. 
36369  * The cast_initial array is actually an array of arrays, because each row has 
36370  * a variable number of columns. So to actually build the cast linked list, 
36371  * we find the array of casts associated with the type, and loop through it  
36372  * adding the casts to the list. The one last trick we need to do is making 
36373  * sure the type pointer in the swig_cast_info struct is correct. 
36375  * First off, we lookup the cast->type name to see if it is already loaded.  
36376  * There are three cases to handle: 
36377  *  1) If the cast->type has already been loaded AND the type we are adding 
36378  *     casting info to has not been loaded (it is in this module), THEN we 
36379  *     replace the cast->type pointer with the type pointer that has already 
36381  *  2) If BOTH types (the one we are adding casting info to, and the  
36382  *     cast->type) are loaded, THEN the cast info has already been loaded by 
36383  *     the previous module so we just ignore it. 
36384  *  3) Finally, if cast->type has not already been loaded, then we add that 
36385  *     swig_cast_info to the linked list (because the cast->type) pointer will 
36387  * ----------------------------------------------------------------------------- */ 
36397 #define SWIGRUNTIME_DEBUG 
36401 SWIG_InitializeModule(void *clientdata
) { 
36403   swig_module_info 
*module_head
; 
36404   static int init_run 
= 0; 
36406   clientdata 
= clientdata
; 
36408   if (init_run
) return; 
36411   /* Initialize the swig_module */ 
36412   swig_module
.type_initial 
= swig_type_initial
; 
36413   swig_module
.cast_initial 
= swig_cast_initial
; 
36415   /* Try and load any already created modules */ 
36416   module_head 
= SWIG_GetModule(clientdata
); 
36418     swig_module
.next 
= module_head
->next
; 
36419     module_head
->next 
= &swig_module
; 
36421     /* This is the first module loaded */ 
36422     swig_module
.next 
= &swig_module
; 
36423     SWIG_SetModule(clientdata
, &swig_module
); 
36426   /* Now work on filling in swig_module.types */ 
36427 #ifdef SWIGRUNTIME_DEBUG 
36428   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
36430   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
36431     swig_type_info 
*type 
= 0; 
36432     swig_type_info 
*ret
; 
36433     swig_cast_info 
*cast
; 
36435 #ifdef SWIGRUNTIME_DEBUG 
36436     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
36439     /* if there is another module already loaded */ 
36440     if (swig_module
.next 
!= &swig_module
) { 
36441       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
36444       /* Overwrite clientdata field */ 
36445 #ifdef SWIGRUNTIME_DEBUG 
36446       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
36448       if (swig_module
.type_initial
[i
]->clientdata
) { 
36449         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
36450 #ifdef SWIGRUNTIME_DEBUG 
36451         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
36455       type 
= swig_module
.type_initial
[i
]; 
36458     /* Insert casting types */ 
36459     cast 
= swig_module
.cast_initial
[i
]; 
36460     while (cast
->type
) { 
36461       /* Don't need to add information already in the list */ 
36463 #ifdef SWIGRUNTIME_DEBUG 
36464       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
36466       if (swig_module
.next 
!= &swig_module
) { 
36467         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
36468 #ifdef SWIGRUNTIME_DEBUG 
36469         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
36473         if (type 
== swig_module
.type_initial
[i
]) { 
36474 #ifdef SWIGRUNTIME_DEBUG 
36475           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
36480           /* Check for casting already in the list */ 
36481           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
36482 #ifdef SWIGRUNTIME_DEBUG 
36483           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
36485           if (!ocast
) ret 
= 0; 
36490 #ifdef SWIGRUNTIME_DEBUG 
36491         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
36494           type
->cast
->prev 
= cast
; 
36495           cast
->next 
= type
->cast
; 
36501     /* Set entry in modules->types array equal to the type */ 
36502     swig_module
.types
[i
] = type
; 
36504   swig_module
.types
[i
] = 0; 
36506 #ifdef SWIGRUNTIME_DEBUG 
36507   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
36508   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
36510     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
36511     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
36512     while (cast
->type
) { 
36513       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
36517     printf("---- Total casts: %d\n",j
); 
36519   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
36523 /* This function will propagate the clientdata field of type to 
36524 * any new swig_type_info structures that have been added into the list 
36525 * of equivalent types.  It is like calling 
36526 * SWIG_TypeClientData(type, clientdata) a second time. 
36529 SWIG_PropagateClientData(void) { 
36531   swig_cast_info 
*equiv
; 
36532   static int init_run 
= 0; 
36534   if (init_run
) return; 
36537   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
36538     if (swig_module
.types
[i
]->clientdata
) { 
36539       equiv 
= swig_module
.types
[i
]->cast
; 
36541         if (!equiv
->converter
) { 
36542           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
36543           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
36545         equiv 
= equiv
->next
; 
36565   /* Python-specific SWIG API */ 
36566 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
36567 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
36568 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
36570   /* ----------------------------------------------------------------------------- 
36571    * global variable support code. 
36572    * ----------------------------------------------------------------------------- */ 
36574   typedef struct swig_globalvar 
{ 
36575     char       *name
;                  /* Name of global variable */ 
36576     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
36577     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
36578     struct swig_globalvar 
*next
; 
36581   typedef struct swig_varlinkobject 
{ 
36583     swig_globalvar 
*vars
; 
36584   } swig_varlinkobject
; 
36586   SWIGINTERN PyObject 
* 
36587   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
36588     return PyString_FromString("<Swig global variables>"); 
36591   SWIGINTERN PyObject 
* 
36592   swig_varlink_str(swig_varlinkobject 
*v
) { 
36593     PyObject 
*str 
= PyString_FromString("("); 
36594     swig_globalvar  
*var
; 
36595     for (var 
= v
->vars
; var
; var
=var
->next
) { 
36596       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
36597       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
36599     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
36604   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
36605     PyObject 
*str 
= swig_varlink_str(v
); 
36606     fprintf(fp
,"Swig global variables "); 
36607     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
36613   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
36614     swig_globalvar 
*var 
= v
->vars
; 
36616       swig_globalvar 
*n 
= var
->next
; 
36623   SWIGINTERN PyObject 
* 
36624   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
36625     PyObject 
*res 
= NULL
; 
36626     swig_globalvar 
*var 
= v
->vars
; 
36628       if (strcmp(var
->name
,n
) == 0) { 
36629         res 
= (*var
->get_attr
)(); 
36634     if (res 
== NULL 
&& !PyErr_Occurred()) { 
36635       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
36641   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
36643     swig_globalvar 
*var 
= v
->vars
; 
36645       if (strcmp(var
->name
,n
) == 0) { 
36646         res 
= (*var
->set_attr
)(p
); 
36651     if (res 
== 1 && !PyErr_Occurred()) { 
36652       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
36657   SWIGINTERN PyTypeObject
* 
36658   swig_varlink_type(void) { 
36659     static char varlink__doc__
[] = "Swig var link object"; 
36660     static PyTypeObject varlink_type
; 
36661     static int type_init 
= 0;   
36663       const PyTypeObject tmp
 
36665         PyObject_HEAD_INIT(NULL
) 
36666         0,                                  /* Number of items in variable part (ob_size) */ 
36667         (char *)"swigvarlink",              /* Type name (tp_name) */ 
36668         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
36669         0,                                  /* Itemsize (tp_itemsize) */ 
36670         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
36671         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
36672         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
36673         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
36674         0,                                  /* tp_compare */ 
36675         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
36676         0,                                  /* tp_as_number */ 
36677         0,                                  /* tp_as_sequence */ 
36678         0,                                  /* tp_as_mapping */ 
36681         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
36682         0,                                  /* tp_getattro */ 
36683         0,                                  /* tp_setattro */ 
36684         0,                                  /* tp_as_buffer */ 
36686         varlink__doc__
,                     /* tp_doc */ 
36687         0,                                  /* tp_traverse */ 
36689         0,                                  /* tp_richcompare */ 
36690         0,                                  /* tp_weaklistoffset */ 
36691 #if PY_VERSION_HEX >= 0x02020000 
36692         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
36694 #if PY_VERSION_HEX >= 0x02030000 
36697 #ifdef COUNT_ALLOCS 
36698         0,0,0,0                             /* tp_alloc -> tp_next */ 
36701       varlink_type 
= tmp
; 
36702       varlink_type
.ob_type 
= &PyType_Type
; 
36705     return &varlink_type
; 
36708   /* Create a variable linking object for use later */ 
36709   SWIGINTERN PyObject 
* 
36710   SWIG_Python_newvarlink(void) { 
36711     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
36715     return ((PyObject
*) result
); 
36719   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
36720     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
36721     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
36723       size_t size 
= strlen(name
)+1; 
36724       gv
->name 
= (char *)malloc(size
); 
36726         strncpy(gv
->name
,name
,size
); 
36727         gv
->get_attr 
= get_attr
; 
36728         gv
->set_attr 
= set_attr
; 
36729         gv
->next 
= v
->vars
; 
36735   SWIGINTERN PyObject 
* 
36737     static PyObject 
*_SWIG_globals 
= 0;  
36738     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
36739     return _SWIG_globals
; 
36742   /* ----------------------------------------------------------------------------- 
36743    * constants/methods manipulation 
36744    * ----------------------------------------------------------------------------- */ 
36746   /* Install Constants */ 
36748   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
36751     for (i 
= 0; constants
[i
].type
; ++i
) { 
36752       switch(constants
[i
].type
) { 
36753       case SWIG_PY_POINTER
: 
36754         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
36756       case SWIG_PY_BINARY
: 
36757         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
36764         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
36770   /* -----------------------------------------------------------------------------*/ 
36771   /* Fix SwigMethods to carry the callback ptrs when needed */ 
36772   /* -----------------------------------------------------------------------------*/ 
36775   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
36776     swig_const_info 
*const_table
, 
36777     swig_type_info 
**types
, 
36778     swig_type_info 
**types_initial
) { 
36780     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
36781       const char *c 
= methods
[i
].ml_doc
; 
36782       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
36784         swig_const_info 
*ci 
= 0; 
36785         const char *name 
= c 
+ 10; 
36786         for (j 
= 0; const_table
[j
].type
; ++j
) { 
36787           if (strncmp(const_table
[j
].name
, name
,  
36788               strlen(const_table
[j
].name
)) == 0) { 
36789             ci 
= &(const_table
[j
]); 
36794           size_t shift 
= (ci
->ptype
) - types
; 
36795           swig_type_info 
*ty 
= types_initial
[shift
]; 
36796           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
36797           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
36798           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
36801             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
36803               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
36805               strncpy(buff
, "swig_ptr: ", 10); 
36807               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
36808               methods
[i
].ml_doc 
= ndoc
; 
36820 /* -----------------------------------------------------------------------------* 
36821  *  Partial Init method 
36822  * -----------------------------------------------------------------------------*/ 
36827 SWIGEXPORT 
void SWIG_init(void) { 
36830   /* Fix SwigMethods to carry the callback ptrs when needed */ 
36831   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
36833   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
36834   d 
= PyModule_GetDict(m
); 
36836   SWIG_InitializeModule(0); 
36837   SWIG_InstallConstants(d
,swig_const_table
); 
36840   SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
))); 
36841   SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
))); 
36842   SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
))); 
36843   SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
))); 
36844   SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
))); 
36845   SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
))); 
36846   SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
))); 
36847   SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
))); 
36848   SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
))); 
36849   SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
))); 
36850   SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
))); 
36851   SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
))); 
36852   SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
))); 
36853   SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
))); 
36854   SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
))); 
36855   SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
))); 
36856   SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
))); 
36857   SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
))); 
36858   SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
))); 
36859   SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
))); 
36860   SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
))); 
36861   SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
))); 
36862   SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
))); 
36863   SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
))); 
36864   SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
))); 
36865   SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
))); 
36866   SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
))); 
36867   SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
))); 
36868   SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
))); 
36869   SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
))); 
36870   SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
))); 
36871   SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
))); 
36872   SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
))); 
36873   SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
))); 
36874   SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
))); 
36875   SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
))); 
36876   SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
))); 
36877   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
))); 
36878   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
))); 
36879   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
))); 
36880   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
))); 
36881   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
))); 
36882   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
))); 
36883   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
))); 
36884   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
))); 
36885   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
))); 
36886   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
))); 
36887   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
))); 
36888   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
))); 
36889   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
))); 
36890   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
))); 
36891   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
))); 
36892   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
))); 
36893   SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
))); 
36894   SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
))); 
36895   SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
))); 
36896   SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
))); 
36897   SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
))); 
36898   SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
))); 
36899   SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
))); 
36900   SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
))); 
36901   SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
))); 
36902   SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
))); 
36903   SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
))); 
36904   SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
))); 
36905   SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
))); 
36906   SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
))); 
36907   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
))); 
36908   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
))); 
36909   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
))); 
36910   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
))); 
36911   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
))); 
36912   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
))); 
36913   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
))); 
36914   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
))); 
36915   SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
))); 
36916   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
))); 
36917   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
))); 
36918   SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
))); 
36919   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
))); 
36920   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
))); 
36921   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
))); 
36922   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
))); 
36923   SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
))); 
36924   SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
))); 
36925   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
))); 
36926   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
))); 
36927   SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
))); 
36928   SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
))); 
36929   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
))); 
36930   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
))); 
36931   SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
))); 
36932   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
))); 
36933   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
))); 
36934   SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
))); 
36935   SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
))); 
36936   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
))); 
36937   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
))); 
36938   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
))); 
36939   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
))); 
36940   SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
))); 
36941   SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
))); 
36942   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
))); 
36943   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
))); 
36944   SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
))); 
36945   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
))); 
36946   SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
))); 
36947   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
))); 
36948   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
))); 
36949   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
))); 
36950   SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
))); 
36951   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
))); 
36952   SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
))); 
36953   SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
))); 
36954   SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
))); 
36955   SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
))); 
36956   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
))); 
36957   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
))); 
36958   SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
))); 
36959   SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
))); 
36960   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
))); 
36961   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
))); 
36962   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
))); 
36963   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
))); 
36964   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
))); 
36965   SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
))); 
36966   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
))); 
36967   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
))); 
36968   SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
))); 
36969   SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
))); 
36970   SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
))); 
36971   SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
))); 
36973   wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
36975   SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
))); 
36976   SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
))); 
36977   SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
))); 
36978   SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
))); 
36979   SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
))); 
36980   SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
))); 
36981   SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
))); 
36982   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
))); 
36983   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
))); 
36984   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
))); 
36985   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
))); 
36986   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
))); 
36987   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
))); 
36988   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
))); 
36989   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
))); 
36990   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
))); 
36991   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
))); 
36992   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
))); 
36993   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
))); 
36994   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
))); 
36995   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
))); 
36996   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
))); 
36997   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
))); 
36998   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
))); 
36999   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
))); 
37000   SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
))); 
37001   SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
))); 
37002   SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
))); 
37003   SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
))); 
37004   SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
))); 
37005   SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
))); 
37006   SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
))); 
37007   SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
))); 
37008   SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
))); 
37009   SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
))); 
37010   SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
))); 
37011   SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
))); 
37012   SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
))); 
37013   SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
))); 
37014   SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
))); 
37015   SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
))); 
37016   SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
))); 
37017   SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
))); 
37018   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
))); 
37019   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
))); 
37020   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
))); 
37021   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
))); 
37022   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
))); 
37023   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
))); 
37024   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
))); 
37025   SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
))); 
37026   SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
))); 
37027   SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
))); 
37028   SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
))); 
37029   SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
))); 
37030   SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
))); 
37031   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
))); 
37032   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
))); 
37033   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
))); 
37034   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
))); 
37035   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
))); 
37036   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
))); 
37037   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
))); 
37038   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
))); 
37039   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
))); 
37040   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
))); 
37041   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
))); 
37042   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
))); 
37043   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
))); 
37044   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
))); 
37045   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
))); 
37046   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
))); 
37047   SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
))); 
37048   SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
))); 
37049   SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
))); 
37050   SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
))); 
37051   SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
))); 
37052   SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
))); 
37053   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
))); 
37054   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
))); 
37055   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
))); 
37056   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
))); 
37057   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
))); 
37058   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
))); 
37059   SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
))); 
37060   SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
))); 
37061   SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
))); 
37062   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
))); 
37063   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
))); 
37064   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
))); 
37065   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
))); 
37066   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
))); 
37067   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
))); 
37068   SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
))); 
37069   SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
))); 
37070   SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
))); 
37071   SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
))); 
37072   SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
))); 
37073   SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
))); 
37074   SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
))); 
37075   SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
))); 
37076   SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
))); 
37077   SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
))); 
37078   SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
))); 
37079   SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
))); 
37080   SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
))); 
37081   SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
))); 
37082   SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
))); 
37083   SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
))); 
37084   SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
))); 
37085   SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
))); 
37086   SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
))); 
37087   SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
))); 
37088   SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
))); 
37089   SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
))); 
37090   SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
))); 
37091   SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
))); 
37092   SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
))); 
37093   SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
))); 
37094   SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
))); 
37095   SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
))); 
37096   SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
))); 
37097   SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
))); 
37098   SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
))); 
37099   SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
))); 
37100   SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
))); 
37101   SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
))); 
37102   SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
))); 
37103   SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
))); 
37104   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
))); 
37105   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
))); 
37106   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
))); 
37107   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
))); 
37108   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
))); 
37109   SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
))); 
37110   SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
))); 
37111   SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
))); 
37112   SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
))); 
37113   SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
))); 
37114   SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
))); 
37115   SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
))); 
37116   SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
))); 
37117   SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
))); 
37118   SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
))); 
37119   SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
))); 
37120   SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
))); 
37121   SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
))); 
37122   SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
))); 
37123   SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
))); 
37124   SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
))); 
37125   SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
))); 
37126   SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
))); 
37127   SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
))); 
37128   SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
))); 
37129   SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
))); 
37130   SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
))); 
37131   SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
))); 
37132   SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
))); 
37133   SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
))); 
37134   SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
))); 
37135   SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
))); 
37136   SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
))); 
37137   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
))); 
37138   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
))); 
37139   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
))); 
37140   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
))); 
37141   SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
))); 
37142   SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
))); 
37143   SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
))); 
37144   SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
))); 
37145   SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
))); 
37146   SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
))); 
37147   SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
))); 
37148   SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
))); 
37149   SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
))); 
37150   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
))); 
37151   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
))); 
37152   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
))); 
37153   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
))); 
37154   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
))); 
37155   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
))); 
37156   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
))); 
37157   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
))); 
37158   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
))); 
37159   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
))); 
37160   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
))); 
37161   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
))); 
37162   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
))); 
37163   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
))); 
37164   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
))); 
37165   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
))); 
37166   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
))); 
37167   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
))); 
37168   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
))); 
37169   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
))); 
37170   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
))); 
37171   SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
))); 
37172   SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
))); 
37173   SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
))); 
37174   SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
))); 
37175   SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
))); 
37176   SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
))); 
37177   SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
))); 
37178   SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
))); 
37179   SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
))); 
37180   SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
))); 
37181   SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
))); 
37182   SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
))); 
37183   SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
))); 
37184   SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
))); 
37185   SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
))); 
37186   SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
))); 
37187   SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
))); 
37188   SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
))); 
37189   SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
))); 
37190   SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
))); 
37191   SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
))); 
37192   SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
))); 
37193   SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
))); 
37194   SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
))); 
37195   SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
))); 
37196   SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
))); 
37197   SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
))); 
37198   SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
))); 
37199   SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
))); 
37200   SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
))); 
37201   SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
))); 
37202   SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
))); 
37203   SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
))); 
37204   SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
))); 
37205   SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
))); 
37206   SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
))); 
37207   SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
))); 
37208   SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
))); 
37209   SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
))); 
37210   SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
))); 
37211   SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
))); 
37212   SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
))); 
37213   SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
))); 
37214   SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
))); 
37215   SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
))); 
37216   SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
))); 
37217   SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
))); 
37218   SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
))); 
37219   SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
))); 
37220   SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
))); 
37221   SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
))); 
37222   SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
))); 
37223   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
))); 
37224   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
))); 
37225   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
))); 
37226   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
))); 
37227   SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
))); 
37228   SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
))); 
37229   SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
))); 
37230   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
))); 
37231   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
))); 
37232   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
))); 
37233   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
))); 
37234   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
))); 
37235   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
))); 
37236   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
))); 
37237   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
))); 
37238   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
))); 
37239   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
))); 
37240   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
))); 
37241   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
))); 
37242   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
))); 
37243   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
))); 
37244   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
))); 
37245   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
))); 
37246   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
))); 
37247   SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
))); 
37248   SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
))); 
37249   SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
))); 
37250   SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
))); 
37251   SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
))); 
37252   SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
))); 
37253   SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
))); 
37254   SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
))); 
37255   SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
))); 
37256   SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
))); 
37257   SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
))); 
37258   SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
))); 
37259   SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
))); 
37260   SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
))); 
37261   SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
))); 
37262   SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
))); 
37263   SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
))); 
37264   SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
))); 
37265   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
37266   SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
); 
37267   SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
); 
37268   SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
); 
37269   SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
); 
37270   SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
); 
37271   SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
); 
37272   SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
); 
37273   SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
); 
37274   SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
))); 
37275   SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
))); 
37276   SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
))); 
37277   SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
))); 
37278   SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
))); 
37279   SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
))); 
37280   SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
))); 
37281   SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
))); 
37282   SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
))); 
37283   SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
))); 
37284   SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
))); 
37285   SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
))); 
37286   SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
))); 
37287   SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
))); 
37288   SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
))); 
37289   SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
))); 
37290   SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
))); 
37291   SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
))); 
37292   SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
))); 
37293   SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
))); 
37295   // Work around a chicken/egg problem in drawlist.cpp 
37296   wxPyDrawList_SetAPIPtr();