1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 /* ----------------------------------------------------------------------------- 
  31  *  This section contains generic SWIG labels for method/variable 
  32  *  declarations/attributes, and other compiler dependent labels. 
  33  * ----------------------------------------------------------------------------- */ 
  35 /* template workaround for compilers that cannot correctly implement the C++ standard */ 
  36 #ifndef SWIGTEMPLATEDISAMBIGUATOR 
  37 # if defined(__SUNPRO_CC) 
  38 #   if (__SUNPRO_CC <= 0x560) 
  39 #     define SWIGTEMPLATEDISAMBIGUATOR template 
  41 #     define SWIGTEMPLATEDISAMBIGUATOR  
  44 #   define SWIGTEMPLATEDISAMBIGUATOR  
  48 /* inline attribute */ 
  50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  51 #   define SWIGINLINE inline 
  57 /* attribute recognised by some compilers to avoid 'unused' warnings */ 
  59 # if defined(__GNUC__) 
  60 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) 
  61 #     define SWIGUNUSED __attribute__ ((__unused__))  
  66 #   define SWIGUNUSED __attribute__ ((__unused__))  
  72 #ifndef SWIGUNUSEDPARM 
  74 #   define SWIGUNUSEDPARM(p) 
  76 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED  
  80 /* internal SWIG method */ 
  82 # define SWIGINTERN static SWIGUNUSED 
  85 /* internal inline SWIG method */ 
  86 #ifndef SWIGINTERNINLINE 
  87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
  90 /* exporting methods */ 
  91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 
  92 #  ifndef GCC_HASCLASSVISIBILITY 
  93 #    define GCC_HASCLASSVISIBILITY 
  98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  99 #   if defined(STATIC_LINKED) 
 102 #     define SWIGEXPORT __declspec(dllexport) 
 105 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) 
 106 #     define SWIGEXPORT __attribute__ ((visibility("default"))) 
 113 /* calling conventions for Windows */ 
 115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 116 #   define SWIGSTDCALL __stdcall 
 122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ 
 123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) 
 124 # define _CRT_SECURE_NO_DEPRECATE 
 128 /* Python.h has to appear first */ 
 131 /* ----------------------------------------------------------------------------- 
 134  * This file contains generic CAPI SWIG runtime support for pointer 
 136  * ----------------------------------------------------------------------------- */ 
 138 /* This should only be incremented when either the layout of swig_type_info changes, 
 139    or for whatever reason, the runtime changes incompatibly */ 
 140 #define SWIG_RUNTIME_VERSION "2" 
 142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
 143 #ifdef SWIG_TYPE_TABLE 
 144 # define SWIG_QUOTE_STRING(x) #x 
 145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
 146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
 148 # define SWIG_TYPE_TABLE_NAME 
 152   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
 153   creating a static or dynamic library from the swig runtime code. 
 154   In 99.9% of the cases, swig just needs to declare them as 'static'. 
 156   But only do this if is strictly necessary, ie, if you have problems 
 157   with your compiler or so. 
 161 # define SWIGRUNTIME SWIGINTERN 
 164 #ifndef SWIGRUNTIMEINLINE 
 165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
 168 /*  Generic buffer size */ 
 169 #ifndef SWIG_BUFFER_SIZE 
 170 # define SWIG_BUFFER_SIZE 1024 
 173 /* Flags for pointer conversions */ 
 174 #define SWIG_POINTER_DISOWN        0x1 
 176 /* Flags for new pointer objects */ 
 177 #define SWIG_POINTER_OWN           0x1 
 181    Flags/methods for returning states. 
 183    The swig conversion methods, as ConvertPtr, return and integer  
 184    that tells if the conversion was successful or not. And if not, 
 185    an error code can be returned (see swigerrors.swg for the codes). 
 187    Use the following macros/flags to set or process the returning 
 190    In old swig versions, you usually write code as: 
 192      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { 
 198    Now you can be more explicit as: 
 200     int res = SWIG_ConvertPtr(obj,vptr,ty.flags); 
 201     if (SWIG_IsOK(res)) { 
 207    that seems to be the same, but now you can also do 
 210     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); 
 211     if (SWIG_IsOK(res)) { 
 213       if (SWIG_IsNewObj(res) { 
 223    I.e., now SWIG_ConvertPtr can return new objects and you can 
 224    identify the case and take care of the deallocation. Of course that 
 225    requires also to SWIG_ConvertPtr to return new result values, as 
 227       int SWIG_ConvertPtr(obj, ptr,...) {          
 229           if (<need new object>) {                      
 230             *ptr = <ptr to new allocated object>;  
 233             *ptr = <ptr to old object>;         
 241    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be 
 242    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the 
 245    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code 
 246    allows to return the 'cast rank', for example, if you have this 
 253       food(1)   // cast rank '1'  (1 -> 1.0) 
 254       fooi(1)   // cast rank '0' 
 256    just use the SWIG_AddCast()/SWIG_CheckState() 
 261 #define SWIG_ERROR                 (-1) 
 262 #define SWIG_IsOK(r)               (r >= 0) 
 263 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)   
 265 /* The CastRankLimit says how many bits are used for the cast rank */ 
 266 #define SWIG_CASTRANKLIMIT         (1 << 8) 
 267 /* The NewMask denotes the object was created (using new/malloc) */ 
 268 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1) 
 269 /* The TmpMask is for in/out typemaps that use temporal objects */ 
 270 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1) 
 271 /* Simple returning values */ 
 272 #define SWIG_BADOBJ                (SWIG_ERROR) 
 273 #define SWIG_OLDOBJ                (SWIG_OK) 
 274 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK) 
 275 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK) 
 276 /* Check, add and del mask methods */ 
 277 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) 
 278 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) 
 279 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) 
 280 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) 
 281 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) 
 282 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) 
 286 #if defined(SWIG_CASTRANK_MODE) 
 287 #  ifndef SWIG_TypeRank 
 288 #    define SWIG_TypeRank             unsigned long 
 290 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */ 
 291 #    define SWIG_MAXCASTRANK          (2) 
 293 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1) 
 294 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK) 
 295 SWIGINTERNINLINE 
int SWIG_AddCast(int r
) {  
 296   return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r 
+ 1) : SWIG_ERROR
) : r
; 
 298 SWIGINTERNINLINE 
int SWIG_CheckState(int r
) {  
 299   return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;  
 301 #else /* no cast-rank mode */ 
 302 #  define SWIG_AddCast 
 303 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) 
 315 typedef void *(*swig_converter_func
)(void *); 
 316 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 318 /* Structure to store inforomation on one type */ 
 319 typedef struct swig_type_info 
{ 
 320   const char             *name
;                 /* mangled name of this type */ 
 321   const char             *str
;                  /* human readable name of this type */ 
 322   swig_dycast_func        dcast
;                /* dynamic cast function down a hierarchy */ 
 323   struct swig_cast_info  
*cast
;                 /* linked list of types that can cast into this type */ 
 324   void                   *clientdata
;           /* language specific type data */ 
 325   int                    owndata
;               /* flag if the structure owns the clientdata */ 
 328 /* Structure to store a type and conversion function used for casting */ 
 329 typedef struct swig_cast_info 
{ 
 330   swig_type_info         
*type
;                 /* pointer to type that is equivalent to this type */ 
 331   swig_converter_func     converter
;            /* function to cast the void pointers */ 
 332   struct swig_cast_info  
*next
;                 /* pointer to next cast in linked list */ 
 333   struct swig_cast_info  
*prev
;                 /* pointer to the previous cast */ 
 336 /* Structure used to store module information 
 337  * Each module generates one structure like this, and the runtime collects 
 338  * all of these structures and stores them in a circularly linked list.*/ 
 339 typedef struct swig_module_info 
{ 
 340   swig_type_info         
**types
;               /* Array of pointers to swig_type_info structures that are in this module */ 
 341   size_t                 size
;                  /* Number of types in this module */ 
 342   struct swig_module_info 
*next
;                /* Pointer to next element in circularly linked list */ 
 343   swig_type_info         
**type_initial
;        /* Array of initially generated type structures */ 
 344   swig_cast_info         
**cast_initial
;        /* Array of initially generated casting structures */ 
 345   void                    *clientdata
;          /* Language specific module data */ 
 349   Compare two type names skipping the space characters, therefore 
 350   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 352   Return 0 when the two name types are equivalent, as in 
 353   strncmp, but skipping ' '. 
 356 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 357                   const char *f2
, const char *l2
) { 
 358   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 359     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 360     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 361     if (*f1 
!= *f2
) return (*f1 
> *f2
) ? 1 : -1; 
 363   return (l1 
- f1
) - (l2 
- f2
); 
 367   Check type equivalence in a name list like <name1>|<name2>|... 
 368   Return 0 if not equal, 1 if equal 
 371 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 373   const char* te 
= tb 
+ strlen(tb
); 
 375   while (!equiv 
&& *ne
) { 
 376     for (nb 
= ne
; *ne
; ++ne
) { 
 377       if (*ne 
== '|') break; 
 379     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 386   Check type equivalence in a name list like <name1>|<name2>|... 
 387   Return 0 if equal, -1 if nb < tb, 1 if nb > tb 
 390 SWIG_TypeCompare(const char *nb
, const char *tb
) { 
 392   const char* te 
= tb 
+ strlen(tb
); 
 394   while (!equiv 
&& *ne
) { 
 395     for (nb 
= ne
; *ne
; ++ne
) { 
 396       if (*ne 
== '|') break; 
 398     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 405 /* think of this as a c++ template<> or a scheme macro */ 
 406 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
 408     swig_cast_info *iter = ty->cast;                    \ 
 411         if (iter == ty->cast) return iter;              \ 
 412         /* Move iter to the top of the linked list */   \ 
 413         iter->prev->next = iter->next;                  \ 
 415           iter->next->prev = iter->prev;                \ 
 416         iter->next = ty->cast;                          \ 
 418         if (ty->cast) ty->cast->prev = iter;            \ 
 430 SWIGRUNTIME swig_cast_info 
* 
 431 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 432   SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
); 
 435 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
 436 SWIGRUNTIME swig_cast_info 
* 
 437 SWIG_TypeCheckStruct(swig_type_info 
*from
, swig_type_info 
*into
) { 
 438   SWIG_TypeCheck_Template(iter
->type 
== from
, into
); 
 442   Cast a pointer up an inheritance hierarchy 
 444 SWIGRUNTIMEINLINE 
void * 
 445 SWIG_TypeCast(swig_cast_info 
*ty
, void *ptr
) { 
 446   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 450    Dynamic pointer casting. Down an inheritance hierarchy 
 452 SWIGRUNTIME swig_type_info 
* 
 453 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 454   swig_type_info 
*lastty 
= ty
; 
 455   if (!ty 
|| !ty
->dcast
) return ty
; 
 456   while (ty 
&& (ty
->dcast
)) { 
 457     ty 
= (*ty
->dcast
)(ptr
); 
 464   Return the name associated with this type 
 466 SWIGRUNTIMEINLINE 
const char * 
 467 SWIG_TypeName(const swig_type_info 
*ty
) { 
 472   Return the pretty name associated with this type, 
 473   that is an unmangled type name in a form presentable to the user. 
 475 SWIGRUNTIME 
const char * 
 476 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 477   /* The "str" field contains the equivalent pretty names of the 
 478      type, separated by vertical-bar characters.  We choose 
 479      to print the last name, as it is often (?) the most 
 481   if (!type
) return NULL
; 
 482   if (type
->str 
!= NULL
) { 
 483     const char *last_name 
= type
->str
; 
 485     for (s 
= type
->str
; *s
; s
++) 
 486       if (*s 
== '|') last_name 
= s
+1; 
 494    Set the clientdata field for a type 
 497 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 498   swig_cast_info 
*cast 
= ti
->cast
; 
 499   /* if (ti->clientdata == clientdata) return; */ 
 500   ti
->clientdata 
= clientdata
; 
 503     if (!cast
->converter
) { 
 504       swig_type_info 
*tc 
= cast
->type
; 
 505       if (!tc
->clientdata
) { 
 506         SWIG_TypeClientData(tc
, clientdata
); 
 513 SWIG_TypeNewClientData(swig_type_info 
*ti
, void *clientdata
) { 
 514   SWIG_TypeClientData(ti
, clientdata
); 
 519   Search for a swig_type_info structure only by mangled name 
 520   Search is a O(log #types) 
 522   We start searching at module start, and finish searching when start == end.   
 523   Note: if start == end at the beginning of the function, we go all the way around 
 526 SWIGRUNTIME swig_type_info 
* 
 527 SWIG_MangledTypeQueryModule(swig_module_info 
*start
,  
 528                             swig_module_info 
*end
,  
 530   swig_module_info 
*iter 
= start
; 
 533       register size_t l 
= 0; 
 534       register size_t r 
= iter
->size 
- 1; 
 536         /* since l+r >= 0, we can (>> 1) instead (/ 2) */ 
 537         register size_t i 
= (l 
+ r
) >> 1;  
 538         const char *iname 
= iter
->types
[i
]->name
; 
 540           register int compare 
= strcmp(name
, iname
); 
 542             return iter
->types
[i
]; 
 543           } else if (compare 
< 0) { 
 549           } else if (compare 
> 0) { 
 553           break; /* should never happen */ 
 558   } while (iter 
!= end
); 
 563   Search for a swig_type_info structure for either a mangled name or a human readable name. 
 564   It first searches the mangled names of the types, which is a O(log #types) 
 565   If a type is not found it then searches the human readable names, which is O(#types). 
 567   We start searching at module start, and finish searching when start == end.   
 568   Note: if start == end at the beginning of the function, we go all the way around 
 571 SWIGRUNTIME swig_type_info 
* 
 572 SWIG_TypeQueryModule(swig_module_info 
*start
,  
 573                      swig_module_info 
*end
,  
 575   /* STEP 1: Search the name field using binary search */ 
 576   swig_type_info 
*ret 
= SWIG_MangledTypeQueryModule(start
, end
, name
); 
 580     /* STEP 2: If the type hasn't been found, do a complete search 
 581        of the str field (the human readable name) */ 
 582     swig_module_info 
*iter 
= start
; 
 584       register size_t i 
= 0; 
 585       for (; i 
< iter
->size
; ++i
) { 
 586         if (iter
->types
[i
]->str 
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
))) 
 587           return iter
->types
[i
]; 
 590     } while (iter 
!= end
); 
 593   /* neither found a match */ 
 598    Pack binary data into a string 
 601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 602   static const char hex
[17] = "0123456789abcdef"; 
 603   register const unsigned char *u 
= (unsigned char *) ptr
; 
 604   register const unsigned char *eu 
=  u 
+ sz
; 
 605   for (; u 
!= eu
; ++u
) { 
 606     register unsigned char uu 
= *u
; 
 607     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 608     *(c
++) = hex
[uu 
& 0xf]; 
 614    Unpack binary data from a string 
 616 SWIGRUNTIME 
const char * 
 617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 618   register unsigned char *u 
= (unsigned char *) ptr
; 
 619   register const unsigned char *eu 
= u 
+ sz
; 
 620   for (; u 
!= eu
; ++u
) { 
 621     register char d 
= *(c
++); 
 622     register unsigned char uu
; 
 623     if ((d 
>= '0') && (d 
<= '9')) 
 624       uu 
= ((d 
- '0') << 4); 
 625     else if ((d 
>= 'a') && (d 
<= 'f')) 
 626       uu 
= ((d 
- ('a'-10)) << 4); 
 630     if ((d 
>= '0') && (d 
<= '9')) 
 632     else if ((d 
>= 'a') && (d 
<= 'f')) 
 633       uu 
|= (d 
- ('a'-10)); 
 642    Pack 'void *' into a string buffer. 
 645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 647   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 649   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 650   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 655 SWIGRUNTIME 
const char * 
 656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 658     if (strcmp(c
,"NULL") == 0) { 
 665   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 671   size_t lname 
= (name 
? strlen(name
) : 0); 
 672   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 674   r 
= SWIG_PackData(r
,ptr
,sz
); 
 676     strncpy(r
,name
,lname
+1); 
 683 SWIGRUNTIME 
const char * 
 684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 686     if (strcmp(c
,"NULL") == 0) { 
 693   return SWIG_UnpackData(++c
,ptr
,sz
); 
 701 #define  SWIG_UnknownError         -1  
 702 #define  SWIG_IOError              -2  
 703 #define  SWIG_RuntimeError         -3  
 704 #define  SWIG_IndexError           -4  
 705 #define  SWIG_TypeError            -5  
 706 #define  SWIG_DivisionByZero       -6  
 707 #define  SWIG_OverflowError        -7  
 708 #define  SWIG_SyntaxError          -8  
 709 #define  SWIG_ValueError           -9  
 710 #define  SWIG_SystemError          -10 
 711 #define  SWIG_AttributeError       -11 
 712 #define  SWIG_MemoryError          -12  
 713 #define  SWIG_NullReferenceError   -13 
 717 /* Python.h has to appear first */ 
 720 /* Add PyOS_snprintf for old Pythons */ 
 721 #if PY_VERSION_HEX < 0x02020000 
 722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) 
 723 #  define PyOS_snprintf _snprintf 
 725 #  define PyOS_snprintf snprintf 
 729 /* A crude PyString_FromFormat implementation for old Pythons */ 
 730 #if PY_VERSION_HEX < 0x02020000 
 732 #ifndef SWIG_PYBUFFER_SIZE 
 733 # define SWIG_PYBUFFER_SIZE 1024 
 737 PyString_FromFormat(const char *fmt
, ...) { 
 739   char buf
[SWIG_PYBUFFER_SIZE 
* 2]; 
 742   res 
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
); 
 744   return (res 
< 0 || res 
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
); 
 748 /* Add PyObject_Del for old Pythons */ 
 749 #if PY_VERSION_HEX < 0x01060000 
 750 # define PyObject_Del(op) PyMem_DEL((op)) 
 753 # define PyObject_DEL PyObject_Del 
 756 /* A crude PyExc_StopIteration exception for old Pythons */ 
 757 #if PY_VERSION_HEX < 0x02020000 
 758 # ifndef PyExc_StopIteration 
 759 #  define PyExc_StopIteration PyExc_RuntimeError 
 761 # ifndef PyObject_GenericGetAttr 
 762 #  define PyObject_GenericGetAttr 0 
 765 /* Py_NotImplemented is defined in 2.1 and up. */ 
 766 #if PY_VERSION_HEX < 0x02010000 
 767 # ifndef Py_NotImplemented 
 768 #  define Py_NotImplemented PyExc_RuntimeError 
 773 /* A crude PyString_AsStringAndSize implementation for old Pythons */ 
 774 #if PY_VERSION_HEX < 0x02010000 
 775 # ifndef PyString_AsStringAndSize 
 776 #  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} 
 780 /* PySequence_Size for old Pythons */ 
 781 #if PY_VERSION_HEX < 0x02000000 
 782 # ifndef PySequence_Size 
 783 #  define PySequence_Size PySequence_Length 
 788 /* PyBool_FromLong for old Pythons */ 
 789 #if PY_VERSION_HEX < 0x02030000 
 791 PyObject 
*PyBool_FromLong(long ok
) 
 793   PyObject 
*result 
= ok 
? Py_True 
: Py_False
; 
 800 /* ----------------------------------------------------------------------------- 
 802  * ----------------------------------------------------------------------------- */ 
 804 SWIGRUNTIME PyObject
* 
 805 SWIG_Python_ErrorType(int code
) { 
 808   case SWIG_MemoryError
: 
 809     type 
= PyExc_MemoryError
; 
 812     type 
= PyExc_IOError
; 
 814   case SWIG_RuntimeError
: 
 815     type 
= PyExc_RuntimeError
; 
 817   case SWIG_IndexError
: 
 818     type 
= PyExc_IndexError
; 
 821     type 
= PyExc_TypeError
; 
 823   case SWIG_DivisionByZero
: 
 824     type 
= PyExc_ZeroDivisionError
; 
 826   case SWIG_OverflowError
: 
 827     type 
= PyExc_OverflowError
; 
 829   case SWIG_SyntaxError
: 
 830     type 
= PyExc_SyntaxError
; 
 832   case SWIG_ValueError
: 
 833     type 
= PyExc_ValueError
; 
 835   case SWIG_SystemError
: 
 836     type 
= PyExc_SystemError
; 
 838   case SWIG_AttributeError
: 
 839     type 
= PyExc_AttributeError
; 
 842     type 
= PyExc_RuntimeError
; 
 849 SWIG_Python_AddErrorMsg(const char* mesg
) 
 853   PyObject 
*traceback 
= 0; 
 855   if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
); 
 857     PyObject 
*old_str 
= PyObject_Str(value
); 
 860     PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
 864     PyErr_Format(PyExc_RuntimeError
, mesg
); 
 870 #if defined(SWIG_PYTHON_NO_THREADS) 
 871 #  if defined(SWIG_PYTHON_THREADS) 
 872 #    undef SWIG_PYTHON_THREADS 
 875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ 
 876 #  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) 
 877 #    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ 
 878 #      define SWIG_PYTHON_USE_GIL 
 881 #  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ 
 882 #    ifndef SWIG_PYTHON_INITIALIZE_THREADS 
 883 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()  
 885 #    ifdef __cplusplus /* C++ code */ 
 886        class SWIG_Python_Thread_Block 
{ 
 888          PyGILState_STATE state
; 
 890          void end() { if (status
) { PyGILState_Release(state
); status 
= false;} } 
 891          SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} 
 892          ~SWIG_Python_Thread_Block() { end(); } 
 894        class SWIG_Python_Thread_Allow 
{ 
 898          void end() { if (status
) { PyEval_RestoreThread(save
); status 
= false; }} 
 899          SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} 
 900          ~SWIG_Python_Thread_Allow() { end(); } 
 902 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block 
 903 #      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end() 
 904 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow 
 905 #      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end() 
 907 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure() 
 908 #      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block) 
 909 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread() 
 910 #      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow) 
 912 #  else /* Old thread way, not implemented, user must provide it */ 
 913 #    if !defined(SWIG_PYTHON_INITIALIZE_THREADS) 
 914 #      define SWIG_PYTHON_INITIALIZE_THREADS 
 916 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) 
 917 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 919 #    if !defined(SWIG_PYTHON_THREAD_END_BLOCK) 
 920 #      define SWIG_PYTHON_THREAD_END_BLOCK 
 922 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) 
 923 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 925 #    if !defined(SWIG_PYTHON_THREAD_END_ALLOW) 
 926 #      define SWIG_PYTHON_THREAD_END_ALLOW 
 929 #else /* No thread support */ 
 930 #  define SWIG_PYTHON_INITIALIZE_THREADS 
 931 #  define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 932 #  define SWIG_PYTHON_THREAD_END_BLOCK 
 933 #  define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 934 #  define SWIG_PYTHON_THREAD_END_ALLOW 
 937 /* ----------------------------------------------------------------------------- 
 938  * Python API portion that goes into the runtime 
 939  * ----------------------------------------------------------------------------- */ 
 948 /* ----------------------------------------------------------------------------- 
 949  * Constant declarations 
 950  * ----------------------------------------------------------------------------- */ 
 953 #define SWIG_PY_POINTER 4 
 954 #define SWIG_PY_BINARY  5 
 956 /* Constant information structure */ 
 957 typedef struct swig_const_info 
{ 
 963   swig_type_info 
**ptype
; 
 974 /* ----------------------------------------------------------------------------- 
 975  * See the LICENSE file for information on copyright, usage and redistribution 
 976  * of SWIG, and the README file for authors - http://www.swig.org/release.html. 
 980  * This file contains the runtime support for Python modules 
 981  * and includes code for managing global variables and pointer 
 984  * ----------------------------------------------------------------------------- */ 
 986 /* Common SWIG API */ 
 988 #if PY_VERSION_HEX < 0x02050000 
 989 typedef int Py_ssize_t
; 
 992 /* for raw pointers */ 
 993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 
 994 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags) 
 995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 
 996 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags) 
 997 #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty)  
 998 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src) 
 999 #define swig_owntype                                    int 
1001 /* for raw packed data */ 
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1003 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1005 /* for class or struct pointers */ 
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags) 
1007 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags) 
1009 /* for C or C++ function pointers */ 
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 
1011 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0) 
1013 /* for C++ member pointers, ie, member methods */ 
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1015 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1020 #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule() 
1021 #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer) 
1022 #define SWIG_NewClientData(obj)                         PySwigClientData_New(obj) 
1024 #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                             
1025 #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                             
1026 #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                         
1027 #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)  
1028 #define SWIG_fail                                       goto fail                                           
1031 /* Runtime API implementation */ 
1033 /* Error manipulation */ 
1036 SWIG_Python_SetErrorObj(PyObject 
*errtype
, PyObject 
*obj
) { 
1037   SWIG_PYTHON_THREAD_BEGIN_BLOCK
;  
1038   PyErr_SetObject(errtype
, obj
); 
1040   SWIG_PYTHON_THREAD_END_BLOCK
; 
1044 SWIG_Python_SetErrorMsg(PyObject 
*errtype
, const char *msg
) { 
1045   SWIG_PYTHON_THREAD_BEGIN_BLOCK
; 
1046   PyErr_SetString(errtype
, (char *) msg
); 
1047   SWIG_PYTHON_THREAD_END_BLOCK
; 
1050 #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 
1052 /* Set a constant value */ 
1055 SWIG_Python_SetConstant(PyObject 
*d
, const char *name
, PyObject 
*obj
) {    
1056   PyDict_SetItemString(d
, (char*) name
, obj
); 
1060 /* Append a value to the result obj */ 
1062 SWIGINTERN PyObject
* 
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) { 
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 
1067   } else if (result 
== Py_None
) { 
1071     if (!PyList_Check(result
)) { 
1072       PyObject 
*o2 
= result
; 
1073       result 
= PyList_New(1); 
1074       PyList_SetItem(result
, 0, o2
); 
1076     PyList_Append(result
,obj
); 
1085   } else if (result 
== Py_None
) { 
1089     if (!PyTuple_Check(result
)) { 
1091       result 
= PyTuple_New(1); 
1092       PyTuple_SET_ITEM(result
, 0, o2
); 
1094     o3 
= PyTuple_New(1); 
1095     PyTuple_SET_ITEM(o3
, 0, obj
); 
1097     result 
= PySequence_Concat(o2
, o3
); 
1105 /* Unpack the argument tuple */ 
1108 SWIG_Python_UnpackTuple(PyObject 
*args
, const char *name
, int min
, int max
, PyObject 
**objs
) 
1114       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",  
1115                    name
, (min 
== max 
? "" : "at least "), min
); 
1119   if (!PyTuple_Check(args
)) { 
1120     PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple"); 
1123     register int l 
= PyTuple_GET_SIZE(args
); 
1125       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1126                    name
, (min 
== max 
? "" : "at least "), min
, l
); 
1128     } else if (l 
> max
) { 
1129       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1130                    name
, (min 
== max 
? "" : "at most "), max
, l
); 
1134       for (i 
= 0; i 
< l
; ++i
) { 
1135         objs
[i
] = PyTuple_GET_ITEM(args
, i
); 
1137       for (; l 
< max
; ++l
) { 
1145 /* A functor is a function object with one single object argument */ 
1146 #if PY_VERSION_HEX >= 0x02020000 
1147 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL); 
1149 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj); 
1153   Helper for static pointer initialization for both C and C++ code, for example 
1154   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); 
1157 #define SWIG_STATIC_POINTER(var)  var 
1159 #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var 
1162 /* ----------------------------------------------------------------------------- 
1163  * Pointer declarations 
1164  * ----------------------------------------------------------------------------- */ 
1166 /* Flags for new pointer objects */ 
1167 #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1) 
1168 #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 
1170 #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1) 
1179 /*  How to access Py_None */ 
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
1181 #  ifndef SWIG_PYTHON_NO_BUILD_NONE 
1182 #    ifndef SWIG_PYTHON_BUILD_NONE 
1183 #      define SWIG_PYTHON_BUILD_NONE 
1188 #ifdef SWIG_PYTHON_BUILD_NONE 
1191 #   define Py_None SWIG_Py_None() 
1193 SWIGRUNTIMEINLINE PyObject 
*  
1196   PyObject 
*none 
= Py_BuildValue(""); 
1200 SWIGRUNTIME PyObject 
*  
1203   static PyObject 
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None(); 
1208 /* The python void return value */ 
1210 SWIGRUNTIMEINLINE PyObject 
*  
1213   PyObject 
*none 
= Py_None
; 
1218 /* PySwigClientData */ 
1229 SWIGRUNTIMEINLINE 
int  
1230 SWIG_Python_CheckImplicit(swig_type_info 
*ty
) 
1232   PySwigClientData 
*data 
= (PySwigClientData 
*)ty
->clientdata
; 
1233   return data 
? data
->implicitconv 
: 0; 
1236 SWIGRUNTIMEINLINE PyObject 
* 
1237 SWIG_Python_ExceptionType(swig_type_info 
*desc
) { 
1238   PySwigClientData 
*data 
= desc 
? (PySwigClientData 
*) desc
->clientdata 
: 0; 
1239   PyObject 
*klass 
= data 
? data
->klass 
: 0; 
1240   return (klass 
? klass 
: PyExc_RuntimeError
); 
1244 SWIGRUNTIME PySwigClientData 
*  
1245 PySwigClientData_New(PyObject
* obj
) 
1250     PySwigClientData 
*data 
= (PySwigClientData 
*)malloc(sizeof(PySwigClientData
)); 
1251     /* the klass element */ 
1253     Py_INCREF(data
->klass
); 
1254     /* the newraw method and newargs arguments used to create a new raw instance */ 
1255     if (PyClass_Check(obj
)) { 
1257       data
->newargs 
= obj
; 
1260 #if (PY_VERSION_HEX < 0x02020000) 
1263       data
->newraw 
= PyObject_GetAttrString(data
->klass
, (char *)"__new__"); 
1266         Py_INCREF(data
->newraw
); 
1267         data
->newargs 
= PyTuple_New(1); 
1268         PyTuple_SetItem(data
->newargs
, 0, obj
); 
1270         data
->newargs 
= obj
; 
1272       Py_INCREF(data
->newargs
); 
1274     /* the destroy method, aka as the C++ delete method */ 
1275     data
->destroy 
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__"); 
1276     if (PyErr_Occurred()) { 
1280     if (data
->destroy
) { 
1282       Py_INCREF(data
->destroy
); 
1283       flags 
= PyCFunction_GET_FLAGS(data
->destroy
); 
1285       data
->delargs 
= !(flags 
& (METH_O
)); 
1292     data
->implicitconv 
= 0; 
1298 PySwigClientData_Del(PySwigClientData
* data
) 
1300   Py_XDECREF(data
->newraw
); 
1301   Py_XDECREF(data
->newargs
); 
1302   Py_XDECREF(data
->destroy
); 
1305 /* =============== PySwigObject =====================*/ 
1315 SWIGRUNTIME PyObject 
* 
1316 PySwigObject_long(PySwigObject 
*v
) 
1318   return PyLong_FromVoidPtr(v
->ptr
); 
1321 SWIGRUNTIME PyObject 
* 
1322 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
1324   PyObject 
*res 
= NULL
; 
1325   PyObject 
*args 
= PyTuple_New(1); 
1327     if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) { 
1328       PyObject 
*ofmt 
= PyString_FromString(fmt
); 
1330         res 
= PyString_Format(ofmt
,args
); 
1339 SWIGRUNTIME PyObject 
* 
1340 PySwigObject_oct(PySwigObject 
*v
) 
1342   return PySwigObject_format("%o",v
); 
1345 SWIGRUNTIME PyObject 
* 
1346 PySwigObject_hex(PySwigObject 
*v
) 
1348   return PySwigObject_format("%x",v
); 
1351 SWIGRUNTIME PyObject 
* 
1353 PySwigObject_repr(PySwigObject 
*v
) 
1355 PySwigObject_repr(PySwigObject 
*v
, PyObject 
*args
) 
1358   const char *name 
= SWIG_TypePrettyName(v
->ty
); 
1359   PyObject 
*hex 
= PySwigObject_hex(v
);     
1360   PyObject 
*repr 
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
)); 
1364     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
); 
1366     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
, args
); 
1368     PyString_ConcatAndDel(&repr
,nrep
); 
1374 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1377   PyObject 
*repr 
= PySwigObject_repr(v
); 
1379   PyObject 
*repr 
= PySwigObject_repr(v
, NULL
); 
1382     fputs(PyString_AsString(repr
), fp
); 
1390 SWIGRUNTIME PyObject 
* 
1391 PySwigObject_str(PySwigObject 
*v
) 
1393   char result
[SWIG_BUFFER_SIZE
]; 
1394   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ? 
1395     PyString_FromString(result
) : 0; 
1399 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
1403   return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void); 
1408 SWIGRUNTIME PyTypeObject
* 
1409 PySwigObject_type(void) { 
1410   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type(); 
1414 SWIGRUNTIMEINLINE 
int 
1415 PySwigObject_Check(PyObject 
*op
) { 
1416   return ((op
)->ob_type 
== PySwigObject_type()) 
1417     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
1420 SWIGRUNTIME PyObject 
* 
1421 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
); 
1424 PySwigObject_dealloc(PyObject 
*v
) 
1426   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1427   PyObject 
*next 
= sobj
->next
; 
1429     swig_type_info 
*ty 
= sobj
->ty
; 
1430     PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
1431     PyObject 
*destroy 
= data 
? data
->destroy 
: 0; 
1433       /* destroy is always a VARARGS method */ 
1435       if (data
->delargs
) { 
1436         /* we need to create a temporal object to carry the destroy operation */ 
1437         PyObject 
*tmp 
= PySwigObject_New(sobj
->ptr
, ty
, 0); 
1438         res 
= SWIG_Python_CallFunctor(destroy
, tmp
); 
1441         PyCFunction meth 
= PyCFunction_GET_FUNCTION(destroy
); 
1442         PyObject 
*mself 
= PyCFunction_GET_SELF(destroy
); 
1443         res 
= ((*meth
)(mself
, v
)); 
1447       const char *name 
= SWIG_TypePrettyName(ty
); 
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 
1449       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
); 
1457 SWIGRUNTIME PyObject
*  
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
) 
1460   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1463   if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
; 
1466   if (!PySwigObject_Check(next
)) { 
1471   return SWIG_Py_Void(); 
1474 SWIGRUNTIME PyObject
*  
1476 PySwigObject_next(PyObject
* v
) 
1478 PySwigObject_next(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1481   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1483     Py_INCREF(sobj
->next
); 
1486     return SWIG_Py_Void(); 
1490 SWIGINTERN PyObject
* 
1492 PySwigObject_disown(PyObject 
*v
) 
1494 PySwigObject_disown(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1497   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1499   return SWIG_Py_Void(); 
1502 SWIGINTERN PyObject
* 
1504 PySwigObject_acquire(PyObject 
*v
) 
1506 PySwigObject_acquire(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1509   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1510   sobj
->own 
= SWIG_POINTER_OWN
; 
1511   return SWIG_Py_Void(); 
1514 SWIGINTERN PyObject
* 
1515 PySwigObject_own(PyObject 
*v
, PyObject 
*args
) 
1518 #if (PY_VERSION_HEX < 0x02020000) 
1519   if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
)) 
1521   if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))  
1528       PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1529       PyObject 
*obj 
= PyBool_FromLong(sobj
->own
); 
1532         if (PyObject_IsTrue(val
)) { 
1533           PySwigObject_acquire(v
); 
1535           PySwigObject_disown(v
); 
1538         if (PyObject_IsTrue(val
)) { 
1539           PySwigObject_acquire(v
,args
); 
1541           PySwigObject_disown(v
,args
); 
1551 swigobject_methods
[] = { 
1552   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_NOARGS
,  (char *)"releases ownership of the pointer"}, 
1553   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
,  (char *)"aquires ownership of the pointer"}, 
1554   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
, (char *)"returns/sets ownership of the pointer"}, 
1555   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_O
,       (char *)"appends another 'this' object"}, 
1556   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_NOARGS
,  (char *)"returns the next 'this' object"}, 
1557   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,    METH_NOARGS
,  (char *)"returns object representation"}, 
1562 swigobject_methods
[] = { 
1563   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_VARARGS
,  (char *)"releases ownership of the pointer"}, 
1564   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
,  (char *)"aquires ownership of the pointer"}, 
1565   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
,  (char *)"returns/sets ownership of the pointer"}, 
1566   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_VARARGS
,  (char *)"appends another 'this' object"}, 
1567   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_VARARGS
,  (char *)"returns the next 'this' object"}, 
1568   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,   METH_VARARGS
,  (char *)"returns object representation"}, 
1573 #if PY_VERSION_HEX < 0x02020000 
1574 SWIGINTERN PyObject 
* 
1575 PySwigObject_getattr(PySwigObject 
*sobj
,char *name
) 
1577   return Py_FindMethod(swigobject_methods
, (PyObject 
*)sobj
, name
); 
1581 SWIGRUNTIME PyTypeObject
* 
1582 _PySwigObject_type(void) { 
1583   static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1585   static PyNumberMethods PySwigObject_as_number 
= { 
1586     (binaryfunc
)0, /*nb_add*/ 
1587     (binaryfunc
)0, /*nb_subtract*/ 
1588     (binaryfunc
)0, /*nb_multiply*/ 
1589     (binaryfunc
)0, /*nb_divide*/ 
1590     (binaryfunc
)0, /*nb_remainder*/ 
1591     (binaryfunc
)0, /*nb_divmod*/ 
1592     (ternaryfunc
)0,/*nb_power*/ 
1593     (unaryfunc
)0,  /*nb_negative*/ 
1594     (unaryfunc
)0,  /*nb_positive*/ 
1595     (unaryfunc
)0,  /*nb_absolute*/ 
1596     (inquiry
)0,    /*nb_nonzero*/ 
1603     (coercion
)0,   /*nb_coerce*/ 
1604     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
1605     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
1606     (unaryfunc
)0,                 /*nb_float*/ 
1607     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
1608     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
1609 #if PY_VERSION_HEX >= 0x02020000 
1610     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
1611 #elif PY_VERSION_HEX >= 0x02000000 
1612     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
1616   static PyTypeObject pyswigobject_type
;   
1617   static int type_init 
= 0; 
1619     const PyTypeObject tmp
 
1621         PyObject_HEAD_INIT(NULL
) 
1623         (char *)"PySwigObject",             /* tp_name */ 
1624         sizeof(PySwigObject
),               /* tp_basicsize */ 
1625         0,                                  /* tp_itemsize */ 
1626         (destructor
)PySwigObject_dealloc
,   /* tp_dealloc */ 
1627         (printfunc
)PySwigObject_print
,      /* tp_print */ 
1628 #if PY_VERSION_HEX < 0x02020000 
1629         (getattrfunc
)PySwigObject_getattr
,  /* tp_getattr */  
1631         (getattrfunc
)0,                     /* tp_getattr */  
1633         (setattrfunc
)0,                     /* tp_setattr */  
1634         (cmpfunc
)PySwigObject_compare
,      /* tp_compare */  
1635         (reprfunc
)PySwigObject_repr
,        /* tp_repr */     
1636         &PySwigObject_as_number
,            /* tp_as_number */ 
1637         0,                                  /* tp_as_sequence */ 
1638         0,                                  /* tp_as_mapping */ 
1639         (hashfunc
)0,                        /* tp_hash */ 
1640         (ternaryfunc
)0,                     /* tp_call */ 
1641         (reprfunc
)PySwigObject_str
,         /* tp_str */ 
1642         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1643         0,                                  /* tp_setattro */ 
1644         0,                                  /* tp_as_buffer */ 
1645         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1646         swigobject_doc
,                     /* tp_doc */         
1647         0,                                  /* tp_traverse */ 
1649         0,                                  /* tp_richcompare */ 
1650         0,                                  /* tp_weaklistoffset */ 
1651 #if PY_VERSION_HEX >= 0x02020000 
1653         0,                                  /* tp_iternext */ 
1654         swigobject_methods
,                 /* tp_methods */  
1659         0,                                  /* tp_descr_get */           
1660         0,                                  /* tp_descr_set */           
1661         0,                                  /* tp_dictoffset */          
1670         0,                                  /* tp_subclasses */ 
1671         0,                                  /* tp_weaklist */ 
1673 #if PY_VERSION_HEX >= 0x02030000 
1677         0,0,0,0                             /* tp_alloc -> tp_next */ 
1680     pyswigobject_type 
= tmp
; 
1681     pyswigobject_type
.ob_type 
= &PyType_Type
; 
1684   return &pyswigobject_type
; 
1687 SWIGRUNTIME PyObject 
* 
1688 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
) 
1690   PySwigObject 
*sobj 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
1697   return (PyObject 
*)sobj
; 
1700 /* ----------------------------------------------------------------------------- 
1701  * Implements a simple Swig Packed type, and use it instead of string 
1702  * ----------------------------------------------------------------------------- */ 
1712 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1714   char result
[SWIG_BUFFER_SIZE
]; 
1715   fputs("<Swig Packed ", fp
);  
1716   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1720   fputs(v
->ty
->name
,fp
);  
1725 SWIGRUNTIME PyObject 
* 
1726 PySwigPacked_repr(PySwigPacked 
*v
) 
1728   char result
[SWIG_BUFFER_SIZE
]; 
1729   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1730     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
); 
1732     return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
); 
1736 SWIGRUNTIME PyObject 
* 
1737 PySwigPacked_str(PySwigPacked 
*v
) 
1739   char result
[SWIG_BUFFER_SIZE
]; 
1740   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
1741     return PyString_FromFormat("%s%s", result
, v
->ty
->name
); 
1743     return PyString_FromString(v
->ty
->name
); 
1748 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
1752   int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1753   return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void); 
1758 SWIGRUNTIME PyTypeObject
* 
1759 PySwigPacked_type(void) { 
1760   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type(); 
1764 SWIGRUNTIMEINLINE 
int 
1765 PySwigPacked_Check(PyObject 
*op
) { 
1766   return ((op
)->ob_type 
== _PySwigPacked_type())  
1767     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1771 PySwigPacked_dealloc(PyObject 
*v
) 
1773   if (PySwigPacked_Check(v
)) { 
1774     PySwigPacked 
*sobj 
= (PySwigPacked 
*) v
; 
1780 SWIGRUNTIME PyTypeObject
* 
1781 _PySwigPacked_type(void) { 
1782   static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1783   static PyTypeObject pyswigpacked_type
; 
1784   static int type_init 
= 0;   
1786     const PyTypeObject tmp
 
1788         PyObject_HEAD_INIT(NULL
) 
1790         (char *)"PySwigPacked",             /* tp_name */        
1791         sizeof(PySwigPacked
),               /* tp_basicsize */   
1792         0,                                  /* tp_itemsize */    
1793         (destructor
)PySwigPacked_dealloc
,   /* tp_dealloc */     
1794         (printfunc
)PySwigPacked_print
,      /* tp_print */       
1795         (getattrfunc
)0,                     /* tp_getattr */     
1796         (setattrfunc
)0,                     /* tp_setattr */     
1797         (cmpfunc
)PySwigPacked_compare
,      /* tp_compare */     
1798         (reprfunc
)PySwigPacked_repr
,        /* tp_repr */        
1799         0,                                  /* tp_as_number */   
1800         0,                                  /* tp_as_sequence */ 
1801         0,                                  /* tp_as_mapping */  
1802         (hashfunc
)0,                        /* tp_hash */        
1803         (ternaryfunc
)0,                     /* tp_call */        
1804         (reprfunc
)PySwigPacked_str
,         /* tp_str */         
1805         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1806         0,                                  /* tp_setattro */ 
1807         0,                                  /* tp_as_buffer */ 
1808         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1809         swigpacked_doc
,                     /* tp_doc */ 
1810         0,                                  /* tp_traverse */ 
1812         0,                                  /* tp_richcompare */ 
1813         0,                                  /* tp_weaklistoffset */ 
1814 #if PY_VERSION_HEX >= 0x02020000 
1816         0,                                  /* tp_iternext */ 
1822         0,                                  /* tp_descr_get */           
1823         0,                                  /* tp_descr_set */           
1824         0,                                  /* tp_dictoffset */          
1833         0,                                  /* tp_subclasses */ 
1834         0,                                  /* tp_weaklist */ 
1836 #if PY_VERSION_HEX >= 0x02030000 
1840         0,0,0,0                             /* tp_alloc -> tp_next */ 
1843     pyswigpacked_type 
= tmp
; 
1844     pyswigpacked_type
.ob_type 
= &PyType_Type
; 
1847   return &pyswigpacked_type
; 
1850 SWIGRUNTIME PyObject 
* 
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info 
*ty
) 
1853   PySwigPacked 
*sobj 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1855     void *pack 
= malloc(size
); 
1857       memcpy(pack
, ptr
, size
); 
1862       PyObject_DEL((PyObject 
*) sobj
); 
1866   return (PyObject 
*) sobj
; 
1869 SWIGRUNTIME swig_type_info 
* 
1870 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1872   if (PySwigPacked_Check(obj
)) { 
1873     PySwigPacked 
*sobj 
= (PySwigPacked 
*)obj
; 
1874     if (sobj
->size 
!= size
) return 0; 
1875     memcpy(ptr
, sobj
->pack
, size
); 
1882 /* ----------------------------------------------------------------------------- 
1883  * pointers/data manipulation 
1884  * ----------------------------------------------------------------------------- */ 
1886 SWIGRUNTIMEINLINE PyObject 
* 
1889   return PyString_FromString("this"); 
1892 SWIGRUNTIME PyObject 
* 
1895   static PyObject 
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This(); 
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ 
1901 SWIGRUNTIME PySwigObject 
* 
1902 SWIG_Python_GetSwigThis(PyObject 
*pyobj
)  
1904   if (PySwigObject_Check(pyobj
)) { 
1905     return (PySwigObject 
*) pyobj
; 
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 
1909     if (PyInstance_Check(pyobj
)) { 
1910       obj 
= _PyInstance_Lookup(pyobj
, SWIG_This());       
1912       PyObject 
**dictptr 
= _PyObject_GetDictPtr(pyobj
); 
1913       if (dictptr 
!= NULL
) { 
1914         PyObject 
*dict 
= *dictptr
; 
1915         obj 
= dict 
? PyDict_GetItem(dict
, SWIG_This()) : 0; 
1917 #ifdef PyWeakref_CheckProxy 
1918         if (PyWeakref_CheckProxy(pyobj
)) { 
1919           PyObject 
*wobj 
= PyWeakref_GET_OBJECT(pyobj
); 
1920           return wobj 
? SWIG_Python_GetSwigThis(wobj
) : 0; 
1923         obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1927           if (PyErr_Occurred()) PyErr_Clear(); 
1933     obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1937       if (PyErr_Occurred()) PyErr_Clear(); 
1941     if (obj 
&& !PySwigObject_Check(obj
)) { 
1942       /* a PyObject is called 'this', try to get the 'real this' 
1943          PySwigObject from it */  
1944       return SWIG_Python_GetSwigThis(obj
); 
1946     return (PySwigObject 
*)obj
; 
1950 /* Acquire a pointer value */ 
1953 SWIG_Python_AcquirePtr(PyObject 
*obj
, int own
) { 
1955     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1957       int oldown 
= sobj
->own
; 
1965 /* Convert a pointer value */ 
1968 SWIG_Python_ConvertPtrAndOwn(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
, int *own
) { 
1969   if (!obj
) return SWIG_ERROR
; 
1970   if (obj 
== Py_None
) { 
1974     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1976       void *vptr 
= sobj
->ptr
; 
1978         swig_type_info 
*to 
= sobj
->ty
; 
1980           /* no type cast needed */ 
1981           if (ptr
) *ptr 
= vptr
; 
1984           swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
1986             sobj 
= (PySwigObject 
*)sobj
->next
; 
1988             if (ptr
) *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1993         if (ptr
) *ptr 
= vptr
; 
1998       if (own
) *own 
= sobj
->own
; 
1999       if (flags 
& SWIG_POINTER_DISOWN
) { 
2004       int res 
= SWIG_ERROR
; 
2005       if (flags 
& SWIG_POINTER_IMPLICIT_CONV
) { 
2006         PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
2007         if (data 
&& !data
->implicitconv
) { 
2008           PyObject 
*klass 
= data
->klass
; 
2011             data
->implicitconv 
= 1; /* avoid recursion and call 'explicit' constructors*/ 
2012             impconv 
= SWIG_Python_CallFunctor(klass
, obj
); 
2013             data
->implicitconv 
= 0; 
2014             if (PyErr_Occurred()) { 
2019               PySwigObject 
*iobj 
= SWIG_Python_GetSwigThis(impconv
); 
2022                 res 
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0); 
2023                 if (SWIG_IsOK(res
)) { 
2026                     /* transfer the ownership to 'ptr' */ 
2028                     res 
= SWIG_AddCast(res
); 
2029                     res 
= SWIG_AddNewMask(res
); 
2031                     res 
= SWIG_AddCast(res
);                 
2045 /* Convert a function ptr value */ 
2048 SWIG_Python_ConvertFunctionPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
) { 
2049   if (!PyCFunction_Check(obj
)) { 
2050     return SWIG_ConvertPtr(obj
, ptr
, ty
, 0); 
2054     /* here we get the method pointer for callbacks */ 
2055     const char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
2056     const char *desc 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
2058       desc 
= ty 
? SWIG_UnpackVoidPtr(desc 
+ 10, &vptr
, ty
->name
) : 0; 
2059       if (!desc
) return SWIG_ERROR
; 
2062       swig_cast_info 
*tc 
= SWIG_TypeCheck(desc
,ty
); 
2063       if (!tc
) return SWIG_ERROR
; 
2064       *ptr 
= SWIG_TypeCast(tc
,vptr
); 
2072 /* Convert a packed value value */ 
2075 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
) { 
2076   swig_type_info 
*to 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
2077   if (!to
) return SWIG_ERROR
; 
2080       /* check type cast? */ 
2081       swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
2082       if (!tc
) return SWIG_ERROR
; 
2088 /* ----------------------------------------------------------------------------- 
2089  * Create a new pointer object 
2090  * ----------------------------------------------------------------------------- */ 
2093   Create a new instance object, whitout calling __init__, and set the 
2097 SWIGRUNTIME PyObject
*  
2098 SWIG_Python_NewShadowInstance(PySwigClientData 
*data
, PyObject 
*swig_this
) 
2100 #if (PY_VERSION_HEX >= 0x02020000) 
2102   PyObject 
*newraw 
= data
->newraw
; 
2104     inst 
= PyObject_Call(newraw
, data
->newargs
, NULL
); 
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2107       PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2108       if (dictptr 
!= NULL
) { 
2109         PyObject 
*dict 
= *dictptr
; 
2111           dict 
= PyDict_New(); 
2113           PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2117       PyObject 
*key 
= SWIG_This(); 
2118       PyObject_SetAttr(inst
, key
, swig_this
); 
2122     PyObject 
*dict 
= PyDict_New(); 
2123     PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2124     inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2129 #if (PY_VERSION_HEX >= 0x02010000) 
2131   PyObject 
*dict 
= PyDict_New(); 
2132   PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2133   inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2135   return (PyObject 
*) inst
; 
2137   PyInstanceObject 
*inst 
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
); 
2141   inst
->in_class 
= (PyClassObject 
*)data
->newargs
; 
2142   Py_INCREF(inst
->in_class
); 
2143   inst
->in_dict 
= PyDict_New(); 
2144   if (inst
->in_dict 
== NULL
) { 
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 
2149   inst
->in_weakreflist 
= NULL
; 
2151 #ifdef Py_TPFLAGS_GC 
2152   PyObject_GC_Init(inst
); 
2154   PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
); 
2155   return (PyObject 
*) inst
; 
2161 SWIG_Python_SetSwigThis(PyObject 
*inst
, PyObject 
*swig_this
) 
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2165  PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2166  if (dictptr 
!= NULL
) { 
2169      dict 
= PyDict_New(); 
2172    PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2176  dict 
= PyObject_GetAttrString(inst
, "__dict__"); 
2177  PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2182 SWIGINTERN PyObject 
* 
2183 SWIG_Python_InitShadowInstance(PyObject 
*args
) { 
2185   if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) { 
2188     PySwigObject 
*sthis 
= SWIG_Python_GetSwigThis(obj
[0]); 
2190       PySwigObject_append((PyObject
*) sthis
, obj
[1]); 
2192       SWIG_Python_SetSwigThis(obj
[0], obj
[1]); 
2194     return SWIG_Py_Void(); 
2198 /* Create a new pointer object */ 
2200 SWIGRUNTIME PyObject 
* 
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int flags
) { 
2203     return SWIG_Py_Void(); 
2205     int own 
= (flags 
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN 
: 0; 
2206     PyObject 
*robj 
= PySwigObject_New(ptr
, type
, own
); 
2207     PySwigClientData 
*clientdata 
= type 
? (PySwigClientData 
*)(type
->clientdata
) : 0; 
2208     if (clientdata 
&& !(flags 
& SWIG_POINTER_NOSHADOW
)) { 
2209       PyObject 
*inst 
= SWIG_Python_NewShadowInstance(clientdata
, robj
); 
2219 /* Create a new packed object */ 
2221 SWIGRUNTIMEINLINE PyObject 
* 
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
2223   return ptr 
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void(); 
2226 /* -----------------------------------------------------------------------------* 
2228  * -----------------------------------------------------------------------------*/ 
2230 #ifdef SWIG_LINK_RUNTIME 
2231 void *SWIG_ReturnGlobalTypeList(void *); 
2234 SWIGRUNTIME swig_module_info 
* 
2235 SWIG_Python_GetModule(void) { 
2236   static void *type_pointer 
= (void *)0; 
2237   /* first check if module already created */ 
2238   if (!type_pointer
) { 
2239 #ifdef SWIG_LINK_RUNTIME 
2240     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
2242     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2243                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
2244     if (PyErr_Occurred()) { 
2246       type_pointer 
= (void *)0; 
2250   return (swig_module_info 
*) type_pointer
; 
2253 #if PY_MAJOR_VERSION < 2 
2254 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
2255    is copied out of Python/modsupport.c in python version 2.3.4 */ 
2257 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
2260   if (!PyModule_Check(m
)) { 
2261     PyErr_SetString(PyExc_TypeError
, 
2262                     "PyModule_AddObject() needs module as first arg"); 
2266     PyErr_SetString(PyExc_TypeError
, 
2267                     "PyModule_AddObject() needs non-NULL value"); 
2271   dict 
= PyModule_GetDict(m
); 
2273     /* Internal error -- modules must have a dict! */ 
2274     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
2275                  PyModule_GetName(m
)); 
2278   if (PyDict_SetItemString(dict
, name
, o
)) 
2286 SWIG_Python_DestroyModule(void *vptr
) 
2288   swig_module_info 
*swig_module 
= (swig_module_info 
*) vptr
; 
2289   swig_type_info 
**types 
= swig_module
->types
; 
2291   for (i 
=0; i 
< swig_module
->size
; ++i
) { 
2292     swig_type_info 
*ty 
= types
[i
]; 
2294       PySwigClientData 
*data 
= (PySwigClientData 
*) ty
->clientdata
; 
2295       if (data
) PySwigClientData_Del(data
); 
2298   Py_DECREF(SWIG_This()); 
2302 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
2303   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
2305   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2306                                    swig_empty_runtime_method_table
); 
2307   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
); 
2308   if (pointer 
&& module) { 
2309     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
2311     Py_XDECREF(pointer
); 
2315 /* The python cached type query */ 
2316 SWIGRUNTIME PyObject 
* 
2317 SWIG_Python_TypeCache() { 
2318   static PyObject 
*SWIG_STATIC_POINTER(cache
) = PyDict_New(); 
2322 SWIGRUNTIME swig_type_info 
* 
2323 SWIG_Python_TypeQuery(const char *type
) 
2325   PyObject 
*cache 
= SWIG_Python_TypeCache(); 
2326   PyObject 
*key 
= PyString_FromString(type
);  
2327   PyObject 
*obj 
= PyDict_GetItem(cache
, key
); 
2328   swig_type_info 
*descriptor
; 
2330     descriptor 
= (swig_type_info 
*) PyCObject_AsVoidPtr(obj
); 
2332     swig_module_info 
*swig_module 
= SWIG_Python_GetModule(); 
2333     descriptor 
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
); 
2335       obj 
= PyCObject_FromVoidPtr(descriptor
, NULL
); 
2336       PyDict_SetItem(cache
, key
, obj
); 
2345    For backward compatibility only 
2347 #define SWIG_POINTER_EXCEPTION  0 
2348 #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg) 
2349 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
2354   if (PyErr_Occurred()) { 
2356     PyObject 
*value 
= 0; 
2357     PyObject 
*traceback 
= 0; 
2358     PyErr_Fetch(&type
, &value
, &traceback
); 
2360       PyObject 
*old_str 
= PyObject_Str(value
); 
2364         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
2366         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
2377 SWIG_Python_ArgFail(int argnum
) 
2379   if (PyErr_Occurred()) { 
2380     /* add information about failing argument */ 
2382     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
2383     return SWIG_Python_AddErrMesg(mesg
, 1); 
2389 SWIGRUNTIMEINLINE 
const char * 
2390 PySwigObject_GetDesc(PyObject 
*self
) 
2392   PySwigObject 
*v 
= (PySwigObject 
*)self
; 
2393   swig_type_info 
*ty 
= v 
? v
->ty 
: 0; 
2394   return ty 
? ty
->str 
: (char*)""; 
2398 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
2401 #if defined(SWIG_COBJECT_TYPES) 
2402     if (obj 
&& PySwigObject_Check(obj
)) { 
2403       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
2405         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
2412       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
2414         PyObject 
*str 
= PyObject_Str(obj
); 
2415         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
2417           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
2420           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
2427     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
2429     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
2434 /* Convert a pointer value, signal an exception on a type mismatch */ 
2436 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
2438   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
2440     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
2441       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
2442       SWIG_Python_ArgFail(argnum
); 
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)  
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else  
2464 /* -------- TYPES TABLE (BEGIN) -------- */ 
2466 #define SWIGTYPE_p_char swig_types[0] 
2467 #define SWIGTYPE_p_form_ops_t swig_types[1] 
2468 #define SWIGTYPE_p_int swig_types[2] 
2469 #define SWIGTYPE_p_long swig_types[3] 
2470 #define SWIGTYPE_p_unsigned_char swig_types[4] 
2471 #define SWIGTYPE_p_unsigned_int swig_types[5] 
2472 #define SWIGTYPE_p_unsigned_long swig_types[6] 
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7] 
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] 
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9] 
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10] 
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11] 
2478 #define SWIGTYPE_p_wxBitmap swig_types[12] 
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13] 
2480 #define SWIGTYPE_p_wxBrush swig_types[14] 
2481 #define SWIGTYPE_p_wxBufferedDC swig_types[15] 
2482 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16] 
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17] 
2484 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[18] 
2485 #define SWIGTYPE_p_wxChar swig_types[19] 
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20] 
2487 #define SWIGTYPE_p_wxClientDC swig_types[21] 
2488 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[22] 
2489 #define SWIGTYPE_p_wxCloseEvent swig_types[23] 
2490 #define SWIGTYPE_p_wxColour swig_types[24] 
2491 #define SWIGTYPE_p_wxColourData swig_types[25] 
2492 #define SWIGTYPE_p_wxColourDialog swig_types[26] 
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[27] 
2494 #define SWIGTYPE_p_wxContextMenuEvent swig_types[28] 
2495 #define SWIGTYPE_p_wxControl swig_types[29] 
2496 #define SWIGTYPE_p_wxControlWithItems swig_types[30] 
2497 #define SWIGTYPE_p_wxCursor swig_types[31] 
2498 #define SWIGTYPE_p_wxDC swig_types[32] 
2499 #define SWIGTYPE_p_wxDateEvent swig_types[33] 
2500 #define SWIGTYPE_p_wxDialog swig_types[34] 
2501 #define SWIGTYPE_p_wxDirDialog swig_types[35] 
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36] 
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37] 
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38] 
2505 #define SWIGTYPE_p_wxEffects swig_types[39] 
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40] 
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41] 
2508 #define SWIGTYPE_p_wxEvent swig_types[42] 
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43] 
2510 #define SWIGTYPE_p_wxFSFile swig_types[44] 
2511 #define SWIGTYPE_p_wxFileDialog swig_types[45] 
2512 #define SWIGTYPE_p_wxFileSystem swig_types[46] 
2513 #define SWIGTYPE_p_wxFindDialogEvent swig_types[47] 
2514 #define SWIGTYPE_p_wxFindReplaceData swig_types[48] 
2515 #define SWIGTYPE_p_wxFindReplaceDialog 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_wxFontData swig_types[53] 
2520 #define SWIGTYPE_p_wxFontDialog swig_types[54] 
2521 #define SWIGTYPE_p_wxFrame swig_types[55] 
2522 #define SWIGTYPE_p_wxGBSizerItem swig_types[56] 
2523 #define SWIGTYPE_p_wxGDIObject swig_types[57] 
2524 #define SWIGTYPE_p_wxGIFHandler swig_types[58] 
2525 #define SWIGTYPE_p_wxGridBagSizer swig_types[59] 
2526 #define SWIGTYPE_p_wxGridSizer swig_types[60] 
2527 #define SWIGTYPE_p_wxICOHandler swig_types[61] 
2528 #define SWIGTYPE_p_wxIcon swig_types[62] 
2529 #define SWIGTYPE_p_wxIconizeEvent swig_types[63] 
2530 #define SWIGTYPE_p_wxIdleEvent swig_types[64] 
2531 #define SWIGTYPE_p_wxImage swig_types[65] 
2532 #define SWIGTYPE_p_wxImageHandler swig_types[66] 
2533 #define SWIGTYPE_p_wxImageList swig_types[67] 
2534 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[68] 
2535 #define SWIGTYPE_p_wxInitDialogEvent swig_types[69] 
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[70] 
2537 #define SWIGTYPE_p_wxKeyEvent swig_types[71] 
2538 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[72] 
2539 #define SWIGTYPE_p_wxLayoutConstraints swig_types[73] 
2540 #define SWIGTYPE_p_wxMDIChildFrame swig_types[74] 
2541 #define SWIGTYPE_p_wxMDIClientWindow swig_types[75] 
2542 #define SWIGTYPE_p_wxMDIParentFrame swig_types[76] 
2543 #define SWIGTYPE_p_wxMask swig_types[77] 
2544 #define SWIGTYPE_p_wxMaximizeEvent swig_types[78] 
2545 #define SWIGTYPE_p_wxMemoryDC swig_types[79] 
2546 #define SWIGTYPE_p_wxMenu swig_types[80] 
2547 #define SWIGTYPE_p_wxMenuBar swig_types[81] 
2548 #define SWIGTYPE_p_wxMenuEvent swig_types[82] 
2549 #define SWIGTYPE_p_wxMenuItem swig_types[83] 
2550 #define SWIGTYPE_p_wxMessageDialog swig_types[84] 
2551 #define SWIGTYPE_p_wxMetaFile swig_types[85] 
2552 #define SWIGTYPE_p_wxMetaFileDC swig_types[86] 
2553 #define SWIGTYPE_p_wxMiniFrame swig_types[87] 
2554 #define SWIGTYPE_p_wxMirrorDC swig_types[88] 
2555 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89] 
2556 #define SWIGTYPE_p_wxMouseEvent swig_types[90] 
2557 #define SWIGTYPE_p_wxMoveEvent swig_types[91] 
2558 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[92] 
2559 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93] 
2560 #define SWIGTYPE_p_wxNcPaintEvent swig_types[94] 
2561 #define SWIGTYPE_p_wxNotifyEvent swig_types[95] 
2562 #define SWIGTYPE_p_wxObject swig_types[96] 
2563 #define SWIGTYPE_p_wxPCXHandler swig_types[97] 
2564 #define SWIGTYPE_p_wxPNGHandler swig_types[98] 
2565 #define SWIGTYPE_p_wxPNMHandler swig_types[99] 
2566 #define SWIGTYPE_p_wxPageSetupDialog swig_types[100] 
2567 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[101] 
2568 #define SWIGTYPE_p_wxPaintDC swig_types[102] 
2569 #define SWIGTYPE_p_wxPaintEvent swig_types[103] 
2570 #define SWIGTYPE_p_wxPalette swig_types[104] 
2571 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[105] 
2572 #define SWIGTYPE_p_wxPanel swig_types[106] 
2573 #define SWIGTYPE_p_wxPaperSize swig_types[107] 
2574 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[108] 
2575 #define SWIGTYPE_p_wxPen swig_types[109] 
2576 #define SWIGTYPE_p_wxPopupWindow swig_types[110] 
2577 #define SWIGTYPE_p_wxPostScriptDC swig_types[111] 
2578 #define SWIGTYPE_p_wxPreviewCanvas swig_types[112] 
2579 #define SWIGTYPE_p_wxPreviewControlBar swig_types[113] 
2580 #define SWIGTYPE_p_wxPreviewFrame swig_types[114] 
2581 #define SWIGTYPE_p_wxPrintData swig_types[115] 
2582 #define SWIGTYPE_p_wxPrintDialog swig_types[116] 
2583 #define SWIGTYPE_p_wxPrintDialogData swig_types[117] 
2584 #define SWIGTYPE_p_wxPrintPreview swig_types[118] 
2585 #define SWIGTYPE_p_wxPrinter swig_types[119] 
2586 #define SWIGTYPE_p_wxPrinterDC swig_types[120] 
2587 #define SWIGTYPE_p_wxProgressDialog swig_types[121] 
2588 #define SWIGTYPE_p_wxPyApp swig_types[122] 
2589 #define SWIGTYPE_p_wxPyCommandEvent swig_types[123] 
2590 #define SWIGTYPE_p_wxPyEvent swig_types[124] 
2591 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[125] 
2592 #define SWIGTYPE_p_wxPyImageHandler swig_types[126] 
2593 #define SWIGTYPE_p_wxPyPanel swig_types[127] 
2594 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[128] 
2595 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[129] 
2596 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[130] 
2597 #define SWIGTYPE_p_wxPyPrintPreview swig_types[131] 
2598 #define SWIGTYPE_p_wxPyPrintout swig_types[132] 
2599 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[133] 
2600 #define SWIGTYPE_p_wxPySizer swig_types[134] 
2601 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[135] 
2602 #define SWIGTYPE_p_wxPyVListBox swig_types[136] 
2603 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[137] 
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138] 
2605 #define SWIGTYPE_p_wxPyWindow swig_types[139] 
2606 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[140] 
2607 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[141] 
2608 #define SWIGTYPE_p_wxRegion swig_types[142] 
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143] 
2610 #define SWIGTYPE_p_wxRichTextAttr swig_types[144] 
2611 #define SWIGTYPE_p_wxRichTextBuffer swig_types[145] 
2612 #define SWIGTYPE_p_wxRichTextCtrl swig_types[146] 
2613 #define SWIGTYPE_p_wxRichTextEvent swig_types[147] 
2614 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[148] 
2615 #define SWIGTYPE_p_wxRichTextRange swig_types[149] 
2616 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[150] 
2617 #define SWIGTYPE_p_wxSashEvent swig_types[151] 
2618 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[152] 
2619 #define SWIGTYPE_p_wxSashWindow swig_types[153] 
2620 #define SWIGTYPE_p_wxScreenDC swig_types[154] 
2621 #define SWIGTYPE_p_wxScrollEvent swig_types[155] 
2622 #define SWIGTYPE_p_wxScrollWinEvent swig_types[156] 
2623 #define SWIGTYPE_p_wxScrolledWindow swig_types[157] 
2624 #define SWIGTYPE_p_wxSetCursorEvent swig_types[158] 
2625 #define SWIGTYPE_p_wxShowEvent swig_types[159] 
2626 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160] 
2627 #define SWIGTYPE_p_wxSizeEvent swig_types[161] 
2628 #define SWIGTYPE_p_wxSizer swig_types[162] 
2629 #define SWIGTYPE_p_wxSizerItem swig_types[163] 
2630 #define SWIGTYPE_p_wxSplashScreen swig_types[164] 
2631 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[165] 
2632 #define SWIGTYPE_p_wxSplitterEvent swig_types[166] 
2633 #define SWIGTYPE_p_wxSplitterWindow swig_types[167] 
2634 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[168] 
2635 #define SWIGTYPE_p_wxStatusBar swig_types[169] 
2636 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[170] 
2637 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[171] 
2638 #define SWIGTYPE_p_wxTIFFHandler swig_types[172] 
2639 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[173] 
2640 #define SWIGTYPE_p_wxTextCoord swig_types[174] 
2641 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[175] 
2642 #define SWIGTYPE_p_wxTextEntryDialog swig_types[176] 
2643 #define SWIGTYPE_p_wxTipWindow swig_types[177] 
2644 #define SWIGTYPE_p_wxTopLevelWindow swig_types[178] 
2645 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[179] 
2646 #define SWIGTYPE_p_wxValidator swig_types[180] 
2647 #define SWIGTYPE_p_wxWindow swig_types[181] 
2648 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[182] 
2649 #define SWIGTYPE_p_wxWindowDC swig_types[183] 
2650 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184] 
2651 #define SWIGTYPE_p_wxXPMHandler swig_types[185] 
2652 static swig_type_info 
*swig_types
[187]; 
2653 static swig_module_info swig_module 
= {swig_types
, 186, 0, 0, 0, 0}; 
2654 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2655 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2657 /* -------- TYPES TABLE (END) -------- */ 
2659 #if (PY_VERSION_HEX <= 0x02000000) 
2660 # if !defined(SWIG_PYTHON_CLASSIC) 
2661 #  error "This python version requires to use swig with the '-classic' option" 
2664 #if (PY_VERSION_HEX <= 0x02020000) 
2665 # error "This python version requires to use swig with the '-nomodern' option" 
2667 #if (PY_VERSION_HEX <= 0x02020000) 
2668 # error "This python version requires to use swig with the '-nomodernargs' option" 
2671 # error "This python version requires to use swig with the '-nofastunpack' option" 
2674 /*----------------------------------------------- 
2675               @(target):= _richtext.so 
2676   ------------------------------------------------*/ 
2677 #define SWIG_init    init_richtext 
2679 #define SWIG_name    "_richtext" 
2681 #define SWIGVERSION 0x010329  
2684 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2685 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2688 #include <stdexcept> 
2692   class PyObject_ptr 
{ 
2697     PyObject_ptr() :_obj(0) 
2701     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2706     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2708       if (initial_ref
) Py_XINCREF(_obj
); 
2711     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2713       Py_XINCREF(item
._obj
); 
2724     operator PyObject 
*() const 
2729     PyObject 
*operator->() const 
2738   struct PyObject_var 
: PyObject_ptr 
{ 
2739     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2741     PyObject_var 
& operator = (PyObject
* obj
) 
2751 #include "wx/wxPython/wxPython.h" 
2752 #include "wx/wxPython/pyclasses.h" 
2753 #include "wx/wxPython/printfw.h" 
2754 #include "wx/wxPython/twoitem.h" 
2756 #include <wx/richtext/richtextctrl.h> 
2761 class wxBufferedPaintDC
; 
2768   #define SWIG_From_long   PyInt_FromLong  
2771 SWIGINTERNINLINE PyObject 
* 
2772 SWIG_From_int  (int value
) 
2774   return SWIG_From_long  (value
); 
2777  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2780 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
) 
2782     if (source 
== Py_None
) { 
2783         **obj 
= wxRICHTEXT_NONE
; 
2786     return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange")); 
2791 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2793     if (PyNumber_Check(obj
)) { 
2794         if (val
) *val 
= PyInt_AsLong(obj
); 
2797     return SWIG_TypeError
; 
2800 SWIGINTERN 
bool wxRichTextRange___eq__(wxRichTextRange 
*self
,PyObject 
*other
){ 
2801             wxRichTextRange  temp
, *obj 
= &temp
; 
2802             if ( other 
== Py_None 
) return false; 
2803             if ( ! wxRichTextRange_helper(other
, &obj
) ) { 
2807             return self
->operator==(*obj
); 
2809 SWIGINTERN PyObject 
*wxRichTextRange_Get(wxRichTextRange 
*self
){ 
2810             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2811             PyObject
* tup 
= PyTuple_New(2); 
2812             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart())); 
2813             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd())); 
2814             wxPyEndBlockThreads(blocked
); 
2818     wxRichTextRange 
wxPy_RTR_ALL(wxRICHTEXT_ALL
); 
2819     wxRichTextRange 
wxPy_RTR_NONE(wxRICHTEXT_NONE
); 
2824 # define LLONG_MIN      LONG_LONG_MIN 
2827 # define LLONG_MAX      LONG_LONG_MAX 
2830 # define ULLONG_MAX     ULONG_LONG_MAX 
2835 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2838   int res 
= SWIG_AsVal_long (obj
, &v
); 
2839   if (SWIG_IsOK(res
)) { 
2840     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2841       return SWIG_OverflowError
; 
2843       if (val
) *val 
= static_cast< int >(v
); 
2851 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2853   if (obj 
== Py_True
) { 
2854     if (val
) *val 
= true; 
2856   } else if (obj 
== Py_False
) { 
2857     if (val
) *val 
= false; 
2861     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2862     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2869 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2872     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2873         return SWIG_TypeError
; 
2876         *val 
= (unsigned long)v
; 
2881 SWIGINTERN swig_type_info
* 
2882 SWIG_pchar_descriptor() 
2884   static int init 
= 0; 
2885   static swig_type_info
* info 
= 0; 
2887     info 
= SWIG_TypeQuery("_p_char"); 
2895 SWIG_AsCharPtrAndSize(PyObject 
*obj
, char** cptr
, size_t* psize
, int *alloc
) 
2897   if (PyString_Check(obj
)) { 
2898     char *cstr
; Py_ssize_t len
; 
2899     PyString_AsStringAndSize(obj
, &cstr
, &len
); 
2903            In python the user should not be able to modify the inner 
2904            string representation. To warranty that, if you define 
2905            SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string 
2906            buffer is always returned. 
2908            The default behavior is just to return the pointer value, 
2911 #if defined(SWIG_PYTHON_SAFE_CSTRINGS) 
2912         if (*alloc 
!= SWIG_OLDOBJ
)  
2914         if (*alloc 
== SWIG_NEWOBJ
)  
2917             *cptr 
= reinterpret_cast< char* >(memcpy((new char[len 
+ 1]), cstr
, sizeof(char)*(len 
+ 1))); 
2918             *alloc 
= SWIG_NEWOBJ
; 
2922           *alloc 
= SWIG_OLDOBJ
; 
2925         *cptr 
= PyString_AsString(obj
); 
2928     if (psize
) *psize 
= len 
+ 1; 
2931     swig_type_info
* pchar_descriptor 
= SWIG_pchar_descriptor(); 
2932     if (pchar_descriptor
) { 
2934       if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) { 
2935         if (cptr
) *cptr 
= (char *) vptr
; 
2936         if (psize
) *psize 
= vptr 
? (strlen((char *)vptr
) + 1) : 0; 
2937         if (alloc
) *alloc 
= SWIG_OLDOBJ
; 
2942   return SWIG_TypeError
; 
2947 SWIG_AsCharArray(PyObject 
* obj
, char *val
, size_t size
) 
2949   char* cptr 
= 0; size_t csize 
= 0; int alloc 
= SWIG_OLDOBJ
; 
2950   int res 
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
); 
2951   if (SWIG_IsOK(res
)) { 
2952     if ((csize 
== size 
+ 1) && cptr 
&& !(cptr
[csize
-1])) --csize
; 
2953     if (csize 
<= size
) { 
2955         if (csize
) memcpy(val
, cptr
, csize
*sizeof(char)); 
2956         if (csize 
< size
) memset(val 
+ csize
, 0, (size 
- csize
)*sizeof(char)); 
2958       if (alloc 
== SWIG_NEWOBJ
) { 
2960         res 
= SWIG_DelNewMask(res
); 
2964     if (alloc 
== SWIG_NEWOBJ
) delete[] cptr
; 
2966   return SWIG_TypeError
; 
2971 SWIG_AsVal_char (PyObject 
* obj
, char *val
) 
2973   int res 
= SWIG_AsCharArray(obj
, val
, 1); 
2974   if (!SWIG_IsOK(res
)) { 
2976     res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
)); 
2977     if (SWIG_IsOK(res
)) { 
2978       if ((CHAR_MIN 
<= v
) && (v 
<= CHAR_MAX
)) { 
2979         if (val
) *val 
= static_cast< char >(v
); 
2981         res 
= SWIG_OverflowError
; 
2991 SWIGINTERN PyObject 
*_wrap_new_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
2992   PyObject 
*resultobj 
= 0; 
2993   long arg1 
= (long) 0 ; 
2994   long arg2 
= (long) 0 ; 
2995   wxRichTextRange 
*result 
= 0 ; 
3000   PyObject 
* obj0 
= 0 ; 
3001   PyObject 
* obj1 
= 0 ; 
3002   char *  kwnames
[] = { 
3003     (char *) "start",(char *) "end", NULL 
 
3006   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3008     ecode1 
= SWIG_AsVal_long(obj0
, &val1
); 
3009     if (!SWIG_IsOK(ecode1
)) { 
3010       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'"); 
3012     arg1 
= static_cast< long >(val1
); 
3015     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3016     if (!SWIG_IsOK(ecode2
)) { 
3017       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'"); 
3019     arg2 
= static_cast< long >(val2
); 
3022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3023     result 
= (wxRichTextRange 
*)new wxRichTextRange(arg1
,arg2
); 
3024     wxPyEndAllowThreads(__tstate
); 
3025     if (PyErr_Occurred()) SWIG_fail
; 
3027   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW 
|  0 ); 
3034 SWIGINTERN PyObject 
*_wrap_delete_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3035   PyObject 
*resultobj 
= 0; 
3036   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3039   PyObject 
*swig_obj
[1] ; 
3041   if (!args
) SWIG_fail
; 
3043   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN 
|  0 ); 
3044   if (!SWIG_IsOK(res1
)) { 
3045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3047   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3049     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3052     wxPyEndAllowThreads(__tstate
); 
3053     if (PyErr_Occurred()) SWIG_fail
; 
3055   resultobj 
= SWIG_Py_Void(); 
3062 SWIGINTERN PyObject 
*_wrap_RichTextRange___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3063   PyObject 
*resultobj 
= 0; 
3064   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3065   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3069   PyObject 
* obj0 
= 0 ; 
3070   PyObject 
* obj1 
= 0 ; 
3071   char *  kwnames
[] = { 
3072     (char *) "self",(char *) "other", NULL 
 
3075   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3076   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3077   if (!SWIG_IsOK(res1
)) { 
3078     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3080   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3083     result 
= (bool)wxRichTextRange___eq__(arg1
,arg2
); 
3084     if (PyErr_Occurred()) SWIG_fail
; 
3087     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3095 SWIGINTERN PyObject 
*_wrap_RichTextRange___sub__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3096   PyObject 
*resultobj 
= 0; 
3097   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3098   wxRichTextRange 
*arg2 
= 0 ; 
3099   wxRichTextRange result
; 
3102   wxRichTextRange temp2 
; 
3103   PyObject 
* obj0 
= 0 ; 
3104   PyObject 
* obj1 
= 0 ; 
3105   char *  kwnames
[] = { 
3106     (char *) "self",(char *) "range", NULL 
 
3109   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3110   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3111   if (!SWIG_IsOK(res1
)) { 
3112     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3114   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3117     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3120     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3121     result 
= ((wxRichTextRange 
const *)arg1
)->operator -((wxRichTextRange 
const &)*arg2
); 
3122     wxPyEndAllowThreads(__tstate
); 
3123     if (PyErr_Occurred()) SWIG_fail
; 
3125   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3132 SWIGINTERN PyObject 
*_wrap_RichTextRange___add__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3133   PyObject 
*resultobj 
= 0; 
3134   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3135   wxRichTextRange 
*arg2 
= 0 ; 
3136   wxRichTextRange result
; 
3139   wxRichTextRange temp2 
; 
3140   PyObject 
* obj0 
= 0 ; 
3141   PyObject 
* obj1 
= 0 ; 
3142   char *  kwnames
[] = { 
3143     (char *) "self",(char *) "range", NULL 
 
3146   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3147   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3148   if (!SWIG_IsOK(res1
)) { 
3149     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3151   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3154     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3158     result 
= ((wxRichTextRange 
const *)arg1
)->operator +((wxRichTextRange 
const &)*arg2
); 
3159     wxPyEndAllowThreads(__tstate
); 
3160     if (PyErr_Occurred()) SWIG_fail
; 
3162   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3169 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3170   PyObject 
*resultobj 
= 0; 
3171   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3180   PyObject 
* obj0 
= 0 ; 
3181   PyObject 
* obj1 
= 0 ; 
3182   PyObject 
* obj2 
= 0 ; 
3183   char *  kwnames
[] = { 
3184     (char *) "self",(char *) "start",(char *) "end", NULL 
 
3187   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3188   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3189   if (!SWIG_IsOK(res1
)) { 
3190     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3192   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3193   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3194   if (!SWIG_IsOK(ecode2
)) { 
3195     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'"); 
3197   arg2 
= static_cast< long >(val2
); 
3198   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
3199   if (!SWIG_IsOK(ecode3
)) { 
3200     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'"); 
3202   arg3 
= static_cast< long >(val3
); 
3204     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3205     (arg1
)->SetRange(arg2
,arg3
); 
3206     wxPyEndAllowThreads(__tstate
); 
3207     if (PyErr_Occurred()) SWIG_fail
; 
3209   resultobj 
= SWIG_Py_Void(); 
3216 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3217   PyObject 
*resultobj 
= 0; 
3218   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3224   PyObject 
* obj0 
= 0 ; 
3225   PyObject 
* obj1 
= 0 ; 
3226   char *  kwnames
[] = { 
3227     (char *) "self",(char *) "start", NULL 
 
3230   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3231   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3232   if (!SWIG_IsOK(res1
)) { 
3233     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3235   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3236   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3237   if (!SWIG_IsOK(ecode2
)) { 
3238     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'"); 
3240   arg2 
= static_cast< long >(val2
); 
3242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3243     (arg1
)->SetStart(arg2
); 
3244     wxPyEndAllowThreads(__tstate
); 
3245     if (PyErr_Occurred()) SWIG_fail
; 
3247   resultobj 
= SWIG_Py_Void(); 
3254 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3255   PyObject 
*resultobj 
= 0; 
3256   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3260   PyObject 
*swig_obj
[1] ; 
3262   if (!args
) SWIG_fail
; 
3264   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3265   if (!SWIG_IsOK(res1
)) { 
3266     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3268   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3270     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3271     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetStart(); 
3272     wxPyEndAllowThreads(__tstate
); 
3273     if (PyErr_Occurred()) SWIG_fail
; 
3275   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3282 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3283   PyObject 
*resultobj 
= 0; 
3284   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3290   PyObject 
* obj0 
= 0 ; 
3291   PyObject 
* obj1 
= 0 ; 
3292   char *  kwnames
[] = { 
3293     (char *) "self",(char *) "end", NULL 
 
3296   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3297   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3298   if (!SWIG_IsOK(res1
)) { 
3299     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3301   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3302   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3303   if (!SWIG_IsOK(ecode2
)) { 
3304     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'"); 
3306   arg2 
= static_cast< long >(val2
); 
3308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3309     (arg1
)->SetEnd(arg2
); 
3310     wxPyEndAllowThreads(__tstate
); 
3311     if (PyErr_Occurred()) SWIG_fail
; 
3313   resultobj 
= SWIG_Py_Void(); 
3320 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3321   PyObject 
*resultobj 
= 0; 
3322   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3326   PyObject 
*swig_obj
[1] ; 
3328   if (!args
) SWIG_fail
; 
3330   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3331   if (!SWIG_IsOK(res1
)) { 
3332     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3334   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3337     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetEnd(); 
3338     wxPyEndAllowThreads(__tstate
); 
3339     if (PyErr_Occurred()) SWIG_fail
; 
3341   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3348 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsOutside(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3349   PyObject 
*resultobj 
= 0; 
3350   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3351   wxRichTextRange 
*arg2 
= 0 ; 
3355   wxRichTextRange temp2 
; 
3356   PyObject 
* obj0 
= 0 ; 
3357   PyObject 
* obj1 
= 0 ; 
3358   char *  kwnames
[] = { 
3359     (char *) "self",(char *) "range", NULL 
 
3362   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3363   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3364   if (!SWIG_IsOK(res1
)) { 
3365     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3367   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3370     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3374     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsOutside((wxRichTextRange 
const &)*arg2
); 
3375     wxPyEndAllowThreads(__tstate
); 
3376     if (PyErr_Occurred()) SWIG_fail
; 
3379     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3387 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsWithin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3388   PyObject 
*resultobj 
= 0; 
3389   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3390   wxRichTextRange 
*arg2 
= 0 ; 
3394   wxRichTextRange temp2 
; 
3395   PyObject 
* obj0 
= 0 ; 
3396   PyObject 
* obj1 
= 0 ; 
3397   char *  kwnames
[] = { 
3398     (char *) "self",(char *) "range", NULL 
 
3401   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3402   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3403   if (!SWIG_IsOK(res1
)) { 
3404     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3406   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3409     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3413     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsWithin((wxRichTextRange 
const &)*arg2
); 
3414     wxPyEndAllowThreads(__tstate
); 
3415     if (PyErr_Occurred()) SWIG_fail
; 
3418     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3426 SWIGINTERN PyObject 
*_wrap_RichTextRange_Contains(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3427   PyObject 
*resultobj 
= 0; 
3428   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3435   PyObject 
* obj0 
= 0 ; 
3436   PyObject 
* obj1 
= 0 ; 
3437   char *  kwnames
[] = { 
3438     (char *) "self",(char *) "pos", NULL 
 
3441   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3442   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3443   if (!SWIG_IsOK(res1
)) { 
3444     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3446   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3447   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3448   if (!SWIG_IsOK(ecode2
)) { 
3449     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'"); 
3451   arg2 
= static_cast< long >(val2
); 
3453     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3454     result 
= (bool)((wxRichTextRange 
const *)arg1
)->Contains(arg2
); 
3455     wxPyEndAllowThreads(__tstate
); 
3456     if (PyErr_Occurred()) SWIG_fail
; 
3459     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3467 SWIGINTERN PyObject 
*_wrap_RichTextRange_LimitTo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3468   PyObject 
*resultobj 
= 0; 
3469   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3470   wxRichTextRange 
*arg2 
= 0 ; 
3474   wxRichTextRange temp2 
; 
3475   PyObject 
* obj0 
= 0 ; 
3476   PyObject 
* obj1 
= 0 ; 
3477   char *  kwnames
[] = { 
3478     (char *) "self",(char *) "range", NULL 
 
3481   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3482   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3483   if (!SWIG_IsOK(res1
)) { 
3484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3486   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3489     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3493     result 
= (bool)(arg1
)->LimitTo((wxRichTextRange 
const &)*arg2
); 
3494     wxPyEndAllowThreads(__tstate
); 
3495     if (PyErr_Occurred()) SWIG_fail
; 
3498     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3506 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3507   PyObject 
*resultobj 
= 0; 
3508   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3512   PyObject 
*swig_obj
[1] ; 
3514   if (!args
) SWIG_fail
; 
3516   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3517   if (!SWIG_IsOK(res1
)) { 
3518     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3520   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3522     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3523     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetLength(); 
3524     wxPyEndAllowThreads(__tstate
); 
3525     if (PyErr_Occurred()) SWIG_fail
; 
3527   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3534 SWIGINTERN PyObject 
*_wrap_RichTextRange_Swap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3535   PyObject 
*resultobj 
= 0; 
3536   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3539   PyObject 
*swig_obj
[1] ; 
3541   if (!args
) SWIG_fail
; 
3543   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3544   if (!SWIG_IsOK(res1
)) { 
3545     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3547   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3549     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3551     wxPyEndAllowThreads(__tstate
); 
3552     if (PyErr_Occurred()) SWIG_fail
; 
3554   resultobj 
= SWIG_Py_Void(); 
3561 SWIGINTERN PyObject 
*_wrap_RichTextRange_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3562   PyObject 
*resultobj 
= 0; 
3563   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3564   PyObject 
*result 
= 0 ; 
3567   PyObject 
*swig_obj
[1] ; 
3569   if (!args
) SWIG_fail
; 
3571   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3572   if (!SWIG_IsOK(res1
)) { 
3573     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3575   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3577     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3578     result 
= (PyObject 
*)wxRichTextRange_Get(arg1
); 
3579     wxPyEndAllowThreads(__tstate
); 
3580     if (PyErr_Occurred()) SWIG_fail
; 
3589 SWIGINTERN PyObject 
*RichTextRange_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3591   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3592   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
)); 
3593   return SWIG_Py_Void(); 
3596 SWIGINTERN PyObject 
*RichTextRange_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3597   return SWIG_Python_InitShadowInstance(args
); 
3600 SWIGINTERN 
int RICHTEXT_ALL_set(PyObject 
*) { 
3601   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only."); 
3606 SWIGINTERN PyObject 
*RICHTEXT_ALL_get(void) { 
3607   PyObject 
*pyobj 
= 0; 
3609   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3614 SWIGINTERN 
int RICHTEXT_NONE_set(PyObject 
*) { 
3615   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only."); 
3620 SWIGINTERN PyObject 
*RICHTEXT_NONE_get(void) { 
3621   PyObject 
*pyobj 
= 0; 
3623   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3628 SWIGINTERN PyObject 
*_wrap_new_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3629   PyObject 
*resultobj 
= 0; 
3630   wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
3631   wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
3632   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3633   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3634   wxTextAttrAlignment arg3 
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT 
; 
3635   wxRichTextAttr 
*result 
= 0 ; 
3640   PyObject 
* obj0 
= 0 ; 
3641   PyObject 
* obj1 
= 0 ; 
3642   PyObject 
* obj2 
= 0 ; 
3643   char *  kwnames
[] = { 
3644     (char *) "colText",(char *) "colBack",(char *) "alignment", NULL 
 
3647   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3651       if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3657       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3661     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3662     if (!SWIG_IsOK(ecode3
)) { 
3663       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'"); 
3665     arg3 
= static_cast< wxTextAttrAlignment 
>(val3
); 
3668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3669     result 
= (wxRichTextAttr 
*)new wxRichTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
3670     wxPyEndAllowThreads(__tstate
); 
3671     if (PyErr_Occurred()) SWIG_fail
; 
3673   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW 
|  0 ); 
3680 SWIGINTERN PyObject 
*_wrap_delete_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3681   PyObject 
*resultobj 
= 0; 
3682   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3685   PyObject 
*swig_obj
[1] ; 
3687   if (!args
) SWIG_fail
; 
3689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN 
|  0 ); 
3690   if (!SWIG_IsOK(res1
)) { 
3691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3693   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3698     wxPyEndAllowThreads(__tstate
); 
3699     if (PyErr_Occurred()) SWIG_fail
; 
3701   resultobj 
= SWIG_Py_Void(); 
3708 SWIGINTERN PyObject 
*_wrap_RichTextAttr_CreateFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3709   PyObject 
*resultobj 
= 0; 
3710   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3711   SwigValueWrapper
<wxFont 
> result
; 
3714   PyObject 
*swig_obj
[1] ; 
3716   if (!args
) SWIG_fail
; 
3718   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3719   if (!SWIG_IsOK(res1
)) { 
3720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
3722   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3725     result 
= ((wxRichTextAttr 
const *)arg1
)->CreateFont(); 
3726     wxPyEndAllowThreads(__tstate
); 
3727     if (PyErr_Occurred()) SWIG_fail
; 
3729   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
3736 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3737   PyObject 
*resultobj 
= 0; 
3738   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3745   PyObject 
* obj0 
= 0 ; 
3746   PyObject 
* obj1 
= 0 ; 
3747   char *  kwnames
[] = { 
3748     (char *) "self",(char *) "font", NULL 
 
3751   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3752   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3753   if (!SWIG_IsOK(res1
)) { 
3754     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3756   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3757   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
3758   if (!SWIG_IsOK(res2
)) { 
3759     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3762     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3764   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
3766     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3767     result 
= (bool)(arg1
)->GetFontAttributes((wxFont 
const &)*arg2
); 
3768     wxPyEndAllowThreads(__tstate
); 
3769     if (PyErr_Occurred()) SWIG_fail
; 
3772     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3780 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3781   PyObject 
*resultobj 
= 0; 
3782   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3783   wxColour 
*arg2 
= 0 ; 
3787   PyObject 
* obj0 
= 0 ; 
3788   PyObject 
* obj1 
= 0 ; 
3789   char *  kwnames
[] = { 
3790     (char *) "self",(char *) "colText", NULL 
 
3793   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3794   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3795   if (!SWIG_IsOK(res1
)) { 
3796     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3798   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3801     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3804     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3805     (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
3806     wxPyEndAllowThreads(__tstate
); 
3807     if (PyErr_Occurred()) SWIG_fail
; 
3809   resultobj 
= SWIG_Py_Void(); 
3816 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3817   PyObject 
*resultobj 
= 0; 
3818   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3819   wxColour 
*arg2 
= 0 ; 
3823   PyObject 
* obj0 
= 0 ; 
3824   PyObject 
* obj1 
= 0 ; 
3825   char *  kwnames
[] = { 
3826     (char *) "self",(char *) "colBack", NULL 
 
3829   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3830   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3831   if (!SWIG_IsOK(res1
)) { 
3832     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3834   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3837     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3841     (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
3842     wxPyEndAllowThreads(__tstate
); 
3843     if (PyErr_Occurred()) SWIG_fail
; 
3845   resultobj 
= SWIG_Py_Void(); 
3852 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3853   PyObject 
*resultobj 
= 0; 
3854   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3855   wxTextAttrAlignment arg2 
; 
3860   PyObject 
* obj0 
= 0 ; 
3861   PyObject 
* obj1 
= 0 ; 
3862   char *  kwnames
[] = { 
3863     (char *) "self",(char *) "alignment", NULL 
 
3866   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3867   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3868   if (!SWIG_IsOK(res1
)) { 
3869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3871   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3872   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3873   if (!SWIG_IsOK(ecode2
)) { 
3874     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
3876   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
3878     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3879     (arg1
)->SetAlignment(arg2
); 
3880     wxPyEndAllowThreads(__tstate
); 
3881     if (PyErr_Occurred()) SWIG_fail
; 
3883   resultobj 
= SWIG_Py_Void(); 
3890 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3891   PyObject 
*resultobj 
= 0; 
3892   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3893   wxArrayInt 
*arg2 
= 0 ; 
3896   bool temp2 
= false ; 
3897   PyObject 
* obj0 
= 0 ; 
3898   PyObject 
* obj1 
= 0 ; 
3899   char *  kwnames
[] = { 
3900     (char *) "self",(char *) "tabs", NULL 
 
3903   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3904   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3905   if (!SWIG_IsOK(res1
)) { 
3906     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3908   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3910     if (! PySequence_Check(obj1
)) { 
3911       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
3914     arg2 
= new wxArrayInt
; 
3916     int i
, len
=PySequence_Length(obj1
); 
3917     for (i
=0; i
<len
; i
++) { 
3918       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
3919       PyObject
* number  
= PyNumber_Int(item
); 
3920       arg2
->Add(PyInt_AS_LONG(number
)); 
3926     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3927     (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
3928     wxPyEndAllowThreads(__tstate
); 
3929     if (PyErr_Occurred()) SWIG_fail
; 
3931   resultobj 
= SWIG_Py_Void(); 
3933     if (temp2
) delete arg2
; 
3938     if (temp2
) delete arg2
; 
3944 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3945   PyObject 
*resultobj 
= 0; 
3946   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3948   int arg3 
= (int) 0 ; 
3955   PyObject 
* obj0 
= 0 ; 
3956   PyObject 
* obj1 
= 0 ; 
3957   PyObject 
* obj2 
= 0 ; 
3958   char *  kwnames
[] = { 
3959     (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
 
3962   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3963   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3964   if (!SWIG_IsOK(res1
)) { 
3965     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3967   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3968   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3969   if (!SWIG_IsOK(ecode2
)) { 
3970     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
3972   arg2 
= static_cast< int >(val2
); 
3974     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3975     if (!SWIG_IsOK(ecode3
)) { 
3976       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
3978     arg3 
= static_cast< int >(val3
); 
3981     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3982     (arg1
)->SetLeftIndent(arg2
,arg3
); 
3983     wxPyEndAllowThreads(__tstate
); 
3984     if (PyErr_Occurred()) SWIG_fail
; 
3986   resultobj 
= SWIG_Py_Void(); 
3993 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3994   PyObject 
*resultobj 
= 0; 
3995   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4001   PyObject 
* obj0 
= 0 ; 
4002   PyObject 
* obj1 
= 0 ; 
4003   char *  kwnames
[] = { 
4004     (char *) "self",(char *) "indent", NULL 
 
4007   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4008   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4009   if (!SWIG_IsOK(res1
)) { 
4010     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4012   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4013   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4014   if (!SWIG_IsOK(ecode2
)) { 
4015     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'"); 
4017   arg2 
= static_cast< int >(val2
); 
4019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4020     (arg1
)->SetRightIndent(arg2
); 
4021     wxPyEndAllowThreads(__tstate
); 
4022     if (PyErr_Occurred()) SWIG_fail
; 
4024   resultobj 
= SWIG_Py_Void(); 
4031 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4032   PyObject 
*resultobj 
= 0; 
4033   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4039   PyObject 
* obj0 
= 0 ; 
4040   PyObject 
* obj1 
= 0 ; 
4041   char *  kwnames
[] = { 
4042     (char *) "self",(char *) "pointSize", NULL 
 
4045   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4046   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4047   if (!SWIG_IsOK(res1
)) { 
4048     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4050   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4051   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4052   if (!SWIG_IsOK(ecode2
)) { 
4053     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'"); 
4055   arg2 
= static_cast< int >(val2
); 
4057     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4058     (arg1
)->SetFontSize(arg2
); 
4059     wxPyEndAllowThreads(__tstate
); 
4060     if (PyErr_Occurred()) SWIG_fail
; 
4062   resultobj 
= SWIG_Py_Void(); 
4069 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4070   PyObject 
*resultobj 
= 0; 
4071   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4077   PyObject 
* obj0 
= 0 ; 
4078   PyObject 
* obj1 
= 0 ; 
4079   char *  kwnames
[] = { 
4080     (char *) "self",(char *) "fontStyle", NULL 
 
4083   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4084   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4085   if (!SWIG_IsOK(res1
)) { 
4086     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4088   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4089   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4090   if (!SWIG_IsOK(ecode2
)) { 
4091     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'"); 
4093   arg2 
= static_cast< int >(val2
); 
4095     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4096     (arg1
)->SetFontStyle(arg2
); 
4097     wxPyEndAllowThreads(__tstate
); 
4098     if (PyErr_Occurred()) SWIG_fail
; 
4100   resultobj 
= SWIG_Py_Void(); 
4107 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4108   PyObject 
*resultobj 
= 0; 
4109   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4115   PyObject 
* obj0 
= 0 ; 
4116   PyObject 
* obj1 
= 0 ; 
4117   char *  kwnames
[] = { 
4118     (char *) "self",(char *) "fontWeight", NULL 
 
4121   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4122   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4123   if (!SWIG_IsOK(res1
)) { 
4124     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4126   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4127   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4128   if (!SWIG_IsOK(ecode2
)) { 
4129     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'"); 
4131   arg2 
= static_cast< int >(val2
); 
4133     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4134     (arg1
)->SetFontWeight(arg2
); 
4135     wxPyEndAllowThreads(__tstate
); 
4136     if (PyErr_Occurred()) SWIG_fail
; 
4138   resultobj 
= SWIG_Py_Void(); 
4145 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4146   PyObject 
*resultobj 
= 0; 
4147   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4148   wxString 
*arg2 
= 0 ; 
4151   bool temp2 
= false ; 
4152   PyObject 
* obj0 
= 0 ; 
4153   PyObject 
* obj1 
= 0 ; 
4154   char *  kwnames
[] = { 
4155     (char *) "self",(char *) "faceName", NULL 
 
4158   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4159   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4160   if (!SWIG_IsOK(res1
)) { 
4161     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4163   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4165     arg2 
= wxString_in_helper(obj1
); 
4166     if (arg2 
== NULL
) SWIG_fail
; 
4170     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4171     (arg1
)->SetFontFaceName((wxString 
const &)*arg2
); 
4172     wxPyEndAllowThreads(__tstate
); 
4173     if (PyErr_Occurred()) SWIG_fail
; 
4175   resultobj 
= SWIG_Py_Void(); 
4190 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4191   PyObject 
*resultobj 
= 0; 
4192   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4198   PyObject 
* obj0 
= 0 ; 
4199   PyObject 
* obj1 
= 0 ; 
4200   char *  kwnames
[] = { 
4201     (char *) "self",(char *) "underlined", NULL 
 
4204   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4205   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4206   if (!SWIG_IsOK(res1
)) { 
4207     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4209   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4210   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4211   if (!SWIG_IsOK(ecode2
)) { 
4212     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
4214   arg2 
= static_cast< bool >(val2
); 
4216     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4217     (arg1
)->SetFontUnderlined(arg2
); 
4218     wxPyEndAllowThreads(__tstate
); 
4219     if (PyErr_Occurred()) SWIG_fail
; 
4221   resultobj 
= SWIG_Py_Void(); 
4228 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4229   PyObject 
*resultobj 
= 0; 
4230   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4236   PyObject 
* obj0 
= 0 ; 
4237   PyObject 
* obj1 
= 0 ; 
4238   char *  kwnames
[] = { 
4239     (char *) "self",(char *) "flags", NULL 
 
4242   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4243   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4244   if (!SWIG_IsOK(res1
)) { 
4245     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4247   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4248   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
4249   if (!SWIG_IsOK(ecode2
)) { 
4250     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'"); 
4252   arg2 
= static_cast< long >(val2
); 
4254     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4255     (arg1
)->SetFlags(arg2
); 
4256     wxPyEndAllowThreads(__tstate
); 
4257     if (PyErr_Occurred()) SWIG_fail
; 
4259   resultobj 
= SWIG_Py_Void(); 
4266 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4267   PyObject 
*resultobj 
= 0; 
4268   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4269   wxString 
*arg2 
= 0 ; 
4272   bool temp2 
= false ; 
4273   PyObject 
* obj0 
= 0 ; 
4274   PyObject 
* obj1 
= 0 ; 
4275   char *  kwnames
[] = { 
4276     (char *) "self",(char *) "name", NULL 
 
4279   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4280   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4281   if (!SWIG_IsOK(res1
)) { 
4282     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4284   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4286     arg2 
= wxString_in_helper(obj1
); 
4287     if (arg2 
== NULL
) SWIG_fail
; 
4291     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4292     (arg1
)->SetCharacterStyleName((wxString 
const &)*arg2
); 
4293     wxPyEndAllowThreads(__tstate
); 
4294     if (PyErr_Occurred()) SWIG_fail
; 
4296   resultobj 
= SWIG_Py_Void(); 
4311 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4312   PyObject 
*resultobj 
= 0; 
4313   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4314   wxString 
*arg2 
= 0 ; 
4317   bool temp2 
= false ; 
4318   PyObject 
* obj0 
= 0 ; 
4319   PyObject 
* obj1 
= 0 ; 
4320   char *  kwnames
[] = { 
4321     (char *) "self",(char *) "name", NULL 
 
4324   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4325   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4326   if (!SWIG_IsOK(res1
)) { 
4327     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4329   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4331     arg2 
= wxString_in_helper(obj1
); 
4332     if (arg2 
== NULL
) SWIG_fail
; 
4336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4337     (arg1
)->SetParagraphStyleName((wxString 
const &)*arg2
); 
4338     wxPyEndAllowThreads(__tstate
); 
4339     if (PyErr_Occurred()) SWIG_fail
; 
4341   resultobj 
= SWIG_Py_Void(); 
4356 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4357   PyObject 
*resultobj 
= 0; 
4358   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4364   PyObject 
* obj0 
= 0 ; 
4365   PyObject 
* obj1 
= 0 ; 
4366   char *  kwnames
[] = { 
4367     (char *) "self",(char *) "spacing", NULL 
 
4370   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4371   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4372   if (!SWIG_IsOK(res1
)) { 
4373     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4375   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4376   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4377   if (!SWIG_IsOK(ecode2
)) { 
4378     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'"); 
4380   arg2 
= static_cast< int >(val2
); 
4382     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4383     (arg1
)->SetParagraphSpacingAfter(arg2
); 
4384     wxPyEndAllowThreads(__tstate
); 
4385     if (PyErr_Occurred()) SWIG_fail
; 
4387   resultobj 
= SWIG_Py_Void(); 
4394 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4395   PyObject 
*resultobj 
= 0; 
4396   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4402   PyObject 
* obj0 
= 0 ; 
4403   PyObject 
* obj1 
= 0 ; 
4404   char *  kwnames
[] = { 
4405     (char *) "self",(char *) "spacing", NULL 
 
4408   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4409   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4410   if (!SWIG_IsOK(res1
)) { 
4411     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4413   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4414   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4415   if (!SWIG_IsOK(ecode2
)) { 
4416     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'"); 
4418   arg2 
= static_cast< int >(val2
); 
4420     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4421     (arg1
)->SetParagraphSpacingBefore(arg2
); 
4422     wxPyEndAllowThreads(__tstate
); 
4423     if (PyErr_Occurred()) SWIG_fail
; 
4425   resultobj 
= SWIG_Py_Void(); 
4432 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4433   PyObject 
*resultobj 
= 0; 
4434   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4440   PyObject 
* obj0 
= 0 ; 
4441   PyObject 
* obj1 
= 0 ; 
4442   char *  kwnames
[] = { 
4443     (char *) "self",(char *) "spacing", NULL 
 
4446   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4447   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4448   if (!SWIG_IsOK(res1
)) { 
4449     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4451   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4452   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4453   if (!SWIG_IsOK(ecode2
)) { 
4454     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
4456   arg2 
= static_cast< int >(val2
); 
4458     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4459     (arg1
)->SetLineSpacing(arg2
); 
4460     wxPyEndAllowThreads(__tstate
); 
4461     if (PyErr_Occurred()) SWIG_fail
; 
4463   resultobj 
= SWIG_Py_Void(); 
4470 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4471   PyObject 
*resultobj 
= 0; 
4472   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4478   PyObject 
* obj0 
= 0 ; 
4479   PyObject 
* obj1 
= 0 ; 
4480   char *  kwnames
[] = { 
4481     (char *) "self",(char *) "style", NULL 
 
4484   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4485   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4486   if (!SWIG_IsOK(res1
)) { 
4487     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4489   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4490   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4491   if (!SWIG_IsOK(ecode2
)) { 
4492     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'"); 
4494   arg2 
= static_cast< int >(val2
); 
4496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4497     (arg1
)->SetBulletStyle(arg2
); 
4498     wxPyEndAllowThreads(__tstate
); 
4499     if (PyErr_Occurred()) SWIG_fail
; 
4501   resultobj 
= SWIG_Py_Void(); 
4508 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4509   PyObject 
*resultobj 
= 0; 
4510   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4516   PyObject 
* obj0 
= 0 ; 
4517   PyObject 
* obj1 
= 0 ; 
4518   char *  kwnames
[] = { 
4519     (char *) "self",(char *) "n", NULL 
 
4522   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4523   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4524   if (!SWIG_IsOK(res1
)) { 
4525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4527   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4528   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4529   if (!SWIG_IsOK(ecode2
)) { 
4530     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'"); 
4532   arg2 
= static_cast< int >(val2
); 
4534     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4535     (arg1
)->SetBulletNumber(arg2
); 
4536     wxPyEndAllowThreads(__tstate
); 
4537     if (PyErr_Occurred()) SWIG_fail
; 
4539   resultobj 
= SWIG_Py_Void(); 
4546 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4547   PyObject 
*resultobj 
= 0; 
4548   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4554   PyObject 
* obj0 
= 0 ; 
4555   PyObject 
* obj1 
= 0 ; 
4556   char *  kwnames
[] = { 
4557     (char *) "self",(char *) "symbol", NULL 
 
4560   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4561   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4562   if (!SWIG_IsOK(res1
)) { 
4563     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4565   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4567     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
,  0  | 0); 
4568     if (!SWIG_IsOK(res2
)) { 
4569       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");  
4572       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'"); 
4574       wxChar 
* temp 
= reinterpret_cast< wxChar 
* >(argp2
); 
4576       if (SWIG_IsNewObj(res2
)) delete temp
; 
4580     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4581     (arg1
)->SetBulletSymbol(arg2
); 
4582     wxPyEndAllowThreads(__tstate
); 
4583     if (PyErr_Occurred()) SWIG_fail
; 
4585   resultobj 
= SWIG_Py_Void(); 
4592 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4593   PyObject 
*resultobj 
= 0; 
4594   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4595   wxColour 
*result 
= 0 ; 
4598   PyObject 
*swig_obj
[1] ; 
4600   if (!args
) SWIG_fail
; 
4602   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4603   if (!SWIG_IsOK(res1
)) { 
4604     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4606   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4610       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTextColour(); 
4611       result 
= (wxColour 
*) &_result_ref
; 
4613     wxPyEndAllowThreads(__tstate
); 
4614     if (PyErr_Occurred()) SWIG_fail
; 
4616   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4623 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4624   PyObject 
*resultobj 
= 0; 
4625   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4626   wxColour 
*result 
= 0 ; 
4629   PyObject 
*swig_obj
[1] ; 
4631   if (!args
) SWIG_fail
; 
4633   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4634   if (!SWIG_IsOK(res1
)) { 
4635     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4637   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4641       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetBackgroundColour(); 
4642       result 
= (wxColour 
*) &_result_ref
; 
4644     wxPyEndAllowThreads(__tstate
); 
4645     if (PyErr_Occurred()) SWIG_fail
; 
4647   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4654 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4655   PyObject 
*resultobj 
= 0; 
4656   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4657   wxTextAttrAlignment result
; 
4660   PyObject 
*swig_obj
[1] ; 
4662   if (!args
) SWIG_fail
; 
4664   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4665   if (!SWIG_IsOK(res1
)) { 
4666     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4668   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4670     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4671     result 
= (wxTextAttrAlignment
)((wxRichTextAttr 
const *)arg1
)->GetAlignment(); 
4672     wxPyEndAllowThreads(__tstate
); 
4673     if (PyErr_Occurred()) SWIG_fail
; 
4675   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4682 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4683   PyObject 
*resultobj 
= 0; 
4684   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4685   wxArrayInt 
*result 
= 0 ; 
4688   PyObject 
*swig_obj
[1] ; 
4690   if (!args
) SWIG_fail
; 
4692   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4693   if (!SWIG_IsOK(res1
)) { 
4694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4696   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4698     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4700       wxArrayInt 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTabs(); 
4701       result 
= (wxArrayInt 
*) &_result_ref
; 
4703     wxPyEndAllowThreads(__tstate
); 
4704     if (PyErr_Occurred()) SWIG_fail
; 
4707     resultobj 
= PyList_New(0); 
4709     for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
4710       PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
4711       PyList_Append(resultobj
, val
); 
4721 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4722   PyObject 
*resultobj 
= 0; 
4723   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4727   PyObject 
*swig_obj
[1] ; 
4729   if (!args
) SWIG_fail
; 
4731   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4732   if (!SWIG_IsOK(res1
)) { 
4733     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4735   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4737     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4738     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftIndent(); 
4739     wxPyEndAllowThreads(__tstate
); 
4740     if (PyErr_Occurred()) SWIG_fail
; 
4742   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4749 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4750   PyObject 
*resultobj 
= 0; 
4751   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4755   PyObject 
*swig_obj
[1] ; 
4757   if (!args
) SWIG_fail
; 
4759   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4760   if (!SWIG_IsOK(res1
)) { 
4761     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4763   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4766     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftSubIndent(); 
4767     wxPyEndAllowThreads(__tstate
); 
4768     if (PyErr_Occurred()) SWIG_fail
; 
4770   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4777 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4778   PyObject 
*resultobj 
= 0; 
4779   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4783   PyObject 
*swig_obj
[1] ; 
4785   if (!args
) SWIG_fail
; 
4787   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4788   if (!SWIG_IsOK(res1
)) { 
4789     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4791   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4793     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4794     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetRightIndent(); 
4795     wxPyEndAllowThreads(__tstate
); 
4796     if (PyErr_Occurred()) SWIG_fail
; 
4798   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4805 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4806   PyObject 
*resultobj 
= 0; 
4807   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4811   PyObject 
*swig_obj
[1] ; 
4813   if (!args
) SWIG_fail
; 
4815   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4816   if (!SWIG_IsOK(res1
)) { 
4817     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4819   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4822     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetFlags(); 
4823     wxPyEndAllowThreads(__tstate
); 
4824     if (PyErr_Occurred()) SWIG_fail
; 
4826   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4833 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4834   PyObject 
*resultobj 
= 0; 
4835   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4839   PyObject 
*swig_obj
[1] ; 
4841   if (!args
) SWIG_fail
; 
4843   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4844   if (!SWIG_IsOK(res1
)) { 
4845     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4847   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4849     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4850     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontSize(); 
4851     wxPyEndAllowThreads(__tstate
); 
4852     if (PyErr_Occurred()) SWIG_fail
; 
4854   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4861 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4862   PyObject 
*resultobj 
= 0; 
4863   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4867   PyObject 
*swig_obj
[1] ; 
4869   if (!args
) SWIG_fail
; 
4871   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4872   if (!SWIG_IsOK(res1
)) { 
4873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4875   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4878     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontStyle(); 
4879     wxPyEndAllowThreads(__tstate
); 
4880     if (PyErr_Occurred()) SWIG_fail
; 
4882   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4889 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4890   PyObject 
*resultobj 
= 0; 
4891   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4895   PyObject 
*swig_obj
[1] ; 
4897   if (!args
) SWIG_fail
; 
4899   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4900   if (!SWIG_IsOK(res1
)) { 
4901     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4903   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4906     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontWeight(); 
4907     wxPyEndAllowThreads(__tstate
); 
4908     if (PyErr_Occurred()) SWIG_fail
; 
4910   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4917 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4918   PyObject 
*resultobj 
= 0; 
4919   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4923   PyObject 
*swig_obj
[1] ; 
4925   if (!args
) SWIG_fail
; 
4927   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4928   if (!SWIG_IsOK(res1
)) { 
4929     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4931   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4933     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4934     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->GetFontUnderlined(); 
4935     wxPyEndAllowThreads(__tstate
); 
4936     if (PyErr_Occurred()) SWIG_fail
; 
4939     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4947 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4948   PyObject 
*resultobj 
= 0; 
4949   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4950   wxString 
*result 
= 0 ; 
4953   PyObject 
*swig_obj
[1] ; 
4955   if (!args
) SWIG_fail
; 
4957   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4958   if (!SWIG_IsOK(res1
)) { 
4959     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4961   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4963     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4965       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetFontFaceName(); 
4966       result 
= (wxString 
*) &_result_ref
; 
4968     wxPyEndAllowThreads(__tstate
); 
4969     if (PyErr_Occurred()) SWIG_fail
; 
4973     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4975     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4984 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4985   PyObject 
*resultobj 
= 0; 
4986   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4987   wxString 
*result 
= 0 ; 
4990   PyObject 
*swig_obj
[1] ; 
4992   if (!args
) SWIG_fail
; 
4994   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4995   if (!SWIG_IsOK(res1
)) { 
4996     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4998   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5000     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5002       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetCharacterStyleName(); 
5003       result 
= (wxString 
*) &_result_ref
; 
5005     wxPyEndAllowThreads(__tstate
); 
5006     if (PyErr_Occurred()) SWIG_fail
; 
5010     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5012     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5021 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5022   PyObject 
*resultobj 
= 0; 
5023   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5024   wxString 
*result 
= 0 ; 
5027   PyObject 
*swig_obj
[1] ; 
5029   if (!args
) SWIG_fail
; 
5031   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5032   if (!SWIG_IsOK(res1
)) { 
5033     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5035   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5037     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5039       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetParagraphStyleName(); 
5040       result 
= (wxString 
*) &_result_ref
; 
5042     wxPyEndAllowThreads(__tstate
); 
5043     if (PyErr_Occurred()) SWIG_fail
; 
5047     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5049     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5058 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5059   PyObject 
*resultobj 
= 0; 
5060   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5064   PyObject 
*swig_obj
[1] ; 
5066   if (!args
) SWIG_fail
; 
5068   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5069   if (!SWIG_IsOK(res1
)) { 
5070     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5072   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5074     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5075     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingAfter(); 
5076     wxPyEndAllowThreads(__tstate
); 
5077     if (PyErr_Occurred()) SWIG_fail
; 
5079   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5086 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5087   PyObject 
*resultobj 
= 0; 
5088   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5092   PyObject 
*swig_obj
[1] ; 
5094   if (!args
) SWIG_fail
; 
5096   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5097   if (!SWIG_IsOK(res1
)) { 
5098     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5100   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5103     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingBefore(); 
5104     wxPyEndAllowThreads(__tstate
); 
5105     if (PyErr_Occurred()) SWIG_fail
; 
5107   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5114 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5115   PyObject 
*resultobj 
= 0; 
5116   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5120   PyObject 
*swig_obj
[1] ; 
5122   if (!args
) SWIG_fail
; 
5124   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5125   if (!SWIG_IsOK(res1
)) { 
5126     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5128   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5131     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetLineSpacing(); 
5132     wxPyEndAllowThreads(__tstate
); 
5133     if (PyErr_Occurred()) SWIG_fail
; 
5135   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5142 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5143   PyObject 
*resultobj 
= 0; 
5144   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5148   PyObject 
*swig_obj
[1] ; 
5150   if (!args
) SWIG_fail
; 
5152   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5153   if (!SWIG_IsOK(res1
)) { 
5154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5156   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5159     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletStyle(); 
5160     wxPyEndAllowThreads(__tstate
); 
5161     if (PyErr_Occurred()) SWIG_fail
; 
5163   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5170 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5171   PyObject 
*resultobj 
= 0; 
5172   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5176   PyObject 
*swig_obj
[1] ; 
5178   if (!args
) SWIG_fail
; 
5180   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5181   if (!SWIG_IsOK(res1
)) { 
5182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5184   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5186     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5187     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletNumber(); 
5188     wxPyEndAllowThreads(__tstate
); 
5189     if (PyErr_Occurred()) SWIG_fail
; 
5191   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5198 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5199   PyObject 
*resultobj 
= 0; 
5200   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5204   PyObject 
*swig_obj
[1] ; 
5206   if (!args
) SWIG_fail
; 
5208   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5209   if (!SWIG_IsOK(res1
)) { 
5210     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5212   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5214     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5215     result 
= ((wxRichTextAttr 
const *)arg1
)->GetBulletSymbol(); 
5216     wxPyEndAllowThreads(__tstate
); 
5217     if (PyErr_Occurred()) SWIG_fail
; 
5219   resultobj 
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN 
|  0 ); 
5226 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5227   PyObject 
*resultobj 
= 0; 
5228   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5232   PyObject 
*swig_obj
[1] ; 
5234   if (!args
) SWIG_fail
; 
5236   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5237   if (!SWIG_IsOK(res1
)) { 
5238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5240   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5243     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTextColour(); 
5244     wxPyEndAllowThreads(__tstate
); 
5245     if (PyErr_Occurred()) SWIG_fail
; 
5248     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5256 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5257   PyObject 
*resultobj 
= 0; 
5258   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5262   PyObject 
*swig_obj
[1] ; 
5264   if (!args
) SWIG_fail
; 
5266   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5267   if (!SWIG_IsOK(res1
)) { 
5268     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5270   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5273     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBackgroundColour(); 
5274     wxPyEndAllowThreads(__tstate
); 
5275     if (PyErr_Occurred()) SWIG_fail
; 
5278     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5286 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5287   PyObject 
*resultobj 
= 0; 
5288   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5292   PyObject 
*swig_obj
[1] ; 
5294   if (!args
) SWIG_fail
; 
5296   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5297   if (!SWIG_IsOK(res1
)) { 
5298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5300   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5303     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasAlignment(); 
5304     wxPyEndAllowThreads(__tstate
); 
5305     if (PyErr_Occurred()) SWIG_fail
; 
5308     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5316 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5317   PyObject 
*resultobj 
= 0; 
5318   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5322   PyObject 
*swig_obj
[1] ; 
5324   if (!args
) SWIG_fail
; 
5326   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5327   if (!SWIG_IsOK(res1
)) { 
5328     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5330   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5333     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTabs(); 
5334     wxPyEndAllowThreads(__tstate
); 
5335     if (PyErr_Occurred()) SWIG_fail
; 
5338     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5346 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5347   PyObject 
*resultobj 
= 0; 
5348   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5352   PyObject 
*swig_obj
[1] ; 
5354   if (!args
) SWIG_fail
; 
5356   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5357   if (!SWIG_IsOK(res1
)) { 
5358     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5360   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5362     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5363     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLeftIndent(); 
5364     wxPyEndAllowThreads(__tstate
); 
5365     if (PyErr_Occurred()) SWIG_fail
; 
5368     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5376 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5377   PyObject 
*resultobj 
= 0; 
5378   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5382   PyObject 
*swig_obj
[1] ; 
5384   if (!args
) SWIG_fail
; 
5386   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5387   if (!SWIG_IsOK(res1
)) { 
5388     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5390   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5393     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasRightIndent(); 
5394     wxPyEndAllowThreads(__tstate
); 
5395     if (PyErr_Occurred()) SWIG_fail
; 
5398     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5406 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5407   PyObject 
*resultobj 
= 0; 
5408   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5412   PyObject 
*swig_obj
[1] ; 
5414   if (!args
) SWIG_fail
; 
5416   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5417   if (!SWIG_IsOK(res1
)) { 
5418     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5420   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5422     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5423     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasWeight(); 
5424     wxPyEndAllowThreads(__tstate
); 
5425     if (PyErr_Occurred()) SWIG_fail
; 
5428     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5436 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5437   PyObject 
*resultobj 
= 0; 
5438   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5442   PyObject 
*swig_obj
[1] ; 
5444   if (!args
) SWIG_fail
; 
5446   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5447   if (!SWIG_IsOK(res1
)) { 
5448     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5450   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5452     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5453     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasSize(); 
5454     wxPyEndAllowThreads(__tstate
); 
5455     if (PyErr_Occurred()) SWIG_fail
; 
5458     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5466 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5467   PyObject 
*resultobj 
= 0; 
5468   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5472   PyObject 
*swig_obj
[1] ; 
5474   if (!args
) SWIG_fail
; 
5476   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5477   if (!SWIG_IsOK(res1
)) { 
5478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5480   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5483     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasItalic(); 
5484     wxPyEndAllowThreads(__tstate
); 
5485     if (PyErr_Occurred()) SWIG_fail
; 
5488     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5496 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5497   PyObject 
*resultobj 
= 0; 
5498   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5502   PyObject 
*swig_obj
[1] ; 
5504   if (!args
) SWIG_fail
; 
5506   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5507   if (!SWIG_IsOK(res1
)) { 
5508     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5510   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5513     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasUnderlined(); 
5514     wxPyEndAllowThreads(__tstate
); 
5515     if (PyErr_Occurred()) SWIG_fail
; 
5518     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5526 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5527   PyObject 
*resultobj 
= 0; 
5528   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5532   PyObject 
*swig_obj
[1] ; 
5534   if (!args
) SWIG_fail
; 
5536   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5537   if (!SWIG_IsOK(res1
)) { 
5538     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5540   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5542     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5543     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFaceName(); 
5544     wxPyEndAllowThreads(__tstate
); 
5545     if (PyErr_Occurred()) SWIG_fail
; 
5548     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5556 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5557   PyObject 
*resultobj 
= 0; 
5558   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5562   PyObject 
*swig_obj
[1] ; 
5564   if (!args
) SWIG_fail
; 
5566   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5567   if (!SWIG_IsOK(res1
)) { 
5568     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5570   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5572     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5573     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFont(); 
5574     wxPyEndAllowThreads(__tstate
); 
5575     if (PyErr_Occurred()) SWIG_fail
; 
5578     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5586 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5587   PyObject 
*resultobj 
= 0; 
5588   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5592   PyObject 
*swig_obj
[1] ; 
5594   if (!args
) SWIG_fail
; 
5596   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5597   if (!SWIG_IsOK(res1
)) { 
5598     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5600   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5602     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5603     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingAfter(); 
5604     wxPyEndAllowThreads(__tstate
); 
5605     if (PyErr_Occurred()) SWIG_fail
; 
5608     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5616 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5617   PyObject 
*resultobj 
= 0; 
5618   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5622   PyObject 
*swig_obj
[1] ; 
5624   if (!args
) SWIG_fail
; 
5626   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5627   if (!SWIG_IsOK(res1
)) { 
5628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5630   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5632     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5633     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingBefore(); 
5634     wxPyEndAllowThreads(__tstate
); 
5635     if (PyErr_Occurred()) SWIG_fail
; 
5638     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5646 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5647   PyObject 
*resultobj 
= 0; 
5648   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5652   PyObject 
*swig_obj
[1] ; 
5654   if (!args
) SWIG_fail
; 
5656   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5657   if (!SWIG_IsOK(res1
)) { 
5658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5660   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5663     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLineSpacing(); 
5664     wxPyEndAllowThreads(__tstate
); 
5665     if (PyErr_Occurred()) SWIG_fail
; 
5668     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5676 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5677   PyObject 
*resultobj 
= 0; 
5678   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5682   PyObject 
*swig_obj
[1] ; 
5684   if (!args
) SWIG_fail
; 
5686   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5687   if (!SWIG_IsOK(res1
)) { 
5688     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5690   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5692     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5693     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasCharacterStyleName(); 
5694     wxPyEndAllowThreads(__tstate
); 
5695     if (PyErr_Occurred()) SWIG_fail
; 
5698     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5706 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5707   PyObject 
*resultobj 
= 0; 
5708   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5712   PyObject 
*swig_obj
[1] ; 
5714   if (!args
) SWIG_fail
; 
5716   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5717   if (!SWIG_IsOK(res1
)) { 
5718     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5720   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5723     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphStyleName(); 
5724     wxPyEndAllowThreads(__tstate
); 
5725     if (PyErr_Occurred()) SWIG_fail
; 
5728     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5736 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5737   PyObject 
*resultobj 
= 0; 
5738   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5742   PyObject 
*swig_obj
[1] ; 
5744   if (!args
) SWIG_fail
; 
5746   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5747   if (!SWIG_IsOK(res1
)) { 
5748     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5750   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5752     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5753     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletStyle(); 
5754     wxPyEndAllowThreads(__tstate
); 
5755     if (PyErr_Occurred()) SWIG_fail
; 
5758     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5766 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5767   PyObject 
*resultobj 
= 0; 
5768   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5772   PyObject 
*swig_obj
[1] ; 
5774   if (!args
) SWIG_fail
; 
5776   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5777   if (!SWIG_IsOK(res1
)) { 
5778     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5780   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5782     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5783     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletNumber(); 
5784     wxPyEndAllowThreads(__tstate
); 
5785     if (PyErr_Occurred()) SWIG_fail
; 
5788     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5796 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5797   PyObject 
*resultobj 
= 0; 
5798   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5802   PyObject 
*swig_obj
[1] ; 
5804   if (!args
) SWIG_fail
; 
5806   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5807   if (!SWIG_IsOK(res1
)) { 
5808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5810   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5812     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5813     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletSymbol(); 
5814     wxPyEndAllowThreads(__tstate
); 
5815     if (PyErr_Occurred()) SWIG_fail
; 
5818     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5826 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFlag(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5827   PyObject 
*resultobj 
= 0; 
5828   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5835   PyObject 
* obj0 
= 0 ; 
5836   PyObject 
* obj1 
= 0 ; 
5837   char *  kwnames
[] = { 
5838     (char *) "self",(char *) "flag", NULL 
 
5841   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5842   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5843   if (!SWIG_IsOK(res1
)) { 
5844     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5846   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5847   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
5848   if (!SWIG_IsOK(ecode2
)) { 
5849     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'"); 
5851   arg2 
= static_cast< long >(val2
); 
5853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5854     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFlag(arg2
); 
5855     wxPyEndAllowThreads(__tstate
); 
5856     if (PyErr_Occurred()) SWIG_fail
; 
5859     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5867 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5868   PyObject 
*resultobj 
= 0; 
5869   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5873   PyObject 
*swig_obj
[1] ; 
5875   if (!args
) SWIG_fail
; 
5877   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5878   if (!SWIG_IsOK(res1
)) { 
5879     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5881   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5884     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsCharacterStyle(); 
5885     wxPyEndAllowThreads(__tstate
); 
5886     if (PyErr_Occurred()) SWIG_fail
; 
5889     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5897 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5898   PyObject 
*resultobj 
= 0; 
5899   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5903   PyObject 
*swig_obj
[1] ; 
5905   if (!args
) SWIG_fail
; 
5907   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5908   if (!SWIG_IsOK(res1
)) { 
5909     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5911   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5913     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5914     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsParagraphStyle(); 
5915     wxPyEndAllowThreads(__tstate
); 
5916     if (PyErr_Occurred()) SWIG_fail
; 
5919     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5927 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsDefault(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5928   PyObject 
*resultobj 
= 0; 
5929   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5933   PyObject 
*swig_obj
[1] ; 
5935   if (!args
) SWIG_fail
; 
5937   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5938   if (!SWIG_IsOK(res1
)) { 
5939     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5941   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5943     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5944     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsDefault(); 
5945     wxPyEndAllowThreads(__tstate
); 
5946     if (PyErr_Occurred()) SWIG_fail
; 
5949     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5957 SWIGINTERN PyObject 
*RichTextAttr_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5959   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5960   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
)); 
5961   return SWIG_Py_Void(); 
5964 SWIGINTERN PyObject 
*RichTextAttr_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5965   return SWIG_Python_InitShadowInstance(args
); 
5968 SWIGINTERN PyObject 
*_wrap_new_RichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5969   PyObject 
*resultobj 
= 0; 
5970   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5971   int arg2 
= (int) -1 ; 
5972   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
5973   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
5974   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
5975   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
5976   long arg5 
= (long) wxRE_MULTILINE 
; 
5977   wxRichTextCtrl 
*result 
= 0 ; 
5986   PyObject 
* obj0 
= 0 ; 
5987   PyObject 
* obj1 
= 0 ; 
5988   PyObject 
* obj2 
= 0 ; 
5989   PyObject 
* obj3 
= 0 ; 
5990   PyObject 
* obj4 
= 0 ; 
5991   char *  kwnames
[] = { 
5992     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
5995   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
5996   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5997   if (!SWIG_IsOK(res1
)) { 
5998     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");  
6000   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
6002     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6003     if (!SWIG_IsOK(ecode2
)) { 
6004       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'"); 
6006     arg2 
= static_cast< int >(val2
); 
6011       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
6017       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
6021     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
6022     if (!SWIG_IsOK(ecode5
)) { 
6023       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_RichTextCtrl" "', expected argument " "5"" of type '" "long""'"); 
6025     arg5 
= static_cast< long >(val5
); 
6028     if (!wxPyCheckForApp()) SWIG_fail
; 
6029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6030     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
6031     wxPyEndAllowThreads(__tstate
); 
6032     if (PyErr_Occurred()) SWIG_fail
; 
6034   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW 
|  0 ); 
6041 SWIGINTERN PyObject 
*_wrap_new_PreRichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6042   PyObject 
*resultobj 
= 0; 
6043   wxRichTextCtrl 
*result 
= 0 ; 
6045   if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
; 
6047     if (!wxPyCheckForApp()) SWIG_fail
; 
6048     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6049     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(); 
6050     wxPyEndAllowThreads(__tstate
); 
6051     if (PyErr_Occurred()) SWIG_fail
; 
6053   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN 
|  0 ); 
6060 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6061   PyObject 
*resultobj 
= 0; 
6062   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6063   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6064   int arg3 
= (int) -1 ; 
6065   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6066   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6067   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6068   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6069   long arg6 
= (long) wxRE_MULTILINE 
; 
6081   PyObject 
* obj0 
= 0 ; 
6082   PyObject 
* obj1 
= 0 ; 
6083   PyObject 
* obj2 
= 0 ; 
6084   PyObject 
* obj3 
= 0 ; 
6085   PyObject 
* obj4 
= 0 ; 
6086   PyObject 
* obj5 
= 0 ; 
6087   char *  kwnames
[] = { 
6088     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
6091   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
6092   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6093   if (!SWIG_IsOK(res1
)) { 
6094     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6096   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6097   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6098   if (!SWIG_IsOK(res2
)) { 
6099     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
6101   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6103     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6104     if (!SWIG_IsOK(ecode3
)) { 
6105       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'"); 
6107     arg3 
= static_cast< int >(val3
); 
6112       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6118       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6122     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
6123     if (!SWIG_IsOK(ecode6
)) { 
6124       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RichTextCtrl_Create" "', expected argument " "6"" of type '" "long""'"); 
6126     arg6 
= static_cast< long >(val6
); 
6129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6130     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
6131     wxPyEndAllowThreads(__tstate
); 
6132     if (PyErr_Occurred()) SWIG_fail
; 
6135     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6143 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6144   PyObject 
*resultobj 
= 0; 
6145   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6149   PyObject 
*swig_obj
[1] ; 
6151   if (!args
) SWIG_fail
; 
6153   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6154   if (!SWIG_IsOK(res1
)) { 
6155     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6157   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6159     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6160     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetValue(); 
6161     wxPyEndAllowThreads(__tstate
); 
6162     if (PyErr_Occurred()) SWIG_fail
; 
6166     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6168     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6177 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6178   PyObject 
*resultobj 
= 0; 
6179   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6180   wxString 
*arg2 
= 0 ; 
6183   bool temp2 
= false ; 
6184   PyObject 
* obj0 
= 0 ; 
6185   PyObject 
* obj1 
= 0 ; 
6186   char *  kwnames
[] = { 
6187     (char *) "self",(char *) "value", NULL 
 
6190   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6191   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6192   if (!SWIG_IsOK(res1
)) { 
6193     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6195   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6197     arg2 
= wxString_in_helper(obj1
); 
6198     if (arg2 
== NULL
) SWIG_fail
; 
6202     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6203     (arg1
)->SetValue((wxString 
const &)*arg2
); 
6204     wxPyEndAllowThreads(__tstate
); 
6205     if (PyErr_Occurred()) SWIG_fail
; 
6207   resultobj 
= SWIG_Py_Void(); 
6222 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6223   PyObject 
*resultobj 
= 0; 
6224   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6234   PyObject 
* obj0 
= 0 ; 
6235   PyObject 
* obj1 
= 0 ; 
6236   PyObject 
* obj2 
= 0 ; 
6237   char *  kwnames
[] = { 
6238     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6241   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6242   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6243   if (!SWIG_IsOK(res1
)) { 
6244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6246   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6247   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6248   if (!SWIG_IsOK(ecode2
)) { 
6249     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'"); 
6251   arg2 
= static_cast< long >(val2
); 
6252   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6253   if (!SWIG_IsOK(ecode3
)) { 
6254     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'"); 
6256   arg3 
= static_cast< long >(val3
); 
6258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6259     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
6260     wxPyEndAllowThreads(__tstate
); 
6261     if (PyErr_Occurred()) SWIG_fail
; 
6265     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6267     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6276 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6277   PyObject 
*resultobj 
= 0; 
6278   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6285   PyObject 
* obj0 
= 0 ; 
6286   PyObject 
* obj1 
= 0 ; 
6287   char *  kwnames
[] = { 
6288     (char *) "self",(char *) "lineNo", NULL 
 
6291   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6292   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6293   if (!SWIG_IsOK(res1
)) { 
6294     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6296   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6297   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6298   if (!SWIG_IsOK(ecode2
)) { 
6299     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'"); 
6301   arg2 
= static_cast< long >(val2
); 
6303     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6304     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
6305     wxPyEndAllowThreads(__tstate
); 
6306     if (PyErr_Occurred()) SWIG_fail
; 
6308   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6315 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6316   PyObject 
*resultobj 
= 0; 
6317   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6324   PyObject 
* obj0 
= 0 ; 
6325   PyObject 
* obj1 
= 0 ; 
6326   char *  kwnames
[] = { 
6327     (char *) "self",(char *) "lineNo", NULL 
 
6330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6332   if (!SWIG_IsOK(res1
)) { 
6333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6335   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6336   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6337   if (!SWIG_IsOK(ecode2
)) { 
6338     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'"); 
6340   arg2 
= static_cast< long >(val2
); 
6342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6343     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
6344     wxPyEndAllowThreads(__tstate
); 
6345     if (PyErr_Occurred()) SWIG_fail
; 
6349     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6351     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6360 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6361   PyObject 
*resultobj 
= 0; 
6362   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6366   PyObject 
*swig_obj
[1] ; 
6368   if (!args
) SWIG_fail
; 
6370   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6371   if (!SWIG_IsOK(res1
)) { 
6372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6374   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6377     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
6378     wxPyEndAllowThreads(__tstate
); 
6379     if (PyErr_Occurred()) SWIG_fail
; 
6381   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6388 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsModified(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6389   PyObject 
*resultobj 
= 0; 
6390   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6394   PyObject 
*swig_obj
[1] ; 
6396   if (!args
) SWIG_fail
; 
6398   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6399   if (!SWIG_IsOK(res1
)) { 
6400     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6402   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6404     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6405     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsModified(); 
6406     wxPyEndAllowThreads(__tstate
); 
6407     if (PyErr_Occurred()) SWIG_fail
; 
6410     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6418 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6419   PyObject 
*resultobj 
= 0; 
6420   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6424   PyObject 
*swig_obj
[1] ; 
6426   if (!args
) SWIG_fail
; 
6428   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6429   if (!SWIG_IsOK(res1
)) { 
6430     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6432   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6434     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6435     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsEditable(); 
6436     wxPyEndAllowThreads(__tstate
); 
6437     if (PyErr_Occurred()) SWIG_fail
; 
6440     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6448 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSingleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6449   PyObject 
*resultobj 
= 0; 
6450   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6454   PyObject 
*swig_obj
[1] ; 
6456   if (!args
) SWIG_fail
; 
6458   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6459   if (!SWIG_IsOK(res1
)) { 
6460     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6462   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6464     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6465     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSingleLine(); 
6466     wxPyEndAllowThreads(__tstate
); 
6467     if (PyErr_Occurred()) SWIG_fail
; 
6470     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6478 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsMultiLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6479   PyObject 
*resultobj 
= 0; 
6480   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6484   PyObject 
*swig_obj
[1] ; 
6486   if (!args
) SWIG_fail
; 
6488   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6489   if (!SWIG_IsOK(res1
)) { 
6490     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6492   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6494     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6495     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsMultiLine(); 
6496     wxPyEndAllowThreads(__tstate
); 
6497     if (PyErr_Occurred()) SWIG_fail
; 
6500     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6508 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6509   PyObject 
*resultobj 
= 0; 
6510   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6511   long *arg2 
= (long *) 0 ; 
6512   long *arg3 
= (long *) 0 ; 
6516   int res2 
= SWIG_TMPOBJ 
; 
6518   int res3 
= SWIG_TMPOBJ 
; 
6519   PyObject 
*swig_obj
[1] ; 
6523   if (!args
) SWIG_fail
; 
6525   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6526   if (!SWIG_IsOK(res1
)) { 
6527     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6529   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6531     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6532     ((wxRichTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
6533     wxPyEndAllowThreads(__tstate
); 
6534     if (PyErr_Occurred()) SWIG_fail
; 
6536   resultobj 
= SWIG_Py_Void(); 
6537   if (SWIG_IsTmpObj(res2
)) { 
6538     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
))); 
6540     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6541     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
)); 
6543   if (SWIG_IsTmpObj(res3
)) { 
6544     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
6546     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6547     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
6555 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6556   PyObject 
*resultobj 
= 0; 
6557   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6561   PyObject 
*swig_obj
[1] ; 
6563   if (!args
) SWIG_fail
; 
6565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6566   if (!SWIG_IsOK(res1
)) { 
6567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6569   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6572     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetStringSelection(); 
6573     wxPyEndAllowThreads(__tstate
); 
6574     if (PyErr_Occurred()) SWIG_fail
; 
6578     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6580     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6589 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6590   PyObject 
*resultobj 
= 0; 
6591   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6595   PyObject 
*swig_obj
[1] ; 
6597   if (!args
) SWIG_fail
; 
6599   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6600   if (!SWIG_IsOK(res1
)) { 
6601     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6603   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6606     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetFilename(); 
6607     wxPyEndAllowThreads(__tstate
); 
6608     if (PyErr_Occurred()) SWIG_fail
; 
6612     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6614     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6623 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6624   PyObject 
*resultobj 
= 0; 
6625   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6626   wxString 
*arg2 
= 0 ; 
6629   bool temp2 
= false ; 
6630   PyObject 
* obj0 
= 0 ; 
6631   PyObject 
* obj1 
= 0 ; 
6632   char *  kwnames
[] = { 
6633     (char *) "self",(char *) "filename", NULL 
 
6636   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6637   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6638   if (!SWIG_IsOK(res1
)) { 
6639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6641   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6643     arg2 
= wxString_in_helper(obj1
); 
6644     if (arg2 
== NULL
) SWIG_fail
; 
6648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6649     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
6650     wxPyEndAllowThreads(__tstate
); 
6651     if (PyErr_Occurred()) SWIG_fail
; 
6653   resultobj 
= SWIG_Py_Void(); 
6668 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6669   PyObject 
*resultobj 
= 0; 
6670   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6676   PyObject 
* obj0 
= 0 ; 
6677   PyObject 
* obj1 
= 0 ; 
6678   char *  kwnames
[] = { 
6679     (char *) "self",(char *) "threshold", NULL 
 
6682   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6683   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6684   if (!SWIG_IsOK(res1
)) { 
6685     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6687   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6688   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6689   if (!SWIG_IsOK(ecode2
)) { 
6690     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'"); 
6692   arg2 
= static_cast< long >(val2
); 
6694     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6695     (arg1
)->SetDelayedLayoutThreshold(arg2
); 
6696     wxPyEndAllowThreads(__tstate
); 
6697     if (PyErr_Occurred()) SWIG_fail
; 
6699   resultobj 
= SWIG_Py_Void(); 
6706 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6707   PyObject 
*resultobj 
= 0; 
6708   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6712   PyObject 
*swig_obj
[1] ; 
6714   if (!args
) SWIG_fail
; 
6716   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6717   if (!SWIG_IsOK(res1
)) { 
6718     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6720   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6723     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetDelayedLayoutThreshold(); 
6724     wxPyEndAllowThreads(__tstate
); 
6725     if (PyErr_Occurred()) SWIG_fail
; 
6727   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
6734 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6735   PyObject 
*resultobj 
= 0; 
6736   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6739   PyObject 
*swig_obj
[1] ; 
6741   if (!args
) SWIG_fail
; 
6743   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6744   if (!SWIG_IsOK(res1
)) { 
6745     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6747   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6749     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6751     wxPyEndAllowThreads(__tstate
); 
6752     if (PyErr_Occurred()) SWIG_fail
; 
6754   resultobj 
= SWIG_Py_Void(); 
6761 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Replace(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6762   PyObject 
*resultobj 
= 0; 
6763   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6766   wxString 
*arg4 
= 0 ; 
6773   bool temp4 
= false ; 
6774   PyObject 
* obj0 
= 0 ; 
6775   PyObject 
* obj1 
= 0 ; 
6776   PyObject 
* obj2 
= 0 ; 
6777   PyObject 
* obj3 
= 0 ; 
6778   char *  kwnames
[] = { 
6779     (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
6782   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6783   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6784   if (!SWIG_IsOK(res1
)) { 
6785     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6787   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6788   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6789   if (!SWIG_IsOK(ecode2
)) { 
6790     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'"); 
6792   arg2 
= static_cast< long >(val2
); 
6793   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6794   if (!SWIG_IsOK(ecode3
)) { 
6795     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'"); 
6797   arg3 
= static_cast< long >(val3
); 
6799     arg4 
= wxString_in_helper(obj3
); 
6800     if (arg4 
== NULL
) SWIG_fail
; 
6804     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6805     (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
6806     wxPyEndAllowThreads(__tstate
); 
6807     if (PyErr_Occurred()) SWIG_fail
; 
6809   resultobj 
= SWIG_Py_Void(); 
6824 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Remove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6825   PyObject 
*resultobj 
= 0; 
6826   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6835   PyObject 
* obj0 
= 0 ; 
6836   PyObject 
* obj1 
= 0 ; 
6837   PyObject 
* obj2 
= 0 ; 
6838   char *  kwnames
[] = { 
6839     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6842   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6843   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6844   if (!SWIG_IsOK(res1
)) { 
6845     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6847   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6848   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6849   if (!SWIG_IsOK(ecode2
)) { 
6850     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'"); 
6852   arg2 
= static_cast< long >(val2
); 
6853   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6854   if (!SWIG_IsOK(ecode3
)) { 
6855     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'"); 
6857   arg3 
= static_cast< long >(val3
); 
6859     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6860     (arg1
)->Remove(arg2
,arg3
); 
6861     wxPyEndAllowThreads(__tstate
); 
6862     if (PyErr_Occurred()) SWIG_fail
; 
6864   resultobj 
= SWIG_Py_Void(); 
6871 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6872   PyObject 
*resultobj 
= 0; 
6873   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6874   wxString 
*arg2 
= 0 ; 
6875   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6879   bool temp2 
= false ; 
6882   PyObject 
* obj0 
= 0 ; 
6883   PyObject 
* obj1 
= 0 ; 
6884   PyObject 
* obj2 
= 0 ; 
6885   char *  kwnames
[] = { 
6886     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6889   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6890   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6891   if (!SWIG_IsOK(res1
)) { 
6892     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6894   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6896     arg2 
= wxString_in_helper(obj1
); 
6897     if (arg2 
== NULL
) SWIG_fail
; 
6901     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6902     if (!SWIG_IsOK(ecode3
)) { 
6903       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'"); 
6905     arg3 
= static_cast< int >(val3
); 
6908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6909     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
6910     wxPyEndAllowThreads(__tstate
); 
6911     if (PyErr_Occurred()) SWIG_fail
; 
6914     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6930 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SaveFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6931   PyObject 
*resultobj 
= 0; 
6932   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6933   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
6934   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6935   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6939   bool temp2 
= false ; 
6942   PyObject 
* obj0 
= 0 ; 
6943   PyObject 
* obj1 
= 0 ; 
6944   PyObject 
* obj2 
= 0 ; 
6945   char *  kwnames
[] = { 
6946     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6949   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6950   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6951   if (!SWIG_IsOK(res1
)) { 
6952     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6954   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6957       arg2 
= wxString_in_helper(obj1
); 
6958       if (arg2 
== NULL
) SWIG_fail
; 
6963     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6964     if (!SWIG_IsOK(ecode3
)) { 
6965       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'"); 
6967     arg3 
= static_cast< int >(val3
); 
6970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6971     result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
); 
6972     wxPyEndAllowThreads(__tstate
); 
6973     if (PyErr_Occurred()) SWIG_fail
; 
6976     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6992 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MarkDirty(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6993   PyObject 
*resultobj 
= 0; 
6994   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6997   PyObject 
*swig_obj
[1] ; 
6999   if (!args
) SWIG_fail
; 
7001   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7002   if (!SWIG_IsOK(res1
)) { 
7003     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7005   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7007     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7008     (arg1
)->MarkDirty(); 
7009     wxPyEndAllowThreads(__tstate
); 
7010     if (PyErr_Occurred()) SWIG_fail
; 
7012   resultobj 
= SWIG_Py_Void(); 
7019 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DiscardEdits(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7020   PyObject 
*resultobj 
= 0; 
7021   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7024   PyObject 
*swig_obj
[1] ; 
7026   if (!args
) SWIG_fail
; 
7028   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7029   if (!SWIG_IsOK(res1
)) { 
7030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7032   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7034     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7035     (arg1
)->DiscardEdits(); 
7036     wxPyEndAllowThreads(__tstate
); 
7037     if (PyErr_Occurred()) SWIG_fail
; 
7039   resultobj 
= SWIG_Py_Void(); 
7046 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetMaxLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7047   PyObject 
*resultobj 
= 0; 
7048   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7049   unsigned long arg2 
; 
7052   unsigned long val2 
; 
7054   PyObject 
* obj0 
= 0 ; 
7055   PyObject 
* obj1 
= 0 ; 
7056   char *  kwnames
[] = { 
7057     (char *) "self",(char *) "len", NULL 
 
7060   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7061   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7062   if (!SWIG_IsOK(res1
)) { 
7063     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7065   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7066   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
7067   if (!SWIG_IsOK(ecode2
)) { 
7068     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'"); 
7070   arg2 
= static_cast< unsigned long >(val2
); 
7072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7073     (arg1
)->SetMaxLength(arg2
); 
7074     wxPyEndAllowThreads(__tstate
); 
7075     if (PyErr_Occurred()) SWIG_fail
; 
7077   resultobj 
= SWIG_Py_Void(); 
7084 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7085   PyObject 
*resultobj 
= 0; 
7086   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7087   wxString 
*arg2 
= 0 ; 
7090   bool temp2 
= false ; 
7091   PyObject 
* obj0 
= 0 ; 
7092   PyObject 
* obj1 
= 0 ; 
7093   char *  kwnames
[] = { 
7094     (char *) "self",(char *) "text", NULL 
 
7097   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7098   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7099   if (!SWIG_IsOK(res1
)) { 
7100     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7102   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7104     arg2 
= wxString_in_helper(obj1
); 
7105     if (arg2 
== NULL
) SWIG_fail
; 
7109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7110     (arg1
)->WriteText((wxString 
const &)*arg2
); 
7111     wxPyEndAllowThreads(__tstate
); 
7112     if (PyErr_Occurred()) SWIG_fail
; 
7114   resultobj 
= SWIG_Py_Void(); 
7129 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AppendText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7130   PyObject 
*resultobj 
= 0; 
7131   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7132   wxString 
*arg2 
= 0 ; 
7135   bool temp2 
= false ; 
7136   PyObject 
* obj0 
= 0 ; 
7137   PyObject 
* obj1 
= 0 ; 
7138   char *  kwnames
[] = { 
7139     (char *) "self",(char *) "text", NULL 
 
7142   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7143   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7144   if (!SWIG_IsOK(res1
)) { 
7145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7147   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7149     arg2 
= wxString_in_helper(obj1
); 
7150     if (arg2 
== NULL
) SWIG_fail
; 
7154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7155     (arg1
)->AppendText((wxString 
const &)*arg2
); 
7156     wxPyEndAllowThreads(__tstate
); 
7157     if (PyErr_Occurred()) SWIG_fail
; 
7159   resultobj 
= SWIG_Py_Void(); 
7174 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7175   PyObject 
*resultobj 
= 0; 
7176   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7177   wxRichTextRange 
*arg2 
= 0 ; 
7178   wxRichTextAttr 
*arg3 
= 0 ; 
7182   wxRichTextRange temp2 
; 
7185   PyObject 
* obj0 
= 0 ; 
7186   PyObject 
* obj1 
= 0 ; 
7187   PyObject 
* obj2 
= 0 ; 
7188   char *  kwnames
[] = { 
7189     (char *) "self",(char *) "range",(char *) "style", NULL 
 
7192   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7193   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7194   if (!SWIG_IsOK(res1
)) { 
7195     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7197   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7200     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
7202   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7203   if (!SWIG_IsOK(res3
)) { 
7204     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7207     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7209   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7212     result 
= (bool)(arg1
)->SetStyle((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
7213     wxPyEndAllowThreads(__tstate
); 
7214     if (PyErr_Occurred()) SWIG_fail
; 
7217     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7225 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7226   PyObject 
*resultobj 
= 0; 
7227   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7229   wxRichTextAttr 
*arg3 
= 0 ; 
7237   PyObject 
* obj0 
= 0 ; 
7238   PyObject 
* obj1 
= 0 ; 
7239   PyObject 
* obj2 
= 0 ; 
7240   char *  kwnames
[] = { 
7241     (char *) "self",(char *) "position",(char *) "style", NULL 
 
7244   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7245   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7246   if (!SWIG_IsOK(res1
)) { 
7247     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7249   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7250   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7251   if (!SWIG_IsOK(ecode2
)) { 
7252     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'"); 
7254   arg2 
= static_cast< long >(val2
); 
7255   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0 ); 
7256   if (!SWIG_IsOK(res3
)) { 
7257     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7260     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7262   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7264     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7265     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->GetStyle(arg2
,*arg3
); 
7266     wxPyEndAllowThreads(__tstate
); 
7267     if (PyErr_Occurred()) SWIG_fail
; 
7270     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7278 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7279   PyObject 
*resultobj 
= 0; 
7280   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7281   wxRichTextAttr 
*arg2 
= 0 ; 
7287   PyObject 
* obj0 
= 0 ; 
7288   PyObject 
* obj1 
= 0 ; 
7289   char *  kwnames
[] = { 
7290     (char *) "self",(char *) "style", NULL 
 
7293   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7294   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7295   if (!SWIG_IsOK(res1
)) { 
7296     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7298   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7299   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7300   if (!SWIG_IsOK(res2
)) { 
7301     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7304     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7306   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
7308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7309     result 
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr 
const &)*arg2
); 
7310     wxPyEndAllowThreads(__tstate
); 
7311     if (PyErr_Occurred()) SWIG_fail
; 
7314     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7322 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7323   PyObject 
*resultobj 
= 0; 
7324   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7325   wxRichTextAttr result
; 
7328   PyObject 
*swig_obj
[1] ; 
7330   if (!args
) SWIG_fail
; 
7332   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7333   if (!SWIG_IsOK(res1
)) { 
7334     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7336   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7338     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7339     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetDefaultStyleEx(); 
7340     wxPyEndAllowThreads(__tstate
); 
7341     if (PyErr_Occurred()) SWIG_fail
; 
7343   resultobj 
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN 
|  0 ); 
7350 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_XYToPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7351   PyObject 
*resultobj 
= 0; 
7352   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7362   PyObject 
* obj0 
= 0 ; 
7363   PyObject 
* obj1 
= 0 ; 
7364   PyObject 
* obj2 
= 0 ; 
7365   char *  kwnames
[] = { 
7366     (char *) "self",(char *) "x",(char *) "y", NULL 
 
7369   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7370   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7371   if (!SWIG_IsOK(res1
)) { 
7372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7374   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7375   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7376   if (!SWIG_IsOK(ecode2
)) { 
7377     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'"); 
7379   arg2 
= static_cast< long >(val2
); 
7380   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
7381   if (!SWIG_IsOK(ecode3
)) { 
7382     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'"); 
7384   arg3 
= static_cast< long >(val3
); 
7386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7387     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
7388     wxPyEndAllowThreads(__tstate
); 
7389     if (PyErr_Occurred()) SWIG_fail
; 
7391   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
7398 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PositionToXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7399   PyObject 
*resultobj 
= 0; 
7400   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7402   long *arg3 
= (long *) 0 ; 
7403   long *arg4 
= (long *) 0 ; 
7409   int res3 
= SWIG_TMPOBJ 
; 
7411   int res4 
= SWIG_TMPOBJ 
; 
7412   PyObject 
* obj0 
= 0 ; 
7413   PyObject 
* obj1 
= 0 ; 
7414   char *  kwnames
[] = { 
7415     (char *) "self",(char *) "pos", NULL 
 
7420   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7421   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7422   if (!SWIG_IsOK(res1
)) { 
7423     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7425   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7426   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7427   if (!SWIG_IsOK(ecode2
)) { 
7428     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'"); 
7430   arg2 
= static_cast< long >(val2
); 
7432     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7433     ((wxRichTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
7434     wxPyEndAllowThreads(__tstate
); 
7435     if (PyErr_Occurred()) SWIG_fail
; 
7437   resultobj 
= SWIG_Py_Void(); 
7438   if (SWIG_IsTmpObj(res3
)) { 
7439     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7441     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7442     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7444   if (SWIG_IsTmpObj(res4
)) { 
7445     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
))); 
7447     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7448     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
)); 
7456 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ShowPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7457   PyObject 
*resultobj 
= 0; 
7458   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7464   PyObject 
* obj0 
= 0 ; 
7465   PyObject 
* obj1 
= 0 ; 
7466   char *  kwnames
[] = { 
7467     (char *) "self",(char *) "position", NULL 
 
7470   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7471   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7472   if (!SWIG_IsOK(res1
)) { 
7473     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7475   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7476   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7477   if (!SWIG_IsOK(ecode2
)) { 
7478     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'"); 
7480   arg2 
= static_cast< long >(val2
); 
7482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7483     (arg1
)->ShowPosition(arg2
); 
7484     wxPyEndAllowThreads(__tstate
); 
7485     if (PyErr_Occurred()) SWIG_fail
; 
7487   resultobj 
= SWIG_Py_Void(); 
7494 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7495   PyObject 
*resultobj 
= 0; 
7496   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7498   long *arg3 
= (long *) 0 ; 
7499   wxTextCtrlHitTestResult result
; 
7504   int res3 
= SWIG_TMPOBJ 
; 
7505   PyObject 
* obj0 
= 0 ; 
7506   PyObject 
* obj1 
= 0 ; 
7507   char *  kwnames
[] = { 
7508     (char *) "self",(char *) "pt", NULL 
 
7512   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7513   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7514   if (!SWIG_IsOK(res1
)) { 
7515     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7517   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7520     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7523     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7524     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
7525     wxPyEndAllowThreads(__tstate
); 
7526     if (PyErr_Occurred()) SWIG_fail
; 
7528   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7529   if (SWIG_IsTmpObj(res3
)) { 
7530     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7532     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7533     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7541 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7542   PyObject 
*resultobj 
= 0; 
7543   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7545   wxTextCoord 
*arg3 
= (wxTextCoord 
*) 0 ; 
7546   wxTextCoord 
*arg4 
= (wxTextCoord 
*) 0 ; 
7547   wxTextCtrlHitTestResult result
; 
7555   PyObject 
* obj0 
= 0 ; 
7556   PyObject 
* obj1 
= 0 ; 
7557   PyObject 
* obj2 
= 0 ; 
7558   PyObject 
* obj3 
= 0 ; 
7559   char *  kwnames
[] = { 
7560     (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
7563   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7564   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7565   if (!SWIG_IsOK(res1
)) { 
7566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7568   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7571     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7573   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7574   if (!SWIG_IsOK(res3
)) { 
7575     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");  
7577   arg3 
= reinterpret_cast< wxTextCoord 
* >(argp3
); 
7578   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7579   if (!SWIG_IsOK(res4
)) { 
7580     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");  
7582   arg4 
= reinterpret_cast< wxTextCoord 
* >(argp4
); 
7584     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7585     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
7586     wxPyEndAllowThreads(__tstate
); 
7587     if (PyErr_Occurred()) SWIG_fail
; 
7589   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7596 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Copy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7597   PyObject 
*resultobj 
= 0; 
7598   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7601   PyObject 
*swig_obj
[1] ; 
7603   if (!args
) SWIG_fail
; 
7605   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7606   if (!SWIG_IsOK(res1
)) { 
7607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7609   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7613     wxPyEndAllowThreads(__tstate
); 
7614     if (PyErr_Occurred()) SWIG_fail
; 
7616   resultobj 
= SWIG_Py_Void(); 
7623 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Cut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7624   PyObject 
*resultobj 
= 0; 
7625   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7628   PyObject 
*swig_obj
[1] ; 
7630   if (!args
) SWIG_fail
; 
7632   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7633   if (!SWIG_IsOK(res1
)) { 
7634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7636   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7640     wxPyEndAllowThreads(__tstate
); 
7641     if (PyErr_Occurred()) SWIG_fail
; 
7643   resultobj 
= SWIG_Py_Void(); 
7650 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Paste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7651   PyObject 
*resultobj 
= 0; 
7652   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7655   PyObject 
*swig_obj
[1] ; 
7657   if (!args
) SWIG_fail
; 
7659   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7660   if (!SWIG_IsOK(res1
)) { 
7661     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7663   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7667     wxPyEndAllowThreads(__tstate
); 
7668     if (PyErr_Occurred()) SWIG_fail
; 
7670   resultobj 
= SWIG_Py_Void(); 
7677 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7678   PyObject 
*resultobj 
= 0; 
7679   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7682   PyObject 
*swig_obj
[1] ; 
7684   if (!args
) SWIG_fail
; 
7686   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7687   if (!SWIG_IsOK(res1
)) { 
7688     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7690   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7692     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7693     (arg1
)->DeleteSelection(); 
7694     wxPyEndAllowThreads(__tstate
); 
7695     if (PyErr_Occurred()) SWIG_fail
; 
7697   resultobj 
= SWIG_Py_Void(); 
7704 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCopy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7705   PyObject 
*resultobj 
= 0; 
7706   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7710   PyObject 
*swig_obj
[1] ; 
7712   if (!args
) SWIG_fail
; 
7714   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7715   if (!SWIG_IsOK(res1
)) { 
7716     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7718   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7720     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7721     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCopy(); 
7722     wxPyEndAllowThreads(__tstate
); 
7723     if (PyErr_Occurred()) SWIG_fail
; 
7726     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7734 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7735   PyObject 
*resultobj 
= 0; 
7736   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7740   PyObject 
*swig_obj
[1] ; 
7742   if (!args
) SWIG_fail
; 
7744   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7745   if (!SWIG_IsOK(res1
)) { 
7746     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7748   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7751     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCut(); 
7752     wxPyEndAllowThreads(__tstate
); 
7753     if (PyErr_Occurred()) SWIG_fail
; 
7756     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7764 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanPaste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7765   PyObject 
*resultobj 
= 0; 
7766   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7770   PyObject 
*swig_obj
[1] ; 
7772   if (!args
) SWIG_fail
; 
7774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7775   if (!SWIG_IsOK(res1
)) { 
7776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7778   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7781     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanPaste(); 
7782     wxPyEndAllowThreads(__tstate
); 
7783     if (PyErr_Occurred()) SWIG_fail
; 
7786     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7794 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7795   PyObject 
*resultobj 
= 0; 
7796   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7800   PyObject 
*swig_obj
[1] ; 
7802   if (!args
) SWIG_fail
; 
7804   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7805   if (!SWIG_IsOK(res1
)) { 
7806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7808   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7811     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanDeleteSelection(); 
7812     wxPyEndAllowThreads(__tstate
); 
7813     if (PyErr_Occurred()) SWIG_fail
; 
7816     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7824 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Undo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7825   PyObject 
*resultobj 
= 0; 
7826   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7829   PyObject 
*swig_obj
[1] ; 
7831   if (!args
) SWIG_fail
; 
7833   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7834   if (!SWIG_IsOK(res1
)) { 
7835     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7837   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7839     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7841     wxPyEndAllowThreads(__tstate
); 
7842     if (PyErr_Occurred()) SWIG_fail
; 
7844   resultobj 
= SWIG_Py_Void(); 
7851 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Redo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7852   PyObject 
*resultobj 
= 0; 
7853   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7856   PyObject 
*swig_obj
[1] ; 
7858   if (!args
) SWIG_fail
; 
7860   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7861   if (!SWIG_IsOK(res1
)) { 
7862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7864   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7866     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7868     wxPyEndAllowThreads(__tstate
); 
7869     if (PyErr_Occurred()) SWIG_fail
; 
7871   resultobj 
= SWIG_Py_Void(); 
7878 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7879   PyObject 
*resultobj 
= 0; 
7880   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7884   PyObject 
*swig_obj
[1] ; 
7886   if (!args
) SWIG_fail
; 
7888   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7889   if (!SWIG_IsOK(res1
)) { 
7890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7892   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7895     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanUndo(); 
7896     wxPyEndAllowThreads(__tstate
); 
7897     if (PyErr_Occurred()) SWIG_fail
; 
7900     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7908 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanRedo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7909   PyObject 
*resultobj 
= 0; 
7910   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7914   PyObject 
*swig_obj
[1] ; 
7916   if (!args
) SWIG_fail
; 
7918   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7919   if (!SWIG_IsOK(res1
)) { 
7920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7922   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7924     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7925     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanRedo(); 
7926     wxPyEndAllowThreads(__tstate
); 
7927     if (PyErr_Occurred()) SWIG_fail
; 
7930     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7938 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7939   PyObject 
*resultobj 
= 0; 
7940   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7946   PyObject 
* obj0 
= 0 ; 
7947   PyObject 
* obj1 
= 0 ; 
7948   char *  kwnames
[] = { 
7949     (char *) "self",(char *) "pos", NULL 
 
7952   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7953   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7954   if (!SWIG_IsOK(res1
)) { 
7955     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7957   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7958   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7959   if (!SWIG_IsOK(ecode2
)) { 
7960     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'"); 
7962   arg2 
= static_cast< long >(val2
); 
7964     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7965     (arg1
)->SetInsertionPoint(arg2
); 
7966     wxPyEndAllowThreads(__tstate
); 
7967     if (PyErr_Occurred()) SWIG_fail
; 
7969   resultobj 
= SWIG_Py_Void(); 
7976 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7977   PyObject 
*resultobj 
= 0; 
7978   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7981   PyObject 
*swig_obj
[1] ; 
7983   if (!args
) SWIG_fail
; 
7985   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7986   if (!SWIG_IsOK(res1
)) { 
7987     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7989   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7991     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7992     (arg1
)->SetInsertionPointEnd(); 
7993     wxPyEndAllowThreads(__tstate
); 
7994     if (PyErr_Occurred()) SWIG_fail
; 
7996   resultobj 
= SWIG_Py_Void(); 
8003 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8004   PyObject 
*resultobj 
= 0; 
8005   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8009   PyObject 
*swig_obj
[1] ; 
8011   if (!args
) SWIG_fail
; 
8013   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8014   if (!SWIG_IsOK(res1
)) { 
8015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8017   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8019     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8020     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
8021     wxPyEndAllowThreads(__tstate
); 
8022     if (PyErr_Occurred()) SWIG_fail
; 
8024   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8031 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLastPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8032   PyObject 
*resultobj 
= 0; 
8033   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8037   PyObject 
*swig_obj
[1] ; 
8039   if (!args
) SWIG_fail
; 
8041   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8042   if (!SWIG_IsOK(res1
)) { 
8043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8045   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8048     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetLastPosition(); 
8049     wxPyEndAllowThreads(__tstate
); 
8050     if (PyErr_Occurred()) SWIG_fail
; 
8052   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8059 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8060   PyObject 
*resultobj 
= 0; 
8061   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8070   PyObject 
* obj0 
= 0 ; 
8071   PyObject 
* obj1 
= 0 ; 
8072   PyObject 
* obj2 
= 0 ; 
8073   char *  kwnames
[] = { 
8074     (char *) "self",(char *) "from",(char *) "to", NULL 
 
8077   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8078   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8079   if (!SWIG_IsOK(res1
)) { 
8080     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8082   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8083   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8084   if (!SWIG_IsOK(ecode2
)) { 
8085     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'"); 
8087   arg2 
= static_cast< long >(val2
); 
8088   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8089   if (!SWIG_IsOK(ecode3
)) { 
8090     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'"); 
8092   arg3 
= static_cast< long >(val3
); 
8094     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8095     (arg1
)->SetSelection(arg2
,arg3
); 
8096     wxPyEndAllowThreads(__tstate
); 
8097     if (PyErr_Occurred()) SWIG_fail
; 
8099   resultobj 
= SWIG_Py_Void(); 
8106 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8107   PyObject 
*resultobj 
= 0; 
8108   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8111   PyObject 
*swig_obj
[1] ; 
8113   if (!args
) SWIG_fail
; 
8115   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8116   if (!SWIG_IsOK(res1
)) { 
8117     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8119   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8122     (arg1
)->SelectAll(); 
8123     wxPyEndAllowThreads(__tstate
); 
8124     if (PyErr_Occurred()) SWIG_fail
; 
8126   resultobj 
= SWIG_Py_Void(); 
8133 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8134   PyObject 
*resultobj 
= 0; 
8135   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8141   PyObject 
* obj0 
= 0 ; 
8142   PyObject 
* obj1 
= 0 ; 
8143   char *  kwnames
[] = { 
8144     (char *) "self",(char *) "editable", NULL 
 
8147   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8148   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8149   if (!SWIG_IsOK(res1
)) { 
8150     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8152   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8153   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
8154   if (!SWIG_IsOK(ecode2
)) { 
8155     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'"); 
8157   arg2 
= static_cast< bool >(val2
); 
8159     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8160     (arg1
)->SetEditable(arg2
); 
8161     wxPyEndAllowThreads(__tstate
); 
8162     if (PyErr_Occurred()) SWIG_fail
; 
8164   resultobj 
= SWIG_Py_Void(); 
8171 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8172   PyObject 
*resultobj 
= 0; 
8173   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8177   PyObject 
*swig_obj
[1] ; 
8179   if (!args
) SWIG_fail
; 
8181   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8182   if (!SWIG_IsOK(res1
)) { 
8183     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8185   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8187     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8188     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasSelection(); 
8189     wxPyEndAllowThreads(__tstate
); 
8190     if (PyErr_Occurred()) SWIG_fail
; 
8193     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8201 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8202   PyObject 
*resultobj 
= 0; 
8203   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8205   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8213   PyObject 
* obj0 
= 0 ; 
8214   PyObject 
* obj1 
= 0 ; 
8215   PyObject 
* obj2 
= 0 ; 
8216   char *  kwnames
[] = { 
8217     (char *) "self",(char *) "image",(char *) "bitmapType", NULL 
 
8220   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8221   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8222   if (!SWIG_IsOK(res1
)) { 
8223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8225   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8226   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
8227   if (!SWIG_IsOK(res2
)) { 
8228     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8231     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8233   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
8235     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8236     if (!SWIG_IsOK(ecode3
)) { 
8237       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'"); 
8239     arg3 
= static_cast< int >(val3
); 
8242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8243     result 
= (bool)(arg1
)->WriteImage((wxImage 
const &)*arg2
,arg3
); 
8244     wxPyEndAllowThreads(__tstate
); 
8245     if (PyErr_Occurred()) SWIG_fail
; 
8248     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8256 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8257   PyObject 
*resultobj 
= 0; 
8258   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8259   wxBitmap 
*arg2 
= 0 ; 
8260   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8268   PyObject 
* obj0 
= 0 ; 
8269   PyObject 
* obj1 
= 0 ; 
8270   PyObject 
* obj2 
= 0 ; 
8271   char *  kwnames
[] = { 
8272     (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL 
 
8275   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8276   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8277   if (!SWIG_IsOK(res1
)) { 
8278     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8280   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8281   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8282   if (!SWIG_IsOK(res2
)) { 
8283     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8286     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8288   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8290     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8291     if (!SWIG_IsOK(ecode3
)) { 
8292       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'"); 
8294     arg3 
= static_cast< int >(val3
); 
8297     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8298     result 
= (bool)(arg1
)->WriteImage((wxBitmap 
const &)*arg2
,arg3
); 
8299     wxPyEndAllowThreads(__tstate
); 
8300     if (PyErr_Occurred()) SWIG_fail
; 
8303     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8311 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8312   PyObject 
*resultobj 
= 0; 
8313   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8314   wxString 
*arg2 
= 0 ; 
8319   bool temp2 
= false ; 
8322   PyObject 
* obj0 
= 0 ; 
8323   PyObject 
* obj1 
= 0 ; 
8324   PyObject 
* obj2 
= 0 ; 
8325   char *  kwnames
[] = { 
8326     (char *) "self",(char *) "filename",(char *) "bitmapType", NULL 
 
8329   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8330   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8331   if (!SWIG_IsOK(res1
)) { 
8332     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8334   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8336     arg2 
= wxString_in_helper(obj1
); 
8337     if (arg2 
== NULL
) SWIG_fail
; 
8340   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8341   if (!SWIG_IsOK(ecode3
)) { 
8342     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'"); 
8344   arg3 
= static_cast< int >(val3
); 
8346     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8347     result 
= (bool)(arg1
)->WriteImage((wxString 
const &)*arg2
,arg3
); 
8348     wxPyEndAllowThreads(__tstate
); 
8349     if (PyErr_Occurred()) SWIG_fail
; 
8352     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8368 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8369   PyObject 
*resultobj 
= 0; 
8370   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8371   wxRichTextImageBlock 
*arg2 
= 0 ; 
8377   PyObject 
* obj0 
= 0 ; 
8378   PyObject 
* obj1 
= 0 ; 
8379   char *  kwnames
[] = { 
8380     (char *) "self",(char *) "imageBlock", NULL 
 
8383   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8384   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8385   if (!SWIG_IsOK(res1
)) { 
8386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8388   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8389   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
,  0  | 0); 
8390   if (!SWIG_IsOK(res2
)) { 
8391     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8394     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8396   arg2 
= reinterpret_cast< wxRichTextImageBlock 
* >(argp2
); 
8398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8399     result 
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock 
const &)*arg2
); 
8400     wxPyEndAllowThreads(__tstate
); 
8401     if (PyErr_Occurred()) SWIG_fail
; 
8404     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8412 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Newline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8413   PyObject 
*resultobj 
= 0; 
8414   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8418   PyObject 
*swig_obj
[1] ; 
8420   if (!args
) SWIG_fail
; 
8422   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8423   if (!SWIG_IsOK(res1
)) { 
8424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8426   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8429     result 
= (bool)(arg1
)->Newline(); 
8430     wxPyEndAllowThreads(__tstate
); 
8431     if (PyErr_Occurred()) SWIG_fail
; 
8434     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8442 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetBasicStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8443   PyObject 
*resultobj 
= 0; 
8444   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8445   wxRichTextAttr 
*arg2 
= 0 ; 
8450   PyObject 
* obj0 
= 0 ; 
8451   PyObject 
* obj1 
= 0 ; 
8452   char *  kwnames
[] = { 
8453     (char *) "self",(char *) "style", NULL 
 
8456   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8457   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8458   if (!SWIG_IsOK(res1
)) { 
8459     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8461   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8462   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
8463   if (!SWIG_IsOK(res2
)) { 
8464     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8467     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8469   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
8471     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8472     (arg1
)->SetBasicStyle((wxRichTextAttr 
const &)*arg2
); 
8473     wxPyEndAllowThreads(__tstate
); 
8474     if (PyErr_Occurred()) SWIG_fail
; 
8476   resultobj 
= SWIG_Py_Void(); 
8483 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8484   PyObject 
*resultobj 
= 0; 
8485   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8489   PyObject 
*swig_obj
[1] ; 
8491   if (!args
) SWIG_fail
; 
8493   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8494   if (!SWIG_IsOK(res1
)) { 
8495     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8497   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8500     result 
= (bool)(arg1
)->EndStyle(); 
8501     wxPyEndAllowThreads(__tstate
); 
8502     if (PyErr_Occurred()) SWIG_fail
; 
8505     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8513 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAllStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8514   PyObject 
*resultobj 
= 0; 
8515   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8519   PyObject 
*swig_obj
[1] ; 
8521   if (!args
) SWIG_fail
; 
8523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8524   if (!SWIG_IsOK(res1
)) { 
8525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8527   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8530     result 
= (bool)(arg1
)->EndAllStyles(); 
8531     wxPyEndAllowThreads(__tstate
); 
8532     if (PyErr_Occurred()) SWIG_fail
; 
8535     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8543 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8544   PyObject 
*resultobj 
= 0; 
8545   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8549   PyObject 
*swig_obj
[1] ; 
8551   if (!args
) SWIG_fail
; 
8553   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8554   if (!SWIG_IsOK(res1
)) { 
8555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8557   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8560     result 
= (bool)(arg1
)->BeginBold(); 
8561     wxPyEndAllowThreads(__tstate
); 
8562     if (PyErr_Occurred()) SWIG_fail
; 
8565     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8573 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8574   PyObject 
*resultobj 
= 0; 
8575   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8579   PyObject 
*swig_obj
[1] ; 
8581   if (!args
) SWIG_fail
; 
8583   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8584   if (!SWIG_IsOK(res1
)) { 
8585     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8587   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8590     result 
= (bool)(arg1
)->EndBold(); 
8591     wxPyEndAllowThreads(__tstate
); 
8592     if (PyErr_Occurred()) SWIG_fail
; 
8595     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8603 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8604   PyObject 
*resultobj 
= 0; 
8605   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8609   PyObject 
*swig_obj
[1] ; 
8611   if (!args
) SWIG_fail
; 
8613   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8614   if (!SWIG_IsOK(res1
)) { 
8615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8617   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8620     result 
= (bool)(arg1
)->BeginItalic(); 
8621     wxPyEndAllowThreads(__tstate
); 
8622     if (PyErr_Occurred()) SWIG_fail
; 
8625     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8633 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8634   PyObject 
*resultobj 
= 0; 
8635   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8639   PyObject 
*swig_obj
[1] ; 
8641   if (!args
) SWIG_fail
; 
8643   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8644   if (!SWIG_IsOK(res1
)) { 
8645     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8647   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8650     result 
= (bool)(arg1
)->EndItalic(); 
8651     wxPyEndAllowThreads(__tstate
); 
8652     if (PyErr_Occurred()) SWIG_fail
; 
8655     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8663 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8664   PyObject 
*resultobj 
= 0; 
8665   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8669   PyObject 
*swig_obj
[1] ; 
8671   if (!args
) SWIG_fail
; 
8673   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8674   if (!SWIG_IsOK(res1
)) { 
8675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8677   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8679     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8680     result 
= (bool)(arg1
)->BeginUnderline(); 
8681     wxPyEndAllowThreads(__tstate
); 
8682     if (PyErr_Occurred()) SWIG_fail
; 
8685     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8693 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8694   PyObject 
*resultobj 
= 0; 
8695   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8699   PyObject 
*swig_obj
[1] ; 
8701   if (!args
) SWIG_fail
; 
8703   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8704   if (!SWIG_IsOK(res1
)) { 
8705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8707   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8710     result 
= (bool)(arg1
)->EndUnderline(); 
8711     wxPyEndAllowThreads(__tstate
); 
8712     if (PyErr_Occurred()) SWIG_fail
; 
8715     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8723 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8724   PyObject 
*resultobj 
= 0; 
8725   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8732   PyObject 
* obj0 
= 0 ; 
8733   PyObject 
* obj1 
= 0 ; 
8734   char *  kwnames
[] = { 
8735     (char *) "self",(char *) "pointSize", NULL 
 
8738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8740   if (!SWIG_IsOK(res1
)) { 
8741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8743   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8744   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8745   if (!SWIG_IsOK(ecode2
)) { 
8746     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'"); 
8748   arg2 
= static_cast< int >(val2
); 
8750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8751     result 
= (bool)(arg1
)->BeginFontSize(arg2
); 
8752     wxPyEndAllowThreads(__tstate
); 
8753     if (PyErr_Occurred()) SWIG_fail
; 
8756     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8764 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8765   PyObject 
*resultobj 
= 0; 
8766   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8770   PyObject 
*swig_obj
[1] ; 
8772   if (!args
) SWIG_fail
; 
8774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8775   if (!SWIG_IsOK(res1
)) { 
8776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8778   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8781     result 
= (bool)(arg1
)->EndFontSize(); 
8782     wxPyEndAllowThreads(__tstate
); 
8783     if (PyErr_Occurred()) SWIG_fail
; 
8786     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8794 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8795   PyObject 
*resultobj 
= 0; 
8796   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8803   PyObject 
* obj0 
= 0 ; 
8804   PyObject 
* obj1 
= 0 ; 
8805   char *  kwnames
[] = { 
8806     (char *) "self",(char *) "font", NULL 
 
8809   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8810   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8811   if (!SWIG_IsOK(res1
)) { 
8812     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8814   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8815   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
8816   if (!SWIG_IsOK(res2
)) { 
8817     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8820     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8822   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
8824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8825     result 
= (bool)(arg1
)->BeginFont((wxFont 
const &)*arg2
); 
8826     wxPyEndAllowThreads(__tstate
); 
8827     if (PyErr_Occurred()) SWIG_fail
; 
8830     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8838 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8839   PyObject 
*resultobj 
= 0; 
8840   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8844   PyObject 
*swig_obj
[1] ; 
8846   if (!args
) SWIG_fail
; 
8848   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8849   if (!SWIG_IsOK(res1
)) { 
8850     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8852   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8855     result 
= (bool)(arg1
)->EndFont(); 
8856     wxPyEndAllowThreads(__tstate
); 
8857     if (PyErr_Occurred()) SWIG_fail
; 
8860     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8868 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8869   PyObject 
*resultobj 
= 0; 
8870   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8871   wxColour 
*arg2 
= 0 ; 
8876   PyObject 
* obj0 
= 0 ; 
8877   PyObject 
* obj1 
= 0 ; 
8878   char *  kwnames
[] = { 
8879     (char *) "self",(char *) "colour", NULL 
 
8882   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8883   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8884   if (!SWIG_IsOK(res1
)) { 
8885     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8887   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8890     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8893     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8894     result 
= (bool)(arg1
)->BeginTextColour((wxColour 
const &)*arg2
); 
8895     wxPyEndAllowThreads(__tstate
); 
8896     if (PyErr_Occurred()) SWIG_fail
; 
8899     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8907 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8908   PyObject 
*resultobj 
= 0; 
8909   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8913   PyObject 
*swig_obj
[1] ; 
8915   if (!args
) SWIG_fail
; 
8917   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8918   if (!SWIG_IsOK(res1
)) { 
8919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8921   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8924     result 
= (bool)(arg1
)->EndTextColour(); 
8925     wxPyEndAllowThreads(__tstate
); 
8926     if (PyErr_Occurred()) SWIG_fail
; 
8929     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8937 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8938   PyObject 
*resultobj 
= 0; 
8939   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8940   wxTextAttrAlignment arg2 
; 
8946   PyObject 
* obj0 
= 0 ; 
8947   PyObject 
* obj1 
= 0 ; 
8948   char *  kwnames
[] = { 
8949     (char *) "self",(char *) "alignment", NULL 
 
8952   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8953   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8954   if (!SWIG_IsOK(res1
)) { 
8955     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8957   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8958   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8959   if (!SWIG_IsOK(ecode2
)) { 
8960     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
8962   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
8964     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8965     result 
= (bool)(arg1
)->BeginAlignment(arg2
); 
8966     wxPyEndAllowThreads(__tstate
); 
8967     if (PyErr_Occurred()) SWIG_fail
; 
8970     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8978 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8979   PyObject 
*resultobj 
= 0; 
8980   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8984   PyObject 
*swig_obj
[1] ; 
8986   if (!args
) SWIG_fail
; 
8988   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8989   if (!SWIG_IsOK(res1
)) { 
8990     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8992   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8995     result 
= (bool)(arg1
)->EndAlignment(); 
8996     wxPyEndAllowThreads(__tstate
); 
8997     if (PyErr_Occurred()) SWIG_fail
; 
9000     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9008 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9009   PyObject 
*resultobj 
= 0; 
9010   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9012   int arg3 
= (int) 0 ; 
9020   PyObject 
* obj0 
= 0 ; 
9021   PyObject 
* obj1 
= 0 ; 
9022   PyObject 
* obj2 
= 0 ; 
9023   char *  kwnames
[] = { 
9024     (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL 
 
9027   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9028   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9029   if (!SWIG_IsOK(res1
)) { 
9030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9032   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9033   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9034   if (!SWIG_IsOK(ecode2
)) { 
9035     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
9037   arg2 
= static_cast< int >(val2
); 
9039     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9040     if (!SWIG_IsOK(ecode3
)) { 
9041       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
9043     arg3 
= static_cast< int >(val3
); 
9046     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9047     result 
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
); 
9048     wxPyEndAllowThreads(__tstate
); 
9049     if (PyErr_Occurred()) SWIG_fail
; 
9052     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9060 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9061   PyObject 
*resultobj 
= 0; 
9062   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9066   PyObject 
*swig_obj
[1] ; 
9068   if (!args
) SWIG_fail
; 
9070   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9071   if (!SWIG_IsOK(res1
)) { 
9072     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9074   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9077     result 
= (bool)(arg1
)->EndLeftIndent(); 
9078     wxPyEndAllowThreads(__tstate
); 
9079     if (PyErr_Occurred()) SWIG_fail
; 
9082     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9090 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9091   PyObject 
*resultobj 
= 0; 
9092   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9099   PyObject 
* obj0 
= 0 ; 
9100   PyObject 
* obj1 
= 0 ; 
9101   char *  kwnames
[] = { 
9102     (char *) "self",(char *) "rightIndent", NULL 
 
9105   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9106   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9107   if (!SWIG_IsOK(res1
)) { 
9108     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9110   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9111   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9112   if (!SWIG_IsOK(ecode2
)) { 
9113     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'"); 
9115   arg2 
= static_cast< int >(val2
); 
9117     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9118     result 
= (bool)(arg1
)->BeginRightIndent(arg2
); 
9119     wxPyEndAllowThreads(__tstate
); 
9120     if (PyErr_Occurred()) SWIG_fail
; 
9123     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9131 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9132   PyObject 
*resultobj 
= 0; 
9133   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9137   PyObject 
*swig_obj
[1] ; 
9139   if (!args
) SWIG_fail
; 
9141   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9142   if (!SWIG_IsOK(res1
)) { 
9143     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9145   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9147     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9148     result 
= (bool)(arg1
)->EndRightIndent(); 
9149     wxPyEndAllowThreads(__tstate
); 
9150     if (PyErr_Occurred()) SWIG_fail
; 
9153     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9161 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9162   PyObject 
*resultobj 
= 0; 
9163   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9173   PyObject 
* obj0 
= 0 ; 
9174   PyObject 
* obj1 
= 0 ; 
9175   PyObject 
* obj2 
= 0 ; 
9176   char *  kwnames
[] = { 
9177     (char *) "self",(char *) "before",(char *) "after", NULL 
 
9180   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9181   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9182   if (!SWIG_IsOK(res1
)) { 
9183     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9185   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9186   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9187   if (!SWIG_IsOK(ecode2
)) { 
9188     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'"); 
9190   arg2 
= static_cast< int >(val2
); 
9191   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9192   if (!SWIG_IsOK(ecode3
)) { 
9193     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'"); 
9195   arg3 
= static_cast< int >(val3
); 
9197     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9198     result 
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
); 
9199     wxPyEndAllowThreads(__tstate
); 
9200     if (PyErr_Occurred()) SWIG_fail
; 
9203     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9211 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9212   PyObject 
*resultobj 
= 0; 
9213   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9217   PyObject 
*swig_obj
[1] ; 
9219   if (!args
) SWIG_fail
; 
9221   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9222   if (!SWIG_IsOK(res1
)) { 
9223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9225   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9228     result 
= (bool)(arg1
)->EndParagraphSpacing(); 
9229     wxPyEndAllowThreads(__tstate
); 
9230     if (PyErr_Occurred()) SWIG_fail
; 
9233     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9241 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9242   PyObject 
*resultobj 
= 0; 
9243   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9250   PyObject 
* obj0 
= 0 ; 
9251   PyObject 
* obj1 
= 0 ; 
9252   char *  kwnames
[] = { 
9253     (char *) "self",(char *) "lineSpacing", NULL 
 
9256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9258   if (!SWIG_IsOK(res1
)) { 
9259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9261   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9262   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9263   if (!SWIG_IsOK(ecode2
)) { 
9264     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
9266   arg2 
= static_cast< int >(val2
); 
9268     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9269     result 
= (bool)(arg1
)->BeginLineSpacing(arg2
); 
9270     wxPyEndAllowThreads(__tstate
); 
9271     if (PyErr_Occurred()) SWIG_fail
; 
9274     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9282 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9283   PyObject 
*resultobj 
= 0; 
9284   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9288   PyObject 
*swig_obj
[1] ; 
9290   if (!args
) SWIG_fail
; 
9292   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9293   if (!SWIG_IsOK(res1
)) { 
9294     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9296   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9299     result 
= (bool)(arg1
)->EndLineSpacing(); 
9300     wxPyEndAllowThreads(__tstate
); 
9301     if (PyErr_Occurred()) SWIG_fail
; 
9304     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9312 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9313   PyObject 
*resultobj 
= 0; 
9314   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9318   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD 
; 
9330   PyObject 
* obj0 
= 0 ; 
9331   PyObject 
* obj1 
= 0 ; 
9332   PyObject 
* obj2 
= 0 ; 
9333   PyObject 
* obj3 
= 0 ; 
9334   PyObject 
* obj4 
= 0 ; 
9335   char *  kwnames
[] = { 
9336     (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9340   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9341   if (!SWIG_IsOK(res1
)) { 
9342     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9344   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9345   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9346   if (!SWIG_IsOK(ecode2
)) { 
9347     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'"); 
9349   arg2 
= static_cast< int >(val2
); 
9350   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9351   if (!SWIG_IsOK(ecode3
)) { 
9352     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'"); 
9354   arg3 
= static_cast< int >(val3
); 
9355   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9356   if (!SWIG_IsOK(ecode4
)) { 
9357     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'"); 
9359   arg4 
= static_cast< int >(val4
); 
9361     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9362     if (!SWIG_IsOK(ecode5
)) { 
9363       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'"); 
9365     arg5 
= static_cast< int >(val5
); 
9368     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9369     result 
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
); 
9370     wxPyEndAllowThreads(__tstate
); 
9371     if (PyErr_Occurred()) SWIG_fail
; 
9374     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9382 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9383   PyObject 
*resultobj 
= 0; 
9384   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9388   PyObject 
*swig_obj
[1] ; 
9390   if (!args
) SWIG_fail
; 
9392   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9393   if (!SWIG_IsOK(res1
)) { 
9394     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9396   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9399     result 
= (bool)(arg1
)->EndNumberedBullet(); 
9400     wxPyEndAllowThreads(__tstate
); 
9401     if (PyErr_Occurred()) SWIG_fail
; 
9404     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9412 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9413   PyObject 
*resultobj 
= 0; 
9414   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9418   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL 
; 
9430   PyObject 
* obj0 
= 0 ; 
9431   PyObject 
* obj1 
= 0 ; 
9432   PyObject 
* obj2 
= 0 ; 
9433   PyObject 
* obj3 
= 0 ; 
9434   PyObject 
* obj4 
= 0 ; 
9435   char *  kwnames
[] = { 
9436     (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9439   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9440   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9441   if (!SWIG_IsOK(res1
)) { 
9442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9444   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9445   ecode2 
= SWIG_AsVal_char(obj1
, &val2
); 
9446   if (!SWIG_IsOK(ecode2
)) { 
9447     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'"); 
9449   arg2 
= static_cast< char >(val2
); 
9450   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9451   if (!SWIG_IsOK(ecode3
)) { 
9452     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'"); 
9454   arg3 
= static_cast< int >(val3
); 
9455   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9456   if (!SWIG_IsOK(ecode4
)) { 
9457     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'"); 
9459   arg4 
= static_cast< int >(val4
); 
9461     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9462     if (!SWIG_IsOK(ecode5
)) { 
9463       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'"); 
9465     arg5 
= static_cast< int >(val5
); 
9468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9469     result 
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
); 
9470     wxPyEndAllowThreads(__tstate
); 
9471     if (PyErr_Occurred()) SWIG_fail
; 
9474     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9482 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9483   PyObject 
*resultobj 
= 0; 
9484   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9488   PyObject 
*swig_obj
[1] ; 
9490   if (!args
) SWIG_fail
; 
9492   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9493   if (!SWIG_IsOK(res1
)) { 
9494     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9496   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9498     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9499     result 
= (bool)(arg1
)->EndSymbolBullet(); 
9500     wxPyEndAllowThreads(__tstate
); 
9501     if (PyErr_Occurred()) SWIG_fail
; 
9504     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9512 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9513   PyObject 
*resultobj 
= 0; 
9514   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9515   wxString 
*arg2 
= 0 ; 
9519   bool temp2 
= false ; 
9520   PyObject 
* obj0 
= 0 ; 
9521   PyObject 
* obj1 
= 0 ; 
9522   char *  kwnames
[] = { 
9523     (char *) "self",(char *) "characterStyle", NULL 
 
9526   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9527   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9528   if (!SWIG_IsOK(res1
)) { 
9529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9531   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9533     arg2 
= wxString_in_helper(obj1
); 
9534     if (arg2 
== NULL
) SWIG_fail
; 
9538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9539     result 
= (bool)(arg1
)->BeginCharacterStyle((wxString 
const &)*arg2
); 
9540     wxPyEndAllowThreads(__tstate
); 
9541     if (PyErr_Occurred()) SWIG_fail
; 
9544     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9560 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9561   PyObject 
*resultobj 
= 0; 
9562   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9566   PyObject 
*swig_obj
[1] ; 
9568   if (!args
) SWIG_fail
; 
9570   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9571   if (!SWIG_IsOK(res1
)) { 
9572     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9574   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9576     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9577     result 
= (bool)(arg1
)->EndCharacterStyle(); 
9578     wxPyEndAllowThreads(__tstate
); 
9579     if (PyErr_Occurred()) SWIG_fail
; 
9582     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9590 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9591   PyObject 
*resultobj 
= 0; 
9592   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9593   wxString 
*arg2 
= 0 ; 
9597   bool temp2 
= false ; 
9598   PyObject 
* obj0 
= 0 ; 
9599   PyObject 
* obj1 
= 0 ; 
9600   char *  kwnames
[] = { 
9601     (char *) "self",(char *) "paragraphStyle", NULL 
 
9604   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9605   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9606   if (!SWIG_IsOK(res1
)) { 
9607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9609   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9611     arg2 
= wxString_in_helper(obj1
); 
9612     if (arg2 
== NULL
) SWIG_fail
; 
9616     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9617     result 
= (bool)(arg1
)->BeginParagraphStyle((wxString 
const &)*arg2
); 
9618     wxPyEndAllowThreads(__tstate
); 
9619     if (PyErr_Occurred()) SWIG_fail
; 
9622     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9638 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9639   PyObject 
*resultobj 
= 0; 
9640   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9644   PyObject 
*swig_obj
[1] ; 
9646   if (!args
) SWIG_fail
; 
9648   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9649   if (!SWIG_IsOK(res1
)) { 
9650     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9652   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9654     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9655     result 
= (bool)(arg1
)->EndParagraphStyle(); 
9656     wxPyEndAllowThreads(__tstate
); 
9657     if (PyErr_Occurred()) SWIG_fail
; 
9660     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9668 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9669   PyObject 
*resultobj 
= 0; 
9670   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9674   PyObject 
*swig_obj
[1] ; 
9676   if (!args
) SWIG_fail
; 
9678   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9679   if (!SWIG_IsOK(res1
)) { 
9680     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9682   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9684     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9685     result 
= (bool)(arg1
)->SetDefaultStyleToCursorStyle(); 
9686     wxPyEndAllowThreads(__tstate
); 
9687     if (PyErr_Occurred()) SWIG_fail
; 
9690     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9698 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectNone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9699   PyObject 
*resultobj 
= 0; 
9700   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9703   PyObject 
*swig_obj
[1] ; 
9705   if (!args
) SWIG_fail
; 
9707   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9708   if (!SWIG_IsOK(res1
)) { 
9709     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9711   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9713     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9714     (arg1
)->SelectNone(); 
9715     wxPyEndAllowThreads(__tstate
); 
9716     if (PyErr_Occurred()) SWIG_fail
; 
9718   resultobj 
= SWIG_Py_Void(); 
9725 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9726   PyObject 
*resultobj 
= 0; 
9727   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9728   wxRichTextRange 
*result 
= 0 ; 
9731   PyObject 
*swig_obj
[1] ; 
9733   if (!args
) SWIG_fail
; 
9735   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9736   if (!SWIG_IsOK(res1
)) { 
9737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
9739   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9743       wxRichTextRange 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetSelectionRange(); 
9744       result 
= (wxRichTextRange 
*) &_result_ref
; 
9746     wxPyEndAllowThreads(__tstate
); 
9747     if (PyErr_Occurred()) SWIG_fail
; 
9749   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
9756 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9757   PyObject 
*resultobj 
= 0; 
9758   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9759   wxRichTextRange 
*arg2 
= 0 ; 
9762   wxRichTextRange temp2 
; 
9763   PyObject 
* obj0 
= 0 ; 
9764   PyObject 
* obj1 
= 0 ; 
9765   char *  kwnames
[] = { 
9766     (char *) "self",(char *) "range", NULL 
 
9769   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9770   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9771   if (!SWIG_IsOK(res1
)) { 
9772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9774   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9777     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
9780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9781     (arg1
)->SetSelectionRange((wxRichTextRange 
const &)*arg2
); 
9782     wxPyEndAllowThreads(__tstate
); 
9783     if (PyErr_Occurred()) SWIG_fail
; 
9785   resultobj 
= SWIG_Py_Void(); 
9792 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddParagraph(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9793   PyObject 
*resultobj 
= 0; 
9794   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9795   wxString 
*arg2 
= 0 ; 
9796   wxRichTextRange result
; 
9799   bool temp2 
= false ; 
9800   PyObject 
* obj0 
= 0 ; 
9801   PyObject 
* obj1 
= 0 ; 
9802   char *  kwnames
[] = { 
9803     (char *) "self",(char *) "text", NULL 
 
9806   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9807   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9808   if (!SWIG_IsOK(res1
)) { 
9809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9811   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9813     arg2 
= wxString_in_helper(obj1
); 
9814     if (arg2 
== NULL
) SWIG_fail
; 
9818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9819     result 
= (arg1
)->AddParagraph((wxString 
const &)*arg2
); 
9820     wxPyEndAllowThreads(__tstate
); 
9821     if (PyErr_Occurred()) SWIG_fail
; 
9823   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
9838 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9839   PyObject 
*resultobj 
= 0; 
9840   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9842   wxRichTextRange result
; 
9847   PyObject 
* obj0 
= 0 ; 
9848   PyObject 
* obj1 
= 0 ; 
9849   char *  kwnames
[] = { 
9850     (char *) "self",(char *) "image", NULL 
 
9853   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9854   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9855   if (!SWIG_IsOK(res1
)) { 
9856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9858   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9859   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
9860   if (!SWIG_IsOK(res2
)) { 
9861     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
9864     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
9866   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
9868     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9869     result 
= (arg1
)->AddImage((wxImage 
const &)*arg2
); 
9870     wxPyEndAllowThreads(__tstate
); 
9871     if (PyErr_Occurred()) SWIG_fail
; 
9873   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
9880 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LayoutContent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9881   PyObject 
*resultobj 
= 0; 
9882   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9883   bool arg2 
= (bool) false ; 
9889   PyObject 
* obj0 
= 0 ; 
9890   PyObject 
* obj1 
= 0 ; 
9891   char *  kwnames
[] = { 
9892     (char *) "self",(char *) "onlyVisibleRect", NULL 
 
9895   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9896   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9897   if (!SWIG_IsOK(res1
)) { 
9898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9900   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9902     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
9903     if (!SWIG_IsOK(ecode2
)) { 
9904       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'"); 
9906     arg2 
= static_cast< bool >(val2
); 
9909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9910     result 
= (bool)(arg1
)->LayoutContent(arg2
); 
9911     wxPyEndAllowThreads(__tstate
); 
9912     if (PyErr_Occurred()) SWIG_fail
; 
9915     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9923 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveCaret(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9924   PyObject 
*resultobj 
= 0; 
9925   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9927   bool arg3 
= (bool) false ; 
9935   PyObject 
* obj0 
= 0 ; 
9936   PyObject 
* obj1 
= 0 ; 
9937   PyObject 
* obj2 
= 0 ; 
9938   char *  kwnames
[] = { 
9939     (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL 
 
9942   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9943   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9944   if (!SWIG_IsOK(res1
)) { 
9945     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9947   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9948   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
9949   if (!SWIG_IsOK(ecode2
)) { 
9950     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'"); 
9952   arg2 
= static_cast< long >(val2
); 
9954     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
9955     if (!SWIG_IsOK(ecode3
)) { 
9956       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'"); 
9958     arg3 
= static_cast< bool >(val3
); 
9961     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9962     result 
= (bool)(arg1
)->MoveCaret(arg2
,arg3
); 
9963     wxPyEndAllowThreads(__tstate
); 
9964     if (PyErr_Occurred()) SWIG_fail
; 
9967     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9975 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9976   PyObject 
*resultobj 
= 0; 
9977   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9978   int arg2 
= (int) 1 ; 
9979   int arg3 
= (int) 0 ; 
9987   PyObject 
* obj0 
= 0 ; 
9988   PyObject 
* obj1 
= 0 ; 
9989   PyObject 
* obj2 
= 0 ; 
9990   char *  kwnames
[] = { 
9991     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
9994   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9995   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9996   if (!SWIG_IsOK(res1
)) { 
9997     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9999   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10001     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10002     if (!SWIG_IsOK(ecode2
)) { 
10003       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'"); 
10005     arg2 
= static_cast< int >(val2
); 
10008     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10009     if (!SWIG_IsOK(ecode3
)) { 
10010       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'"); 
10012     arg3 
= static_cast< int >(val3
); 
10015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10016     result 
= (bool)(arg1
)->MoveRight(arg2
,arg3
); 
10017     wxPyEndAllowThreads(__tstate
); 
10018     if (PyErr_Occurred()) SWIG_fail
; 
10021     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10029 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10030   PyObject 
*resultobj 
= 0; 
10031   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10032   int arg2 
= (int) 1 ; 
10033   int arg3 
= (int) 0 ; 
10041   PyObject 
* obj0 
= 0 ; 
10042   PyObject 
* obj1 
= 0 ; 
10043   PyObject 
* obj2 
= 0 ; 
10044   char *  kwnames
[] = { 
10045     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10049   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10050   if (!SWIG_IsOK(res1
)) { 
10051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10053   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10055     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10056     if (!SWIG_IsOK(ecode2
)) { 
10057       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'"); 
10059     arg2 
= static_cast< int >(val2
); 
10062     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10063     if (!SWIG_IsOK(ecode3
)) { 
10064       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'"); 
10066     arg3 
= static_cast< int >(val3
); 
10069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10070     result 
= (bool)(arg1
)->MoveLeft(arg2
,arg3
); 
10071     wxPyEndAllowThreads(__tstate
); 
10072     if (PyErr_Occurred()) SWIG_fail
; 
10075     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10083 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10084   PyObject 
*resultobj 
= 0; 
10085   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10086   int arg2 
= (int) 1 ; 
10087   int arg3 
= (int) 0 ; 
10095   PyObject 
* obj0 
= 0 ; 
10096   PyObject 
* obj1 
= 0 ; 
10097   PyObject 
* obj2 
= 0 ; 
10098   char *  kwnames
[] = { 
10099     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10102   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10103   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10104   if (!SWIG_IsOK(res1
)) { 
10105     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10107   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10109     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10110     if (!SWIG_IsOK(ecode2
)) { 
10111       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'"); 
10113     arg2 
= static_cast< int >(val2
); 
10116     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10117     if (!SWIG_IsOK(ecode3
)) { 
10118       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'"); 
10120     arg3 
= static_cast< int >(val3
); 
10123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10124     result 
= (bool)(arg1
)->MoveUp(arg2
,arg3
); 
10125     wxPyEndAllowThreads(__tstate
); 
10126     if (PyErr_Occurred()) SWIG_fail
; 
10129     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10137 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10138   PyObject 
*resultobj 
= 0; 
10139   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10140   int arg2 
= (int) 1 ; 
10141   int arg3 
= (int) 0 ; 
10149   PyObject 
* obj0 
= 0 ; 
10150   PyObject 
* obj1 
= 0 ; 
10151   PyObject 
* obj2 
= 0 ; 
10152   char *  kwnames
[] = { 
10153     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10156   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10157   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10158   if (!SWIG_IsOK(res1
)) { 
10159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10161   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10163     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10164     if (!SWIG_IsOK(ecode2
)) { 
10165       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'"); 
10167     arg2 
= static_cast< int >(val2
); 
10170     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10171     if (!SWIG_IsOK(ecode3
)) { 
10172       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'"); 
10174     arg3 
= static_cast< int >(val3
); 
10177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10178     result 
= (bool)(arg1
)->MoveDown(arg2
,arg3
); 
10179     wxPyEndAllowThreads(__tstate
); 
10180     if (PyErr_Occurred()) SWIG_fail
; 
10183     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10191 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10192   PyObject 
*resultobj 
= 0; 
10193   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10194   int arg2 
= (int) 0 ; 
10200   PyObject 
* obj0 
= 0 ; 
10201   PyObject 
* obj1 
= 0 ; 
10202   char *  kwnames
[] = { 
10203     (char *) "self",(char *) "flags", NULL 
 
10206   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10207   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10208   if (!SWIG_IsOK(res1
)) { 
10209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10211   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10213     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10214     if (!SWIG_IsOK(ecode2
)) { 
10215       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'"); 
10217     arg2 
= static_cast< int >(val2
); 
10220     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10221     result 
= (bool)(arg1
)->MoveToLineEnd(arg2
); 
10222     wxPyEndAllowThreads(__tstate
); 
10223     if (PyErr_Occurred()) SWIG_fail
; 
10226     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10234 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10235   PyObject 
*resultobj 
= 0; 
10236   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10237   int arg2 
= (int) 0 ; 
10243   PyObject 
* obj0 
= 0 ; 
10244   PyObject 
* obj1 
= 0 ; 
10245   char *  kwnames
[] = { 
10246     (char *) "self",(char *) "flags", NULL 
 
10249   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10250   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10251   if (!SWIG_IsOK(res1
)) { 
10252     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10254   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10256     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10257     if (!SWIG_IsOK(ecode2
)) { 
10258       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'"); 
10260     arg2 
= static_cast< int >(val2
); 
10263     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10264     result 
= (bool)(arg1
)->MoveToLineStart(arg2
); 
10265     wxPyEndAllowThreads(__tstate
); 
10266     if (PyErr_Occurred()) SWIG_fail
; 
10269     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10277 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10278   PyObject 
*resultobj 
= 0; 
10279   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10280   int arg2 
= (int) 0 ; 
10286   PyObject 
* obj0 
= 0 ; 
10287   PyObject 
* obj1 
= 0 ; 
10288   char *  kwnames
[] = { 
10289     (char *) "self",(char *) "flags", NULL 
 
10292   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10293   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10294   if (!SWIG_IsOK(res1
)) { 
10295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10297   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10299     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10300     if (!SWIG_IsOK(ecode2
)) { 
10301       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'"); 
10303     arg2 
= static_cast< int >(val2
); 
10306     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10307     result 
= (bool)(arg1
)->MoveToParagraphEnd(arg2
); 
10308     wxPyEndAllowThreads(__tstate
); 
10309     if (PyErr_Occurred()) SWIG_fail
; 
10312     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10320 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10321   PyObject 
*resultobj 
= 0; 
10322   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10323   int arg2 
= (int) 0 ; 
10329   PyObject 
* obj0 
= 0 ; 
10330   PyObject 
* obj1 
= 0 ; 
10331   char *  kwnames
[] = { 
10332     (char *) "self",(char *) "flags", NULL 
 
10335   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10336   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10337   if (!SWIG_IsOK(res1
)) { 
10338     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10340   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10342     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10343     if (!SWIG_IsOK(ecode2
)) { 
10344       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'"); 
10346     arg2 
= static_cast< int >(val2
); 
10349     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10350     result 
= (bool)(arg1
)->MoveToParagraphStart(arg2
); 
10351     wxPyEndAllowThreads(__tstate
); 
10352     if (PyErr_Occurred()) SWIG_fail
; 
10355     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10363 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveHome(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10364   PyObject 
*resultobj 
= 0; 
10365   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10366   int arg2 
= (int) 0 ; 
10372   PyObject 
* obj0 
= 0 ; 
10373   PyObject 
* obj1 
= 0 ; 
10374   char *  kwnames
[] = { 
10375     (char *) "self",(char *) "flags", NULL 
 
10378   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10379   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10380   if (!SWIG_IsOK(res1
)) { 
10381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10383   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10385     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10386     if (!SWIG_IsOK(ecode2
)) { 
10387       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'"); 
10389     arg2 
= static_cast< int >(val2
); 
10392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10393     result 
= (bool)(arg1
)->MoveHome(arg2
); 
10394     wxPyEndAllowThreads(__tstate
); 
10395     if (PyErr_Occurred()) SWIG_fail
; 
10398     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10406 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10407   PyObject 
*resultobj 
= 0; 
10408   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10409   int arg2 
= (int) 0 ; 
10415   PyObject 
* obj0 
= 0 ; 
10416   PyObject 
* obj1 
= 0 ; 
10417   char *  kwnames
[] = { 
10418     (char *) "self",(char *) "flags", NULL 
 
10421   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10422   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10423   if (!SWIG_IsOK(res1
)) { 
10424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10426   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10428     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10429     if (!SWIG_IsOK(ecode2
)) { 
10430       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'"); 
10432     arg2 
= static_cast< int >(val2
); 
10435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10436     result 
= (bool)(arg1
)->MoveEnd(arg2
); 
10437     wxPyEndAllowThreads(__tstate
); 
10438     if (PyErr_Occurred()) SWIG_fail
; 
10441     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10449 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10450   PyObject 
*resultobj 
= 0; 
10451   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10452   int arg2 
= (int) 1 ; 
10453   int arg3 
= (int) 0 ; 
10461   PyObject 
* obj0 
= 0 ; 
10462   PyObject 
* obj1 
= 0 ; 
10463   PyObject 
* obj2 
= 0 ; 
10464   char *  kwnames
[] = { 
10465     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10468   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10469   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10470   if (!SWIG_IsOK(res1
)) { 
10471     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10473   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10475     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10476     if (!SWIG_IsOK(ecode2
)) { 
10477       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'"); 
10479     arg2 
= static_cast< int >(val2
); 
10482     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10483     if (!SWIG_IsOK(ecode3
)) { 
10484       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'"); 
10486     arg3 
= static_cast< int >(val3
); 
10489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10490     result 
= (bool)(arg1
)->PageUp(arg2
,arg3
); 
10491     wxPyEndAllowThreads(__tstate
); 
10492     if (PyErr_Occurred()) SWIG_fail
; 
10495     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10503 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10504   PyObject 
*resultobj 
= 0; 
10505   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10506   int arg2 
= (int) 1 ; 
10507   int arg3 
= (int) 0 ; 
10515   PyObject 
* obj0 
= 0 ; 
10516   PyObject 
* obj1 
= 0 ; 
10517   PyObject 
* obj2 
= 0 ; 
10518   char *  kwnames
[] = { 
10519     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10522   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10523   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10524   if (!SWIG_IsOK(res1
)) { 
10525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10527   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10529     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10530     if (!SWIG_IsOK(ecode2
)) { 
10531       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'"); 
10533     arg2 
= static_cast< int >(val2
); 
10536     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10537     if (!SWIG_IsOK(ecode3
)) { 
10538       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'"); 
10540     arg3 
= static_cast< int >(val3
); 
10543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10544     result 
= (bool)(arg1
)->PageDown(arg2
,arg3
); 
10545     wxPyEndAllowThreads(__tstate
); 
10546     if (PyErr_Occurred()) SWIG_fail
; 
10549     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10557 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10558   PyObject 
*resultobj 
= 0; 
10559   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10560   int arg2 
= (int) 1 ; 
10561   int arg3 
= (int) 0 ; 
10569   PyObject 
* obj0 
= 0 ; 
10570   PyObject 
* obj1 
= 0 ; 
10571   PyObject 
* obj2 
= 0 ; 
10572   char *  kwnames
[] = { 
10573     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10576   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10577   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10578   if (!SWIG_IsOK(res1
)) { 
10579     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10581   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10583     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10584     if (!SWIG_IsOK(ecode2
)) { 
10585       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'"); 
10587     arg2 
= static_cast< int >(val2
); 
10590     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10591     if (!SWIG_IsOK(ecode3
)) { 
10592       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'"); 
10594     arg3 
= static_cast< int >(val3
); 
10597     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10598     result 
= (bool)(arg1
)->WordLeft(arg2
,arg3
); 
10599     wxPyEndAllowThreads(__tstate
); 
10600     if (PyErr_Occurred()) SWIG_fail
; 
10603     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10611 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10612   PyObject 
*resultobj 
= 0; 
10613   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10614   int arg2 
= (int) 1 ; 
10615   int arg3 
= (int) 0 ; 
10623   PyObject 
* obj0 
= 0 ; 
10624   PyObject 
* obj1 
= 0 ; 
10625   PyObject 
* obj2 
= 0 ; 
10626   char *  kwnames
[] = { 
10627     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10630   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10631   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10632   if (!SWIG_IsOK(res1
)) { 
10633     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10635   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10637     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10638     if (!SWIG_IsOK(ecode2
)) { 
10639       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'"); 
10641     arg2 
= static_cast< int >(val2
); 
10644     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10645     if (!SWIG_IsOK(ecode3
)) { 
10646       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'"); 
10648     arg3 
= static_cast< int >(val3
); 
10651     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10652     result 
= (bool)(arg1
)->WordRight(arg2
,arg3
); 
10653     wxPyEndAllowThreads(__tstate
); 
10654     if (PyErr_Occurred()) SWIG_fail
; 
10657     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10665 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetBuffer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10666   PyObject 
*resultobj 
= 0; 
10667   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10668   wxRichTextBuffer 
*result 
= 0 ; 
10671   PyObject 
*swig_obj
[1] ; 
10673   if (!args
) SWIG_fail
; 
10674   swig_obj
[0] = args
; 
10675   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10676   if (!SWIG_IsOK(res1
)) { 
10677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10679   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10681     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10683       wxRichTextBuffer 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetBuffer(); 
10684       result 
= (wxRichTextBuffer 
*) &_result_ref
; 
10686     wxPyEndAllowThreads(__tstate
); 
10687     if (PyErr_Occurred()) SWIG_fail
; 
10689   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 |  0 ); 
10696 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10697   PyObject 
*resultobj 
= 0; 
10698   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10699   wxString 
*arg2 
= 0 ; 
10703   bool temp2 
= false ; 
10704   PyObject 
* obj0 
= 0 ; 
10705   PyObject 
* obj1 
= 0 ; 
10706   char *  kwnames
[] = { 
10707     (char *) "self",(char *) "cmdName", NULL 
 
10710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10711   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10712   if (!SWIG_IsOK(res1
)) { 
10713     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10715   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10717     arg2 
= wxString_in_helper(obj1
); 
10718     if (arg2 
== NULL
) SWIG_fail
; 
10722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10723     result 
= (bool)(arg1
)->BeginBatchUndo((wxString 
const &)*arg2
); 
10724     wxPyEndAllowThreads(__tstate
); 
10725     if (PyErr_Occurred()) SWIG_fail
; 
10728     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10744 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10745   PyObject 
*resultobj 
= 0; 
10746   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10750   PyObject 
*swig_obj
[1] ; 
10752   if (!args
) SWIG_fail
; 
10753   swig_obj
[0] = args
; 
10754   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10755   if (!SWIG_IsOK(res1
)) { 
10756     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10758   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10760     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10761     result 
= (bool)(arg1
)->EndBatchUndo(); 
10762     wxPyEndAllowThreads(__tstate
); 
10763     if (PyErr_Occurred()) SWIG_fail
; 
10766     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10774 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BatchingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10775   PyObject 
*resultobj 
= 0; 
10776   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10780   PyObject 
*swig_obj
[1] ; 
10782   if (!args
) SWIG_fail
; 
10783   swig_obj
[0] = args
; 
10784   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10785   if (!SWIG_IsOK(res1
)) { 
10786     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10788   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10790     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10791     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->BatchingUndo(); 
10792     wxPyEndAllowThreads(__tstate
); 
10793     if (PyErr_Occurred()) SWIG_fail
; 
10796     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10804 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10805   PyObject 
*resultobj 
= 0; 
10806   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10810   PyObject 
*swig_obj
[1] ; 
10812   if (!args
) SWIG_fail
; 
10813   swig_obj
[0] = args
; 
10814   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10815   if (!SWIG_IsOK(res1
)) { 
10816     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10818   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10820     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10821     result 
= (bool)(arg1
)->BeginSuppressUndo(); 
10822     wxPyEndAllowThreads(__tstate
); 
10823     if (PyErr_Occurred()) SWIG_fail
; 
10826     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10834 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10835   PyObject 
*resultobj 
= 0; 
10836   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10840   PyObject 
*swig_obj
[1] ; 
10842   if (!args
) SWIG_fail
; 
10843   swig_obj
[0] = args
; 
10844   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10845   if (!SWIG_IsOK(res1
)) { 
10846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10848   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10851     result 
= (bool)(arg1
)->EndSuppressUndo(); 
10852     wxPyEndAllowThreads(__tstate
); 
10853     if (PyErr_Occurred()) SWIG_fail
; 
10856     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10864 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SuppressingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10865   PyObject 
*resultobj 
= 0; 
10866   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10870   PyObject 
*swig_obj
[1] ; 
10872   if (!args
) SWIG_fail
; 
10873   swig_obj
[0] = args
; 
10874   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10875   if (!SWIG_IsOK(res1
)) { 
10876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10878   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10881     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->SuppressingUndo(); 
10882     wxPyEndAllowThreads(__tstate
); 
10883     if (PyErr_Occurred()) SWIG_fail
; 
10886     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10894 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10895   PyObject 
*resultobj 
= 0; 
10896   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10897   wxRichTextRange 
*arg2 
= 0 ; 
10898   wxRichTextAttr 
*arg3 
= 0 ; 
10902   wxRichTextRange temp2 
; 
10905   PyObject 
* obj0 
= 0 ; 
10906   PyObject 
* obj1 
= 0 ; 
10907   PyObject 
* obj2 
= 0 ; 
10908   char *  kwnames
[] = { 
10909     (char *) "self",(char *) "range",(char *) "style", NULL 
 
10912   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10913   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10914   if (!SWIG_IsOK(res1
)) { 
10915     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10917   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10920     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10922   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
10923   if (!SWIG_IsOK(res3
)) { 
10924     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10927     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10929   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
10931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10932     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasCharacterAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
10933     wxPyEndAllowThreads(__tstate
); 
10934     if (PyErr_Occurred()) SWIG_fail
; 
10937     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10945 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10946   PyObject 
*resultobj 
= 0; 
10947   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10948   wxRichTextRange 
*arg2 
= 0 ; 
10949   wxRichTextAttr 
*arg3 
= 0 ; 
10953   wxRichTextRange temp2 
; 
10956   PyObject 
* obj0 
= 0 ; 
10957   PyObject 
* obj1 
= 0 ; 
10958   PyObject 
* obj2 
= 0 ; 
10959   char *  kwnames
[] = { 
10960     (char *) "self",(char *) "range",(char *) "style", NULL 
 
10963   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10964   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10965   if (!SWIG_IsOK(res1
)) { 
10966     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10968   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10971     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10973   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
10974   if (!SWIG_IsOK(res3
)) { 
10975     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10978     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10980   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
10982     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10983     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasParagraphAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
10984     wxPyEndAllowThreads(__tstate
); 
10985     if (PyErr_Occurred()) SWIG_fail
; 
10988     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10996 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10997   PyObject 
*resultobj 
= 0; 
10998   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11002   PyObject 
*swig_obj
[1] ; 
11004   if (!args
) SWIG_fail
; 
11005   swig_obj
[0] = args
; 
11006   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11007   if (!SWIG_IsOK(res1
)) { 
11008     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11010   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11012     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11013     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionBold(); 
11014     wxPyEndAllowThreads(__tstate
); 
11015     if (PyErr_Occurred()) SWIG_fail
; 
11018     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11026 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11027   PyObject 
*resultobj 
= 0; 
11028   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11032   PyObject 
*swig_obj
[1] ; 
11034   if (!args
) SWIG_fail
; 
11035   swig_obj
[0] = args
; 
11036   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11037   if (!SWIG_IsOK(res1
)) { 
11038     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11040   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11042     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11043     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionItalics(); 
11044     wxPyEndAllowThreads(__tstate
); 
11045     if (PyErr_Occurred()) SWIG_fail
; 
11048     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11056 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11057   PyObject 
*resultobj 
= 0; 
11058   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11062   PyObject 
*swig_obj
[1] ; 
11064   if (!args
) SWIG_fail
; 
11065   swig_obj
[0] = args
; 
11066   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11067   if (!SWIG_IsOK(res1
)) { 
11068     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11070   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11073     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionUnderlined(); 
11074     wxPyEndAllowThreads(__tstate
); 
11075     if (PyErr_Occurred()) SWIG_fail
; 
11078     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11086 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11087   PyObject 
*resultobj 
= 0; 
11088   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11089   wxTextAttrAlignment arg2 
; 
11095   PyObject 
* obj0 
= 0 ; 
11096   PyObject 
* obj1 
= 0 ; 
11097   char *  kwnames
[] = { 
11098     (char *) "self",(char *) "alignment", NULL 
 
11101   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11102   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11103   if (!SWIG_IsOK(res1
)) { 
11104     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11106   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11107   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11108   if (!SWIG_IsOK(ecode2
)) { 
11109     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11111   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11113     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11114     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionAligned(arg2
); 
11115     wxPyEndAllowThreads(__tstate
); 
11116     if (PyErr_Occurred()) SWIG_fail
; 
11119     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11127 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11128   PyObject 
*resultobj 
= 0; 
11129   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11133   PyObject 
*swig_obj
[1] ; 
11135   if (!args
) SWIG_fail
; 
11136   swig_obj
[0] = args
; 
11137   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11138   if (!SWIG_IsOK(res1
)) { 
11139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11141   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11144     result 
= (bool)(arg1
)->ApplyBoldToSelection(); 
11145     wxPyEndAllowThreads(__tstate
); 
11146     if (PyErr_Occurred()) SWIG_fail
; 
11149     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11157 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11158   PyObject 
*resultobj 
= 0; 
11159   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11163   PyObject 
*swig_obj
[1] ; 
11165   if (!args
) SWIG_fail
; 
11166   swig_obj
[0] = args
; 
11167   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11168   if (!SWIG_IsOK(res1
)) { 
11169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11171   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11174     result 
= (bool)(arg1
)->ApplyItalicToSelection(); 
11175     wxPyEndAllowThreads(__tstate
); 
11176     if (PyErr_Occurred()) SWIG_fail
; 
11179     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11187 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11188   PyObject 
*resultobj 
= 0; 
11189   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11193   PyObject 
*swig_obj
[1] ; 
11195   if (!args
) SWIG_fail
; 
11196   swig_obj
[0] = args
; 
11197   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11198   if (!SWIG_IsOK(res1
)) { 
11199     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11201   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11204     result 
= (bool)(arg1
)->ApplyUnderlineToSelection(); 
11205     wxPyEndAllowThreads(__tstate
); 
11206     if (PyErr_Occurred()) SWIG_fail
; 
11209     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11217 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11218   PyObject 
*resultobj 
= 0; 
11219   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11220   wxTextAttrAlignment arg2 
; 
11226   PyObject 
* obj0 
= 0 ; 
11227   PyObject 
* obj1 
= 0 ; 
11228   char *  kwnames
[] = { 
11229     (char *) "self",(char *) "alignment", NULL 
 
11232   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11233   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11234   if (!SWIG_IsOK(res1
)) { 
11235     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11237   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11238   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11239   if (!SWIG_IsOK(ecode2
)) { 
11240     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11242   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11244     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11245     result 
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
); 
11246     wxPyEndAllowThreads(__tstate
); 
11247     if (PyErr_Occurred()) SWIG_fail
; 
11250     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11258 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11259   PyObject 
*resultobj 
= 0; 
11260   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11261   wxRichTextStyleSheet 
*arg2 
= (wxRichTextStyleSheet 
*) 0 ; 
11266   PyObject 
* obj0 
= 0 ; 
11267   PyObject 
* obj1 
= 0 ; 
11268   char *  kwnames
[] = { 
11269     (char *) "self",(char *) "styleSheet", NULL 
 
11272   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11273   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11274   if (!SWIG_IsOK(res1
)) { 
11275     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11277   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11278   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11279   if (!SWIG_IsOK(res2
)) { 
11280     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");  
11282   arg2 
= reinterpret_cast< wxRichTextStyleSheet 
* >(argp2
); 
11284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11285     (arg1
)->SetStyleSheet(arg2
); 
11286     wxPyEndAllowThreads(__tstate
); 
11287     if (PyErr_Occurred()) SWIG_fail
; 
11289   resultobj 
= SWIG_Py_Void(); 
11296 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11297   PyObject 
*resultobj 
= 0; 
11298   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11299   wxRichTextStyleSheet 
*result 
= 0 ; 
11302   PyObject 
*swig_obj
[1] ; 
11304   if (!args
) SWIG_fail
; 
11305   swig_obj
[0] = args
; 
11306   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11307   if (!SWIG_IsOK(res1
)) { 
11308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11310   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11313     result 
= (wxRichTextStyleSheet 
*)((wxRichTextCtrl 
const *)arg1
)->GetStyleSheet(); 
11314     wxPyEndAllowThreads(__tstate
); 
11315     if (PyErr_Occurred()) SWIG_fail
; 
11317   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11324 SWIGINTERN PyObject 
*RichTextCtrl_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11326   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11327   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
)); 
11328   return SWIG_Py_Void(); 
11331 SWIGINTERN PyObject 
*RichTextCtrl_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11332   return SWIG_Python_InitShadowInstance(args
); 
11335 SWIGINTERN PyObject 
*_wrap_new_RichTextEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11336   PyObject 
*resultobj 
= 0; 
11337   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11338   int arg2 
= (int) 0 ; 
11339   wxRichTextEvent 
*result 
= 0 ; 
11344   PyObject 
* obj0 
= 0 ; 
11345   PyObject 
* obj1 
= 0 ; 
11346   char *  kwnames
[] = { 
11347     (char *) "commandType",(char *) "winid", NULL 
 
11350   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11352     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11353     if (!SWIG_IsOK(ecode1
)) { 
11354       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
11356     arg1 
= static_cast< wxEventType 
>(val1
); 
11359     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11360     if (!SWIG_IsOK(ecode2
)) { 
11361       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'"); 
11363     arg2 
= static_cast< int >(val2
); 
11366     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11367     result 
= (wxRichTextEvent 
*)new wxRichTextEvent(arg1
,arg2
); 
11368     wxPyEndAllowThreads(__tstate
); 
11369     if (PyErr_Occurred()) SWIG_fail
; 
11371   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW 
|  0 ); 
11378 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11379   PyObject 
*resultobj 
= 0; 
11380   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11384   PyObject 
*swig_obj
[1] ; 
11386   if (!args
) SWIG_fail
; 
11387   swig_obj
[0] = args
; 
11388   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11389   if (!SWIG_IsOK(res1
)) { 
11390     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11392   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11394     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11395     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetIndex(); 
11396     wxPyEndAllowThreads(__tstate
); 
11397     if (PyErr_Occurred()) SWIG_fail
; 
11399   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11406 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11407   PyObject 
*resultobj 
= 0; 
11408   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11414   PyObject 
* obj0 
= 0 ; 
11415   PyObject 
* obj1 
= 0 ; 
11416   char *  kwnames
[] = { 
11417     (char *) "self",(char *) "n", NULL 
 
11420   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11421   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11422   if (!SWIG_IsOK(res1
)) { 
11423     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11425   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11426   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11427   if (!SWIG_IsOK(ecode2
)) { 
11428     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'"); 
11430   arg2 
= static_cast< int >(val2
); 
11432     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11433     (arg1
)->SetIndex(arg2
); 
11434     wxPyEndAllowThreads(__tstate
); 
11435     if (PyErr_Occurred()) SWIG_fail
; 
11437   resultobj 
= SWIG_Py_Void(); 
11444 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11445   PyObject 
*resultobj 
= 0; 
11446   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11450   PyObject 
*swig_obj
[1] ; 
11452   if (!args
) SWIG_fail
; 
11453   swig_obj
[0] = args
; 
11454   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11455   if (!SWIG_IsOK(res1
)) { 
11456     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11458   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11460     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11461     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetFlags(); 
11462     wxPyEndAllowThreads(__tstate
); 
11463     if (PyErr_Occurred()) SWIG_fail
; 
11465   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11472 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11473   PyObject 
*resultobj 
= 0; 
11474   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11480   PyObject 
* obj0 
= 0 ; 
11481   PyObject 
* obj1 
= 0 ; 
11482   char *  kwnames
[] = { 
11483     (char *) "self",(char *) "flags", NULL 
 
11486   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11487   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11488   if (!SWIG_IsOK(res1
)) { 
11489     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11491   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11492   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11493   if (!SWIG_IsOK(ecode2
)) { 
11494     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
11496   arg2 
= static_cast< int >(val2
); 
11498     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11499     (arg1
)->SetFlags(arg2
); 
11500     wxPyEndAllowThreads(__tstate
); 
11501     if (PyErr_Occurred()) SWIG_fail
; 
11503   resultobj 
= SWIG_Py_Void(); 
11510 SWIGINTERN PyObject 
*RichTextEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11512   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11513   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
)); 
11514   return SWIG_Py_Void(); 
11517 SWIGINTERN PyObject 
*RichTextEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11518   return SWIG_Python_InitShadowInstance(args
); 
11521 static PyMethodDef SwigMethods
[] = { 
11522          { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11523          { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
}, 
11524          { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11525          { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11526          { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11527          { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11528          { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11529          { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
}, 
11530          { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11531          { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
}, 
11532          { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11533          { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11534          { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11535          { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11536          { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
}, 
11537          { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
}, 
11538          { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
}, 
11539          { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
}, 
11540          { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
}, 
11541          { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11542          { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
}, 
11543          { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
}, 
11544          { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11545          { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11546          { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11547          { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11548          { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11549          { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11550          { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11551          { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11552          { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11553          { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11554          { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11555          { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11556          { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11557          { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11558          { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11559          { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11560          { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11561          { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11562          { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11563          { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11564          { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11565          { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
}, 
11566          { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
}, 
11567          { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
}, 
11568          { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
}, 
11569          { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
}, 
11570          { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
}, 
11571          { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
}, 
11572          { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
}, 
11573          { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
}, 
11574          { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
}, 
11575          { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
}, 
11576          { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
}, 
11577          { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
}, 
11578          { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
}, 
11579          { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
}, 
11580          { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
}, 
11581          { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
}, 
11582          { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
}, 
11583          { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
}, 
11584          { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
}, 
11585          { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
}, 
11586          { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
}, 
11587          { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
}, 
11588          { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
}, 
11589          { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
}, 
11590          { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
}, 
11591          { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
}, 
11592          { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
}, 
11593          { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
}, 
11594          { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
}, 
11595          { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
}, 
11596          { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
}, 
11597          { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
}, 
11598          { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
}, 
11599          { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
}, 
11600          { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
}, 
11601          { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
}, 
11602          { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
}, 
11603          { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
}, 
11604          { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
}, 
11605          { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
}, 
11606          { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11607          { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
}, 
11608          { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
}, 
11609          { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
}, 
11610          { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
}, 
11611          { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
}, 
11612          { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11613          { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
}, 
11614          { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11615          { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
}, 
11616          { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11617          { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11618          { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11619          { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11620          { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
}, 
11621          { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
}, 
11622          { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
}, 
11623          { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
}, 
11624          { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
}, 
11625          { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
}, 
11626          { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
}, 
11627          { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
}, 
11628          { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11629          { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11630          { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
}, 
11631          { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
}, 
11632          { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11633          { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11634          { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11635          { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11636          { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
}, 
11637          { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
}, 
11638          { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11639          { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11640          { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11641          { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11642          { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11643          { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11644          { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
}, 
11645          { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11646          { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11647          { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11648          { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11649          { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11650          { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
}, 
11651          { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
}, 
11652          { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
}, 
11653          { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
}, 
11654          { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
}, 
11655          { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
}, 
11656          { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
}, 
11657          { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
}, 
11658          { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
}, 
11659          { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
}, 
11660          { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
}, 
11661          { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
}, 
11662          { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11663          { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
}, 
11664          { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
}, 
11665          { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
}, 
11666          { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11667          { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
}, 
11668          { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11669          { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
}, 
11670          { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11671          { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11672          { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11673          { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11674          { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
}, 
11675          { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11676          { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
}, 
11677          { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
}, 
11678          { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
}, 
11679          { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
}, 
11680          { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
}, 
11681          { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
}, 
11682          { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
}, 
11683          { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
}, 
11684          { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11685          { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
}, 
11686          { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11687          { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
}, 
11688          { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11689          { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
}, 
11690          { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11691          { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
}, 
11692          { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11693          { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
}, 
11694          { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11695          { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
}, 
11696          { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11697          { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
}, 
11698          { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11699          { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
}, 
11700          { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11701          { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
}, 
11702          { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11703          { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
}, 
11704          { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11705          { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
}, 
11706          { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11707          { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
}, 
11708          { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
}, 
11709          { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
}, 
11710          { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
}, 
11711          { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11712          { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11713          { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11714          { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11715          { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11716          { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11717          { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11718          { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11719          { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11720          { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11721          { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11722          { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11723          { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11724          { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11725          { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11726          { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11727          { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11728          { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11729          { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11730          { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
}, 
11731          { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11732          { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
}, 
11733          { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
}, 
11734          { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
}, 
11735          { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
}, 
11736          { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
}, 
11737          { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11738          { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11739          { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
}, 
11740          { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
}, 
11741          { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
}, 
11742          { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11743          { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
}, 
11744          { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
}, 
11745          { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
}, 
11746          { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11747          { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11748          { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
}, 
11749          { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
}, 
11750          { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
}, 
11751          { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11752          { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
}, 
11753          { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11754          { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
}, 
11755          { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11756          { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
}, 
11757          { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
}, 
11758          { NULL
, NULL
, 0, NULL 
} 
11762 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
11764 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
11765     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
11767 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
11768     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
11770 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
11771     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
11773 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
11774     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
11776 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
11777     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
11779 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
11780     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
11782 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) { 
11783     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
11785 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
11786     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
11788 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
11789     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
11791 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
11792     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
11794 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) { 
11795     return (void *)((wxNotifyEvent 
*)  ((wxRichTextEvent 
*) x
)); 
11797 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
11798     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
11800 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
11801     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
11803 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) { 
11804     return (void *)((wxScrolledWindow 
*)  ((wxRichTextCtrl 
*) x
)); 
11806 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
11807     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
11809 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
11810     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
11812 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
11813     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
11815 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
11816     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
11818 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
11819     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
11821 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
11822     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
11824 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
11825     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
11827 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
11828     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
11830 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
11831     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
11833 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
11834     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
11836 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
11837     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
11839 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
11840     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
11842 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
11843     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
11845 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
11846     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
11848 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
11849     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
11851 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
11852     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
11854 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
11855     return (void *)((wxWindow 
*) (wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
11857 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
11858     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
11860 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
11861     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
11863 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
11864     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
11866 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
11867     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
11869 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
11870     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
11872 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
11873     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
11875 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
11876     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
11878 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
11879     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
11881 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
11882     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
11884 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
11885     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
11887 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
11888     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
11890 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
11891     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
11893 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
11894     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
11896 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
11897     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
11899 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
11900     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
11902 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
11903     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
11905 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
11906     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
11908 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
11909     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
11911 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
11912     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
11914 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
11915     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
11917 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
11918     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
11920 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
11921     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
11923 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
11924     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
11926 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
11927     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
11929 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
11930     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
11932 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
11933     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
11935 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
11936     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
11938 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) { 
11939     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
11941 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
11942     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
11944 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
11945     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
11947 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
11948     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
11950 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
11951     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
11953 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
11954     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
11956 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
11957     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
11959 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
11960     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
11962 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
11963     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
11965 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
11966     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
11968 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
11969     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
11971 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
11972     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
11974 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
11975     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
11977 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
11978     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
11980 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
11981     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
11983 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
11984     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
11986 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
11987     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
11989 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
11990     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
11992 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
11993     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
11995 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
11996     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
11998 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
11999     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
12001 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
12002     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
12004 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
12005     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12007 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
12008     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12010 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
12011     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
12013 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
12014     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
12016 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) { 
12017     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12019 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
12020     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12022 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
12023     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
12025 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
12026     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
12028 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
12029     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
12031 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
12032     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
12034 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
12035     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
12037 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
12038     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
12040 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
12041     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12043 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
12044     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12046 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
12047     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
12049 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
12050     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
12052 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
12053     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
12055 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
12056     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12058 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
12059     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12061 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
12062     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
12064 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
12065     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
12067 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
12068     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
12070 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
12071     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
12073 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
12074     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12076 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
12077     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12079 static void *_p_wxEventTo_p_wxObject(void *x
) { 
12080     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
12082 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
12083     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
12085 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
12086     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
12088 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
12089     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
12091 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
12092     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
12094 static void *_p_wxIconTo_p_wxObject(void *x
) { 
12095     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
12097 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
12098     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12100 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
12101     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12103 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
12104     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
12106 static void *_p_wxImageTo_p_wxObject(void *x
) { 
12107     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
12109 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
12110     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
12112 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
12113     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
12115 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
12116     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
12118 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
12119     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
12121 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
12122     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
12124 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
12125     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
12127 static void *_p_wxFontTo_p_wxObject(void *x
) { 
12128     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
12130 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
12131     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12133 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
12134     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12136 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
12137     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
12139 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
12140     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
12142 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
12143     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
12145 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
12146     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
12148 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
12149     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
12151 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
12152     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
12154 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
12155     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
12157 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
12158     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
12160 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
12161     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
12163 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
12164     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
12166 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
12167     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
12169 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
12170     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12172 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
12173     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
12175 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
12176     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
12178 static void *_p_wxDCTo_p_wxObject(void *x
) { 
12179     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
12181 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
12182     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
12184 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
12185     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
12187 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
12188     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
12190 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
12191     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
12193 static void *_p_wxControlTo_p_wxObject(void *x
) { 
12194     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
12196 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
12197     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
12199 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
12200     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
12202 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
12203     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
12205 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
12206     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
12208 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
12209     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
12211 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
12212     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
12214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
12215     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
12217 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
12218     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
12220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
12221     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12223 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
12224     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
12226 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
12227     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12229 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
12230     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
12232 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
12233     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
12235 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
12236     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
12238 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
12239     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12241 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
12242     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
12244 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
12245     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
12247 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
12248     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
12250 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
12251     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
12253 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
12254     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
12256 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
12257     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12259 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
12260     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
12262 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
12263     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12265 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
12266     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12268 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
12269     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12271 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
12272     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
12274 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
12275     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
12277 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
12278     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12280 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
12281     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12283 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
12284     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12286 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
12287     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
12289 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
12290     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12292 static void *_p_wxColourTo_p_wxObject(void *x
) { 
12293     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
12295 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
12296     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
12298 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
12299     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
12301 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
12302     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
12304 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
12305     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
12307 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
12308     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
12310 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
12311     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
12313 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
12314     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
12316 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
12317     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
12319 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
12320     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
12322 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
12323     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
12325 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
12326     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
12328 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
12329     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
12331 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
12332     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
12334 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
12335     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12337 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) { 
12338     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12340 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
12341     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
12343 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
12344     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12346 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
12347     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
12349 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) { 
12350     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12352 static void *_p_wxPenTo_p_wxObject(void *x
) { 
12353     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
12355 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
12356     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
12358 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
12359     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
12361 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
12362     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
12364 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
12365     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
12367 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
12368     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
12370 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
12371     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12373 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
12374     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12376 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
12377     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12379 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
12380     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12382 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
12383     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
12385 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
12386     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
12388 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
12389     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
12391 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
12392     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
12394 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
12395     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
12397 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
12398     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
12400 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
12401     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
12403 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
12404     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
12406 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
12407     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
12409 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
12410     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
12412 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
12413     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
12415 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
12416     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
12418 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
12419     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
12421 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
12422     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
12424 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
12425     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
12427 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
12428     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
12430 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
12431     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
12433 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
12434     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12436 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
12437     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12439 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
12440     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12442 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
12443     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
12445 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
12446     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12448 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
12449     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12451 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
12452     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12454 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
12455     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
12457 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
12458     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12460 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
12461     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12463 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
12464     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12466 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
12467     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12469 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
12470     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
12472 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
12473     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
12475 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
12476     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
12478 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
12479     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
12481 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
12482     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
12484 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
12485     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12487 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
12488     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12490 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
12491     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12493 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
12494     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12496 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
12497     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12499 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
12500     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12502 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
12503     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12505 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
12506     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12508 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
12509     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
12511 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
12512     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
12514 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
12515     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
12517 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
12518     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
12520 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
12521     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
12523 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
12524     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
12526 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
12527     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
12529 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
12530     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
12532 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
12533     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
12535 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
12536     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
12538 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
12539     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
12541 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
12542     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
12544 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
12545     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
12547 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
12548     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
12550 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
12551     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
12553 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
12554     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12556 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
12557     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
12559 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
12560     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12562 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
12563     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
12565 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
12566     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
12568 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
12569     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12571 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
12572     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
12574 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
12575     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12577 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
12578     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12580 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
12581     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12583 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
12584     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
12586 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
12587     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
12589 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
12590     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
12592 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
12593     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
12595 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
12596     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12598 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
12599     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12601 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12602     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12604 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12605     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12607 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
12608     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12610 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
12611     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12613 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
12614     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12616 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
12617     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12619 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
12620     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
12622 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
12623     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
12625 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12626     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12628 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
12629     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
12631 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
12632     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12634 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
12635     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12637 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
12638     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12640 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
12641     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
12643 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
12644     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12646 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
12647     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12649 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
12650     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
12652 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12653     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12655 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
12656     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12658 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
12659     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12661 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12662     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12664 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
12665     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
12667 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
12668     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12670 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
12671     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12673 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
12674     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12676 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
12677     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
12679 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
12680     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12682 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
12683     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
12685 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
12686     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12688 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
12689     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12691 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
12692     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12694 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
12695     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12697 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
12698     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12700 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
12701     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
12703 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
12704     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12706 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
12707     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12709 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
12710     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12712 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
12713     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12715 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
12716     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12718 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
12719     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12721 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) { 
12722     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12724 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
12725     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
12727 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
12728     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
12730 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
12731     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12733 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) { 
12734     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12736 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
12737     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
12739 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
12740     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
12742 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
12743     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
12745 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
12746     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
12748 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
12749     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
12751 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
12752     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
12754 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
12755     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
12757 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
12758     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
12760 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
12761     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
12763 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
12764     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
12766 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
12767 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}; 
12768 static swig_type_info _swigt__p_int 
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; 
12769 static swig_type_info _swigt__p_long 
= {"_p_long", "long *", 0, 0, (void*)0, 0}; 
12770 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
12771 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
12772 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
12773 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
12774 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
12775 static swig_type_info _swigt__p_wxChar 
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; 
12776 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
12777 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
12778 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", 0, 0, 0, 0, 0}; 
12779 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
12780 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; 
12781 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
12782 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
12783 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
12784 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
12785 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
12786 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
12787 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
12788 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; 
12789 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
12790 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
12791 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
12792 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
12793 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
12794 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
12795 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
12796 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
12797 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
12798 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
12799 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; 
12800 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
12801 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
12802 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
12803 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
12804 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
12805 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
12806 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
12807 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
12808 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
12809 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
12810 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
12811 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
12812 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
12813 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
12814 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
12815 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; 
12816 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
12817 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
12818 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
12819 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
12820 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; 
12821 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
12822 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; 
12823 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; 
12824 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", 0, 0, 0, 0, 0}; 
12825 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
12826 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
12827 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
12828 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; 
12829 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; 
12830 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; 
12831 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; 
12832 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; 
12833 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; 
12834 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; 
12835 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", 0, 0, 0, 0, 0}; 
12836 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", 0, 0, 0, 0, 0}; 
12837 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; 
12838 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; 
12839 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; 
12840 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; 
12841 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", 0, 0, 0, 0, 0}; 
12842 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; 
12843 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; 
12844 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; 
12845 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; 
12846 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; 
12847 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", 0, 0, 0, 0, 0}; 
12848 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; 
12849 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; 
12850 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
12851 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; 
12852 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
12853 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
12854 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; 
12855 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", 0, 0, 0, 0, 0}; 
12856 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; 
12857 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; 
12858 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; 
12859 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; 
12860 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; 
12861 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", 0, 0, 0, 0, 0}; 
12862 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", 0, 0, 0, 0, 0}; 
12863 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", 0, 0, 0, 0, 0}; 
12864 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", 0, 0, 0, 0, 0}; 
12865 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", 0, 0, 0, 0, 0}; 
12866 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
12867 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; 
12868 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
12869 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; 
12870 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
12871 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
12872 static swig_type_info _swigt__p_wxMetaFile 
= {"_p_wxMetaFile", 0, 0, 0, 0, 0}; 
12873 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
12874 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
12875 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
12876 static swig_type_info _swigt__p_wxEncodingConverter 
= {"_p_wxEncodingConverter", 0, 0, 0, 0, 0}; 
12877 static swig_type_info _swigt__p_wxEffects 
= {"_p_wxEffects", 0, 0, 0, 0, 0}; 
12878 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", 0, 0, 0, 0, 0}; 
12879 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; 
12880 static swig_type_info _swigt__p_wxBufferedDC 
= {"_p_wxBufferedDC", 0, 0, 0, 0, 0}; 
12881 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; 
12882 static swig_type_info _swigt__p_wxMask 
= {"_p_wxMask", 0, 0, 0, 0, 0}; 
12883 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; 
12884 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; 
12885 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", 0, 0, 0, 0, 0}; 
12886 static swig_type_info _swigt__p_wxMetaFileDC 
= {"_p_wxMetaFileDC", 0, 0, 0, 0, 0}; 
12887 static swig_type_info _swigt__p_wxImageList 
= {"_p_wxImageList", 0, 0, 0, 0, 0}; 
12888 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
12889 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
12890 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
12891 static swig_type_info _swigt__p_wxPen 
= {"_p_wxPen", 0, 0, 0, 0, 0}; 
12892 static swig_type_info _swigt__p_wxRegionIterator 
= {"_p_wxRegionIterator", 0, 0, 0, 0, 0}; 
12893 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", 0, 0, 0, 0, 0}; 
12894 static swig_type_info _swigt__p_wxBrush 
= {"_p_wxBrush", 0, 0, 0, 0, 0}; 
12895 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; 
12896 static swig_type_info _swigt__p_wxPostScriptDC 
= {"_p_wxPostScriptDC", 0, 0, 0, 0, 0}; 
12897 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
12898 static swig_type_info _swigt__p_wxGDIObject 
= {"_p_wxGDIObject", 0, 0, 0, 0, 0}; 
12899 static swig_type_info _swigt__p_wxScreenDC 
= {"_p_wxScreenDC", 0, 0, 0, 0, 0}; 
12900 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", 0, 0, 0, 0, 0}; 
12901 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", 0, 0, 0, 0, 0}; 
12902 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
12903 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; 
12904 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; 
12905 static swig_type_info _swigt__p_wxPaintDC 
= {"_p_wxPaintDC", 0, 0, 0, 0, 0}; 
12906 static swig_type_info _swigt__p_wxBufferedPaintDC 
= {"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0}; 
12907 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
12908 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
12909 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
12910 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
12911 static swig_type_info _swigt__p_wxCursor 
= {"_p_wxCursor", 0, 0, 0, 0, 0}; 
12912 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
12913 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
12914 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
12915 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
12916 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; 
12917 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; 
12918 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
12919 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
12920 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
12921 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
12922 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
12923 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
12924 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
12925 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
12926 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
12927 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
12928 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
12929 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
12930 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
12931 static swig_type_info _swigt__p_wxMirrorDC 
= {"_p_wxMirrorDC", 0, 0, 0, 0, 0}; 
12932 static swig_type_info _swigt__p_wxPrinterDC 
= {"_p_wxPrinterDC", 0, 0, 0, 0, 0}; 
12933 static swig_type_info _swigt__p_wxWindowDC 
= {"_p_wxWindowDC", 0, 0, 0, 0, 0}; 
12934 static swig_type_info _swigt__p_wxMemoryDC 
= {"_p_wxMemoryDC", 0, 0, 0, 0, 0}; 
12935 static swig_type_info _swigt__p_wxRegion 
= {"_p_wxRegion", 0, 0, 0, 0, 0}; 
12936 static swig_type_info _swigt__p_wxPalette 
= {"_p_wxPalette", 0, 0, 0, 0, 0}; 
12937 static swig_type_info _swigt__p_wxClientDC 
= {"_p_wxClientDC", 0, 0, 0, 0, 0}; 
12938 static swig_type_info _swigt__p_wxIcon 
= {"_p_wxIcon", 0, 0, 0, 0, 0}; 
12939 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
12940 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
12941 static swig_type_info _swigt__p_wxRichTextAttr 
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0}; 
12942 static swig_type_info _swigt__p_wxRichTextBuffer 
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0}; 
12943 static swig_type_info _swigt__p_wxRichTextCtrl 
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0}; 
12944 static swig_type_info _swigt__p_wxRichTextEvent 
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0}; 
12945 static swig_type_info _swigt__p_wxRichTextImageBlock 
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0}; 
12946 static swig_type_info _swigt__p_wxRichTextRange 
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0}; 
12947 static swig_type_info _swigt__p_wxRichTextStyleSheet 
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0}; 
12948 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
12949 static swig_type_info _swigt__p_wxTextCoord 
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0}; 
12950 static swig_type_info _swigt__p_wxTextCtrlHitTestResult 
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0}; 
12951 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
12953 static swig_type_info 
*swig_type_initial
[] = { 
12955   &_swigt__p_form_ops_t
, 
12958   &_swigt__p_unsigned_char
, 
12959   &_swigt__p_unsigned_int
, 
12960   &_swigt__p_unsigned_long
, 
12961   &_swigt__p_wxANIHandler
, 
12962   &_swigt__p_wxAcceleratorTable
, 
12963   &_swigt__p_wxActivateEvent
, 
12964   &_swigt__p_wxArrayInt
, 
12965   &_swigt__p_wxBMPHandler
, 
12966   &_swigt__p_wxBitmap
, 
12967   &_swigt__p_wxBoxSizer
, 
12968   &_swigt__p_wxBrush
, 
12969   &_swigt__p_wxBufferedDC
, 
12970   &_swigt__p_wxBufferedPaintDC
, 
12971   &_swigt__p_wxCURHandler
, 
12972   &_swigt__p_wxCalculateLayoutEvent
, 
12974   &_swigt__p_wxChildFocusEvent
, 
12975   &_swigt__p_wxClientDC
, 
12976   &_swigt__p_wxClipboardTextEvent
, 
12977   &_swigt__p_wxCloseEvent
, 
12978   &_swigt__p_wxColour
, 
12979   &_swigt__p_wxColourData
, 
12980   &_swigt__p_wxColourDialog
, 
12981   &_swigt__p_wxCommandEvent
, 
12982   &_swigt__p_wxContextMenuEvent
, 
12983   &_swigt__p_wxControl
, 
12984   &_swigt__p_wxControlWithItems
, 
12985   &_swigt__p_wxCursor
, 
12987   &_swigt__p_wxDateEvent
, 
12988   &_swigt__p_wxDialog
, 
12989   &_swigt__p_wxDirDialog
, 
12990   &_swigt__p_wxDisplayChangedEvent
, 
12991   &_swigt__p_wxDropFilesEvent
, 
12992   &_swigt__p_wxDuplexMode
, 
12993   &_swigt__p_wxEffects
, 
12994   &_swigt__p_wxEncodingConverter
, 
12995   &_swigt__p_wxEraseEvent
, 
12996   &_swigt__p_wxEvent
, 
12997   &_swigt__p_wxEvtHandler
, 
12998   &_swigt__p_wxFSFile
, 
12999   &_swigt__p_wxFileDialog
, 
13000   &_swigt__p_wxFileSystem
, 
13001   &_swigt__p_wxFindDialogEvent
, 
13002   &_swigt__p_wxFindReplaceData
, 
13003   &_swigt__p_wxFindReplaceDialog
, 
13004   &_swigt__p_wxFlexGridSizer
, 
13005   &_swigt__p_wxFocusEvent
, 
13007   &_swigt__p_wxFontData
, 
13008   &_swigt__p_wxFontDialog
, 
13009   &_swigt__p_wxFrame
, 
13010   &_swigt__p_wxGBSizerItem
, 
13011   &_swigt__p_wxGDIObject
, 
13012   &_swigt__p_wxGIFHandler
, 
13013   &_swigt__p_wxGridBagSizer
, 
13014   &_swigt__p_wxGridSizer
, 
13015   &_swigt__p_wxICOHandler
, 
13017   &_swigt__p_wxIconizeEvent
, 
13018   &_swigt__p_wxIdleEvent
, 
13019   &_swigt__p_wxImage
, 
13020   &_swigt__p_wxImageHandler
, 
13021   &_swigt__p_wxImageList
, 
13022   &_swigt__p_wxIndividualLayoutConstraint
, 
13023   &_swigt__p_wxInitDialogEvent
, 
13024   &_swigt__p_wxJPEGHandler
, 
13025   &_swigt__p_wxKeyEvent
, 
13026   &_swigt__p_wxLayoutAlgorithm
, 
13027   &_swigt__p_wxLayoutConstraints
, 
13028   &_swigt__p_wxMDIChildFrame
, 
13029   &_swigt__p_wxMDIClientWindow
, 
13030   &_swigt__p_wxMDIParentFrame
, 
13032   &_swigt__p_wxMaximizeEvent
, 
13033   &_swigt__p_wxMemoryDC
, 
13035   &_swigt__p_wxMenuBar
, 
13036   &_swigt__p_wxMenuEvent
, 
13037   &_swigt__p_wxMenuItem
, 
13038   &_swigt__p_wxMessageDialog
, 
13039   &_swigt__p_wxMetaFile
, 
13040   &_swigt__p_wxMetaFileDC
, 
13041   &_swigt__p_wxMiniFrame
, 
13042   &_swigt__p_wxMirrorDC
, 
13043   &_swigt__p_wxMouseCaptureChangedEvent
, 
13044   &_swigt__p_wxMouseEvent
, 
13045   &_swigt__p_wxMoveEvent
, 
13046   &_swigt__p_wxMultiChoiceDialog
, 
13047   &_swigt__p_wxNavigationKeyEvent
, 
13048   &_swigt__p_wxNcPaintEvent
, 
13049   &_swigt__p_wxNotifyEvent
, 
13050   &_swigt__p_wxObject
, 
13051   &_swigt__p_wxPCXHandler
, 
13052   &_swigt__p_wxPNGHandler
, 
13053   &_swigt__p_wxPNMHandler
, 
13054   &_swigt__p_wxPageSetupDialog
, 
13055   &_swigt__p_wxPageSetupDialogData
, 
13056   &_swigt__p_wxPaintDC
, 
13057   &_swigt__p_wxPaintEvent
, 
13058   &_swigt__p_wxPalette
, 
13059   &_swigt__p_wxPaletteChangedEvent
, 
13060   &_swigt__p_wxPanel
, 
13061   &_swigt__p_wxPaperSize
, 
13062   &_swigt__p_wxPasswordEntryDialog
, 
13064   &_swigt__p_wxPopupWindow
, 
13065   &_swigt__p_wxPostScriptDC
, 
13066   &_swigt__p_wxPreviewCanvas
, 
13067   &_swigt__p_wxPreviewControlBar
, 
13068   &_swigt__p_wxPreviewFrame
, 
13069   &_swigt__p_wxPrintData
, 
13070   &_swigt__p_wxPrintDialog
, 
13071   &_swigt__p_wxPrintDialogData
, 
13072   &_swigt__p_wxPrintPreview
, 
13073   &_swigt__p_wxPrinter
, 
13074   &_swigt__p_wxPrinterDC
, 
13075   &_swigt__p_wxProgressDialog
, 
13076   &_swigt__p_wxPyApp
, 
13077   &_swigt__p_wxPyCommandEvent
, 
13078   &_swigt__p_wxPyEvent
, 
13079   &_swigt__p_wxPyHtmlListBox
, 
13080   &_swigt__p_wxPyImageHandler
, 
13081   &_swigt__p_wxPyPanel
, 
13082   &_swigt__p_wxPyPopupTransientWindow
, 
13083   &_swigt__p_wxPyPreviewControlBar
, 
13084   &_swigt__p_wxPyPreviewFrame
, 
13085   &_swigt__p_wxPyPrintPreview
, 
13086   &_swigt__p_wxPyPrintout
, 
13087   &_swigt__p_wxPyScrolledWindow
, 
13088   &_swigt__p_wxPySizer
, 
13089   &_swigt__p_wxPyTaskBarIcon
, 
13090   &_swigt__p_wxPyVListBox
, 
13091   &_swigt__p_wxPyVScrolledWindow
, 
13092   &_swigt__p_wxPyValidator
, 
13093   &_swigt__p_wxPyWindow
, 
13094   &_swigt__p_wxQueryLayoutInfoEvent
, 
13095   &_swigt__p_wxQueryNewPaletteEvent
, 
13096   &_swigt__p_wxRegion
, 
13097   &_swigt__p_wxRegionIterator
, 
13098   &_swigt__p_wxRichTextAttr
, 
13099   &_swigt__p_wxRichTextBuffer
, 
13100   &_swigt__p_wxRichTextCtrl
, 
13101   &_swigt__p_wxRichTextEvent
, 
13102   &_swigt__p_wxRichTextImageBlock
, 
13103   &_swigt__p_wxRichTextRange
, 
13104   &_swigt__p_wxRichTextStyleSheet
, 
13105   &_swigt__p_wxSashEvent
, 
13106   &_swigt__p_wxSashLayoutWindow
, 
13107   &_swigt__p_wxSashWindow
, 
13108   &_swigt__p_wxScreenDC
, 
13109   &_swigt__p_wxScrollEvent
, 
13110   &_swigt__p_wxScrollWinEvent
, 
13111   &_swigt__p_wxScrolledWindow
, 
13112   &_swigt__p_wxSetCursorEvent
, 
13113   &_swigt__p_wxShowEvent
, 
13114   &_swigt__p_wxSingleChoiceDialog
, 
13115   &_swigt__p_wxSizeEvent
, 
13116   &_swigt__p_wxSizer
, 
13117   &_swigt__p_wxSizerItem
, 
13118   &_swigt__p_wxSplashScreen
, 
13119   &_swigt__p_wxSplashScreenWindow
, 
13120   &_swigt__p_wxSplitterEvent
, 
13121   &_swigt__p_wxSplitterWindow
, 
13122   &_swigt__p_wxStaticBoxSizer
, 
13123   &_swigt__p_wxStatusBar
, 
13124   &_swigt__p_wxStdDialogButtonSizer
, 
13125   &_swigt__p_wxSysColourChangedEvent
, 
13126   &_swigt__p_wxTIFFHandler
, 
13127   &_swigt__p_wxTaskBarIconEvent
, 
13128   &_swigt__p_wxTextCoord
, 
13129   &_swigt__p_wxTextCtrlHitTestResult
, 
13130   &_swigt__p_wxTextEntryDialog
, 
13131   &_swigt__p_wxTipWindow
, 
13132   &_swigt__p_wxTopLevelWindow
, 
13133   &_swigt__p_wxUpdateUIEvent
, 
13134   &_swigt__p_wxValidator
, 
13135   &_swigt__p_wxWindow
, 
13136   &_swigt__p_wxWindowCreateEvent
, 
13137   &_swigt__p_wxWindowDC
, 
13138   &_swigt__p_wxWindowDestroyEvent
, 
13139   &_swigt__p_wxXPMHandler
, 
13142 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13143 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
13144 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13145 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13146 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13147 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13148 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13149 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
13150 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
13151 static swig_cast_info _swigc__p_wxChar
[] = {  {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}}; 
13152 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
13153 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13154 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13155 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13156 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13157 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13158 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13159 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13160 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13161 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13162 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13163 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13164 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13165 static swig_cast_info _swigc__p_wxCommandEvent
[] = {  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, 0, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}}; 
13166 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
13167 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13168 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13169 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13170 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13171 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13172 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13173 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13174 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13175 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13176 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13177 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13178 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13179 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13180 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13181 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13182 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13183 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13184 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13185 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13186 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13187 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13188 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13189 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13190 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13191 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13192 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13193 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13194 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13195 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13196 static swig_cast_info _swigc__p_wxEvent
[] = {  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}}; 
13197 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
13198 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13199 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
13200 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13201 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13202 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13203 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13204 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13205 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13206 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13207 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13208 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13209 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13210 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13211 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13212 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13213 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13214 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13215 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13216 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13217 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13218 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13219 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13220 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13221 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13222 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13223 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13224 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13225 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
13226 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13227 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
13228 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
13229 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
13230 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13231 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13232 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13233 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13234 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13235 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
13236 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13237 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13238 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13239 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13240 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13241 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
13242 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13243 static swig_cast_info _swigc__p_wxEvtHandler
[] = {  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxEvtHandler
, 0, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}}; 
13244 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
13245 static swig_cast_info _swigc__p_wxImage
[] = {  {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
13246 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13247 static swig_cast_info _swigc__p_wxMetaFile
[] = {{&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}}; 
13248 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
13249 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13250 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13251 static swig_cast_info _swigc__p_wxEncodingConverter
[] = {{&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}}; 
13252 static swig_cast_info _swigc__p_wxEffects
[] = {{&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}}; 
13253 static swig_cast_info _swigc__p_wxDC
[] = {{&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13254 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
13255 static swig_cast_info _swigc__p_wxBufferedDC
[] = {{&_swigt__p_wxBufferedDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13256 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
13257 static swig_cast_info _swigc__p_wxMask
[] = {{&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}}; 
13258 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13259 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13260 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
13261 static swig_cast_info _swigc__p_wxMetaFileDC
[] = {{&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13262 static swig_cast_info _swigc__p_wxImageList
[] = {{&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}}; 
13263 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13264 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13265 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
13266 static swig_cast_info _swigc__p_wxPen
[] = {{&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}}; 
13267 static swig_cast_info _swigc__p_wxRegionIterator
[] = {{&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}}; 
13268 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
13269 static swig_cast_info _swigc__p_wxBrush
[] = {{&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}}; 
13270 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
13271 static swig_cast_info _swigc__p_wxPostScriptDC
[] = {{&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13272 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13273 static swig_cast_info _swigc__p_wxGDIObject
[] = {{&_swigt__p_wxGDIObject
, 0, 0, 0},{0, 0, 0, 0}}; 
13274 static swig_cast_info _swigc__p_wxScreenDC
[] = {{&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13275 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
13276 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
13277 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
13278 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13279 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13280 static swig_cast_info _swigc__p_wxPaintDC
[] = {{&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13281 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = {{&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13282 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
13283 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13284 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13285 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13286 static swig_cast_info _swigc__p_wxCursor
[] = {{&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}}; 
13287 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13288 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
13289 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13290 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13291 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13292 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13293 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13294 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13295 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13296 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13297 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13298 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13299 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13300 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13301 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13302 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13303 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13304 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13305 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13306 static swig_cast_info _swigc__p_wxMirrorDC
[] = {{&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13307 static swig_cast_info _swigc__p_wxPrinterDC
[] = {{&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13308 static swig_cast_info _swigc__p_wxWindowDC
[] = {{&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13309 static swig_cast_info _swigc__p_wxMemoryDC
[] = {{&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13310 static swig_cast_info _swigc__p_wxRegion
[] = {{&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}}; 
13311 static swig_cast_info _swigc__p_wxPalette
[] = {{&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}}; 
13312 static swig_cast_info _swigc__p_wxClientDC
[] = {{&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}}; 
13313 static swig_cast_info _swigc__p_wxIcon
[] = {{&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
13314 static swig_cast_info _swigc__p_wxObject
[] = {  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_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_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxObject
, 0, 0, 0},  {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourData
, _p_wxColourDataTo_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_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_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_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_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_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_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_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRegion
, _p_wxRegionTo_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_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0},  {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_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_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}}; 
13315 static swig_cast_info _swigc__p_wxPanel
[] = {  {&_swigt__p_wxPanel
, 0, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}}; 
13316 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
13317 static swig_cast_info _swigc__p_wxRichTextAttr
[] = {  {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}}; 
13318 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = {  {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}}; 
13319 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = {  {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}}; 
13320 static swig_cast_info _swigc__p_wxRichTextEvent
[] = {  {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13321 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = {  {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}}; 
13322 static swig_cast_info _swigc__p_wxRichTextRange
[] = {  {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}}; 
13323 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = {  {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}}; 
13324 static swig_cast_info _swigc__p_wxScrolledWindow
[] = {  {&_swigt__p_wxScrolledWindow
, 0, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxScrolledWindow
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}}; 
13325 static swig_cast_info _swigc__p_wxTextCoord
[] = {  {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}}; 
13326 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = {  {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}}; 
13327 static swig_cast_info _swigc__p_wxWindow
[] = {  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxWindow
, 0, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}}; 
13329 static swig_cast_info 
*swig_cast_initial
[] = { 
13331   _swigc__p_form_ops_t
, 
13334   _swigc__p_unsigned_char
, 
13335   _swigc__p_unsigned_int
, 
13336   _swigc__p_unsigned_long
, 
13337   _swigc__p_wxANIHandler
, 
13338   _swigc__p_wxAcceleratorTable
, 
13339   _swigc__p_wxActivateEvent
, 
13340   _swigc__p_wxArrayInt
, 
13341   _swigc__p_wxBMPHandler
, 
13342   _swigc__p_wxBitmap
, 
13343   _swigc__p_wxBoxSizer
, 
13345   _swigc__p_wxBufferedDC
, 
13346   _swigc__p_wxBufferedPaintDC
, 
13347   _swigc__p_wxCURHandler
, 
13348   _swigc__p_wxCalculateLayoutEvent
, 
13350   _swigc__p_wxChildFocusEvent
, 
13351   _swigc__p_wxClientDC
, 
13352   _swigc__p_wxClipboardTextEvent
, 
13353   _swigc__p_wxCloseEvent
, 
13354   _swigc__p_wxColour
, 
13355   _swigc__p_wxColourData
, 
13356   _swigc__p_wxColourDialog
, 
13357   _swigc__p_wxCommandEvent
, 
13358   _swigc__p_wxContextMenuEvent
, 
13359   _swigc__p_wxControl
, 
13360   _swigc__p_wxControlWithItems
, 
13361   _swigc__p_wxCursor
, 
13363   _swigc__p_wxDateEvent
, 
13364   _swigc__p_wxDialog
, 
13365   _swigc__p_wxDirDialog
, 
13366   _swigc__p_wxDisplayChangedEvent
, 
13367   _swigc__p_wxDropFilesEvent
, 
13368   _swigc__p_wxDuplexMode
, 
13369   _swigc__p_wxEffects
, 
13370   _swigc__p_wxEncodingConverter
, 
13371   _swigc__p_wxEraseEvent
, 
13373   _swigc__p_wxEvtHandler
, 
13374   _swigc__p_wxFSFile
, 
13375   _swigc__p_wxFileDialog
, 
13376   _swigc__p_wxFileSystem
, 
13377   _swigc__p_wxFindDialogEvent
, 
13378   _swigc__p_wxFindReplaceData
, 
13379   _swigc__p_wxFindReplaceDialog
, 
13380   _swigc__p_wxFlexGridSizer
, 
13381   _swigc__p_wxFocusEvent
, 
13383   _swigc__p_wxFontData
, 
13384   _swigc__p_wxFontDialog
, 
13386   _swigc__p_wxGBSizerItem
, 
13387   _swigc__p_wxGDIObject
, 
13388   _swigc__p_wxGIFHandler
, 
13389   _swigc__p_wxGridBagSizer
, 
13390   _swigc__p_wxGridSizer
, 
13391   _swigc__p_wxICOHandler
, 
13393   _swigc__p_wxIconizeEvent
, 
13394   _swigc__p_wxIdleEvent
, 
13396   _swigc__p_wxImageHandler
, 
13397   _swigc__p_wxImageList
, 
13398   _swigc__p_wxIndividualLayoutConstraint
, 
13399   _swigc__p_wxInitDialogEvent
, 
13400   _swigc__p_wxJPEGHandler
, 
13401   _swigc__p_wxKeyEvent
, 
13402   _swigc__p_wxLayoutAlgorithm
, 
13403   _swigc__p_wxLayoutConstraints
, 
13404   _swigc__p_wxMDIChildFrame
, 
13405   _swigc__p_wxMDIClientWindow
, 
13406   _swigc__p_wxMDIParentFrame
, 
13408   _swigc__p_wxMaximizeEvent
, 
13409   _swigc__p_wxMemoryDC
, 
13411   _swigc__p_wxMenuBar
, 
13412   _swigc__p_wxMenuEvent
, 
13413   _swigc__p_wxMenuItem
, 
13414   _swigc__p_wxMessageDialog
, 
13415   _swigc__p_wxMetaFile
, 
13416   _swigc__p_wxMetaFileDC
, 
13417   _swigc__p_wxMiniFrame
, 
13418   _swigc__p_wxMirrorDC
, 
13419   _swigc__p_wxMouseCaptureChangedEvent
, 
13420   _swigc__p_wxMouseEvent
, 
13421   _swigc__p_wxMoveEvent
, 
13422   _swigc__p_wxMultiChoiceDialog
, 
13423   _swigc__p_wxNavigationKeyEvent
, 
13424   _swigc__p_wxNcPaintEvent
, 
13425   _swigc__p_wxNotifyEvent
, 
13426   _swigc__p_wxObject
, 
13427   _swigc__p_wxPCXHandler
, 
13428   _swigc__p_wxPNGHandler
, 
13429   _swigc__p_wxPNMHandler
, 
13430   _swigc__p_wxPageSetupDialog
, 
13431   _swigc__p_wxPageSetupDialogData
, 
13432   _swigc__p_wxPaintDC
, 
13433   _swigc__p_wxPaintEvent
, 
13434   _swigc__p_wxPalette
, 
13435   _swigc__p_wxPaletteChangedEvent
, 
13437   _swigc__p_wxPaperSize
, 
13438   _swigc__p_wxPasswordEntryDialog
, 
13440   _swigc__p_wxPopupWindow
, 
13441   _swigc__p_wxPostScriptDC
, 
13442   _swigc__p_wxPreviewCanvas
, 
13443   _swigc__p_wxPreviewControlBar
, 
13444   _swigc__p_wxPreviewFrame
, 
13445   _swigc__p_wxPrintData
, 
13446   _swigc__p_wxPrintDialog
, 
13447   _swigc__p_wxPrintDialogData
, 
13448   _swigc__p_wxPrintPreview
, 
13449   _swigc__p_wxPrinter
, 
13450   _swigc__p_wxPrinterDC
, 
13451   _swigc__p_wxProgressDialog
, 
13453   _swigc__p_wxPyCommandEvent
, 
13454   _swigc__p_wxPyEvent
, 
13455   _swigc__p_wxPyHtmlListBox
, 
13456   _swigc__p_wxPyImageHandler
, 
13457   _swigc__p_wxPyPanel
, 
13458   _swigc__p_wxPyPopupTransientWindow
, 
13459   _swigc__p_wxPyPreviewControlBar
, 
13460   _swigc__p_wxPyPreviewFrame
, 
13461   _swigc__p_wxPyPrintPreview
, 
13462   _swigc__p_wxPyPrintout
, 
13463   _swigc__p_wxPyScrolledWindow
, 
13464   _swigc__p_wxPySizer
, 
13465   _swigc__p_wxPyTaskBarIcon
, 
13466   _swigc__p_wxPyVListBox
, 
13467   _swigc__p_wxPyVScrolledWindow
, 
13468   _swigc__p_wxPyValidator
, 
13469   _swigc__p_wxPyWindow
, 
13470   _swigc__p_wxQueryLayoutInfoEvent
, 
13471   _swigc__p_wxQueryNewPaletteEvent
, 
13472   _swigc__p_wxRegion
, 
13473   _swigc__p_wxRegionIterator
, 
13474   _swigc__p_wxRichTextAttr
, 
13475   _swigc__p_wxRichTextBuffer
, 
13476   _swigc__p_wxRichTextCtrl
, 
13477   _swigc__p_wxRichTextEvent
, 
13478   _swigc__p_wxRichTextImageBlock
, 
13479   _swigc__p_wxRichTextRange
, 
13480   _swigc__p_wxRichTextStyleSheet
, 
13481   _swigc__p_wxSashEvent
, 
13482   _swigc__p_wxSashLayoutWindow
, 
13483   _swigc__p_wxSashWindow
, 
13484   _swigc__p_wxScreenDC
, 
13485   _swigc__p_wxScrollEvent
, 
13486   _swigc__p_wxScrollWinEvent
, 
13487   _swigc__p_wxScrolledWindow
, 
13488   _swigc__p_wxSetCursorEvent
, 
13489   _swigc__p_wxShowEvent
, 
13490   _swigc__p_wxSingleChoiceDialog
, 
13491   _swigc__p_wxSizeEvent
, 
13493   _swigc__p_wxSizerItem
, 
13494   _swigc__p_wxSplashScreen
, 
13495   _swigc__p_wxSplashScreenWindow
, 
13496   _swigc__p_wxSplitterEvent
, 
13497   _swigc__p_wxSplitterWindow
, 
13498   _swigc__p_wxStaticBoxSizer
, 
13499   _swigc__p_wxStatusBar
, 
13500   _swigc__p_wxStdDialogButtonSizer
, 
13501   _swigc__p_wxSysColourChangedEvent
, 
13502   _swigc__p_wxTIFFHandler
, 
13503   _swigc__p_wxTaskBarIconEvent
, 
13504   _swigc__p_wxTextCoord
, 
13505   _swigc__p_wxTextCtrlHitTestResult
, 
13506   _swigc__p_wxTextEntryDialog
, 
13507   _swigc__p_wxTipWindow
, 
13508   _swigc__p_wxTopLevelWindow
, 
13509   _swigc__p_wxUpdateUIEvent
, 
13510   _swigc__p_wxValidator
, 
13511   _swigc__p_wxWindow
, 
13512   _swigc__p_wxWindowCreateEvent
, 
13513   _swigc__p_wxWindowDC
, 
13514   _swigc__p_wxWindowDestroyEvent
, 
13515   _swigc__p_wxXPMHandler
, 
13519 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
13521 static swig_const_info swig_const_table
[] = { 
13522 {0, 0, 0, 0.0, 0, 0}}; 
13527 /* ----------------------------------------------------------------------------- 
13528  * Type initialization: 
13529  * This problem is tough by the requirement that no dynamic  
13530  * memory is used. Also, since swig_type_info structures store pointers to  
13531  * swig_cast_info structures and swig_cast_info structures store pointers back 
13532  * to swig_type_info structures, we need some lookup code at initialization.  
13533  * The idea is that swig generates all the structures that are needed.  
13534  * The runtime then collects these partially filled structures.  
13535  * The SWIG_InitializeModule function takes these initial arrays out of  
13536  * swig_module, and does all the lookup, filling in the swig_module.types 
13537  * array with the correct data and linking the correct swig_cast_info 
13538  * structures together. 
13540  * The generated swig_type_info structures are assigned staticly to an initial  
13541  * array. We just loop though that array, and handle each type individually. 
13542  * First we lookup if this type has been already loaded, and if so, use the 
13543  * loaded structure instead of the generated one. Then we have to fill in the 
13544  * cast linked list. The cast data is initially stored in something like a 
13545  * two-dimensional array. Each row corresponds to a type (there are the same 
13546  * number of rows as there are in the swig_type_initial array). Each entry in 
13547  * a column is one of the swig_cast_info structures for that type. 
13548  * The cast_initial array is actually an array of arrays, because each row has 
13549  * a variable number of columns. So to actually build the cast linked list, 
13550  * we find the array of casts associated with the type, and loop through it  
13551  * adding the casts to the list. The one last trick we need to do is making 
13552  * sure the type pointer in the swig_cast_info struct is correct. 
13554  * First off, we lookup the cast->type name to see if it is already loaded.  
13555  * There are three cases to handle: 
13556  *  1) If the cast->type has already been loaded AND the type we are adding 
13557  *     casting info to has not been loaded (it is in this module), THEN we 
13558  *     replace the cast->type pointer with the type pointer that has already 
13560  *  2) If BOTH types (the one we are adding casting info to, and the  
13561  *     cast->type) are loaded, THEN the cast info has already been loaded by 
13562  *     the previous module so we just ignore it. 
13563  *  3) Finally, if cast->type has not already been loaded, then we add that 
13564  *     swig_cast_info to the linked list (because the cast->type) pointer will 
13566  * ----------------------------------------------------------------------------- */ 
13576 #define SWIGRUNTIME_DEBUG 
13580 SWIG_InitializeModule(void *clientdata
) { 
13582   swig_module_info 
*module_head
; 
13583   static int init_run 
= 0; 
13585   clientdata 
= clientdata
; 
13587   if (init_run
) return; 
13590   /* Initialize the swig_module */ 
13591   swig_module
.type_initial 
= swig_type_initial
; 
13592   swig_module
.cast_initial 
= swig_cast_initial
; 
13594   /* Try and load any already created modules */ 
13595   module_head 
= SWIG_GetModule(clientdata
); 
13597     swig_module
.next 
= module_head
->next
; 
13598     module_head
->next 
= &swig_module
; 
13600     /* This is the first module loaded */ 
13601     swig_module
.next 
= &swig_module
; 
13602     SWIG_SetModule(clientdata
, &swig_module
); 
13605   /* Now work on filling in swig_module.types */ 
13606 #ifdef SWIGRUNTIME_DEBUG 
13607   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
13609   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13610     swig_type_info 
*type 
= 0; 
13611     swig_type_info 
*ret
; 
13612     swig_cast_info 
*cast
; 
13614 #ifdef SWIGRUNTIME_DEBUG 
13615     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13618     /* if there is another module already loaded */ 
13619     if (swig_module
.next 
!= &swig_module
) { 
13620       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
13623       /* Overwrite clientdata field */ 
13624 #ifdef SWIGRUNTIME_DEBUG 
13625       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
13627       if (swig_module
.type_initial
[i
]->clientdata
) { 
13628         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
13629 #ifdef SWIGRUNTIME_DEBUG 
13630         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
13634       type 
= swig_module
.type_initial
[i
]; 
13637     /* Insert casting types */ 
13638     cast 
= swig_module
.cast_initial
[i
]; 
13639     while (cast
->type
) { 
13640       /* Don't need to add information already in the list */ 
13642 #ifdef SWIGRUNTIME_DEBUG 
13643       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
13645       if (swig_module
.next 
!= &swig_module
) { 
13646         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
13647 #ifdef SWIGRUNTIME_DEBUG 
13648         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
13652         if (type 
== swig_module
.type_initial
[i
]) { 
13653 #ifdef SWIGRUNTIME_DEBUG 
13654           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
13659           /* Check for casting already in the list */ 
13660           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
13661 #ifdef SWIGRUNTIME_DEBUG 
13662           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
13664           if (!ocast
) ret 
= 0; 
13669 #ifdef SWIGRUNTIME_DEBUG 
13670         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
13673           type
->cast
->prev 
= cast
; 
13674           cast
->next 
= type
->cast
; 
13680     /* Set entry in modules->types array equal to the type */ 
13681     swig_module
.types
[i
] = type
; 
13683   swig_module
.types
[i
] = 0; 
13685 #ifdef SWIGRUNTIME_DEBUG 
13686   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13687   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13689     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
13690     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13691     while (cast
->type
) { 
13692       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
13696     printf("---- Total casts: %d\n",j
); 
13698   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13702 /* This function will propagate the clientdata field of type to 
13703 * any new swig_type_info structures that have been added into the list 
13704 * of equivalent types.  It is like calling 
13705 * SWIG_TypeClientData(type, clientdata) a second time. 
13708 SWIG_PropagateClientData(void) { 
13710   swig_cast_info 
*equiv
; 
13711   static int init_run 
= 0; 
13713   if (init_run
) return; 
13716   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
13717     if (swig_module
.types
[i
]->clientdata
) { 
13718       equiv 
= swig_module
.types
[i
]->cast
; 
13720         if (!equiv
->converter
) { 
13721           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
13722           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
13724         equiv 
= equiv
->next
; 
13744   /* Python-specific SWIG API */ 
13745 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
13746 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
13747 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
13749   /* ----------------------------------------------------------------------------- 
13750    * global variable support code. 
13751    * ----------------------------------------------------------------------------- */ 
13753   typedef struct swig_globalvar 
{ 
13754     char       *name
;                  /* Name of global variable */ 
13755     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
13756     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
13757     struct swig_globalvar 
*next
; 
13760   typedef struct swig_varlinkobject 
{ 
13762     swig_globalvar 
*vars
; 
13763   } swig_varlinkobject
; 
13765   SWIGINTERN PyObject 
* 
13766   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
13767     return PyString_FromString("<Swig global variables>"); 
13770   SWIGINTERN PyObject 
* 
13771   swig_varlink_str(swig_varlinkobject 
*v
) { 
13772     PyObject 
*str 
= PyString_FromString("("); 
13773     swig_globalvar  
*var
; 
13774     for (var 
= v
->vars
; var
; var
=var
->next
) { 
13775       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
13776       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
13778     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
13783   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
13784     PyObject 
*str 
= swig_varlink_str(v
); 
13785     fprintf(fp
,"Swig global variables "); 
13786     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
13792   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
13793     swig_globalvar 
*var 
= v
->vars
; 
13795       swig_globalvar 
*n 
= var
->next
; 
13802   SWIGINTERN PyObject 
* 
13803   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
13804     PyObject 
*res 
= NULL
; 
13805     swig_globalvar 
*var 
= v
->vars
; 
13807       if (strcmp(var
->name
,n
) == 0) { 
13808         res 
= (*var
->get_attr
)(); 
13813     if (res 
== NULL 
&& !PyErr_Occurred()) { 
13814       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
13820   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
13822     swig_globalvar 
*var 
= v
->vars
; 
13824       if (strcmp(var
->name
,n
) == 0) { 
13825         res 
= (*var
->set_attr
)(p
); 
13830     if (res 
== 1 && !PyErr_Occurred()) { 
13831       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
13836   SWIGINTERN PyTypeObject
* 
13837   swig_varlink_type(void) { 
13838     static char varlink__doc__
[] = "Swig var link object"; 
13839     static PyTypeObject varlink_type
; 
13840     static int type_init 
= 0;   
13842       const PyTypeObject tmp
 
13844         PyObject_HEAD_INIT(NULL
) 
13845         0,                                  /* Number of items in variable part (ob_size) */ 
13846         (char *)"swigvarlink",              /* Type name (tp_name) */ 
13847         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
13848         0,                                  /* Itemsize (tp_itemsize) */ 
13849         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
13850         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
13851         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
13852         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
13853         0,                                  /* tp_compare */ 
13854         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
13855         0,                                  /* tp_as_number */ 
13856         0,                                  /* tp_as_sequence */ 
13857         0,                                  /* tp_as_mapping */ 
13860         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
13861         0,                                  /* tp_getattro */ 
13862         0,                                  /* tp_setattro */ 
13863         0,                                  /* tp_as_buffer */ 
13865         varlink__doc__
,                     /* tp_doc */ 
13866         0,                                  /* tp_traverse */ 
13868         0,                                  /* tp_richcompare */ 
13869         0,                                  /* tp_weaklistoffset */ 
13870 #if PY_VERSION_HEX >= 0x02020000 
13871         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
13873 #if PY_VERSION_HEX >= 0x02030000 
13876 #ifdef COUNT_ALLOCS 
13877         0,0,0,0                             /* tp_alloc -> tp_next */ 
13880       varlink_type 
= tmp
; 
13881       varlink_type
.ob_type 
= &PyType_Type
; 
13884     return &varlink_type
; 
13887   /* Create a variable linking object for use later */ 
13888   SWIGINTERN PyObject 
* 
13889   SWIG_Python_newvarlink(void) { 
13890     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
13894     return ((PyObject
*) result
); 
13898   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
13899     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
13900     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
13902       size_t size 
= strlen(name
)+1; 
13903       gv
->name 
= (char *)malloc(size
); 
13905         strncpy(gv
->name
,name
,size
); 
13906         gv
->get_attr 
= get_attr
; 
13907         gv
->set_attr 
= set_attr
; 
13908         gv
->next 
= v
->vars
; 
13914   SWIGINTERN PyObject 
* 
13916     static PyObject 
*_SWIG_globals 
= 0;  
13917     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
13918     return _SWIG_globals
; 
13921   /* ----------------------------------------------------------------------------- 
13922    * constants/methods manipulation 
13923    * ----------------------------------------------------------------------------- */ 
13925   /* Install Constants */ 
13927   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
13930     for (i 
= 0; constants
[i
].type
; ++i
) { 
13931       switch(constants
[i
].type
) { 
13932       case SWIG_PY_POINTER
: 
13933         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
13935       case SWIG_PY_BINARY
: 
13936         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
13943         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
13949   /* -----------------------------------------------------------------------------*/ 
13950   /* Fix SwigMethods to carry the callback ptrs when needed */ 
13951   /* -----------------------------------------------------------------------------*/ 
13954   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
13955     swig_const_info 
*const_table
, 
13956     swig_type_info 
**types
, 
13957     swig_type_info 
**types_initial
) { 
13959     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
13960       const char *c 
= methods
[i
].ml_doc
; 
13961       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
13963         swig_const_info 
*ci 
= 0; 
13964         const char *name 
= c 
+ 10; 
13965         for (j 
= 0; const_table
[j
].type
; ++j
) { 
13966           if (strncmp(const_table
[j
].name
, name
,  
13967               strlen(const_table
[j
].name
)) == 0) { 
13968             ci 
= &(const_table
[j
]); 
13973           size_t shift 
= (ci
->ptype
) - types
; 
13974           swig_type_info 
*ty 
= types_initial
[shift
]; 
13975           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
13976           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
13977           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
13980             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
13982               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
13984               strncpy(buff
, "swig_ptr: ", 10); 
13986               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
13987               methods
[i
].ml_doc 
= ndoc
; 
13999 /* -----------------------------------------------------------------------------* 
14000  *  Partial Init method 
14001  * -----------------------------------------------------------------------------*/ 
14006 SWIGEXPORT 
void SWIG_init(void) { 
14009   /* Fix SwigMethods to carry the callback ptrs when needed */ 
14010   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
14012   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
14013   d 
= PyModule_GetDict(m
); 
14015   SWIG_InitializeModule(0); 
14016   SWIG_InstallConstants(d
,swig_const_table
); 
14019   SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0))); 
14020   SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
))); 
14021   SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
))); 
14022   SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
))); 
14023   SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
))); 
14024   SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
))); 
14025   SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
))); 
14026   SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
))); 
14027   SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
))); 
14028   SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
))); 
14029   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
))); 
14030   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
))); 
14031   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
))); 
14032   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
))); 
14033   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
))); 
14034   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
))); 
14035   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
))); 
14036   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
))); 
14037   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
))); 
14038   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
))); 
14039   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
))); 
14040   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
))); 
14041   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
))); 
14042   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
))); 
14043   SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
))); 
14044   SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
))); 
14045   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
))); 
14046   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
))); 
14047   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
))); 
14048   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
))); 
14049   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
))); 
14050   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
))); 
14051   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
))); 
14052   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
))); 
14053   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
))); 
14054   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
))); 
14055   SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
))); 
14056   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
))); 
14057   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
))); 
14058   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
))); 
14059   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
))); 
14060   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
))); 
14061   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
))); 
14062   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
))); 
14063   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
))); 
14064   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
))); 
14065   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
))); 
14066   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
))); 
14067   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
))); 
14068   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
))); 
14069   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
))); 
14070   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
))); 
14071   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
))); 
14072   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
))); 
14073   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
))); 
14074   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
))); 
14075   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
))); 
14076   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
))); 
14077   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
))); 
14078   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
))); 
14079   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
))); 
14080   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
))); 
14081   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
))); 
14082   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
))); 
14083   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
))); 
14084   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
14085   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
); 
14086   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
); 
14087   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
))); 
14088   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
))); 
14089   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
))); 
14090   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
)); 
14091   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
)); 
14092   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
)); 
14093   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
)); 
14094   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
)); 
14095   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
)); 
14096   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));