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_wxCURHandler swig_types[14] 
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15] 
2482 #define SWIGTYPE_p_wxChar swig_types[16] 
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17] 
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18] 
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19] 
2486 #define SWIGTYPE_p_wxColour swig_types[20] 
2487 #define SWIGTYPE_p_wxColourData swig_types[21] 
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22] 
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23] 
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24] 
2491 #define SWIGTYPE_p_wxControl swig_types[25] 
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26] 
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27] 
2494 #define SWIGTYPE_p_wxDialog swig_types[28] 
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29] 
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30] 
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31] 
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32] 
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33] 
2500 #define SWIGTYPE_p_wxEvent swig_types[34] 
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35] 
2502 #define SWIGTYPE_p_wxFSFile swig_types[36] 
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37] 
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38] 
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39] 
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40] 
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41] 
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42] 
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43] 
2510 #define SWIGTYPE_p_wxFont swig_types[44] 
2511 #define SWIGTYPE_p_wxFontData swig_types[45] 
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46] 
2513 #define SWIGTYPE_p_wxFrame swig_types[47] 
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48] 
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49] 
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50] 
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51] 
2518 #define SWIGTYPE_p_wxICOHandler swig_types[52] 
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[53] 
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[54] 
2521 #define SWIGTYPE_p_wxImage swig_types[55] 
2522 #define SWIGTYPE_p_wxImageHandler swig_types[56] 
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57] 
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58] 
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[59] 
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[60] 
2527 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61] 
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62] 
2529 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63] 
2530 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64] 
2531 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65] 
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66] 
2533 #define SWIGTYPE_p_wxMenu swig_types[67] 
2534 #define SWIGTYPE_p_wxMenuBar swig_types[68] 
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[69] 
2536 #define SWIGTYPE_p_wxMenuItem swig_types[70] 
2537 #define SWIGTYPE_p_wxMessageDialog swig_types[71] 
2538 #define SWIGTYPE_p_wxMiniFrame swig_types[72] 
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73] 
2540 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[74] 
2541 #define SWIGTYPE_p_wxMouseEvent swig_types[75] 
2542 #define SWIGTYPE_p_wxMoveEvent swig_types[76] 
2543 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77] 
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78] 
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79] 
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[80] 
2547 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[81] 
2548 #define SWIGTYPE_p_wxObject swig_types[82] 
2549 #define SWIGTYPE_p_wxPCXHandler swig_types[83] 
2550 #define SWIGTYPE_p_wxPNGHandler swig_types[84] 
2551 #define SWIGTYPE_p_wxPNMHandler swig_types[85] 
2552 #define SWIGTYPE_p_wxPageSetupDialog swig_types[86] 
2553 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[87] 
2554 #define SWIGTYPE_p_wxPaintEvent swig_types[88] 
2555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89] 
2556 #define SWIGTYPE_p_wxPanel swig_types[90] 
2557 #define SWIGTYPE_p_wxPaperSize swig_types[91] 
2558 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92] 
2559 #define SWIGTYPE_p_wxPopupWindow swig_types[93] 
2560 #define SWIGTYPE_p_wxPreviewCanvas swig_types[94] 
2561 #define SWIGTYPE_p_wxPreviewControlBar swig_types[95] 
2562 #define SWIGTYPE_p_wxPreviewFrame swig_types[96] 
2563 #define SWIGTYPE_p_wxPrintData swig_types[97] 
2564 #define SWIGTYPE_p_wxPrintDialog swig_types[98] 
2565 #define SWIGTYPE_p_wxPrintDialogData swig_types[99] 
2566 #define SWIGTYPE_p_wxPrintPreview swig_types[100] 
2567 #define SWIGTYPE_p_wxPrinter swig_types[101] 
2568 #define SWIGTYPE_p_wxProgressDialog swig_types[102] 
2569 #define SWIGTYPE_p_wxPyApp swig_types[103] 
2570 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104] 
2571 #define SWIGTYPE_p_wxPyEvent swig_types[105] 
2572 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[106] 
2573 #define SWIGTYPE_p_wxPyImageHandler swig_types[107] 
2574 #define SWIGTYPE_p_wxPyPanel swig_types[108] 
2575 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109] 
2576 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110] 
2577 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[111] 
2578 #define SWIGTYPE_p_wxPyPrintPreview swig_types[112] 
2579 #define SWIGTYPE_p_wxPyPrintout swig_types[113] 
2580 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[114] 
2581 #define SWIGTYPE_p_wxPySizer swig_types[115] 
2582 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116] 
2583 #define SWIGTYPE_p_wxPyVListBox swig_types[117] 
2584 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118] 
2585 #define SWIGTYPE_p_wxPyValidator swig_types[119] 
2586 #define SWIGTYPE_p_wxPyWindow swig_types[120] 
2587 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121] 
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122] 
2589 #define SWIGTYPE_p_wxRichTextAttr swig_types[123] 
2590 #define SWIGTYPE_p_wxRichTextBuffer swig_types[124] 
2591 #define SWIGTYPE_p_wxRichTextCtrl swig_types[125] 
2592 #define SWIGTYPE_p_wxRichTextEvent swig_types[126] 
2593 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[127] 
2594 #define SWIGTYPE_p_wxRichTextRange swig_types[128] 
2595 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[129] 
2596 #define SWIGTYPE_p_wxSashEvent swig_types[130] 
2597 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[131] 
2598 #define SWIGTYPE_p_wxSashWindow swig_types[132] 
2599 #define SWIGTYPE_p_wxScrollEvent swig_types[133] 
2600 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134] 
2601 #define SWIGTYPE_p_wxScrolledWindow swig_types[135] 
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136] 
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137] 
2604 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[138] 
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139] 
2606 #define SWIGTYPE_p_wxSizer swig_types[140] 
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141] 
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142] 
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143] 
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144] 
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145] 
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146] 
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147] 
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148] 
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149] 
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150] 
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151] 
2618 #define SWIGTYPE_p_wxTextCoord swig_types[152] 
2619 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[153] 
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154] 
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155] 
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156] 
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157] 
2624 #define SWIGTYPE_p_wxValidator swig_types[158] 
2625 #define SWIGTYPE_p_wxWindow swig_types[159] 
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160] 
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161] 
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162] 
2629 static swig_type_info 
*swig_types
[164]; 
2630 static swig_module_info swig_module 
= {swig_types
, 163, 0, 0, 0, 0}; 
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2634 /* -------- TYPES TABLE (END) -------- */ 
2636 #if (PY_VERSION_HEX <= 0x02000000) 
2637 # if !defined(SWIG_PYTHON_CLASSIC) 
2638 #  error "This python version requires to use swig with the '-classic' option" 
2641 #if (PY_VERSION_HEX <= 0x02020000) 
2642 # error "This python version requires to use swig with the '-nomodern' option" 
2644 #if (PY_VERSION_HEX <= 0x02020000) 
2645 # error "This python version requires to use swig with the '-nomodernargs' option" 
2648 # error "This python version requires to use swig with the '-nofastunpack' option" 
2651 /*----------------------------------------------- 
2652               @(target):= _richtext.so 
2653   ------------------------------------------------*/ 
2654 #define SWIG_init    init_richtext 
2656 #define SWIG_name    "_richtext" 
2658 #define SWIGVERSION 0x010329  
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2665 #include <stdexcept> 
2669   class PyObject_ptr 
{ 
2674     PyObject_ptr() :_obj(0) 
2678     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2683     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2685       if (initial_ref
) Py_XINCREF(_obj
); 
2688     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2690       Py_XINCREF(item
._obj
); 
2701     operator PyObject 
*() const 
2706     PyObject 
*operator->() const 
2715   struct PyObject_var 
: PyObject_ptr 
{ 
2716     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2718     PyObject_var 
& operator = (PyObject
* obj
) 
2728 #include "wx/wxPython/wxPython.h" 
2729 #include "wx/wxPython/pyclasses.h" 
2730 #include "wx/wxPython/printfw.h" 
2731 #include "wx/wxPython/twoitem.h" 
2733 #include <wx/richtext/richtextctrl.h> 
2738 class wxBufferedPaintDC
; 
2745   #define SWIG_From_long   PyInt_FromLong  
2748 SWIGINTERNINLINE PyObject 
* 
2749 SWIG_From_int  (int value
) 
2751   return SWIG_From_long  (value
); 
2754  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2757 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
) 
2759     if (source 
== Py_None
) { 
2760         **obj 
= wxRICHTEXT_NONE
; 
2763     return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange")); 
2768 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2770     if (PyNumber_Check(obj
)) { 
2771         if (val
) *val 
= PyInt_AsLong(obj
); 
2774     return SWIG_TypeError
; 
2777 SWIGINTERN 
bool wxRichTextRange___eq__(wxRichTextRange 
*self
,PyObject 
*other
){ 
2778             wxRichTextRange  temp
, *obj 
= &temp
; 
2779             if ( other 
== Py_None 
) return false; 
2780             if ( ! wxRichTextRange_helper(other
, &obj
) ) { 
2784             return self
->operator==(*obj
); 
2786 SWIGINTERN PyObject 
*wxRichTextRange_Get(wxRichTextRange 
*self
){ 
2787             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2788             PyObject
* tup 
= PyTuple_New(2); 
2789             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart())); 
2790             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd())); 
2791             wxPyEndBlockThreads(blocked
); 
2795     wxRichTextRange 
wxPy_RTR_ALL(wxRICHTEXT_ALL
); 
2796     wxRichTextRange 
wxPy_RTR_NONE(wxRICHTEXT_NONE
); 
2801 # define LLONG_MIN      LONG_LONG_MIN 
2804 # define LLONG_MAX      LONG_LONG_MAX 
2807 # define ULLONG_MAX     ULONG_LONG_MAX 
2812 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2815   int res 
= SWIG_AsVal_long (obj
, &v
); 
2816   if (SWIG_IsOK(res
)) { 
2817     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2818       return SWIG_OverflowError
; 
2820       if (val
) *val 
= static_cast< int >(v
); 
2828 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2830   if (obj 
== Py_True
) { 
2831     if (val
) *val 
= true; 
2833   } else if (obj 
== Py_False
) { 
2834     if (val
) *val 
= false; 
2838     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2839     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2846 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2849     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2850         return SWIG_TypeError
; 
2853         *val 
= (unsigned long)v
; 
2858 SWIGINTERN swig_type_info
* 
2859 SWIG_pchar_descriptor() 
2861   static int init 
= 0; 
2862   static swig_type_info
* info 
= 0; 
2864     info 
= SWIG_TypeQuery("_p_char"); 
2872 SWIG_AsCharPtrAndSize(PyObject 
*obj
, char** cptr
, size_t* psize
, int *alloc
) 
2874   if (PyString_Check(obj
)) { 
2875     char *cstr
; Py_ssize_t len
; 
2876     PyString_AsStringAndSize(obj
, &cstr
, &len
); 
2880            In python the user should not be able to modify the inner 
2881            string representation. To warranty that, if you define 
2882            SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string 
2883            buffer is always returned. 
2885            The default behavior is just to return the pointer value, 
2888 #if defined(SWIG_PYTHON_SAFE_CSTRINGS) 
2889         if (*alloc 
!= SWIG_OLDOBJ
)  
2891         if (*alloc 
== SWIG_NEWOBJ
)  
2894             *cptr 
= reinterpret_cast< char* >(memcpy((new char[len 
+ 1]), cstr
, sizeof(char)*(len 
+ 1))); 
2895             *alloc 
= SWIG_NEWOBJ
; 
2899           *alloc 
= SWIG_OLDOBJ
; 
2902         *cptr 
= PyString_AsString(obj
); 
2905     if (psize
) *psize 
= len 
+ 1; 
2908     swig_type_info
* pchar_descriptor 
= SWIG_pchar_descriptor(); 
2909     if (pchar_descriptor
) { 
2911       if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) { 
2912         if (cptr
) *cptr 
= (char *) vptr
; 
2913         if (psize
) *psize 
= vptr 
? (strlen((char *)vptr
) + 1) : 0; 
2914         if (alloc
) *alloc 
= SWIG_OLDOBJ
; 
2919   return SWIG_TypeError
; 
2924 SWIG_AsCharArray(PyObject 
* obj
, char *val
, size_t size
) 
2926   char* cptr 
= 0; size_t csize 
= 0; int alloc 
= SWIG_OLDOBJ
; 
2927   int res 
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
); 
2928   if (SWIG_IsOK(res
)) { 
2929     if ((csize 
== size 
+ 1) && cptr 
&& !(cptr
[csize
-1])) --csize
; 
2930     if (csize 
<= size
) { 
2932         if (csize
) memcpy(val
, cptr
, csize
*sizeof(char)); 
2933         if (csize 
< size
) memset(val 
+ csize
, 0, (size 
- csize
)*sizeof(char)); 
2935       if (alloc 
== SWIG_NEWOBJ
) { 
2937         res 
= SWIG_DelNewMask(res
); 
2941     if (alloc 
== SWIG_NEWOBJ
) delete[] cptr
; 
2943   return SWIG_TypeError
; 
2948 SWIG_AsVal_char (PyObject 
* obj
, char *val
) 
2950   int res 
= SWIG_AsCharArray(obj
, val
, 1); 
2951   if (!SWIG_IsOK(res
)) { 
2953     res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
)); 
2954     if (SWIG_IsOK(res
)) { 
2955       if ((CHAR_MIN 
<= v
) && (v 
<= CHAR_MAX
)) { 
2956         if (val
) *val 
= static_cast< char >(v
); 
2958         res 
= SWIG_OverflowError
; 
2968 SWIGINTERN PyObject 
*_wrap_new_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
2969   PyObject 
*resultobj 
= 0; 
2970   long arg1 
= (long) 0 ; 
2971   long arg2 
= (long) 0 ; 
2972   wxRichTextRange 
*result 
= 0 ; 
2977   PyObject 
* obj0 
= 0 ; 
2978   PyObject 
* obj1 
= 0 ; 
2979   char *  kwnames
[] = { 
2980     (char *) "start",(char *) "end", NULL 
 
2983   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
2985     ecode1 
= SWIG_AsVal_long(obj0
, &val1
); 
2986     if (!SWIG_IsOK(ecode1
)) { 
2987       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'"); 
2989     arg1 
= static_cast< long >(val1
); 
2992     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
2993     if (!SWIG_IsOK(ecode2
)) { 
2994       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'"); 
2996     arg2 
= static_cast< long >(val2
); 
2999     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3000     result 
= (wxRichTextRange 
*)new wxRichTextRange(arg1
,arg2
); 
3001     wxPyEndAllowThreads(__tstate
); 
3002     if (PyErr_Occurred()) SWIG_fail
; 
3004   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW 
|  0 ); 
3011 SWIGINTERN PyObject 
*_wrap_delete_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3012   PyObject 
*resultobj 
= 0; 
3013   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3016   PyObject 
*swig_obj
[1] ; 
3018   if (!args
) SWIG_fail
; 
3020   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN 
|  0 ); 
3021   if (!SWIG_IsOK(res1
)) { 
3022     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3024   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3029     wxPyEndAllowThreads(__tstate
); 
3030     if (PyErr_Occurred()) SWIG_fail
; 
3032   resultobj 
= SWIG_Py_Void(); 
3039 SWIGINTERN PyObject 
*_wrap_RichTextRange___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3040   PyObject 
*resultobj 
= 0; 
3041   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3042   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3046   PyObject 
* obj0 
= 0 ; 
3047   PyObject 
* obj1 
= 0 ; 
3048   char *  kwnames
[] = { 
3049     (char *) "self",(char *) "other", NULL 
 
3052   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3053   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3054   if (!SWIG_IsOK(res1
)) { 
3055     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3057   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3060     result 
= (bool)wxRichTextRange___eq__(arg1
,arg2
); 
3061     if (PyErr_Occurred()) SWIG_fail
; 
3064     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3072 SWIGINTERN PyObject 
*_wrap_RichTextRange___sub__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3073   PyObject 
*resultobj 
= 0; 
3074   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3075   wxRichTextRange 
*arg2 
= 0 ; 
3076   wxRichTextRange result
; 
3079   wxRichTextRange temp2 
; 
3080   PyObject 
* obj0 
= 0 ; 
3081   PyObject 
* obj1 
= 0 ; 
3082   char *  kwnames
[] = { 
3083     (char *) "self",(char *) "range", NULL 
 
3086   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3087   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3088   if (!SWIG_IsOK(res1
)) { 
3089     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3091   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3094     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3097     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3098     result 
= ((wxRichTextRange 
const *)arg1
)->operator -((wxRichTextRange 
const &)*arg2
); 
3099     wxPyEndAllowThreads(__tstate
); 
3100     if (PyErr_Occurred()) SWIG_fail
; 
3102   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3109 SWIGINTERN PyObject 
*_wrap_RichTextRange___add__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3110   PyObject 
*resultobj 
= 0; 
3111   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3112   wxRichTextRange 
*arg2 
= 0 ; 
3113   wxRichTextRange result
; 
3116   wxRichTextRange temp2 
; 
3117   PyObject 
* obj0 
= 0 ; 
3118   PyObject 
* obj1 
= 0 ; 
3119   char *  kwnames
[] = { 
3120     (char *) "self",(char *) "range", NULL 
 
3123   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3124   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3125   if (!SWIG_IsOK(res1
)) { 
3126     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3128   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3131     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3135     result 
= ((wxRichTextRange 
const *)arg1
)->operator +((wxRichTextRange 
const &)*arg2
); 
3136     wxPyEndAllowThreads(__tstate
); 
3137     if (PyErr_Occurred()) SWIG_fail
; 
3139   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3146 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3147   PyObject 
*resultobj 
= 0; 
3148   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3157   PyObject 
* obj0 
= 0 ; 
3158   PyObject 
* obj1 
= 0 ; 
3159   PyObject 
* obj2 
= 0 ; 
3160   char *  kwnames
[] = { 
3161     (char *) "self",(char *) "start",(char *) "end", NULL 
 
3164   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3165   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3166   if (!SWIG_IsOK(res1
)) { 
3167     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3169   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3170   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3171   if (!SWIG_IsOK(ecode2
)) { 
3172     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'"); 
3174   arg2 
= static_cast< long >(val2
); 
3175   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
3176   if (!SWIG_IsOK(ecode3
)) { 
3177     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'"); 
3179   arg3 
= static_cast< long >(val3
); 
3181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3182     (arg1
)->SetRange(arg2
,arg3
); 
3183     wxPyEndAllowThreads(__tstate
); 
3184     if (PyErr_Occurred()) SWIG_fail
; 
3186   resultobj 
= SWIG_Py_Void(); 
3193 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3194   PyObject 
*resultobj 
= 0; 
3195   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3201   PyObject 
* obj0 
= 0 ; 
3202   PyObject 
* obj1 
= 0 ; 
3203   char *  kwnames
[] = { 
3204     (char *) "self",(char *) "start", NULL 
 
3207   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3208   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3209   if (!SWIG_IsOK(res1
)) { 
3210     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3212   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3213   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3214   if (!SWIG_IsOK(ecode2
)) { 
3215     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'"); 
3217   arg2 
= static_cast< long >(val2
); 
3219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3220     (arg1
)->SetStart(arg2
); 
3221     wxPyEndAllowThreads(__tstate
); 
3222     if (PyErr_Occurred()) SWIG_fail
; 
3224   resultobj 
= SWIG_Py_Void(); 
3231 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3232   PyObject 
*resultobj 
= 0; 
3233   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3237   PyObject 
*swig_obj
[1] ; 
3239   if (!args
) SWIG_fail
; 
3241   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3242   if (!SWIG_IsOK(res1
)) { 
3243     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3245   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3248     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetStart(); 
3249     wxPyEndAllowThreads(__tstate
); 
3250     if (PyErr_Occurred()) SWIG_fail
; 
3252   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3259 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3260   PyObject 
*resultobj 
= 0; 
3261   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3267   PyObject 
* obj0 
= 0 ; 
3268   PyObject 
* obj1 
= 0 ; 
3269   char *  kwnames
[] = { 
3270     (char *) "self",(char *) "end", NULL 
 
3273   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3274   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3275   if (!SWIG_IsOK(res1
)) { 
3276     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3278   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3279   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3280   if (!SWIG_IsOK(ecode2
)) { 
3281     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'"); 
3283   arg2 
= static_cast< long >(val2
); 
3285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3286     (arg1
)->SetEnd(arg2
); 
3287     wxPyEndAllowThreads(__tstate
); 
3288     if (PyErr_Occurred()) SWIG_fail
; 
3290   resultobj 
= SWIG_Py_Void(); 
3297 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3298   PyObject 
*resultobj 
= 0; 
3299   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3303   PyObject 
*swig_obj
[1] ; 
3305   if (!args
) SWIG_fail
; 
3307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3308   if (!SWIG_IsOK(res1
)) { 
3309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3311   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3314     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetEnd(); 
3315     wxPyEndAllowThreads(__tstate
); 
3316     if (PyErr_Occurred()) SWIG_fail
; 
3318   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3325 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsOutside(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3326   PyObject 
*resultobj 
= 0; 
3327   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3328   wxRichTextRange 
*arg2 
= 0 ; 
3332   wxRichTextRange temp2 
; 
3333   PyObject 
* obj0 
= 0 ; 
3334   PyObject 
* obj1 
= 0 ; 
3335   char *  kwnames
[] = { 
3336     (char *) "self",(char *) "range", NULL 
 
3339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3340   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3341   if (!SWIG_IsOK(res1
)) { 
3342     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3344   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3347     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3350     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3351     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsOutside((wxRichTextRange 
const &)*arg2
); 
3352     wxPyEndAllowThreads(__tstate
); 
3353     if (PyErr_Occurred()) SWIG_fail
; 
3356     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3364 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsWithin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3365   PyObject 
*resultobj 
= 0; 
3366   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3367   wxRichTextRange 
*arg2 
= 0 ; 
3371   wxRichTextRange temp2 
; 
3372   PyObject 
* obj0 
= 0 ; 
3373   PyObject 
* obj1 
= 0 ; 
3374   char *  kwnames
[] = { 
3375     (char *) "self",(char *) "range", NULL 
 
3378   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3379   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3380   if (!SWIG_IsOK(res1
)) { 
3381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3383   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3386     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3389     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3390     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsWithin((wxRichTextRange 
const &)*arg2
); 
3391     wxPyEndAllowThreads(__tstate
); 
3392     if (PyErr_Occurred()) SWIG_fail
; 
3395     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3403 SWIGINTERN PyObject 
*_wrap_RichTextRange_Contains(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3404   PyObject 
*resultobj 
= 0; 
3405   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3412   PyObject 
* obj0 
= 0 ; 
3413   PyObject 
* obj1 
= 0 ; 
3414   char *  kwnames
[] = { 
3415     (char *) "self",(char *) "pos", NULL 
 
3418   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3419   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3420   if (!SWIG_IsOK(res1
)) { 
3421     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3423   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3424   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3425   if (!SWIG_IsOK(ecode2
)) { 
3426     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'"); 
3428   arg2 
= static_cast< long >(val2
); 
3430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3431     result 
= (bool)((wxRichTextRange 
const *)arg1
)->Contains(arg2
); 
3432     wxPyEndAllowThreads(__tstate
); 
3433     if (PyErr_Occurred()) SWIG_fail
; 
3436     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3444 SWIGINTERN PyObject 
*_wrap_RichTextRange_LimitTo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3445   PyObject 
*resultobj 
= 0; 
3446   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3447   wxRichTextRange 
*arg2 
= 0 ; 
3451   wxRichTextRange temp2 
; 
3452   PyObject 
* obj0 
= 0 ; 
3453   PyObject 
* obj1 
= 0 ; 
3454   char *  kwnames
[] = { 
3455     (char *) "self",(char *) "range", NULL 
 
3458   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3459   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3460   if (!SWIG_IsOK(res1
)) { 
3461     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3463   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3466     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3470     result 
= (bool)(arg1
)->LimitTo((wxRichTextRange 
const &)*arg2
); 
3471     wxPyEndAllowThreads(__tstate
); 
3472     if (PyErr_Occurred()) SWIG_fail
; 
3475     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3483 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3484   PyObject 
*resultobj 
= 0; 
3485   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3489   PyObject 
*swig_obj
[1] ; 
3491   if (!args
) SWIG_fail
; 
3493   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3494   if (!SWIG_IsOK(res1
)) { 
3495     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3497   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3500     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetLength(); 
3501     wxPyEndAllowThreads(__tstate
); 
3502     if (PyErr_Occurred()) SWIG_fail
; 
3504   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3511 SWIGINTERN PyObject 
*_wrap_RichTextRange_Swap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3512   PyObject 
*resultobj 
= 0; 
3513   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3516   PyObject 
*swig_obj
[1] ; 
3518   if (!args
) SWIG_fail
; 
3520   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3521   if (!SWIG_IsOK(res1
)) { 
3522     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3524   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3526     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3528     wxPyEndAllowThreads(__tstate
); 
3529     if (PyErr_Occurred()) SWIG_fail
; 
3531   resultobj 
= SWIG_Py_Void(); 
3538 SWIGINTERN PyObject 
*_wrap_RichTextRange_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3539   PyObject 
*resultobj 
= 0; 
3540   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3541   PyObject 
*result 
= 0 ; 
3544   PyObject 
*swig_obj
[1] ; 
3546   if (!args
) SWIG_fail
; 
3548   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3549   if (!SWIG_IsOK(res1
)) { 
3550     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3552   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3555     result 
= (PyObject 
*)wxRichTextRange_Get(arg1
); 
3556     wxPyEndAllowThreads(__tstate
); 
3557     if (PyErr_Occurred()) SWIG_fail
; 
3566 SWIGINTERN PyObject 
*RichTextRange_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3568   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3569   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
)); 
3570   return SWIG_Py_Void(); 
3573 SWIGINTERN PyObject 
*RichTextRange_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3574   return SWIG_Python_InitShadowInstance(args
); 
3577 SWIGINTERN 
int RICHTEXT_ALL_set(PyObject 
*) { 
3578   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only."); 
3583 SWIGINTERN PyObject 
*RICHTEXT_ALL_get(void) { 
3584   PyObject 
*pyobj 
= 0; 
3586   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3591 SWIGINTERN 
int RICHTEXT_NONE_set(PyObject 
*) { 
3592   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only."); 
3597 SWIGINTERN PyObject 
*RICHTEXT_NONE_get(void) { 
3598   PyObject 
*pyobj 
= 0; 
3600   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3605 SWIGINTERN PyObject 
*_wrap_new_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3606   PyObject 
*resultobj 
= 0; 
3607   wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
3608   wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
3609   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3610   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3611   wxTextAttrAlignment arg3 
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT 
; 
3612   wxRichTextAttr 
*result 
= 0 ; 
3617   PyObject 
* obj0 
= 0 ; 
3618   PyObject 
* obj1 
= 0 ; 
3619   PyObject 
* obj2 
= 0 ; 
3620   char *  kwnames
[] = { 
3621     (char *) "colText",(char *) "colBack",(char *) "alignment", NULL 
 
3624   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3628       if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3634       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3638     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3639     if (!SWIG_IsOK(ecode3
)) { 
3640       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'"); 
3642     arg3 
= static_cast< wxTextAttrAlignment 
>(val3
); 
3645     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3646     result 
= (wxRichTextAttr 
*)new wxRichTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
3647     wxPyEndAllowThreads(__tstate
); 
3648     if (PyErr_Occurred()) SWIG_fail
; 
3650   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW 
|  0 ); 
3657 SWIGINTERN PyObject 
*_wrap_delete_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3658   PyObject 
*resultobj 
= 0; 
3659   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3662   PyObject 
*swig_obj
[1] ; 
3664   if (!args
) SWIG_fail
; 
3666   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN 
|  0 ); 
3667   if (!SWIG_IsOK(res1
)) { 
3668     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3670   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3675     wxPyEndAllowThreads(__tstate
); 
3676     if (PyErr_Occurred()) SWIG_fail
; 
3678   resultobj 
= SWIG_Py_Void(); 
3685 SWIGINTERN PyObject 
*_wrap_RichTextAttr_CreateFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3686   PyObject 
*resultobj 
= 0; 
3687   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3691   PyObject 
*swig_obj
[1] ; 
3693   if (!args
) SWIG_fail
; 
3695   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3696   if (!SWIG_IsOK(res1
)) { 
3697     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
3699   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3701     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3702     result 
= ((wxRichTextAttr 
const *)arg1
)->CreateFont(); 
3703     wxPyEndAllowThreads(__tstate
); 
3704     if (PyErr_Occurred()) SWIG_fail
; 
3706   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
3713 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3714   PyObject 
*resultobj 
= 0; 
3715   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3722   PyObject 
* obj0 
= 0 ; 
3723   PyObject 
* obj1 
= 0 ; 
3724   char *  kwnames
[] = { 
3725     (char *) "self",(char *) "font", NULL 
 
3728   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3729   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3730   if (!SWIG_IsOK(res1
)) { 
3731     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3733   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3734   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
3735   if (!SWIG_IsOK(res2
)) { 
3736     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3739     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3741   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
3743     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3744     result 
= (bool)(arg1
)->GetFontAttributes((wxFont 
const &)*arg2
); 
3745     wxPyEndAllowThreads(__tstate
); 
3746     if (PyErr_Occurred()) SWIG_fail
; 
3749     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3757 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3758   PyObject 
*resultobj 
= 0; 
3759   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3760   wxColour 
*arg2 
= 0 ; 
3764   PyObject 
* obj0 
= 0 ; 
3765   PyObject 
* obj1 
= 0 ; 
3766   char *  kwnames
[] = { 
3767     (char *) "self",(char *) "colText", NULL 
 
3770   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3771   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3772   if (!SWIG_IsOK(res1
)) { 
3773     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3775   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3778     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3782     (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
3783     wxPyEndAllowThreads(__tstate
); 
3784     if (PyErr_Occurred()) SWIG_fail
; 
3786   resultobj 
= SWIG_Py_Void(); 
3793 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3794   PyObject 
*resultobj 
= 0; 
3795   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3796   wxColour 
*arg2 
= 0 ; 
3800   PyObject 
* obj0 
= 0 ; 
3801   PyObject 
* obj1 
= 0 ; 
3802   char *  kwnames
[] = { 
3803     (char *) "self",(char *) "colBack", NULL 
 
3806   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3807   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3808   if (!SWIG_IsOK(res1
)) { 
3809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3811   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3814     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3818     (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
3819     wxPyEndAllowThreads(__tstate
); 
3820     if (PyErr_Occurred()) SWIG_fail
; 
3822   resultobj 
= SWIG_Py_Void(); 
3829 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3830   PyObject 
*resultobj 
= 0; 
3831   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3832   wxTextAttrAlignment arg2 
; 
3837   PyObject 
* obj0 
= 0 ; 
3838   PyObject 
* obj1 
= 0 ; 
3839   char *  kwnames
[] = { 
3840     (char *) "self",(char *) "alignment", NULL 
 
3843   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3844   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3845   if (!SWIG_IsOK(res1
)) { 
3846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3848   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3849   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3850   if (!SWIG_IsOK(ecode2
)) { 
3851     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
3853   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
3855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3856     (arg1
)->SetAlignment(arg2
); 
3857     wxPyEndAllowThreads(__tstate
); 
3858     if (PyErr_Occurred()) SWIG_fail
; 
3860   resultobj 
= SWIG_Py_Void(); 
3867 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3868   PyObject 
*resultobj 
= 0; 
3869   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3870   wxArrayInt 
*arg2 
= 0 ; 
3873   bool temp2 
= false ; 
3874   PyObject 
* obj0 
= 0 ; 
3875   PyObject 
* obj1 
= 0 ; 
3876   char *  kwnames
[] = { 
3877     (char *) "self",(char *) "tabs", NULL 
 
3880   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3881   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3882   if (!SWIG_IsOK(res1
)) { 
3883     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3885   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3887     if (! PySequence_Check(obj1
)) { 
3888       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
3891     arg2 
= new wxArrayInt
; 
3893     int i
, len
=PySequence_Length(obj1
); 
3894     for (i
=0; i
<len
; i
++) { 
3895       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
3896       PyObject
* number  
= PyNumber_Int(item
); 
3897       arg2
->Add(PyInt_AS_LONG(number
)); 
3903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3904     (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
3905     wxPyEndAllowThreads(__tstate
); 
3906     if (PyErr_Occurred()) SWIG_fail
; 
3908   resultobj 
= SWIG_Py_Void(); 
3910     if (temp2
) delete arg2
; 
3915     if (temp2
) delete arg2
; 
3921 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3922   PyObject 
*resultobj 
= 0; 
3923   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3925   int arg3 
= (int) 0 ; 
3932   PyObject 
* obj0 
= 0 ; 
3933   PyObject 
* obj1 
= 0 ; 
3934   PyObject 
* obj2 
= 0 ; 
3935   char *  kwnames
[] = { 
3936     (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
 
3939   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3940   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3941   if (!SWIG_IsOK(res1
)) { 
3942     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3944   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3945   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3946   if (!SWIG_IsOK(ecode2
)) { 
3947     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
3949   arg2 
= static_cast< int >(val2
); 
3951     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3952     if (!SWIG_IsOK(ecode3
)) { 
3953       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
3955     arg3 
= static_cast< int >(val3
); 
3958     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3959     (arg1
)->SetLeftIndent(arg2
,arg3
); 
3960     wxPyEndAllowThreads(__tstate
); 
3961     if (PyErr_Occurred()) SWIG_fail
; 
3963   resultobj 
= SWIG_Py_Void(); 
3970 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3971   PyObject 
*resultobj 
= 0; 
3972   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3978   PyObject 
* obj0 
= 0 ; 
3979   PyObject 
* obj1 
= 0 ; 
3980   char *  kwnames
[] = { 
3981     (char *) "self",(char *) "indent", NULL 
 
3984   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3985   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3986   if (!SWIG_IsOK(res1
)) { 
3987     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3989   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3990   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3991   if (!SWIG_IsOK(ecode2
)) { 
3992     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'"); 
3994   arg2 
= static_cast< int >(val2
); 
3996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3997     (arg1
)->SetRightIndent(arg2
); 
3998     wxPyEndAllowThreads(__tstate
); 
3999     if (PyErr_Occurred()) SWIG_fail
; 
4001   resultobj 
= SWIG_Py_Void(); 
4008 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4009   PyObject 
*resultobj 
= 0; 
4010   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4016   PyObject 
* obj0 
= 0 ; 
4017   PyObject 
* obj1 
= 0 ; 
4018   char *  kwnames
[] = { 
4019     (char *) "self",(char *) "pointSize", NULL 
 
4022   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4023   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4024   if (!SWIG_IsOK(res1
)) { 
4025     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4027   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4028   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4029   if (!SWIG_IsOK(ecode2
)) { 
4030     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'"); 
4032   arg2 
= static_cast< int >(val2
); 
4034     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4035     (arg1
)->SetFontSize(arg2
); 
4036     wxPyEndAllowThreads(__tstate
); 
4037     if (PyErr_Occurred()) SWIG_fail
; 
4039   resultobj 
= SWIG_Py_Void(); 
4046 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4047   PyObject 
*resultobj 
= 0; 
4048   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4054   PyObject 
* obj0 
= 0 ; 
4055   PyObject 
* obj1 
= 0 ; 
4056   char *  kwnames
[] = { 
4057     (char *) "self",(char *) "fontStyle", NULL 
 
4060   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4061   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4062   if (!SWIG_IsOK(res1
)) { 
4063     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4065   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4066   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4067   if (!SWIG_IsOK(ecode2
)) { 
4068     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'"); 
4070   arg2 
= static_cast< int >(val2
); 
4072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4073     (arg1
)->SetFontStyle(arg2
); 
4074     wxPyEndAllowThreads(__tstate
); 
4075     if (PyErr_Occurred()) SWIG_fail
; 
4077   resultobj 
= SWIG_Py_Void(); 
4084 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4085   PyObject 
*resultobj 
= 0; 
4086   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4092   PyObject 
* obj0 
= 0 ; 
4093   PyObject 
* obj1 
= 0 ; 
4094   char *  kwnames
[] = { 
4095     (char *) "self",(char *) "fontWeight", NULL 
 
4098   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4099   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4100   if (!SWIG_IsOK(res1
)) { 
4101     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4103   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4104   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4105   if (!SWIG_IsOK(ecode2
)) { 
4106     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'"); 
4108   arg2 
= static_cast< int >(val2
); 
4110     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4111     (arg1
)->SetFontWeight(arg2
); 
4112     wxPyEndAllowThreads(__tstate
); 
4113     if (PyErr_Occurred()) SWIG_fail
; 
4115   resultobj 
= SWIG_Py_Void(); 
4122 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4123   PyObject 
*resultobj 
= 0; 
4124   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4125   wxString 
*arg2 
= 0 ; 
4128   bool temp2 
= false ; 
4129   PyObject 
* obj0 
= 0 ; 
4130   PyObject 
* obj1 
= 0 ; 
4131   char *  kwnames
[] = { 
4132     (char *) "self",(char *) "faceName", NULL 
 
4135   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4136   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4137   if (!SWIG_IsOK(res1
)) { 
4138     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4140   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4142     arg2 
= wxString_in_helper(obj1
); 
4143     if (arg2 
== NULL
) SWIG_fail
; 
4147     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4148     (arg1
)->SetFontFaceName((wxString 
const &)*arg2
); 
4149     wxPyEndAllowThreads(__tstate
); 
4150     if (PyErr_Occurred()) SWIG_fail
; 
4152   resultobj 
= SWIG_Py_Void(); 
4167 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4168   PyObject 
*resultobj 
= 0; 
4169   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4175   PyObject 
* obj0 
= 0 ; 
4176   PyObject 
* obj1 
= 0 ; 
4177   char *  kwnames
[] = { 
4178     (char *) "self",(char *) "underlined", NULL 
 
4181   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4182   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4183   if (!SWIG_IsOK(res1
)) { 
4184     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4186   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4187   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4188   if (!SWIG_IsOK(ecode2
)) { 
4189     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
4191   arg2 
= static_cast< bool >(val2
); 
4193     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4194     (arg1
)->SetFontUnderlined(arg2
); 
4195     wxPyEndAllowThreads(__tstate
); 
4196     if (PyErr_Occurred()) SWIG_fail
; 
4198   resultobj 
= SWIG_Py_Void(); 
4205 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4206   PyObject 
*resultobj 
= 0; 
4207   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4213   PyObject 
* obj0 
= 0 ; 
4214   PyObject 
* obj1 
= 0 ; 
4215   char *  kwnames
[] = { 
4216     (char *) "self",(char *) "flags", NULL 
 
4219   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4220   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4221   if (!SWIG_IsOK(res1
)) { 
4222     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4224   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4225   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
4226   if (!SWIG_IsOK(ecode2
)) { 
4227     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'"); 
4229   arg2 
= static_cast< long >(val2
); 
4231     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4232     (arg1
)->SetFlags(arg2
); 
4233     wxPyEndAllowThreads(__tstate
); 
4234     if (PyErr_Occurred()) SWIG_fail
; 
4236   resultobj 
= SWIG_Py_Void(); 
4243 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4244   PyObject 
*resultobj 
= 0; 
4245   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4246   wxString 
*arg2 
= 0 ; 
4249   bool temp2 
= false ; 
4250   PyObject 
* obj0 
= 0 ; 
4251   PyObject 
* obj1 
= 0 ; 
4252   char *  kwnames
[] = { 
4253     (char *) "self",(char *) "name", NULL 
 
4256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4258   if (!SWIG_IsOK(res1
)) { 
4259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4261   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4263     arg2 
= wxString_in_helper(obj1
); 
4264     if (arg2 
== NULL
) SWIG_fail
; 
4268     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4269     (arg1
)->SetCharacterStyleName((wxString 
const &)*arg2
); 
4270     wxPyEndAllowThreads(__tstate
); 
4271     if (PyErr_Occurred()) SWIG_fail
; 
4273   resultobj 
= SWIG_Py_Void(); 
4288 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4289   PyObject 
*resultobj 
= 0; 
4290   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4291   wxString 
*arg2 
= 0 ; 
4294   bool temp2 
= false ; 
4295   PyObject 
* obj0 
= 0 ; 
4296   PyObject 
* obj1 
= 0 ; 
4297   char *  kwnames
[] = { 
4298     (char *) "self",(char *) "name", NULL 
 
4301   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4302   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4303   if (!SWIG_IsOK(res1
)) { 
4304     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4306   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4308     arg2 
= wxString_in_helper(obj1
); 
4309     if (arg2 
== NULL
) SWIG_fail
; 
4313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4314     (arg1
)->SetParagraphStyleName((wxString 
const &)*arg2
); 
4315     wxPyEndAllowThreads(__tstate
); 
4316     if (PyErr_Occurred()) SWIG_fail
; 
4318   resultobj 
= SWIG_Py_Void(); 
4333 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4334   PyObject 
*resultobj 
= 0; 
4335   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4341   PyObject 
* obj0 
= 0 ; 
4342   PyObject 
* obj1 
= 0 ; 
4343   char *  kwnames
[] = { 
4344     (char *) "self",(char *) "spacing", NULL 
 
4347   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4348   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4349   if (!SWIG_IsOK(res1
)) { 
4350     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4352   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4353   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4354   if (!SWIG_IsOK(ecode2
)) { 
4355     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'"); 
4357   arg2 
= static_cast< int >(val2
); 
4359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4360     (arg1
)->SetParagraphSpacingAfter(arg2
); 
4361     wxPyEndAllowThreads(__tstate
); 
4362     if (PyErr_Occurred()) SWIG_fail
; 
4364   resultobj 
= SWIG_Py_Void(); 
4371 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4372   PyObject 
*resultobj 
= 0; 
4373   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4379   PyObject 
* obj0 
= 0 ; 
4380   PyObject 
* obj1 
= 0 ; 
4381   char *  kwnames
[] = { 
4382     (char *) "self",(char *) "spacing", NULL 
 
4385   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4386   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4387   if (!SWIG_IsOK(res1
)) { 
4388     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4390   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4391   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4392   if (!SWIG_IsOK(ecode2
)) { 
4393     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'"); 
4395   arg2 
= static_cast< int >(val2
); 
4397     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4398     (arg1
)->SetParagraphSpacingBefore(arg2
); 
4399     wxPyEndAllowThreads(__tstate
); 
4400     if (PyErr_Occurred()) SWIG_fail
; 
4402   resultobj 
= SWIG_Py_Void(); 
4409 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4410   PyObject 
*resultobj 
= 0; 
4411   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4417   PyObject 
* obj0 
= 0 ; 
4418   PyObject 
* obj1 
= 0 ; 
4419   char *  kwnames
[] = { 
4420     (char *) "self",(char *) "spacing", NULL 
 
4423   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4424   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4425   if (!SWIG_IsOK(res1
)) { 
4426     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4428   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4429   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4430   if (!SWIG_IsOK(ecode2
)) { 
4431     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
4433   arg2 
= static_cast< int >(val2
); 
4435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4436     (arg1
)->SetLineSpacing(arg2
); 
4437     wxPyEndAllowThreads(__tstate
); 
4438     if (PyErr_Occurred()) SWIG_fail
; 
4440   resultobj 
= SWIG_Py_Void(); 
4447 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4448   PyObject 
*resultobj 
= 0; 
4449   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4455   PyObject 
* obj0 
= 0 ; 
4456   PyObject 
* obj1 
= 0 ; 
4457   char *  kwnames
[] = { 
4458     (char *) "self",(char *) "style", NULL 
 
4461   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4462   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4463   if (!SWIG_IsOK(res1
)) { 
4464     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4466   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4467   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4468   if (!SWIG_IsOK(ecode2
)) { 
4469     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'"); 
4471   arg2 
= static_cast< int >(val2
); 
4473     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4474     (arg1
)->SetBulletStyle(arg2
); 
4475     wxPyEndAllowThreads(__tstate
); 
4476     if (PyErr_Occurred()) SWIG_fail
; 
4478   resultobj 
= SWIG_Py_Void(); 
4485 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4486   PyObject 
*resultobj 
= 0; 
4487   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4493   PyObject 
* obj0 
= 0 ; 
4494   PyObject 
* obj1 
= 0 ; 
4495   char *  kwnames
[] = { 
4496     (char *) "self",(char *) "n", NULL 
 
4499   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4500   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4501   if (!SWIG_IsOK(res1
)) { 
4502     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4504   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4505   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4506   if (!SWIG_IsOK(ecode2
)) { 
4507     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'"); 
4509   arg2 
= static_cast< int >(val2
); 
4511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4512     (arg1
)->SetBulletNumber(arg2
); 
4513     wxPyEndAllowThreads(__tstate
); 
4514     if (PyErr_Occurred()) SWIG_fail
; 
4516   resultobj 
= SWIG_Py_Void(); 
4523 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4524   PyObject 
*resultobj 
= 0; 
4525   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4531   PyObject 
* obj0 
= 0 ; 
4532   PyObject 
* obj1 
= 0 ; 
4533   char *  kwnames
[] = { 
4534     (char *) "self",(char *) "symbol", NULL 
 
4537   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4538   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4539   if (!SWIG_IsOK(res1
)) { 
4540     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4542   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4544     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
,  0  | 0); 
4545     if (!SWIG_IsOK(res2
)) { 
4546       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");  
4549       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'"); 
4551       wxChar 
* temp 
= reinterpret_cast< wxChar 
* >(argp2
); 
4553       if (SWIG_IsNewObj(res2
)) delete temp
; 
4557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4558     (arg1
)->SetBulletSymbol(arg2
); 
4559     wxPyEndAllowThreads(__tstate
); 
4560     if (PyErr_Occurred()) SWIG_fail
; 
4562   resultobj 
= SWIG_Py_Void(); 
4569 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4570   PyObject 
*resultobj 
= 0; 
4571   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4572   wxColour 
*result 
= 0 ; 
4575   PyObject 
*swig_obj
[1] ; 
4577   if (!args
) SWIG_fail
; 
4579   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4580   if (!SWIG_IsOK(res1
)) { 
4581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4583   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4585     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4587       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTextColour(); 
4588       result 
= (wxColour 
*) &_result_ref
; 
4590     wxPyEndAllowThreads(__tstate
); 
4591     if (PyErr_Occurred()) SWIG_fail
; 
4593   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4600 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4601   PyObject 
*resultobj 
= 0; 
4602   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4603   wxColour 
*result 
= 0 ; 
4606   PyObject 
*swig_obj
[1] ; 
4608   if (!args
) SWIG_fail
; 
4610   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4611   if (!SWIG_IsOK(res1
)) { 
4612     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4614   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4616     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4618       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetBackgroundColour(); 
4619       result 
= (wxColour 
*) &_result_ref
; 
4621     wxPyEndAllowThreads(__tstate
); 
4622     if (PyErr_Occurred()) SWIG_fail
; 
4624   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4631 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4632   PyObject 
*resultobj 
= 0; 
4633   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4634   wxTextAttrAlignment result
; 
4637   PyObject 
*swig_obj
[1] ; 
4639   if (!args
) SWIG_fail
; 
4641   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4642   if (!SWIG_IsOK(res1
)) { 
4643     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4645   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4647     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4648     result 
= (wxTextAttrAlignment
)((wxRichTextAttr 
const *)arg1
)->GetAlignment(); 
4649     wxPyEndAllowThreads(__tstate
); 
4650     if (PyErr_Occurred()) SWIG_fail
; 
4652   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4659 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4660   PyObject 
*resultobj 
= 0; 
4661   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4662   wxArrayInt 
*result 
= 0 ; 
4665   PyObject 
*swig_obj
[1] ; 
4667   if (!args
) SWIG_fail
; 
4669   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4670   if (!SWIG_IsOK(res1
)) { 
4671     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4673   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4677       wxArrayInt 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTabs(); 
4678       result 
= (wxArrayInt 
*) &_result_ref
; 
4680     wxPyEndAllowThreads(__tstate
); 
4681     if (PyErr_Occurred()) SWIG_fail
; 
4684     resultobj 
= PyList_New(0); 
4686     for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
4687       PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
4688       PyList_Append(resultobj
, val
); 
4698 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4699   PyObject 
*resultobj 
= 0; 
4700   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4704   PyObject 
*swig_obj
[1] ; 
4706   if (!args
) SWIG_fail
; 
4708   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4709   if (!SWIG_IsOK(res1
)) { 
4710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4712   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4714     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4715     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftIndent(); 
4716     wxPyEndAllowThreads(__tstate
); 
4717     if (PyErr_Occurred()) SWIG_fail
; 
4719   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4726 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4727   PyObject 
*resultobj 
= 0; 
4728   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4732   PyObject 
*swig_obj
[1] ; 
4734   if (!args
) SWIG_fail
; 
4736   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4737   if (!SWIG_IsOK(res1
)) { 
4738     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4740   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4742     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4743     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftSubIndent(); 
4744     wxPyEndAllowThreads(__tstate
); 
4745     if (PyErr_Occurred()) SWIG_fail
; 
4747   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4754 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4755   PyObject 
*resultobj 
= 0; 
4756   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4760   PyObject 
*swig_obj
[1] ; 
4762   if (!args
) SWIG_fail
; 
4764   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4765   if (!SWIG_IsOK(res1
)) { 
4766     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4768   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4770     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4771     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetRightIndent(); 
4772     wxPyEndAllowThreads(__tstate
); 
4773     if (PyErr_Occurred()) SWIG_fail
; 
4775   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4782 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4783   PyObject 
*resultobj 
= 0; 
4784   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4788   PyObject 
*swig_obj
[1] ; 
4790   if (!args
) SWIG_fail
; 
4792   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4793   if (!SWIG_IsOK(res1
)) { 
4794     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4796   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4799     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetFlags(); 
4800     wxPyEndAllowThreads(__tstate
); 
4801     if (PyErr_Occurred()) SWIG_fail
; 
4803   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4810 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4811   PyObject 
*resultobj 
= 0; 
4812   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4816   PyObject 
*swig_obj
[1] ; 
4818   if (!args
) SWIG_fail
; 
4820   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4821   if (!SWIG_IsOK(res1
)) { 
4822     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4824   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4826     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4827     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontSize(); 
4828     wxPyEndAllowThreads(__tstate
); 
4829     if (PyErr_Occurred()) SWIG_fail
; 
4831   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4838 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4839   PyObject 
*resultobj 
= 0; 
4840   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4844   PyObject 
*swig_obj
[1] ; 
4846   if (!args
) SWIG_fail
; 
4848   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4849   if (!SWIG_IsOK(res1
)) { 
4850     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4852   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4855     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontStyle(); 
4856     wxPyEndAllowThreads(__tstate
); 
4857     if (PyErr_Occurred()) SWIG_fail
; 
4859   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4866 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4867   PyObject 
*resultobj 
= 0; 
4868   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4872   PyObject 
*swig_obj
[1] ; 
4874   if (!args
) SWIG_fail
; 
4876   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4877   if (!SWIG_IsOK(res1
)) { 
4878     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4880   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4883     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontWeight(); 
4884     wxPyEndAllowThreads(__tstate
); 
4885     if (PyErr_Occurred()) SWIG_fail
; 
4887   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4894 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4895   PyObject 
*resultobj 
= 0; 
4896   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4900   PyObject 
*swig_obj
[1] ; 
4902   if (!args
) SWIG_fail
; 
4904   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4905   if (!SWIG_IsOK(res1
)) { 
4906     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4908   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4910     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4911     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->GetFontUnderlined(); 
4912     wxPyEndAllowThreads(__tstate
); 
4913     if (PyErr_Occurred()) SWIG_fail
; 
4916     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4924 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4925   PyObject 
*resultobj 
= 0; 
4926   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4927   wxString 
*result 
= 0 ; 
4930   PyObject 
*swig_obj
[1] ; 
4932   if (!args
) SWIG_fail
; 
4934   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4935   if (!SWIG_IsOK(res1
)) { 
4936     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4938   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4940     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4942       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetFontFaceName(); 
4943       result 
= (wxString 
*) &_result_ref
; 
4945     wxPyEndAllowThreads(__tstate
); 
4946     if (PyErr_Occurred()) SWIG_fail
; 
4950     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4952     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4961 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4962   PyObject 
*resultobj 
= 0; 
4963   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4964   wxString 
*result 
= 0 ; 
4967   PyObject 
*swig_obj
[1] ; 
4969   if (!args
) SWIG_fail
; 
4971   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4972   if (!SWIG_IsOK(res1
)) { 
4973     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4975   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4979       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetCharacterStyleName(); 
4980       result 
= (wxString 
*) &_result_ref
; 
4982     wxPyEndAllowThreads(__tstate
); 
4983     if (PyErr_Occurred()) SWIG_fail
; 
4987     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4989     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4998 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4999   PyObject 
*resultobj 
= 0; 
5000   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5001   wxString 
*result 
= 0 ; 
5004   PyObject 
*swig_obj
[1] ; 
5006   if (!args
) SWIG_fail
; 
5008   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5009   if (!SWIG_IsOK(res1
)) { 
5010     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5012   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5014     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5016       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetParagraphStyleName(); 
5017       result 
= (wxString 
*) &_result_ref
; 
5019     wxPyEndAllowThreads(__tstate
); 
5020     if (PyErr_Occurred()) SWIG_fail
; 
5024     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5026     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5035 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5036   PyObject 
*resultobj 
= 0; 
5037   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5041   PyObject 
*swig_obj
[1] ; 
5043   if (!args
) SWIG_fail
; 
5045   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5046   if (!SWIG_IsOK(res1
)) { 
5047     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5049   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5051     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5052     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingAfter(); 
5053     wxPyEndAllowThreads(__tstate
); 
5054     if (PyErr_Occurred()) SWIG_fail
; 
5056   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5063 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5064   PyObject 
*resultobj 
= 0; 
5065   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5069   PyObject 
*swig_obj
[1] ; 
5071   if (!args
) SWIG_fail
; 
5073   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5074   if (!SWIG_IsOK(res1
)) { 
5075     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5077   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5080     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingBefore(); 
5081     wxPyEndAllowThreads(__tstate
); 
5082     if (PyErr_Occurred()) SWIG_fail
; 
5084   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5091 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5092   PyObject 
*resultobj 
= 0; 
5093   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5097   PyObject 
*swig_obj
[1] ; 
5099   if (!args
) SWIG_fail
; 
5101   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5102   if (!SWIG_IsOK(res1
)) { 
5103     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5105   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5107     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5108     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetLineSpacing(); 
5109     wxPyEndAllowThreads(__tstate
); 
5110     if (PyErr_Occurred()) SWIG_fail
; 
5112   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5119 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5120   PyObject 
*resultobj 
= 0; 
5121   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5125   PyObject 
*swig_obj
[1] ; 
5127   if (!args
) SWIG_fail
; 
5129   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5130   if (!SWIG_IsOK(res1
)) { 
5131     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5133   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5136     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletStyle(); 
5137     wxPyEndAllowThreads(__tstate
); 
5138     if (PyErr_Occurred()) SWIG_fail
; 
5140   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5147 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5148   PyObject 
*resultobj 
= 0; 
5149   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5153   PyObject 
*swig_obj
[1] ; 
5155   if (!args
) SWIG_fail
; 
5157   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5158   if (!SWIG_IsOK(res1
)) { 
5159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5161   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5164     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletNumber(); 
5165     wxPyEndAllowThreads(__tstate
); 
5166     if (PyErr_Occurred()) SWIG_fail
; 
5168   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5175 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5176   PyObject 
*resultobj 
= 0; 
5177   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5181   PyObject 
*swig_obj
[1] ; 
5183   if (!args
) SWIG_fail
; 
5185   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5186   if (!SWIG_IsOK(res1
)) { 
5187     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5189   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5192     result 
= ((wxRichTextAttr 
const *)arg1
)->GetBulletSymbol(); 
5193     wxPyEndAllowThreads(__tstate
); 
5194     if (PyErr_Occurred()) SWIG_fail
; 
5196   resultobj 
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN 
|  0 ); 
5203 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5204   PyObject 
*resultobj 
= 0; 
5205   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5209   PyObject 
*swig_obj
[1] ; 
5211   if (!args
) SWIG_fail
; 
5213   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5214   if (!SWIG_IsOK(res1
)) { 
5215     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5217   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5220     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTextColour(); 
5221     wxPyEndAllowThreads(__tstate
); 
5222     if (PyErr_Occurred()) SWIG_fail
; 
5225     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5233 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5234   PyObject 
*resultobj 
= 0; 
5235   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5239   PyObject 
*swig_obj
[1] ; 
5241   if (!args
) SWIG_fail
; 
5243   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5244   if (!SWIG_IsOK(res1
)) { 
5245     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5247   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5249     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5250     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBackgroundColour(); 
5251     wxPyEndAllowThreads(__tstate
); 
5252     if (PyErr_Occurred()) SWIG_fail
; 
5255     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5263 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5264   PyObject 
*resultobj 
= 0; 
5265   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5269   PyObject 
*swig_obj
[1] ; 
5271   if (!args
) SWIG_fail
; 
5273   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5274   if (!SWIG_IsOK(res1
)) { 
5275     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5277   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5279     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5280     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasAlignment(); 
5281     wxPyEndAllowThreads(__tstate
); 
5282     if (PyErr_Occurred()) SWIG_fail
; 
5285     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5293 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5294   PyObject 
*resultobj 
= 0; 
5295   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5299   PyObject 
*swig_obj
[1] ; 
5301   if (!args
) SWIG_fail
; 
5303   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5304   if (!SWIG_IsOK(res1
)) { 
5305     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5307   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5309     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5310     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTabs(); 
5311     wxPyEndAllowThreads(__tstate
); 
5312     if (PyErr_Occurred()) SWIG_fail
; 
5315     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5323 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5324   PyObject 
*resultobj 
= 0; 
5325   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5329   PyObject 
*swig_obj
[1] ; 
5331   if (!args
) SWIG_fail
; 
5333   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5334   if (!SWIG_IsOK(res1
)) { 
5335     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5337   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5340     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLeftIndent(); 
5341     wxPyEndAllowThreads(__tstate
); 
5342     if (PyErr_Occurred()) SWIG_fail
; 
5345     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5353 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5354   PyObject 
*resultobj 
= 0; 
5355   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5359   PyObject 
*swig_obj
[1] ; 
5361   if (!args
) SWIG_fail
; 
5363   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5364   if (!SWIG_IsOK(res1
)) { 
5365     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5367   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5370     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasRightIndent(); 
5371     wxPyEndAllowThreads(__tstate
); 
5372     if (PyErr_Occurred()) SWIG_fail
; 
5375     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5383 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5384   PyObject 
*resultobj 
= 0; 
5385   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5389   PyObject 
*swig_obj
[1] ; 
5391   if (!args
) SWIG_fail
; 
5393   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5394   if (!SWIG_IsOK(res1
)) { 
5395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5397   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5400     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasWeight(); 
5401     wxPyEndAllowThreads(__tstate
); 
5402     if (PyErr_Occurred()) SWIG_fail
; 
5405     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5413 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5414   PyObject 
*resultobj 
= 0; 
5415   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5419   PyObject 
*swig_obj
[1] ; 
5421   if (!args
) SWIG_fail
; 
5423   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5424   if (!SWIG_IsOK(res1
)) { 
5425     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5427   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5429     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5430     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasSize(); 
5431     wxPyEndAllowThreads(__tstate
); 
5432     if (PyErr_Occurred()) SWIG_fail
; 
5435     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5443 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5444   PyObject 
*resultobj 
= 0; 
5445   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5449   PyObject 
*swig_obj
[1] ; 
5451   if (!args
) SWIG_fail
; 
5453   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5454   if (!SWIG_IsOK(res1
)) { 
5455     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5457   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5459     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5460     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasItalic(); 
5461     wxPyEndAllowThreads(__tstate
); 
5462     if (PyErr_Occurred()) SWIG_fail
; 
5465     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5473 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5474   PyObject 
*resultobj 
= 0; 
5475   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5479   PyObject 
*swig_obj
[1] ; 
5481   if (!args
) SWIG_fail
; 
5483   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5484   if (!SWIG_IsOK(res1
)) { 
5485     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5487   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5490     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasUnderlined(); 
5491     wxPyEndAllowThreads(__tstate
); 
5492     if (PyErr_Occurred()) SWIG_fail
; 
5495     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5503 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5504   PyObject 
*resultobj 
= 0; 
5505   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5509   PyObject 
*swig_obj
[1] ; 
5511   if (!args
) SWIG_fail
; 
5513   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5514   if (!SWIG_IsOK(res1
)) { 
5515     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5517   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5519     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5520     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFaceName(); 
5521     wxPyEndAllowThreads(__tstate
); 
5522     if (PyErr_Occurred()) SWIG_fail
; 
5525     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5533 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5534   PyObject 
*resultobj 
= 0; 
5535   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5539   PyObject 
*swig_obj
[1] ; 
5541   if (!args
) SWIG_fail
; 
5543   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5544   if (!SWIG_IsOK(res1
)) { 
5545     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5547   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5549     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5550     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFont(); 
5551     wxPyEndAllowThreads(__tstate
); 
5552     if (PyErr_Occurred()) SWIG_fail
; 
5555     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5563 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5564   PyObject 
*resultobj 
= 0; 
5565   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5569   PyObject 
*swig_obj
[1] ; 
5571   if (!args
) SWIG_fail
; 
5573   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5574   if (!SWIG_IsOK(res1
)) { 
5575     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5577   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5580     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingAfter(); 
5581     wxPyEndAllowThreads(__tstate
); 
5582     if (PyErr_Occurred()) SWIG_fail
; 
5585     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5593 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5594   PyObject 
*resultobj 
= 0; 
5595   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5599   PyObject 
*swig_obj
[1] ; 
5601   if (!args
) SWIG_fail
; 
5603   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5604   if (!SWIG_IsOK(res1
)) { 
5605     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5607   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5609     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5610     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingBefore(); 
5611     wxPyEndAllowThreads(__tstate
); 
5612     if (PyErr_Occurred()) SWIG_fail
; 
5615     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5623 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5624   PyObject 
*resultobj 
= 0; 
5625   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5629   PyObject 
*swig_obj
[1] ; 
5631   if (!args
) SWIG_fail
; 
5633   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5634   if (!SWIG_IsOK(res1
)) { 
5635     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5637   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5640     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLineSpacing(); 
5641     wxPyEndAllowThreads(__tstate
); 
5642     if (PyErr_Occurred()) SWIG_fail
; 
5645     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5653 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5654   PyObject 
*resultobj 
= 0; 
5655   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5659   PyObject 
*swig_obj
[1] ; 
5661   if (!args
) SWIG_fail
; 
5663   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5664   if (!SWIG_IsOK(res1
)) { 
5665     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5667   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5669     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5670     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasCharacterStyleName(); 
5671     wxPyEndAllowThreads(__tstate
); 
5672     if (PyErr_Occurred()) SWIG_fail
; 
5675     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5683 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5684   PyObject 
*resultobj 
= 0; 
5685   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5689   PyObject 
*swig_obj
[1] ; 
5691   if (!args
) SWIG_fail
; 
5693   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5694   if (!SWIG_IsOK(res1
)) { 
5695     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5697   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5699     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5700     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphStyleName(); 
5701     wxPyEndAllowThreads(__tstate
); 
5702     if (PyErr_Occurred()) SWIG_fail
; 
5705     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5713 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5714   PyObject 
*resultobj 
= 0; 
5715   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5719   PyObject 
*swig_obj
[1] ; 
5721   if (!args
) SWIG_fail
; 
5723   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5724   if (!SWIG_IsOK(res1
)) { 
5725     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5727   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5729     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5730     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletStyle(); 
5731     wxPyEndAllowThreads(__tstate
); 
5732     if (PyErr_Occurred()) SWIG_fail
; 
5735     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5743 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5744   PyObject 
*resultobj 
= 0; 
5745   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5749   PyObject 
*swig_obj
[1] ; 
5751   if (!args
) SWIG_fail
; 
5753   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5754   if (!SWIG_IsOK(res1
)) { 
5755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5757   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5760     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletNumber(); 
5761     wxPyEndAllowThreads(__tstate
); 
5762     if (PyErr_Occurred()) SWIG_fail
; 
5765     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5773 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5774   PyObject 
*resultobj 
= 0; 
5775   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5779   PyObject 
*swig_obj
[1] ; 
5781   if (!args
) SWIG_fail
; 
5783   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5784   if (!SWIG_IsOK(res1
)) { 
5785     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5787   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5789     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5790     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletSymbol(); 
5791     wxPyEndAllowThreads(__tstate
); 
5792     if (PyErr_Occurred()) SWIG_fail
; 
5795     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5803 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFlag(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5804   PyObject 
*resultobj 
= 0; 
5805   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5812   PyObject 
* obj0 
= 0 ; 
5813   PyObject 
* obj1 
= 0 ; 
5814   char *  kwnames
[] = { 
5815     (char *) "self",(char *) "flag", NULL 
 
5818   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5819   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5820   if (!SWIG_IsOK(res1
)) { 
5821     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5823   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5824   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
5825   if (!SWIG_IsOK(ecode2
)) { 
5826     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'"); 
5828   arg2 
= static_cast< long >(val2
); 
5830     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5831     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFlag(arg2
); 
5832     wxPyEndAllowThreads(__tstate
); 
5833     if (PyErr_Occurred()) SWIG_fail
; 
5836     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5844 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5845   PyObject 
*resultobj 
= 0; 
5846   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5850   PyObject 
*swig_obj
[1] ; 
5852   if (!args
) SWIG_fail
; 
5854   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5855   if (!SWIG_IsOK(res1
)) { 
5856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5858   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5861     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsCharacterStyle(); 
5862     wxPyEndAllowThreads(__tstate
); 
5863     if (PyErr_Occurred()) SWIG_fail
; 
5866     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5874 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5875   PyObject 
*resultobj 
= 0; 
5876   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5880   PyObject 
*swig_obj
[1] ; 
5882   if (!args
) SWIG_fail
; 
5884   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5885   if (!SWIG_IsOK(res1
)) { 
5886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5888   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5891     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsParagraphStyle(); 
5892     wxPyEndAllowThreads(__tstate
); 
5893     if (PyErr_Occurred()) SWIG_fail
; 
5896     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5904 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsDefault(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5905   PyObject 
*resultobj 
= 0; 
5906   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5910   PyObject 
*swig_obj
[1] ; 
5912   if (!args
) SWIG_fail
; 
5914   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5915   if (!SWIG_IsOK(res1
)) { 
5916     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5918   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5920     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5921     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsDefault(); 
5922     wxPyEndAllowThreads(__tstate
); 
5923     if (PyErr_Occurred()) SWIG_fail
; 
5926     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5934 SWIGINTERN PyObject 
*RichTextAttr_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5936   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5937   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
)); 
5938   return SWIG_Py_Void(); 
5941 SWIGINTERN PyObject 
*RichTextAttr_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5942   return SWIG_Python_InitShadowInstance(args
); 
5945 SWIGINTERN PyObject 
*_wrap_new_RichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5946   PyObject 
*resultobj 
= 0; 
5947   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5948   int arg2 
= (int) -1 ; 
5949   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5950   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5951   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5952   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5953   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5954   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5955   long arg6 
= (long) wxRE_MULTILINE 
; 
5956   wxRichTextCtrl 
*result 
= 0 ; 
5961   bool temp3 
= false ; 
5966   PyObject 
* obj0 
= 0 ; 
5967   PyObject 
* obj1 
= 0 ; 
5968   PyObject 
* obj2 
= 0 ; 
5969   PyObject 
* obj3 
= 0 ; 
5970   PyObject 
* obj4 
= 0 ; 
5971   PyObject 
* obj5 
= 0 ; 
5972   char *  kwnames
[] = { 
5973     (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
5976   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
5977   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5978   if (!SWIG_IsOK(res1
)) { 
5979     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");  
5981   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
5983     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5984     if (!SWIG_IsOK(ecode2
)) { 
5985       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'"); 
5987     arg2 
= static_cast< int >(val2
); 
5991       arg3 
= wxString_in_helper(obj2
); 
5992       if (arg3 
== NULL
) SWIG_fail
; 
5999       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6005       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6009     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
6010     if (!SWIG_IsOK(ecode6
)) { 
6011       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'"); 
6013     arg6 
= static_cast< long >(val6
); 
6016     if (!wxPyCheckForApp()) SWIG_fail
; 
6017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6018     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
6019     wxPyEndAllowThreads(__tstate
); 
6020     if (PyErr_Occurred()) SWIG_fail
; 
6022   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW 
|  0 ); 
6037 SWIGINTERN PyObject 
*_wrap_new_PreRichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6038   PyObject 
*resultobj 
= 0; 
6039   wxRichTextCtrl 
*result 
= 0 ; 
6041   if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
; 
6043     if (!wxPyCheckForApp()) SWIG_fail
; 
6044     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6045     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(); 
6046     wxPyEndAllowThreads(__tstate
); 
6047     if (PyErr_Occurred()) SWIG_fail
; 
6049   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN 
|  0 ); 
6056 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6057   PyObject 
*resultobj 
= 0; 
6058   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6059   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6060   int arg3 
= (int) -1 ; 
6061   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6062   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6063   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6064   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6065   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6066   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6067   long arg7 
= (long) wxRE_MULTILINE 
; 
6075   bool temp4 
= false ; 
6080   PyObject 
* obj0 
= 0 ; 
6081   PyObject 
* obj1 
= 0 ; 
6082   PyObject 
* obj2 
= 0 ; 
6083   PyObject 
* obj3 
= 0 ; 
6084   PyObject 
* obj4 
= 0 ; 
6085   PyObject 
* obj5 
= 0 ; 
6086   PyObject 
* obj6 
= 0 ; 
6087   char *  kwnames
[] = { 
6088     (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
6091   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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
); 
6111       arg4 
= wxString_in_helper(obj3
); 
6112       if (arg4 
== NULL
) SWIG_fail
; 
6119       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6125       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6129     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
6130     if (!SWIG_IsOK(ecode7
)) { 
6131       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'"); 
6133     arg7 
= static_cast< long >(val7
); 
6136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6137     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
); 
6138     wxPyEndAllowThreads(__tstate
); 
6139     if (PyErr_Occurred()) SWIG_fail
; 
6142     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6158 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6159   PyObject 
*resultobj 
= 0; 
6160   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6164   PyObject 
*swig_obj
[1] ; 
6166   if (!args
) SWIG_fail
; 
6168   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6169   if (!SWIG_IsOK(res1
)) { 
6170     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6172   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6175     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetValue(); 
6176     wxPyEndAllowThreads(__tstate
); 
6177     if (PyErr_Occurred()) SWIG_fail
; 
6181     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6183     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6192 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6193   PyObject 
*resultobj 
= 0; 
6194   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6195   wxString 
*arg2 
= 0 ; 
6198   bool temp2 
= false ; 
6199   PyObject 
* obj0 
= 0 ; 
6200   PyObject 
* obj1 
= 0 ; 
6201   char *  kwnames
[] = { 
6202     (char *) "self",(char *) "value", NULL 
 
6205   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6206   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6207   if (!SWIG_IsOK(res1
)) { 
6208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6210   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6212     arg2 
= wxString_in_helper(obj1
); 
6213     if (arg2 
== NULL
) SWIG_fail
; 
6217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6218     (arg1
)->SetValue((wxString 
const &)*arg2
); 
6219     wxPyEndAllowThreads(__tstate
); 
6220     if (PyErr_Occurred()) SWIG_fail
; 
6222   resultobj 
= SWIG_Py_Void(); 
6237 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6238   PyObject 
*resultobj 
= 0; 
6239   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6249   PyObject 
* obj0 
= 0 ; 
6250   PyObject 
* obj1 
= 0 ; 
6251   PyObject 
* obj2 
= 0 ; 
6252   char *  kwnames
[] = { 
6253     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6258   if (!SWIG_IsOK(res1
)) { 
6259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6261   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6262   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6263   if (!SWIG_IsOK(ecode2
)) { 
6264     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'"); 
6266   arg2 
= static_cast< long >(val2
); 
6267   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6268   if (!SWIG_IsOK(ecode3
)) { 
6269     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'"); 
6271   arg3 
= static_cast< long >(val3
); 
6273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6274     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
6275     wxPyEndAllowThreads(__tstate
); 
6276     if (PyErr_Occurred()) SWIG_fail
; 
6280     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6282     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6291 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6292   PyObject 
*resultobj 
= 0; 
6293   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6300   PyObject 
* obj0 
= 0 ; 
6301   PyObject 
* obj1 
= 0 ; 
6302   char *  kwnames
[] = { 
6303     (char *) "self",(char *) "lineNo", NULL 
 
6306   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6307   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6308   if (!SWIG_IsOK(res1
)) { 
6309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6311   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6312   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6313   if (!SWIG_IsOK(ecode2
)) { 
6314     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'"); 
6316   arg2 
= static_cast< long >(val2
); 
6318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6319     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
6320     wxPyEndAllowThreads(__tstate
); 
6321     if (PyErr_Occurred()) SWIG_fail
; 
6323   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6330 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6331   PyObject 
*resultobj 
= 0; 
6332   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6339   PyObject 
* obj0 
= 0 ; 
6340   PyObject 
* obj1 
= 0 ; 
6341   char *  kwnames
[] = { 
6342     (char *) "self",(char *) "lineNo", NULL 
 
6345   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6346   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6347   if (!SWIG_IsOK(res1
)) { 
6348     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6350   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6351   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6352   if (!SWIG_IsOK(ecode2
)) { 
6353     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'"); 
6355   arg2 
= static_cast< long >(val2
); 
6357     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6358     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
6359     wxPyEndAllowThreads(__tstate
); 
6360     if (PyErr_Occurred()) SWIG_fail
; 
6364     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6366     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6375 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6376   PyObject 
*resultobj 
= 0; 
6377   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6381   PyObject 
*swig_obj
[1] ; 
6383   if (!args
) SWIG_fail
; 
6385   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6386   if (!SWIG_IsOK(res1
)) { 
6387     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6389   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6391     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6392     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
6393     wxPyEndAllowThreads(__tstate
); 
6394     if (PyErr_Occurred()) SWIG_fail
; 
6396   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6403 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsModified(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6404   PyObject 
*resultobj 
= 0; 
6405   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6409   PyObject 
*swig_obj
[1] ; 
6411   if (!args
) SWIG_fail
; 
6413   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6414   if (!SWIG_IsOK(res1
)) { 
6415     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6417   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6419     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6420     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsModified(); 
6421     wxPyEndAllowThreads(__tstate
); 
6422     if (PyErr_Occurred()) SWIG_fail
; 
6425     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6433 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6434   PyObject 
*resultobj 
= 0; 
6435   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6439   PyObject 
*swig_obj
[1] ; 
6441   if (!args
) SWIG_fail
; 
6443   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6444   if (!SWIG_IsOK(res1
)) { 
6445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6447   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6450     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsEditable(); 
6451     wxPyEndAllowThreads(__tstate
); 
6452     if (PyErr_Occurred()) SWIG_fail
; 
6455     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6463 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSingleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6464   PyObject 
*resultobj 
= 0; 
6465   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6469   PyObject 
*swig_obj
[1] ; 
6471   if (!args
) SWIG_fail
; 
6473   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6474   if (!SWIG_IsOK(res1
)) { 
6475     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6477   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6479     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6480     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSingleLine(); 
6481     wxPyEndAllowThreads(__tstate
); 
6482     if (PyErr_Occurred()) SWIG_fail
; 
6485     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6493 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsMultiLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6494   PyObject 
*resultobj 
= 0; 
6495   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6499   PyObject 
*swig_obj
[1] ; 
6501   if (!args
) SWIG_fail
; 
6503   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6504   if (!SWIG_IsOK(res1
)) { 
6505     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6507   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6509     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6510     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsMultiLine(); 
6511     wxPyEndAllowThreads(__tstate
); 
6512     if (PyErr_Occurred()) SWIG_fail
; 
6515     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6523 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6524   PyObject 
*resultobj 
= 0; 
6525   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6526   long *arg2 
= (long *) 0 ; 
6527   long *arg3 
= (long *) 0 ; 
6531   int res2 
= SWIG_TMPOBJ 
; 
6533   int res3 
= SWIG_TMPOBJ 
; 
6534   PyObject 
*swig_obj
[1] ; 
6538   if (!args
) SWIG_fail
; 
6540   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6541   if (!SWIG_IsOK(res1
)) { 
6542     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6544   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6546     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6547     ((wxRichTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
6548     wxPyEndAllowThreads(__tstate
); 
6549     if (PyErr_Occurred()) SWIG_fail
; 
6551   resultobj 
= SWIG_Py_Void(); 
6552   if (SWIG_IsTmpObj(res2
)) { 
6553     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
))); 
6555     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6556     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
)); 
6558   if (SWIG_IsTmpObj(res3
)) { 
6559     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
6561     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6562     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
6570 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6571   PyObject 
*resultobj 
= 0; 
6572   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6576   PyObject 
*swig_obj
[1] ; 
6578   if (!args
) SWIG_fail
; 
6580   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6581   if (!SWIG_IsOK(res1
)) { 
6582     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6584   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6587     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetStringSelection(); 
6588     wxPyEndAllowThreads(__tstate
); 
6589     if (PyErr_Occurred()) SWIG_fail
; 
6593     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6595     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6604 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6605   PyObject 
*resultobj 
= 0; 
6606   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6610   PyObject 
*swig_obj
[1] ; 
6612   if (!args
) SWIG_fail
; 
6614   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6615   if (!SWIG_IsOK(res1
)) { 
6616     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6618   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6620     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6621     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetFilename(); 
6622     wxPyEndAllowThreads(__tstate
); 
6623     if (PyErr_Occurred()) SWIG_fail
; 
6627     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6629     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6638 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6639   PyObject 
*resultobj 
= 0; 
6640   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6641   wxString 
*arg2 
= 0 ; 
6644   bool temp2 
= false ; 
6645   PyObject 
* obj0 
= 0 ; 
6646   PyObject 
* obj1 
= 0 ; 
6647   char *  kwnames
[] = { 
6648     (char *) "self",(char *) "filename", NULL 
 
6651   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6652   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6653   if (!SWIG_IsOK(res1
)) { 
6654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6656   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6658     arg2 
= wxString_in_helper(obj1
); 
6659     if (arg2 
== NULL
) SWIG_fail
; 
6663     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6664     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
6665     wxPyEndAllowThreads(__tstate
); 
6666     if (PyErr_Occurred()) SWIG_fail
; 
6668   resultobj 
= SWIG_Py_Void(); 
6683 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6684   PyObject 
*resultobj 
= 0; 
6685   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6691   PyObject 
* obj0 
= 0 ; 
6692   PyObject 
* obj1 
= 0 ; 
6693   char *  kwnames
[] = { 
6694     (char *) "self",(char *) "threshold", NULL 
 
6697   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6698   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6699   if (!SWIG_IsOK(res1
)) { 
6700     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6702   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6703   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6704   if (!SWIG_IsOK(ecode2
)) { 
6705     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'"); 
6707   arg2 
= static_cast< long >(val2
); 
6709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6710     (arg1
)->SetDelayedLayoutThreshold(arg2
); 
6711     wxPyEndAllowThreads(__tstate
); 
6712     if (PyErr_Occurred()) SWIG_fail
; 
6714   resultobj 
= SWIG_Py_Void(); 
6721 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6722   PyObject 
*resultobj 
= 0; 
6723   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6727   PyObject 
*swig_obj
[1] ; 
6729   if (!args
) SWIG_fail
; 
6731   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6732   if (!SWIG_IsOK(res1
)) { 
6733     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6735   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6737     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6738     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetDelayedLayoutThreshold(); 
6739     wxPyEndAllowThreads(__tstate
); 
6740     if (PyErr_Occurred()) SWIG_fail
; 
6742   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
6749 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6750   PyObject 
*resultobj 
= 0; 
6751   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6754   PyObject 
*swig_obj
[1] ; 
6756   if (!args
) SWIG_fail
; 
6758   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6759   if (!SWIG_IsOK(res1
)) { 
6760     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6762   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6764     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6766     wxPyEndAllowThreads(__tstate
); 
6767     if (PyErr_Occurred()) SWIG_fail
; 
6769   resultobj 
= SWIG_Py_Void(); 
6776 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Replace(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6777   PyObject 
*resultobj 
= 0; 
6778   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6781   wxString 
*arg4 
= 0 ; 
6788   bool temp4 
= false ; 
6789   PyObject 
* obj0 
= 0 ; 
6790   PyObject 
* obj1 
= 0 ; 
6791   PyObject 
* obj2 
= 0 ; 
6792   PyObject 
* obj3 
= 0 ; 
6793   char *  kwnames
[] = { 
6794     (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
6797   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6798   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6799   if (!SWIG_IsOK(res1
)) { 
6800     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6802   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6803   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6804   if (!SWIG_IsOK(ecode2
)) { 
6805     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'"); 
6807   arg2 
= static_cast< long >(val2
); 
6808   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6809   if (!SWIG_IsOK(ecode3
)) { 
6810     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'"); 
6812   arg3 
= static_cast< long >(val3
); 
6814     arg4 
= wxString_in_helper(obj3
); 
6815     if (arg4 
== NULL
) SWIG_fail
; 
6819     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6820     (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
6821     wxPyEndAllowThreads(__tstate
); 
6822     if (PyErr_Occurred()) SWIG_fail
; 
6824   resultobj 
= SWIG_Py_Void(); 
6839 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Remove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6840   PyObject 
*resultobj 
= 0; 
6841   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6850   PyObject 
* obj0 
= 0 ; 
6851   PyObject 
* obj1 
= 0 ; 
6852   PyObject 
* obj2 
= 0 ; 
6853   char *  kwnames
[] = { 
6854     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6857   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6858   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6859   if (!SWIG_IsOK(res1
)) { 
6860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6862   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6863   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6864   if (!SWIG_IsOK(ecode2
)) { 
6865     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'"); 
6867   arg2 
= static_cast< long >(val2
); 
6868   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6869   if (!SWIG_IsOK(ecode3
)) { 
6870     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'"); 
6872   arg3 
= static_cast< long >(val3
); 
6874     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6875     (arg1
)->Remove(arg2
,arg3
); 
6876     wxPyEndAllowThreads(__tstate
); 
6877     if (PyErr_Occurred()) SWIG_fail
; 
6879   resultobj 
= SWIG_Py_Void(); 
6886 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6887   PyObject 
*resultobj 
= 0; 
6888   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6889   wxString 
*arg2 
= 0 ; 
6890   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6894   bool temp2 
= false ; 
6897   PyObject 
* obj0 
= 0 ; 
6898   PyObject 
* obj1 
= 0 ; 
6899   PyObject 
* obj2 
= 0 ; 
6900   char *  kwnames
[] = { 
6901     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6904   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6905   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6906   if (!SWIG_IsOK(res1
)) { 
6907     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6909   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6911     arg2 
= wxString_in_helper(obj1
); 
6912     if (arg2 
== NULL
) SWIG_fail
; 
6916     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6917     if (!SWIG_IsOK(ecode3
)) { 
6918       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'"); 
6920     arg3 
= static_cast< int >(val3
); 
6923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6924     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
6925     wxPyEndAllowThreads(__tstate
); 
6926     if (PyErr_Occurred()) SWIG_fail
; 
6929     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6945 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SaveFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6946   PyObject 
*resultobj 
= 0; 
6947   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6948   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
6949   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6950   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6954   bool temp2 
= false ; 
6957   PyObject 
* obj0 
= 0 ; 
6958   PyObject 
* obj1 
= 0 ; 
6959   PyObject 
* obj2 
= 0 ; 
6960   char *  kwnames
[] = { 
6961     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6964   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6965   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6966   if (!SWIG_IsOK(res1
)) { 
6967     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6969   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6972       arg2 
= wxString_in_helper(obj1
); 
6973       if (arg2 
== NULL
) SWIG_fail
; 
6978     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6979     if (!SWIG_IsOK(ecode3
)) { 
6980       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'"); 
6982     arg3 
= static_cast< int >(val3
); 
6985     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6986     result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
); 
6987     wxPyEndAllowThreads(__tstate
); 
6988     if (PyErr_Occurred()) SWIG_fail
; 
6991     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7007 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MarkDirty(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7008   PyObject 
*resultobj 
= 0; 
7009   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7012   PyObject 
*swig_obj
[1] ; 
7014   if (!args
) SWIG_fail
; 
7016   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7017   if (!SWIG_IsOK(res1
)) { 
7018     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7020   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7023     (arg1
)->MarkDirty(); 
7024     wxPyEndAllowThreads(__tstate
); 
7025     if (PyErr_Occurred()) SWIG_fail
; 
7027   resultobj 
= SWIG_Py_Void(); 
7034 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DiscardEdits(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7035   PyObject 
*resultobj 
= 0; 
7036   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7039   PyObject 
*swig_obj
[1] ; 
7041   if (!args
) SWIG_fail
; 
7043   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7044   if (!SWIG_IsOK(res1
)) { 
7045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7047   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7049     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7050     (arg1
)->DiscardEdits(); 
7051     wxPyEndAllowThreads(__tstate
); 
7052     if (PyErr_Occurred()) SWIG_fail
; 
7054   resultobj 
= SWIG_Py_Void(); 
7061 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetMaxLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7062   PyObject 
*resultobj 
= 0; 
7063   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7064   unsigned long arg2 
; 
7067   unsigned long val2 
; 
7069   PyObject 
* obj0 
= 0 ; 
7070   PyObject 
* obj1 
= 0 ; 
7071   char *  kwnames
[] = { 
7072     (char *) "self",(char *) "len", NULL 
 
7075   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7076   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7077   if (!SWIG_IsOK(res1
)) { 
7078     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7080   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7081   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
7082   if (!SWIG_IsOK(ecode2
)) { 
7083     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'"); 
7085   arg2 
= static_cast< unsigned long >(val2
); 
7087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7088     (arg1
)->SetMaxLength(arg2
); 
7089     wxPyEndAllowThreads(__tstate
); 
7090     if (PyErr_Occurred()) SWIG_fail
; 
7092   resultobj 
= SWIG_Py_Void(); 
7099 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7100   PyObject 
*resultobj 
= 0; 
7101   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7102   wxString 
*arg2 
= 0 ; 
7105   bool temp2 
= false ; 
7106   PyObject 
* obj0 
= 0 ; 
7107   PyObject 
* obj1 
= 0 ; 
7108   char *  kwnames
[] = { 
7109     (char *) "self",(char *) "text", NULL 
 
7112   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7113   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7114   if (!SWIG_IsOK(res1
)) { 
7115     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7117   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7119     arg2 
= wxString_in_helper(obj1
); 
7120     if (arg2 
== NULL
) SWIG_fail
; 
7124     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7125     (arg1
)->WriteText((wxString 
const &)*arg2
); 
7126     wxPyEndAllowThreads(__tstate
); 
7127     if (PyErr_Occurred()) SWIG_fail
; 
7129   resultobj 
= SWIG_Py_Void(); 
7144 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AppendText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7145   PyObject 
*resultobj 
= 0; 
7146   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7147   wxString 
*arg2 
= 0 ; 
7150   bool temp2 
= false ; 
7151   PyObject 
* obj0 
= 0 ; 
7152   PyObject 
* obj1 
= 0 ; 
7153   char *  kwnames
[] = { 
7154     (char *) "self",(char *) "text", NULL 
 
7157   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7158   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7159   if (!SWIG_IsOK(res1
)) { 
7160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7162   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7164     arg2 
= wxString_in_helper(obj1
); 
7165     if (arg2 
== NULL
) SWIG_fail
; 
7169     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7170     (arg1
)->AppendText((wxString 
const &)*arg2
); 
7171     wxPyEndAllowThreads(__tstate
); 
7172     if (PyErr_Occurred()) SWIG_fail
; 
7174   resultobj 
= SWIG_Py_Void(); 
7189 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7190   PyObject 
*resultobj 
= 0; 
7191   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7192   wxRichTextRange 
*arg2 
= 0 ; 
7193   wxRichTextAttr 
*arg3 
= 0 ; 
7197   wxRichTextRange temp2 
; 
7200   PyObject 
* obj0 
= 0 ; 
7201   PyObject 
* obj1 
= 0 ; 
7202   PyObject 
* obj2 
= 0 ; 
7203   char *  kwnames
[] = { 
7204     (char *) "self",(char *) "range",(char *) "style", NULL 
 
7207   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7208   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7209   if (!SWIG_IsOK(res1
)) { 
7210     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7212   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7215     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
7217   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7218   if (!SWIG_IsOK(res3
)) { 
7219     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7222     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7224   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7226     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7227     result 
= (bool)(arg1
)->SetStyle((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
7228     wxPyEndAllowThreads(__tstate
); 
7229     if (PyErr_Occurred()) SWIG_fail
; 
7232     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7240 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7241   PyObject 
*resultobj 
= 0; 
7242   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7244   wxRichTextAttr 
*arg3 
= 0 ; 
7252   PyObject 
* obj0 
= 0 ; 
7253   PyObject 
* obj1 
= 0 ; 
7254   PyObject 
* obj2 
= 0 ; 
7255   char *  kwnames
[] = { 
7256     (char *) "self",(char *) "position",(char *) "style", NULL 
 
7259   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7260   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7261   if (!SWIG_IsOK(res1
)) { 
7262     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7264   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7265   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7266   if (!SWIG_IsOK(ecode2
)) { 
7267     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'"); 
7269   arg2 
= static_cast< long >(val2
); 
7270   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0 ); 
7271   if (!SWIG_IsOK(res3
)) { 
7272     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7275     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7277   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7279     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7280     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->GetStyle(arg2
,*arg3
); 
7281     wxPyEndAllowThreads(__tstate
); 
7282     if (PyErr_Occurred()) SWIG_fail
; 
7285     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7293 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7294   PyObject 
*resultobj 
= 0; 
7295   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7296   wxRichTextAttr 
*arg2 
= 0 ; 
7302   PyObject 
* obj0 
= 0 ; 
7303   PyObject 
* obj1 
= 0 ; 
7304   char *  kwnames
[] = { 
7305     (char *) "self",(char *) "style", NULL 
 
7308   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7309   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7310   if (!SWIG_IsOK(res1
)) { 
7311     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7313   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7314   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7315   if (!SWIG_IsOK(res2
)) { 
7316     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7319     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7321   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
7323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7324     result 
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr 
const &)*arg2
); 
7325     wxPyEndAllowThreads(__tstate
); 
7326     if (PyErr_Occurred()) SWIG_fail
; 
7329     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7337 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7338   PyObject 
*resultobj 
= 0; 
7339   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7340   wxRichTextAttr result
; 
7343   PyObject 
*swig_obj
[1] ; 
7345   if (!args
) SWIG_fail
; 
7347   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7348   if (!SWIG_IsOK(res1
)) { 
7349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7351   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7354     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetDefaultStyleEx(); 
7355     wxPyEndAllowThreads(__tstate
); 
7356     if (PyErr_Occurred()) SWIG_fail
; 
7358   resultobj 
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN 
|  0 ); 
7365 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_XYToPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7366   PyObject 
*resultobj 
= 0; 
7367   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7377   PyObject 
* obj0 
= 0 ; 
7378   PyObject 
* obj1 
= 0 ; 
7379   PyObject 
* obj2 
= 0 ; 
7380   char *  kwnames
[] = { 
7381     (char *) "self",(char *) "x",(char *) "y", NULL 
 
7384   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7385   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7386   if (!SWIG_IsOK(res1
)) { 
7387     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7389   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7390   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7391   if (!SWIG_IsOK(ecode2
)) { 
7392     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'"); 
7394   arg2 
= static_cast< long >(val2
); 
7395   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
7396   if (!SWIG_IsOK(ecode3
)) { 
7397     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'"); 
7399   arg3 
= static_cast< long >(val3
); 
7401     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7402     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
7403     wxPyEndAllowThreads(__tstate
); 
7404     if (PyErr_Occurred()) SWIG_fail
; 
7406   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
7413 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PositionToXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7414   PyObject 
*resultobj 
= 0; 
7415   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7417   long *arg3 
= (long *) 0 ; 
7418   long *arg4 
= (long *) 0 ; 
7424   int res3 
= SWIG_TMPOBJ 
; 
7426   int res4 
= SWIG_TMPOBJ 
; 
7427   PyObject 
* obj0 
= 0 ; 
7428   PyObject 
* obj1 
= 0 ; 
7429   char *  kwnames
[] = { 
7430     (char *) "self",(char *) "pos", NULL 
 
7435   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7436   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7437   if (!SWIG_IsOK(res1
)) { 
7438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7440   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7441   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7442   if (!SWIG_IsOK(ecode2
)) { 
7443     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'"); 
7445   arg2 
= static_cast< long >(val2
); 
7447     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7448     ((wxRichTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
7449     wxPyEndAllowThreads(__tstate
); 
7450     if (PyErr_Occurred()) SWIG_fail
; 
7452   resultobj 
= SWIG_Py_Void(); 
7453   if (SWIG_IsTmpObj(res3
)) { 
7454     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7456     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7457     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7459   if (SWIG_IsTmpObj(res4
)) { 
7460     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
))); 
7462     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7463     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
)); 
7471 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ShowPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7472   PyObject 
*resultobj 
= 0; 
7473   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7479   PyObject 
* obj0 
= 0 ; 
7480   PyObject 
* obj1 
= 0 ; 
7481   char *  kwnames
[] = { 
7482     (char *) "self",(char *) "position", NULL 
 
7485   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7486   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7487   if (!SWIG_IsOK(res1
)) { 
7488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7490   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7491   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7492   if (!SWIG_IsOK(ecode2
)) { 
7493     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'"); 
7495   arg2 
= static_cast< long >(val2
); 
7497     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7498     (arg1
)->ShowPosition(arg2
); 
7499     wxPyEndAllowThreads(__tstate
); 
7500     if (PyErr_Occurred()) SWIG_fail
; 
7502   resultobj 
= SWIG_Py_Void(); 
7509 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7510   PyObject 
*resultobj 
= 0; 
7511   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7513   long *arg3 
= (long *) 0 ; 
7514   wxTextCtrlHitTestResult result
; 
7519   int res3 
= SWIG_TMPOBJ 
; 
7520   PyObject 
* obj0 
= 0 ; 
7521   PyObject 
* obj1 
= 0 ; 
7522   char *  kwnames
[] = { 
7523     (char *) "self",(char *) "pt", NULL 
 
7527   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7528   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7529   if (!SWIG_IsOK(res1
)) { 
7530     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7532   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7535     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7539     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
7540     wxPyEndAllowThreads(__tstate
); 
7541     if (PyErr_Occurred()) SWIG_fail
; 
7543   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7544   if (SWIG_IsTmpObj(res3
)) { 
7545     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7547     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7548     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7556 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7557   PyObject 
*resultobj 
= 0; 
7558   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7560   wxTextCoord 
*arg3 
= (wxTextCoord 
*) 0 ; 
7561   wxTextCoord 
*arg4 
= (wxTextCoord 
*) 0 ; 
7562   wxTextCtrlHitTestResult result
; 
7570   PyObject 
* obj0 
= 0 ; 
7571   PyObject 
* obj1 
= 0 ; 
7572   PyObject 
* obj2 
= 0 ; 
7573   PyObject 
* obj3 
= 0 ; 
7574   char *  kwnames
[] = { 
7575     (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
7578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7579   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7580   if (!SWIG_IsOK(res1
)) { 
7581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7583   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7586     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7588   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7589   if (!SWIG_IsOK(res3
)) { 
7590     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");  
7592   arg3 
= reinterpret_cast< wxTextCoord 
* >(argp3
); 
7593   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7594   if (!SWIG_IsOK(res4
)) { 
7595     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");  
7597   arg4 
= reinterpret_cast< wxTextCoord 
* >(argp4
); 
7599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7600     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
7601     wxPyEndAllowThreads(__tstate
); 
7602     if (PyErr_Occurred()) SWIG_fail
; 
7604   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7611 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Copy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7612   PyObject 
*resultobj 
= 0; 
7613   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7616   PyObject 
*swig_obj
[1] ; 
7618   if (!args
) SWIG_fail
; 
7620   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7621   if (!SWIG_IsOK(res1
)) { 
7622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7624   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7628     wxPyEndAllowThreads(__tstate
); 
7629     if (PyErr_Occurred()) SWIG_fail
; 
7631   resultobj 
= SWIG_Py_Void(); 
7638 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Cut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7639   PyObject 
*resultobj 
= 0; 
7640   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7643   PyObject 
*swig_obj
[1] ; 
7645   if (!args
) SWIG_fail
; 
7647   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7648   if (!SWIG_IsOK(res1
)) { 
7649     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7651   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7655     wxPyEndAllowThreads(__tstate
); 
7656     if (PyErr_Occurred()) SWIG_fail
; 
7658   resultobj 
= SWIG_Py_Void(); 
7665 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Paste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7666   PyObject 
*resultobj 
= 0; 
7667   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7670   PyObject 
*swig_obj
[1] ; 
7672   if (!args
) SWIG_fail
; 
7674   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7675   if (!SWIG_IsOK(res1
)) { 
7676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7678   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7682     wxPyEndAllowThreads(__tstate
); 
7683     if (PyErr_Occurred()) SWIG_fail
; 
7685   resultobj 
= SWIG_Py_Void(); 
7692 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7693   PyObject 
*resultobj 
= 0; 
7694   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7697   PyObject 
*swig_obj
[1] ; 
7699   if (!args
) SWIG_fail
; 
7701   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7702   if (!SWIG_IsOK(res1
)) { 
7703     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7705   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7707     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7708     (arg1
)->DeleteSelection(); 
7709     wxPyEndAllowThreads(__tstate
); 
7710     if (PyErr_Occurred()) SWIG_fail
; 
7712   resultobj 
= SWIG_Py_Void(); 
7719 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCopy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7720   PyObject 
*resultobj 
= 0; 
7721   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7725   PyObject 
*swig_obj
[1] ; 
7727   if (!args
) SWIG_fail
; 
7729   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7730   if (!SWIG_IsOK(res1
)) { 
7731     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7733   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7735     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7736     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCopy(); 
7737     wxPyEndAllowThreads(__tstate
); 
7738     if (PyErr_Occurred()) SWIG_fail
; 
7741     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7749 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7750   PyObject 
*resultobj 
= 0; 
7751   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7755   PyObject 
*swig_obj
[1] ; 
7757   if (!args
) SWIG_fail
; 
7759   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7760   if (!SWIG_IsOK(res1
)) { 
7761     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7763   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7766     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCut(); 
7767     wxPyEndAllowThreads(__tstate
); 
7768     if (PyErr_Occurred()) SWIG_fail
; 
7771     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7779 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanPaste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7780   PyObject 
*resultobj 
= 0; 
7781   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7785   PyObject 
*swig_obj
[1] ; 
7787   if (!args
) SWIG_fail
; 
7789   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7790   if (!SWIG_IsOK(res1
)) { 
7791     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7793   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7796     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanPaste(); 
7797     wxPyEndAllowThreads(__tstate
); 
7798     if (PyErr_Occurred()) SWIG_fail
; 
7801     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7809 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7810   PyObject 
*resultobj 
= 0; 
7811   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7815   PyObject 
*swig_obj
[1] ; 
7817   if (!args
) SWIG_fail
; 
7819   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7820   if (!SWIG_IsOK(res1
)) { 
7821     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7823   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7825     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7826     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanDeleteSelection(); 
7827     wxPyEndAllowThreads(__tstate
); 
7828     if (PyErr_Occurred()) SWIG_fail
; 
7831     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7839 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Undo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7840   PyObject 
*resultobj 
= 0; 
7841   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7844   PyObject 
*swig_obj
[1] ; 
7846   if (!args
) SWIG_fail
; 
7848   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7849   if (!SWIG_IsOK(res1
)) { 
7850     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7852   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7856     wxPyEndAllowThreads(__tstate
); 
7857     if (PyErr_Occurred()) SWIG_fail
; 
7859   resultobj 
= SWIG_Py_Void(); 
7866 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Redo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7867   PyObject 
*resultobj 
= 0; 
7868   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7871   PyObject 
*swig_obj
[1] ; 
7873   if (!args
) SWIG_fail
; 
7875   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7876   if (!SWIG_IsOK(res1
)) { 
7877     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7879   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7881     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7883     wxPyEndAllowThreads(__tstate
); 
7884     if (PyErr_Occurred()) SWIG_fail
; 
7886   resultobj 
= SWIG_Py_Void(); 
7893 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7894   PyObject 
*resultobj 
= 0; 
7895   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7899   PyObject 
*swig_obj
[1] ; 
7901   if (!args
) SWIG_fail
; 
7903   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7904   if (!SWIG_IsOK(res1
)) { 
7905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7907   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7910     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanUndo(); 
7911     wxPyEndAllowThreads(__tstate
); 
7912     if (PyErr_Occurred()) SWIG_fail
; 
7915     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7923 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanRedo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7924   PyObject 
*resultobj 
= 0; 
7925   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7929   PyObject 
*swig_obj
[1] ; 
7931   if (!args
) SWIG_fail
; 
7933   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7934   if (!SWIG_IsOK(res1
)) { 
7935     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7937   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7940     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanRedo(); 
7941     wxPyEndAllowThreads(__tstate
); 
7942     if (PyErr_Occurred()) SWIG_fail
; 
7945     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7953 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7954   PyObject 
*resultobj 
= 0; 
7955   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7961   PyObject 
* obj0 
= 0 ; 
7962   PyObject 
* obj1 
= 0 ; 
7963   char *  kwnames
[] = { 
7964     (char *) "self",(char *) "pos", NULL 
 
7967   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7968   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7969   if (!SWIG_IsOK(res1
)) { 
7970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7972   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7973   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7974   if (!SWIG_IsOK(ecode2
)) { 
7975     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'"); 
7977   arg2 
= static_cast< long >(val2
); 
7979     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7980     (arg1
)->SetInsertionPoint(arg2
); 
7981     wxPyEndAllowThreads(__tstate
); 
7982     if (PyErr_Occurred()) SWIG_fail
; 
7984   resultobj 
= SWIG_Py_Void(); 
7991 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7992   PyObject 
*resultobj 
= 0; 
7993   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7996   PyObject 
*swig_obj
[1] ; 
7998   if (!args
) SWIG_fail
; 
8000   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8001   if (!SWIG_IsOK(res1
)) { 
8002     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8004   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8006     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8007     (arg1
)->SetInsertionPointEnd(); 
8008     wxPyEndAllowThreads(__tstate
); 
8009     if (PyErr_Occurred()) SWIG_fail
; 
8011   resultobj 
= SWIG_Py_Void(); 
8018 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8019   PyObject 
*resultobj 
= 0; 
8020   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8024   PyObject 
*swig_obj
[1] ; 
8026   if (!args
) SWIG_fail
; 
8028   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8029   if (!SWIG_IsOK(res1
)) { 
8030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8032   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8034     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8035     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
8036     wxPyEndAllowThreads(__tstate
); 
8037     if (PyErr_Occurred()) SWIG_fail
; 
8039   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8046 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLastPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8047   PyObject 
*resultobj 
= 0; 
8048   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8052   PyObject 
*swig_obj
[1] ; 
8054   if (!args
) SWIG_fail
; 
8056   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8057   if (!SWIG_IsOK(res1
)) { 
8058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8060   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8063     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetLastPosition(); 
8064     wxPyEndAllowThreads(__tstate
); 
8065     if (PyErr_Occurred()) SWIG_fail
; 
8067   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8074 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8075   PyObject 
*resultobj 
= 0; 
8076   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8085   PyObject 
* obj0 
= 0 ; 
8086   PyObject 
* obj1 
= 0 ; 
8087   PyObject 
* obj2 
= 0 ; 
8088   char *  kwnames
[] = { 
8089     (char *) "self",(char *) "from",(char *) "to", NULL 
 
8092   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8093   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8094   if (!SWIG_IsOK(res1
)) { 
8095     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8097   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8098   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8099   if (!SWIG_IsOK(ecode2
)) { 
8100     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'"); 
8102   arg2 
= static_cast< long >(val2
); 
8103   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8104   if (!SWIG_IsOK(ecode3
)) { 
8105     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'"); 
8107   arg3 
= static_cast< long >(val3
); 
8109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8110     (arg1
)->SetSelection(arg2
,arg3
); 
8111     wxPyEndAllowThreads(__tstate
); 
8112     if (PyErr_Occurred()) SWIG_fail
; 
8114   resultobj 
= SWIG_Py_Void(); 
8121 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8122   PyObject 
*resultobj 
= 0; 
8123   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8126   PyObject 
*swig_obj
[1] ; 
8128   if (!args
) SWIG_fail
; 
8130   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8131   if (!SWIG_IsOK(res1
)) { 
8132     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8134   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8137     (arg1
)->SelectAll(); 
8138     wxPyEndAllowThreads(__tstate
); 
8139     if (PyErr_Occurred()) SWIG_fail
; 
8141   resultobj 
= SWIG_Py_Void(); 
8148 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8149   PyObject 
*resultobj 
= 0; 
8150   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8156   PyObject 
* obj0 
= 0 ; 
8157   PyObject 
* obj1 
= 0 ; 
8158   char *  kwnames
[] = { 
8159     (char *) "self",(char *) "editable", NULL 
 
8162   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8163   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8164   if (!SWIG_IsOK(res1
)) { 
8165     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8167   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8168   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
8169   if (!SWIG_IsOK(ecode2
)) { 
8170     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'"); 
8172   arg2 
= static_cast< bool >(val2
); 
8174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8175     (arg1
)->SetEditable(arg2
); 
8176     wxPyEndAllowThreads(__tstate
); 
8177     if (PyErr_Occurred()) SWIG_fail
; 
8179   resultobj 
= SWIG_Py_Void(); 
8186 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8187   PyObject 
*resultobj 
= 0; 
8188   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8192   PyObject 
*swig_obj
[1] ; 
8194   if (!args
) SWIG_fail
; 
8196   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8197   if (!SWIG_IsOK(res1
)) { 
8198     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8200   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8202     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8203     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasSelection(); 
8204     wxPyEndAllowThreads(__tstate
); 
8205     if (PyErr_Occurred()) SWIG_fail
; 
8208     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8216 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8217   PyObject 
*resultobj 
= 0; 
8218   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8220   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8228   PyObject 
* obj0 
= 0 ; 
8229   PyObject 
* obj1 
= 0 ; 
8230   PyObject 
* obj2 
= 0 ; 
8231   char *  kwnames
[] = { 
8232     (char *) "self",(char *) "image",(char *) "bitmapType", NULL 
 
8235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8237   if (!SWIG_IsOK(res1
)) { 
8238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8240   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8241   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
8242   if (!SWIG_IsOK(res2
)) { 
8243     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8246     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8248   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
8250     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8251     if (!SWIG_IsOK(ecode3
)) { 
8252       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'"); 
8254     arg3 
= static_cast< int >(val3
); 
8257     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8258     result 
= (bool)(arg1
)->WriteImage((wxImage 
const &)*arg2
,arg3
); 
8259     wxPyEndAllowThreads(__tstate
); 
8260     if (PyErr_Occurred()) SWIG_fail
; 
8263     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8271 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8272   PyObject 
*resultobj 
= 0; 
8273   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8274   wxBitmap 
*arg2 
= 0 ; 
8275   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8283   PyObject 
* obj0 
= 0 ; 
8284   PyObject 
* obj1 
= 0 ; 
8285   PyObject 
* obj2 
= 0 ; 
8286   char *  kwnames
[] = { 
8287     (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL 
 
8290   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8291   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8292   if (!SWIG_IsOK(res1
)) { 
8293     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8295   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8296   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8297   if (!SWIG_IsOK(res2
)) { 
8298     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8301     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8303   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8305     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8306     if (!SWIG_IsOK(ecode3
)) { 
8307       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'"); 
8309     arg3 
= static_cast< int >(val3
); 
8312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8313     result 
= (bool)(arg1
)->WriteImage((wxBitmap 
const &)*arg2
,arg3
); 
8314     wxPyEndAllowThreads(__tstate
); 
8315     if (PyErr_Occurred()) SWIG_fail
; 
8318     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8326 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8327   PyObject 
*resultobj 
= 0; 
8328   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8329   wxString 
*arg2 
= 0 ; 
8334   bool temp2 
= false ; 
8337   PyObject 
* obj0 
= 0 ; 
8338   PyObject 
* obj1 
= 0 ; 
8339   PyObject 
* obj2 
= 0 ; 
8340   char *  kwnames
[] = { 
8341     (char *) "self",(char *) "filename",(char *) "bitmapType", NULL 
 
8344   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8345   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8346   if (!SWIG_IsOK(res1
)) { 
8347     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8349   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8351     arg2 
= wxString_in_helper(obj1
); 
8352     if (arg2 
== NULL
) SWIG_fail
; 
8355   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8356   if (!SWIG_IsOK(ecode3
)) { 
8357     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'"); 
8359   arg3 
= static_cast< int >(val3
); 
8361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8362     result 
= (bool)(arg1
)->WriteImage((wxString 
const &)*arg2
,arg3
); 
8363     wxPyEndAllowThreads(__tstate
); 
8364     if (PyErr_Occurred()) SWIG_fail
; 
8367     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8383 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8384   PyObject 
*resultobj 
= 0; 
8385   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8386   wxRichTextImageBlock 
*arg2 
= 0 ; 
8392   PyObject 
* obj0 
= 0 ; 
8393   PyObject 
* obj1 
= 0 ; 
8394   char *  kwnames
[] = { 
8395     (char *) "self",(char *) "imageBlock", NULL 
 
8398   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8399   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8400   if (!SWIG_IsOK(res1
)) { 
8401     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8403   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8404   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
,  0  | 0); 
8405   if (!SWIG_IsOK(res2
)) { 
8406     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8409     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8411   arg2 
= reinterpret_cast< wxRichTextImageBlock 
* >(argp2
); 
8413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8414     result 
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock 
const &)*arg2
); 
8415     wxPyEndAllowThreads(__tstate
); 
8416     if (PyErr_Occurred()) SWIG_fail
; 
8419     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8427 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Newline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8428   PyObject 
*resultobj 
= 0; 
8429   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8433   PyObject 
*swig_obj
[1] ; 
8435   if (!args
) SWIG_fail
; 
8437   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8438   if (!SWIG_IsOK(res1
)) { 
8439     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8441   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8443     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8444     result 
= (bool)(arg1
)->Newline(); 
8445     wxPyEndAllowThreads(__tstate
); 
8446     if (PyErr_Occurred()) SWIG_fail
; 
8449     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8457 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetBasicStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8458   PyObject 
*resultobj 
= 0; 
8459   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8460   wxRichTextAttr 
*arg2 
= 0 ; 
8465   PyObject 
* obj0 
= 0 ; 
8466   PyObject 
* obj1 
= 0 ; 
8467   char *  kwnames
[] = { 
8468     (char *) "self",(char *) "style", NULL 
 
8471   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8472   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8473   if (!SWIG_IsOK(res1
)) { 
8474     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8476   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8477   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
8478   if (!SWIG_IsOK(res2
)) { 
8479     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8482     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8484   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
8486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8487     (arg1
)->SetBasicStyle((wxRichTextAttr 
const &)*arg2
); 
8488     wxPyEndAllowThreads(__tstate
); 
8489     if (PyErr_Occurred()) SWIG_fail
; 
8491   resultobj 
= SWIG_Py_Void(); 
8498 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8499   PyObject 
*resultobj 
= 0; 
8500   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8504   PyObject 
*swig_obj
[1] ; 
8506   if (!args
) SWIG_fail
; 
8508   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8509   if (!SWIG_IsOK(res1
)) { 
8510     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8512   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8515     result 
= (bool)(arg1
)->EndStyle(); 
8516     wxPyEndAllowThreads(__tstate
); 
8517     if (PyErr_Occurred()) SWIG_fail
; 
8520     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8528 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAllStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8529   PyObject 
*resultobj 
= 0; 
8530   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8534   PyObject 
*swig_obj
[1] ; 
8536   if (!args
) SWIG_fail
; 
8538   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8539   if (!SWIG_IsOK(res1
)) { 
8540     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8542   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8544     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8545     result 
= (bool)(arg1
)->EndAllStyles(); 
8546     wxPyEndAllowThreads(__tstate
); 
8547     if (PyErr_Occurred()) SWIG_fail
; 
8550     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8558 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8559   PyObject 
*resultobj 
= 0; 
8560   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8564   PyObject 
*swig_obj
[1] ; 
8566   if (!args
) SWIG_fail
; 
8568   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8569   if (!SWIG_IsOK(res1
)) { 
8570     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8572   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8574     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8575     result 
= (bool)(arg1
)->BeginBold(); 
8576     wxPyEndAllowThreads(__tstate
); 
8577     if (PyErr_Occurred()) SWIG_fail
; 
8580     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8588 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8589   PyObject 
*resultobj 
= 0; 
8590   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8594   PyObject 
*swig_obj
[1] ; 
8596   if (!args
) SWIG_fail
; 
8598   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8599   if (!SWIG_IsOK(res1
)) { 
8600     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8602   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8605     result 
= (bool)(arg1
)->EndBold(); 
8606     wxPyEndAllowThreads(__tstate
); 
8607     if (PyErr_Occurred()) SWIG_fail
; 
8610     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8618 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8619   PyObject 
*resultobj 
= 0; 
8620   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8624   PyObject 
*swig_obj
[1] ; 
8626   if (!args
) SWIG_fail
; 
8628   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8629   if (!SWIG_IsOK(res1
)) { 
8630     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8632   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8634     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8635     result 
= (bool)(arg1
)->BeginItalic(); 
8636     wxPyEndAllowThreads(__tstate
); 
8637     if (PyErr_Occurred()) SWIG_fail
; 
8640     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8648 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8649   PyObject 
*resultobj 
= 0; 
8650   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8654   PyObject 
*swig_obj
[1] ; 
8656   if (!args
) SWIG_fail
; 
8658   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8659   if (!SWIG_IsOK(res1
)) { 
8660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8662   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8664     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8665     result 
= (bool)(arg1
)->EndItalic(); 
8666     wxPyEndAllowThreads(__tstate
); 
8667     if (PyErr_Occurred()) SWIG_fail
; 
8670     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8678 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8679   PyObject 
*resultobj 
= 0; 
8680   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8684   PyObject 
*swig_obj
[1] ; 
8686   if (!args
) SWIG_fail
; 
8688   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8689   if (!SWIG_IsOK(res1
)) { 
8690     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8692   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8694     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8695     result 
= (bool)(arg1
)->BeginUnderline(); 
8696     wxPyEndAllowThreads(__tstate
); 
8697     if (PyErr_Occurred()) SWIG_fail
; 
8700     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8708 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8709   PyObject 
*resultobj 
= 0; 
8710   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8714   PyObject 
*swig_obj
[1] ; 
8716   if (!args
) SWIG_fail
; 
8718   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8719   if (!SWIG_IsOK(res1
)) { 
8720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8722   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8725     result 
= (bool)(arg1
)->EndUnderline(); 
8726     wxPyEndAllowThreads(__tstate
); 
8727     if (PyErr_Occurred()) SWIG_fail
; 
8730     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8738 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8739   PyObject 
*resultobj 
= 0; 
8740   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8747   PyObject 
* obj0 
= 0 ; 
8748   PyObject 
* obj1 
= 0 ; 
8749   char *  kwnames
[] = { 
8750     (char *) "self",(char *) "pointSize", NULL 
 
8753   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8754   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8755   if (!SWIG_IsOK(res1
)) { 
8756     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8758   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8759   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8760   if (!SWIG_IsOK(ecode2
)) { 
8761     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'"); 
8763   arg2 
= static_cast< int >(val2
); 
8765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8766     result 
= (bool)(arg1
)->BeginFontSize(arg2
); 
8767     wxPyEndAllowThreads(__tstate
); 
8768     if (PyErr_Occurred()) SWIG_fail
; 
8771     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8779 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8780   PyObject 
*resultobj 
= 0; 
8781   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8785   PyObject 
*swig_obj
[1] ; 
8787   if (!args
) SWIG_fail
; 
8789   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8790   if (!SWIG_IsOK(res1
)) { 
8791     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8793   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8796     result 
= (bool)(arg1
)->EndFontSize(); 
8797     wxPyEndAllowThreads(__tstate
); 
8798     if (PyErr_Occurred()) SWIG_fail
; 
8801     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8809 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8810   PyObject 
*resultobj 
= 0; 
8811   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8818   PyObject 
* obj0 
= 0 ; 
8819   PyObject 
* obj1 
= 0 ; 
8820   char *  kwnames
[] = { 
8821     (char *) "self",(char *) "font", NULL 
 
8824   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8825   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8826   if (!SWIG_IsOK(res1
)) { 
8827     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8829   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8830   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
8831   if (!SWIG_IsOK(res2
)) { 
8832     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8835     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8837   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
8839     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8840     result 
= (bool)(arg1
)->BeginFont((wxFont 
const &)*arg2
); 
8841     wxPyEndAllowThreads(__tstate
); 
8842     if (PyErr_Occurred()) SWIG_fail
; 
8845     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8853 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8854   PyObject 
*resultobj 
= 0; 
8855   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8859   PyObject 
*swig_obj
[1] ; 
8861   if (!args
) SWIG_fail
; 
8863   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8864   if (!SWIG_IsOK(res1
)) { 
8865     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8867   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8869     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8870     result 
= (bool)(arg1
)->EndFont(); 
8871     wxPyEndAllowThreads(__tstate
); 
8872     if (PyErr_Occurred()) SWIG_fail
; 
8875     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8883 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8884   PyObject 
*resultobj 
= 0; 
8885   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8886   wxColour 
*arg2 
= 0 ; 
8891   PyObject 
* obj0 
= 0 ; 
8892   PyObject 
* obj1 
= 0 ; 
8893   char *  kwnames
[] = { 
8894     (char *) "self",(char *) "colour", NULL 
 
8897   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8898   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8899   if (!SWIG_IsOK(res1
)) { 
8900     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8902   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8905     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8909     result 
= (bool)(arg1
)->BeginTextColour((wxColour 
const &)*arg2
); 
8910     wxPyEndAllowThreads(__tstate
); 
8911     if (PyErr_Occurred()) SWIG_fail
; 
8914     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8922 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8923   PyObject 
*resultobj 
= 0; 
8924   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8928   PyObject 
*swig_obj
[1] ; 
8930   if (!args
) SWIG_fail
; 
8932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8933   if (!SWIG_IsOK(res1
)) { 
8934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8936   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8939     result 
= (bool)(arg1
)->EndTextColour(); 
8940     wxPyEndAllowThreads(__tstate
); 
8941     if (PyErr_Occurred()) SWIG_fail
; 
8944     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8952 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8953   PyObject 
*resultobj 
= 0; 
8954   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8955   wxTextAttrAlignment arg2 
; 
8961   PyObject 
* obj0 
= 0 ; 
8962   PyObject 
* obj1 
= 0 ; 
8963   char *  kwnames
[] = { 
8964     (char *) "self",(char *) "alignment", NULL 
 
8967   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8968   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8969   if (!SWIG_IsOK(res1
)) { 
8970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8972   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8973   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8974   if (!SWIG_IsOK(ecode2
)) { 
8975     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
8977   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
8979     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8980     result 
= (bool)(arg1
)->BeginAlignment(arg2
); 
8981     wxPyEndAllowThreads(__tstate
); 
8982     if (PyErr_Occurred()) SWIG_fail
; 
8985     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8993 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8994   PyObject 
*resultobj 
= 0; 
8995   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8999   PyObject 
*swig_obj
[1] ; 
9001   if (!args
) SWIG_fail
; 
9003   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9004   if (!SWIG_IsOK(res1
)) { 
9005     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9007   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9009     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9010     result 
= (bool)(arg1
)->EndAlignment(); 
9011     wxPyEndAllowThreads(__tstate
); 
9012     if (PyErr_Occurred()) SWIG_fail
; 
9015     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9023 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9024   PyObject 
*resultobj 
= 0; 
9025   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9027   int arg3 
= (int) 0 ; 
9035   PyObject 
* obj0 
= 0 ; 
9036   PyObject 
* obj1 
= 0 ; 
9037   PyObject 
* obj2 
= 0 ; 
9038   char *  kwnames
[] = { 
9039     (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL 
 
9042   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9043   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9044   if (!SWIG_IsOK(res1
)) { 
9045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9047   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9048   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9049   if (!SWIG_IsOK(ecode2
)) { 
9050     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
9052   arg2 
= static_cast< int >(val2
); 
9054     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9055     if (!SWIG_IsOK(ecode3
)) { 
9056       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
9058     arg3 
= static_cast< int >(val3
); 
9061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9062     result 
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
); 
9063     wxPyEndAllowThreads(__tstate
); 
9064     if (PyErr_Occurred()) SWIG_fail
; 
9067     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9075 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9076   PyObject 
*resultobj 
= 0; 
9077   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9081   PyObject 
*swig_obj
[1] ; 
9083   if (!args
) SWIG_fail
; 
9085   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9086   if (!SWIG_IsOK(res1
)) { 
9087     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9089   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9091     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9092     result 
= (bool)(arg1
)->EndLeftIndent(); 
9093     wxPyEndAllowThreads(__tstate
); 
9094     if (PyErr_Occurred()) SWIG_fail
; 
9097     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9105 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9106   PyObject 
*resultobj 
= 0; 
9107   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9114   PyObject 
* obj0 
= 0 ; 
9115   PyObject 
* obj1 
= 0 ; 
9116   char *  kwnames
[] = { 
9117     (char *) "self",(char *) "rightIndent", NULL 
 
9120   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9121   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9122   if (!SWIG_IsOK(res1
)) { 
9123     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9125   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9126   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9127   if (!SWIG_IsOK(ecode2
)) { 
9128     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'"); 
9130   arg2 
= static_cast< int >(val2
); 
9132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9133     result 
= (bool)(arg1
)->BeginRightIndent(arg2
); 
9134     wxPyEndAllowThreads(__tstate
); 
9135     if (PyErr_Occurred()) SWIG_fail
; 
9138     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9146 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9147   PyObject 
*resultobj 
= 0; 
9148   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9152   PyObject 
*swig_obj
[1] ; 
9154   if (!args
) SWIG_fail
; 
9156   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9157   if (!SWIG_IsOK(res1
)) { 
9158     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9160   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9163     result 
= (bool)(arg1
)->EndRightIndent(); 
9164     wxPyEndAllowThreads(__tstate
); 
9165     if (PyErr_Occurred()) SWIG_fail
; 
9168     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9176 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9177   PyObject 
*resultobj 
= 0; 
9178   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9188   PyObject 
* obj0 
= 0 ; 
9189   PyObject 
* obj1 
= 0 ; 
9190   PyObject 
* obj2 
= 0 ; 
9191   char *  kwnames
[] = { 
9192     (char *) "self",(char *) "before",(char *) "after", NULL 
 
9195   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9196   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9197   if (!SWIG_IsOK(res1
)) { 
9198     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9200   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9201   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9202   if (!SWIG_IsOK(ecode2
)) { 
9203     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'"); 
9205   arg2 
= static_cast< int >(val2
); 
9206   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9207   if (!SWIG_IsOK(ecode3
)) { 
9208     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'"); 
9210   arg3 
= static_cast< int >(val3
); 
9212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9213     result 
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
); 
9214     wxPyEndAllowThreads(__tstate
); 
9215     if (PyErr_Occurred()) SWIG_fail
; 
9218     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9226 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9227   PyObject 
*resultobj 
= 0; 
9228   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9232   PyObject 
*swig_obj
[1] ; 
9234   if (!args
) SWIG_fail
; 
9236   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9237   if (!SWIG_IsOK(res1
)) { 
9238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9240   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9243     result 
= (bool)(arg1
)->EndParagraphSpacing(); 
9244     wxPyEndAllowThreads(__tstate
); 
9245     if (PyErr_Occurred()) SWIG_fail
; 
9248     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9256 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9257   PyObject 
*resultobj 
= 0; 
9258   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9265   PyObject 
* obj0 
= 0 ; 
9266   PyObject 
* obj1 
= 0 ; 
9267   char *  kwnames
[] = { 
9268     (char *) "self",(char *) "lineSpacing", NULL 
 
9271   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9272   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9273   if (!SWIG_IsOK(res1
)) { 
9274     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9276   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9277   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9278   if (!SWIG_IsOK(ecode2
)) { 
9279     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
9281   arg2 
= static_cast< int >(val2
); 
9283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9284     result 
= (bool)(arg1
)->BeginLineSpacing(arg2
); 
9285     wxPyEndAllowThreads(__tstate
); 
9286     if (PyErr_Occurred()) SWIG_fail
; 
9289     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9297 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9298   PyObject 
*resultobj 
= 0; 
9299   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9303   PyObject 
*swig_obj
[1] ; 
9305   if (!args
) SWIG_fail
; 
9307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9308   if (!SWIG_IsOK(res1
)) { 
9309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9311   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9314     result 
= (bool)(arg1
)->EndLineSpacing(); 
9315     wxPyEndAllowThreads(__tstate
); 
9316     if (PyErr_Occurred()) SWIG_fail
; 
9319     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9327 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9328   PyObject 
*resultobj 
= 0; 
9329   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9333   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD 
; 
9345   PyObject 
* obj0 
= 0 ; 
9346   PyObject 
* obj1 
= 0 ; 
9347   PyObject 
* obj2 
= 0 ; 
9348   PyObject 
* obj3 
= 0 ; 
9349   PyObject 
* obj4 
= 0 ; 
9350   char *  kwnames
[] = { 
9351     (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9354   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9355   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9356   if (!SWIG_IsOK(res1
)) { 
9357     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9359   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9360   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9361   if (!SWIG_IsOK(ecode2
)) { 
9362     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'"); 
9364   arg2 
= static_cast< int >(val2
); 
9365   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9366   if (!SWIG_IsOK(ecode3
)) { 
9367     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'"); 
9369   arg3 
= static_cast< int >(val3
); 
9370   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9371   if (!SWIG_IsOK(ecode4
)) { 
9372     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'"); 
9374   arg4 
= static_cast< int >(val4
); 
9376     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9377     if (!SWIG_IsOK(ecode5
)) { 
9378       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'"); 
9380     arg5 
= static_cast< int >(val5
); 
9383     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9384     result 
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
); 
9385     wxPyEndAllowThreads(__tstate
); 
9386     if (PyErr_Occurred()) SWIG_fail
; 
9389     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9397 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9398   PyObject 
*resultobj 
= 0; 
9399   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9403   PyObject 
*swig_obj
[1] ; 
9405   if (!args
) SWIG_fail
; 
9407   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9408   if (!SWIG_IsOK(res1
)) { 
9409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9411   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9414     result 
= (bool)(arg1
)->EndNumberedBullet(); 
9415     wxPyEndAllowThreads(__tstate
); 
9416     if (PyErr_Occurred()) SWIG_fail
; 
9419     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9427 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9428   PyObject 
*resultobj 
= 0; 
9429   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9433   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL 
; 
9445   PyObject 
* obj0 
= 0 ; 
9446   PyObject 
* obj1 
= 0 ; 
9447   PyObject 
* obj2 
= 0 ; 
9448   PyObject 
* obj3 
= 0 ; 
9449   PyObject 
* obj4 
= 0 ; 
9450   char *  kwnames
[] = { 
9451     (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9454   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9455   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9456   if (!SWIG_IsOK(res1
)) { 
9457     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9459   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9460   ecode2 
= SWIG_AsVal_char(obj1
, &val2
); 
9461   if (!SWIG_IsOK(ecode2
)) { 
9462     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'"); 
9464   arg2 
= static_cast< char >(val2
); 
9465   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9466   if (!SWIG_IsOK(ecode3
)) { 
9467     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'"); 
9469   arg3 
= static_cast< int >(val3
); 
9470   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9471   if (!SWIG_IsOK(ecode4
)) { 
9472     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'"); 
9474   arg4 
= static_cast< int >(val4
); 
9476     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9477     if (!SWIG_IsOK(ecode5
)) { 
9478       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'"); 
9480     arg5 
= static_cast< int >(val5
); 
9483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9484     result 
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
); 
9485     wxPyEndAllowThreads(__tstate
); 
9486     if (PyErr_Occurred()) SWIG_fail
; 
9489     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9497 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9498   PyObject 
*resultobj 
= 0; 
9499   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9503   PyObject 
*swig_obj
[1] ; 
9505   if (!args
) SWIG_fail
; 
9507   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9508   if (!SWIG_IsOK(res1
)) { 
9509     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9511   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9513     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9514     result 
= (bool)(arg1
)->EndSymbolBullet(); 
9515     wxPyEndAllowThreads(__tstate
); 
9516     if (PyErr_Occurred()) SWIG_fail
; 
9519     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9527 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9528   PyObject 
*resultobj 
= 0; 
9529   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9530   wxString 
*arg2 
= 0 ; 
9534   bool temp2 
= false ; 
9535   PyObject 
* obj0 
= 0 ; 
9536   PyObject 
* obj1 
= 0 ; 
9537   char *  kwnames
[] = { 
9538     (char *) "self",(char *) "characterStyle", NULL 
 
9541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9543   if (!SWIG_IsOK(res1
)) { 
9544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9546   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9548     arg2 
= wxString_in_helper(obj1
); 
9549     if (arg2 
== NULL
) SWIG_fail
; 
9553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9554     result 
= (bool)(arg1
)->BeginCharacterStyle((wxString 
const &)*arg2
); 
9555     wxPyEndAllowThreads(__tstate
); 
9556     if (PyErr_Occurred()) SWIG_fail
; 
9559     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9575 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9576   PyObject 
*resultobj 
= 0; 
9577   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9581   PyObject 
*swig_obj
[1] ; 
9583   if (!args
) SWIG_fail
; 
9585   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9586   if (!SWIG_IsOK(res1
)) { 
9587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9589   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9591     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9592     result 
= (bool)(arg1
)->EndCharacterStyle(); 
9593     wxPyEndAllowThreads(__tstate
); 
9594     if (PyErr_Occurred()) SWIG_fail
; 
9597     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9605 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9606   PyObject 
*resultobj 
= 0; 
9607   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9608   wxString 
*arg2 
= 0 ; 
9612   bool temp2 
= false ; 
9613   PyObject 
* obj0 
= 0 ; 
9614   PyObject 
* obj1 
= 0 ; 
9615   char *  kwnames
[] = { 
9616     (char *) "self",(char *) "paragraphStyle", NULL 
 
9619   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9620   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9621   if (!SWIG_IsOK(res1
)) { 
9622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9624   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9626     arg2 
= wxString_in_helper(obj1
); 
9627     if (arg2 
== NULL
) SWIG_fail
; 
9631     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9632     result 
= (bool)(arg1
)->BeginParagraphStyle((wxString 
const &)*arg2
); 
9633     wxPyEndAllowThreads(__tstate
); 
9634     if (PyErr_Occurred()) SWIG_fail
; 
9637     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9653 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9654   PyObject 
*resultobj 
= 0; 
9655   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9659   PyObject 
*swig_obj
[1] ; 
9661   if (!args
) SWIG_fail
; 
9663   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9664   if (!SWIG_IsOK(res1
)) { 
9665     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9667   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9669     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9670     result 
= (bool)(arg1
)->EndParagraphStyle(); 
9671     wxPyEndAllowThreads(__tstate
); 
9672     if (PyErr_Occurred()) SWIG_fail
; 
9675     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9683 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9684   PyObject 
*resultobj 
= 0; 
9685   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9689   PyObject 
*swig_obj
[1] ; 
9691   if (!args
) SWIG_fail
; 
9693   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9694   if (!SWIG_IsOK(res1
)) { 
9695     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9697   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9699     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9700     result 
= (bool)(arg1
)->SetDefaultStyleToCursorStyle(); 
9701     wxPyEndAllowThreads(__tstate
); 
9702     if (PyErr_Occurred()) SWIG_fail
; 
9705     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9713 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectNone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9714   PyObject 
*resultobj 
= 0; 
9715   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9718   PyObject 
*swig_obj
[1] ; 
9720   if (!args
) SWIG_fail
; 
9722   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9723   if (!SWIG_IsOK(res1
)) { 
9724     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9726   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9728     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9729     (arg1
)->SelectNone(); 
9730     wxPyEndAllowThreads(__tstate
); 
9731     if (PyErr_Occurred()) SWIG_fail
; 
9733   resultobj 
= SWIG_Py_Void(); 
9740 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9741   PyObject 
*resultobj 
= 0; 
9742   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9743   wxRichTextRange 
*result 
= 0 ; 
9746   PyObject 
*swig_obj
[1] ; 
9748   if (!args
) SWIG_fail
; 
9750   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9751   if (!SWIG_IsOK(res1
)) { 
9752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
9754   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9758       wxRichTextRange 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetSelectionRange(); 
9759       result 
= (wxRichTextRange 
*) &_result_ref
; 
9761     wxPyEndAllowThreads(__tstate
); 
9762     if (PyErr_Occurred()) SWIG_fail
; 
9764   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
9771 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9772   PyObject 
*resultobj 
= 0; 
9773   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9774   wxRichTextRange 
*arg2 
= 0 ; 
9777   wxRichTextRange temp2 
; 
9778   PyObject 
* obj0 
= 0 ; 
9779   PyObject 
* obj1 
= 0 ; 
9780   char *  kwnames
[] = { 
9781     (char *) "self",(char *) "range", NULL 
 
9784   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9785   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9786   if (!SWIG_IsOK(res1
)) { 
9787     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9789   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9792     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
9795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9796     (arg1
)->SetSelectionRange((wxRichTextRange 
const &)*arg2
); 
9797     wxPyEndAllowThreads(__tstate
); 
9798     if (PyErr_Occurred()) SWIG_fail
; 
9800   resultobj 
= SWIG_Py_Void(); 
9807 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddParagraph(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9808   PyObject 
*resultobj 
= 0; 
9809   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9810   wxString 
*arg2 
= 0 ; 
9811   wxRichTextRange result
; 
9814   bool temp2 
= false ; 
9815   PyObject 
* obj0 
= 0 ; 
9816   PyObject 
* obj1 
= 0 ; 
9817   char *  kwnames
[] = { 
9818     (char *) "self",(char *) "text", NULL 
 
9821   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9822   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9823   if (!SWIG_IsOK(res1
)) { 
9824     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9826   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9828     arg2 
= wxString_in_helper(obj1
); 
9829     if (arg2 
== NULL
) SWIG_fail
; 
9833     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9834     result 
= (arg1
)->AddParagraph((wxString 
const &)*arg2
); 
9835     wxPyEndAllowThreads(__tstate
); 
9836     if (PyErr_Occurred()) SWIG_fail
; 
9838   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
9853 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9854   PyObject 
*resultobj 
= 0; 
9855   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9857   wxRichTextRange result
; 
9862   PyObject 
* obj0 
= 0 ; 
9863   PyObject 
* obj1 
= 0 ; 
9864   char *  kwnames
[] = { 
9865     (char *) "self",(char *) "image", NULL 
 
9868   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9869   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9870   if (!SWIG_IsOK(res1
)) { 
9871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9873   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9874   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
9875   if (!SWIG_IsOK(res2
)) { 
9876     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
9879     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
9881   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
9883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9884     result 
= (arg1
)->AddImage((wxImage 
const &)*arg2
); 
9885     wxPyEndAllowThreads(__tstate
); 
9886     if (PyErr_Occurred()) SWIG_fail
; 
9888   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
9895 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LayoutContent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9896   PyObject 
*resultobj 
= 0; 
9897   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9898   bool arg2 
= (bool) false ; 
9904   PyObject 
* obj0 
= 0 ; 
9905   PyObject 
* obj1 
= 0 ; 
9906   char *  kwnames
[] = { 
9907     (char *) "self",(char *) "onlyVisibleRect", NULL 
 
9910   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9911   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9912   if (!SWIG_IsOK(res1
)) { 
9913     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9915   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9917     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
9918     if (!SWIG_IsOK(ecode2
)) { 
9919       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'"); 
9921     arg2 
= static_cast< bool >(val2
); 
9924     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9925     result 
= (bool)(arg1
)->LayoutContent(arg2
); 
9926     wxPyEndAllowThreads(__tstate
); 
9927     if (PyErr_Occurred()) SWIG_fail
; 
9930     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9938 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveCaret(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9939   PyObject 
*resultobj 
= 0; 
9940   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9942   bool arg3 
= (bool) false ; 
9950   PyObject 
* obj0 
= 0 ; 
9951   PyObject 
* obj1 
= 0 ; 
9952   PyObject 
* obj2 
= 0 ; 
9953   char *  kwnames
[] = { 
9954     (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL 
 
9957   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9958   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9959   if (!SWIG_IsOK(res1
)) { 
9960     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9962   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9963   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
9964   if (!SWIG_IsOK(ecode2
)) { 
9965     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'"); 
9967   arg2 
= static_cast< long >(val2
); 
9969     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
9970     if (!SWIG_IsOK(ecode3
)) { 
9971       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'"); 
9973     arg3 
= static_cast< bool >(val3
); 
9976     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9977     result 
= (bool)(arg1
)->MoveCaret(arg2
,arg3
); 
9978     wxPyEndAllowThreads(__tstate
); 
9979     if (PyErr_Occurred()) SWIG_fail
; 
9982     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9990 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9991   PyObject 
*resultobj 
= 0; 
9992   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9993   int arg2 
= (int) 1 ; 
9994   int arg3 
= (int) 0 ; 
10002   PyObject 
* obj0 
= 0 ; 
10003   PyObject 
* obj1 
= 0 ; 
10004   PyObject 
* obj2 
= 0 ; 
10005   char *  kwnames
[] = { 
10006     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10009   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10010   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10011   if (!SWIG_IsOK(res1
)) { 
10012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10014   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10016     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10017     if (!SWIG_IsOK(ecode2
)) { 
10018       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'"); 
10020     arg2 
= static_cast< int >(val2
); 
10023     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10024     if (!SWIG_IsOK(ecode3
)) { 
10025       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'"); 
10027     arg3 
= static_cast< int >(val3
); 
10030     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10031     result 
= (bool)(arg1
)->MoveRight(arg2
,arg3
); 
10032     wxPyEndAllowThreads(__tstate
); 
10033     if (PyErr_Occurred()) SWIG_fail
; 
10036     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10044 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10045   PyObject 
*resultobj 
= 0; 
10046   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10047   int arg2 
= (int) 1 ; 
10048   int arg3 
= (int) 0 ; 
10056   PyObject 
* obj0 
= 0 ; 
10057   PyObject 
* obj1 
= 0 ; 
10058   PyObject 
* obj2 
= 0 ; 
10059   char *  kwnames
[] = { 
10060     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10063   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10064   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10065   if (!SWIG_IsOK(res1
)) { 
10066     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10068   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10070     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10071     if (!SWIG_IsOK(ecode2
)) { 
10072       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'"); 
10074     arg2 
= static_cast< int >(val2
); 
10077     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10078     if (!SWIG_IsOK(ecode3
)) { 
10079       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'"); 
10081     arg3 
= static_cast< int >(val3
); 
10084     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10085     result 
= (bool)(arg1
)->MoveLeft(arg2
,arg3
); 
10086     wxPyEndAllowThreads(__tstate
); 
10087     if (PyErr_Occurred()) SWIG_fail
; 
10090     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10098 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10099   PyObject 
*resultobj 
= 0; 
10100   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10101   int arg2 
= (int) 1 ; 
10102   int arg3 
= (int) 0 ; 
10110   PyObject 
* obj0 
= 0 ; 
10111   PyObject 
* obj1 
= 0 ; 
10112   PyObject 
* obj2 
= 0 ; 
10113   char *  kwnames
[] = { 
10114     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10117   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10118   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10119   if (!SWIG_IsOK(res1
)) { 
10120     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10122   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10124     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10125     if (!SWIG_IsOK(ecode2
)) { 
10126       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'"); 
10128     arg2 
= static_cast< int >(val2
); 
10131     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10132     if (!SWIG_IsOK(ecode3
)) { 
10133       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'"); 
10135     arg3 
= static_cast< int >(val3
); 
10138     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10139     result 
= (bool)(arg1
)->MoveUp(arg2
,arg3
); 
10140     wxPyEndAllowThreads(__tstate
); 
10141     if (PyErr_Occurred()) SWIG_fail
; 
10144     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10152 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10153   PyObject 
*resultobj 
= 0; 
10154   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10155   int arg2 
= (int) 1 ; 
10156   int arg3 
= (int) 0 ; 
10164   PyObject 
* obj0 
= 0 ; 
10165   PyObject 
* obj1 
= 0 ; 
10166   PyObject 
* obj2 
= 0 ; 
10167   char *  kwnames
[] = { 
10168     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10171   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10172   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10173   if (!SWIG_IsOK(res1
)) { 
10174     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10176   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10178     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10179     if (!SWIG_IsOK(ecode2
)) { 
10180       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'"); 
10182     arg2 
= static_cast< int >(val2
); 
10185     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10186     if (!SWIG_IsOK(ecode3
)) { 
10187       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'"); 
10189     arg3 
= static_cast< int >(val3
); 
10192     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10193     result 
= (bool)(arg1
)->MoveDown(arg2
,arg3
); 
10194     wxPyEndAllowThreads(__tstate
); 
10195     if (PyErr_Occurred()) SWIG_fail
; 
10198     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10206 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10207   PyObject 
*resultobj 
= 0; 
10208   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10209   int arg2 
= (int) 0 ; 
10215   PyObject 
* obj0 
= 0 ; 
10216   PyObject 
* obj1 
= 0 ; 
10217   char *  kwnames
[] = { 
10218     (char *) "self",(char *) "flags", NULL 
 
10221   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10222   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10223   if (!SWIG_IsOK(res1
)) { 
10224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10226   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10228     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10229     if (!SWIG_IsOK(ecode2
)) { 
10230       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'"); 
10232     arg2 
= static_cast< int >(val2
); 
10235     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10236     result 
= (bool)(arg1
)->MoveToLineEnd(arg2
); 
10237     wxPyEndAllowThreads(__tstate
); 
10238     if (PyErr_Occurred()) SWIG_fail
; 
10241     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10249 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10250   PyObject 
*resultobj 
= 0; 
10251   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10252   int arg2 
= (int) 0 ; 
10258   PyObject 
* obj0 
= 0 ; 
10259   PyObject 
* obj1 
= 0 ; 
10260   char *  kwnames
[] = { 
10261     (char *) "self",(char *) "flags", NULL 
 
10264   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10265   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10266   if (!SWIG_IsOK(res1
)) { 
10267     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10269   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10271     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10272     if (!SWIG_IsOK(ecode2
)) { 
10273       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'"); 
10275     arg2 
= static_cast< int >(val2
); 
10278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10279     result 
= (bool)(arg1
)->MoveToLineStart(arg2
); 
10280     wxPyEndAllowThreads(__tstate
); 
10281     if (PyErr_Occurred()) SWIG_fail
; 
10284     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10292 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10293   PyObject 
*resultobj 
= 0; 
10294   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10295   int arg2 
= (int) 0 ; 
10301   PyObject 
* obj0 
= 0 ; 
10302   PyObject 
* obj1 
= 0 ; 
10303   char *  kwnames
[] = { 
10304     (char *) "self",(char *) "flags", NULL 
 
10307   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10308   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10309   if (!SWIG_IsOK(res1
)) { 
10310     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10312   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10314     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10315     if (!SWIG_IsOK(ecode2
)) { 
10316       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'"); 
10318     arg2 
= static_cast< int >(val2
); 
10321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10322     result 
= (bool)(arg1
)->MoveToParagraphEnd(arg2
); 
10323     wxPyEndAllowThreads(__tstate
); 
10324     if (PyErr_Occurred()) SWIG_fail
; 
10327     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10335 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10336   PyObject 
*resultobj 
= 0; 
10337   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10338   int arg2 
= (int) 0 ; 
10344   PyObject 
* obj0 
= 0 ; 
10345   PyObject 
* obj1 
= 0 ; 
10346   char *  kwnames
[] = { 
10347     (char *) "self",(char *) "flags", NULL 
 
10350   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10351   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10352   if (!SWIG_IsOK(res1
)) { 
10353     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10355   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10357     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10358     if (!SWIG_IsOK(ecode2
)) { 
10359       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'"); 
10361     arg2 
= static_cast< int >(val2
); 
10364     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10365     result 
= (bool)(arg1
)->MoveToParagraphStart(arg2
); 
10366     wxPyEndAllowThreads(__tstate
); 
10367     if (PyErr_Occurred()) SWIG_fail
; 
10370     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10378 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveHome(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10379   PyObject 
*resultobj 
= 0; 
10380   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10381   int arg2 
= (int) 0 ; 
10387   PyObject 
* obj0 
= 0 ; 
10388   PyObject 
* obj1 
= 0 ; 
10389   char *  kwnames
[] = { 
10390     (char *) "self",(char *) "flags", NULL 
 
10393   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10394   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10395   if (!SWIG_IsOK(res1
)) { 
10396     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10398   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10400     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10401     if (!SWIG_IsOK(ecode2
)) { 
10402       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'"); 
10404     arg2 
= static_cast< int >(val2
); 
10407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10408     result 
= (bool)(arg1
)->MoveHome(arg2
); 
10409     wxPyEndAllowThreads(__tstate
); 
10410     if (PyErr_Occurred()) SWIG_fail
; 
10413     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10421 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10422   PyObject 
*resultobj 
= 0; 
10423   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10424   int arg2 
= (int) 0 ; 
10430   PyObject 
* obj0 
= 0 ; 
10431   PyObject 
* obj1 
= 0 ; 
10432   char *  kwnames
[] = { 
10433     (char *) "self",(char *) "flags", NULL 
 
10436   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10437   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10438   if (!SWIG_IsOK(res1
)) { 
10439     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10441   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10443     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10444     if (!SWIG_IsOK(ecode2
)) { 
10445       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'"); 
10447     arg2 
= static_cast< int >(val2
); 
10450     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10451     result 
= (bool)(arg1
)->MoveEnd(arg2
); 
10452     wxPyEndAllowThreads(__tstate
); 
10453     if (PyErr_Occurred()) SWIG_fail
; 
10456     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10464 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10465   PyObject 
*resultobj 
= 0; 
10466   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10467   int arg2 
= (int) 1 ; 
10468   int arg3 
= (int) 0 ; 
10476   PyObject 
* obj0 
= 0 ; 
10477   PyObject 
* obj1 
= 0 ; 
10478   PyObject 
* obj2 
= 0 ; 
10479   char *  kwnames
[] = { 
10480     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10483   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10484   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10485   if (!SWIG_IsOK(res1
)) { 
10486     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10488   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10490     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10491     if (!SWIG_IsOK(ecode2
)) { 
10492       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'"); 
10494     arg2 
= static_cast< int >(val2
); 
10497     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10498     if (!SWIG_IsOK(ecode3
)) { 
10499       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'"); 
10501     arg3 
= static_cast< int >(val3
); 
10504     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10505     result 
= (bool)(arg1
)->PageUp(arg2
,arg3
); 
10506     wxPyEndAllowThreads(__tstate
); 
10507     if (PyErr_Occurred()) SWIG_fail
; 
10510     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10518 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10519   PyObject 
*resultobj 
= 0; 
10520   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10521   int arg2 
= (int) 1 ; 
10522   int arg3 
= (int) 0 ; 
10530   PyObject 
* obj0 
= 0 ; 
10531   PyObject 
* obj1 
= 0 ; 
10532   PyObject 
* obj2 
= 0 ; 
10533   char *  kwnames
[] = { 
10534     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10537   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10538   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10539   if (!SWIG_IsOK(res1
)) { 
10540     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10542   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10544     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10545     if (!SWIG_IsOK(ecode2
)) { 
10546       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'"); 
10548     arg2 
= static_cast< int >(val2
); 
10551     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10552     if (!SWIG_IsOK(ecode3
)) { 
10553       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'"); 
10555     arg3 
= static_cast< int >(val3
); 
10558     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10559     result 
= (bool)(arg1
)->PageDown(arg2
,arg3
); 
10560     wxPyEndAllowThreads(__tstate
); 
10561     if (PyErr_Occurred()) SWIG_fail
; 
10564     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10572 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10573   PyObject 
*resultobj 
= 0; 
10574   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10575   int arg2 
= (int) 1 ; 
10576   int arg3 
= (int) 0 ; 
10584   PyObject 
* obj0 
= 0 ; 
10585   PyObject 
* obj1 
= 0 ; 
10586   PyObject 
* obj2 
= 0 ; 
10587   char *  kwnames
[] = { 
10588     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10591   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10592   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10593   if (!SWIG_IsOK(res1
)) { 
10594     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10596   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10598     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10599     if (!SWIG_IsOK(ecode2
)) { 
10600       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'"); 
10602     arg2 
= static_cast< int >(val2
); 
10605     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10606     if (!SWIG_IsOK(ecode3
)) { 
10607       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'"); 
10609     arg3 
= static_cast< int >(val3
); 
10612     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10613     result 
= (bool)(arg1
)->WordLeft(arg2
,arg3
); 
10614     wxPyEndAllowThreads(__tstate
); 
10615     if (PyErr_Occurred()) SWIG_fail
; 
10618     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10626 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10627   PyObject 
*resultobj 
= 0; 
10628   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10629   int arg2 
= (int) 1 ; 
10630   int arg3 
= (int) 0 ; 
10638   PyObject 
* obj0 
= 0 ; 
10639   PyObject 
* obj1 
= 0 ; 
10640   PyObject 
* obj2 
= 0 ; 
10641   char *  kwnames
[] = { 
10642     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10645   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10646   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10647   if (!SWIG_IsOK(res1
)) { 
10648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10650   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10652     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10653     if (!SWIG_IsOK(ecode2
)) { 
10654       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'"); 
10656     arg2 
= static_cast< int >(val2
); 
10659     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10660     if (!SWIG_IsOK(ecode3
)) { 
10661       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'"); 
10663     arg3 
= static_cast< int >(val3
); 
10666     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10667     result 
= (bool)(arg1
)->WordRight(arg2
,arg3
); 
10668     wxPyEndAllowThreads(__tstate
); 
10669     if (PyErr_Occurred()) SWIG_fail
; 
10672     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10680 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetBuffer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10681   PyObject 
*resultobj 
= 0; 
10682   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10683   wxRichTextBuffer 
*result 
= 0 ; 
10686   PyObject 
*swig_obj
[1] ; 
10688   if (!args
) SWIG_fail
; 
10689   swig_obj
[0] = args
; 
10690   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10691   if (!SWIG_IsOK(res1
)) { 
10692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10694   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10696     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10698       wxRichTextBuffer 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetBuffer(); 
10699       result 
= (wxRichTextBuffer 
*) &_result_ref
; 
10701     wxPyEndAllowThreads(__tstate
); 
10702     if (PyErr_Occurred()) SWIG_fail
; 
10704   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 |  0 ); 
10711 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10712   PyObject 
*resultobj 
= 0; 
10713   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10714   wxString 
*arg2 
= 0 ; 
10718   bool temp2 
= false ; 
10719   PyObject 
* obj0 
= 0 ; 
10720   PyObject 
* obj1 
= 0 ; 
10721   char *  kwnames
[] = { 
10722     (char *) "self",(char *) "cmdName", NULL 
 
10725   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10726   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10727   if (!SWIG_IsOK(res1
)) { 
10728     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10730   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10732     arg2 
= wxString_in_helper(obj1
); 
10733     if (arg2 
== NULL
) SWIG_fail
; 
10737     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10738     result 
= (bool)(arg1
)->BeginBatchUndo((wxString 
const &)*arg2
); 
10739     wxPyEndAllowThreads(__tstate
); 
10740     if (PyErr_Occurred()) SWIG_fail
; 
10743     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10759 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10760   PyObject 
*resultobj 
= 0; 
10761   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10765   PyObject 
*swig_obj
[1] ; 
10767   if (!args
) SWIG_fail
; 
10768   swig_obj
[0] = args
; 
10769   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10770   if (!SWIG_IsOK(res1
)) { 
10771     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10773   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10775     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10776     result 
= (bool)(arg1
)->EndBatchUndo(); 
10777     wxPyEndAllowThreads(__tstate
); 
10778     if (PyErr_Occurred()) SWIG_fail
; 
10781     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10789 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BatchingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10790   PyObject 
*resultobj 
= 0; 
10791   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10795   PyObject 
*swig_obj
[1] ; 
10797   if (!args
) SWIG_fail
; 
10798   swig_obj
[0] = args
; 
10799   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10800   if (!SWIG_IsOK(res1
)) { 
10801     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10803   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10806     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->BatchingUndo(); 
10807     wxPyEndAllowThreads(__tstate
); 
10808     if (PyErr_Occurred()) SWIG_fail
; 
10811     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10819 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10820   PyObject 
*resultobj 
= 0; 
10821   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10825   PyObject 
*swig_obj
[1] ; 
10827   if (!args
) SWIG_fail
; 
10828   swig_obj
[0] = args
; 
10829   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10830   if (!SWIG_IsOK(res1
)) { 
10831     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10833   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10835     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10836     result 
= (bool)(arg1
)->BeginSuppressUndo(); 
10837     wxPyEndAllowThreads(__tstate
); 
10838     if (PyErr_Occurred()) SWIG_fail
; 
10841     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10849 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10850   PyObject 
*resultobj 
= 0; 
10851   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10855   PyObject 
*swig_obj
[1] ; 
10857   if (!args
) SWIG_fail
; 
10858   swig_obj
[0] = args
; 
10859   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10860   if (!SWIG_IsOK(res1
)) { 
10861     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10863   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10865     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10866     result 
= (bool)(arg1
)->EndSuppressUndo(); 
10867     wxPyEndAllowThreads(__tstate
); 
10868     if (PyErr_Occurred()) SWIG_fail
; 
10871     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10879 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SuppressingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10880   PyObject 
*resultobj 
= 0; 
10881   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10885   PyObject 
*swig_obj
[1] ; 
10887   if (!args
) SWIG_fail
; 
10888   swig_obj
[0] = args
; 
10889   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10890   if (!SWIG_IsOK(res1
)) { 
10891     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10893   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10895     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10896     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->SuppressingUndo(); 
10897     wxPyEndAllowThreads(__tstate
); 
10898     if (PyErr_Occurred()) SWIG_fail
; 
10901     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10909 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10910   PyObject 
*resultobj 
= 0; 
10911   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10912   wxRichTextRange 
*arg2 
= 0 ; 
10913   wxRichTextAttr 
*arg3 
= 0 ; 
10917   wxRichTextRange temp2 
; 
10920   PyObject 
* obj0 
= 0 ; 
10921   PyObject 
* obj1 
= 0 ; 
10922   PyObject 
* obj2 
= 0 ; 
10923   char *  kwnames
[] = { 
10924     (char *) "self",(char *) "range",(char *) "style", NULL 
 
10927   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10928   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10929   if (!SWIG_IsOK(res1
)) { 
10930     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10932   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10935     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10937   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
10938   if (!SWIG_IsOK(res3
)) { 
10939     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10942     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10944   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
10946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10947     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasCharacterAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
10948     wxPyEndAllowThreads(__tstate
); 
10949     if (PyErr_Occurred()) SWIG_fail
; 
10952     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10960 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10961   PyObject 
*resultobj 
= 0; 
10962   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10963   wxRichTextRange 
*arg2 
= 0 ; 
10964   wxRichTextAttr 
*arg3 
= 0 ; 
10968   wxRichTextRange temp2 
; 
10971   PyObject 
* obj0 
= 0 ; 
10972   PyObject 
* obj1 
= 0 ; 
10973   PyObject 
* obj2 
= 0 ; 
10974   char *  kwnames
[] = { 
10975     (char *) "self",(char *) "range",(char *) "style", NULL 
 
10978   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10979   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10980   if (!SWIG_IsOK(res1
)) { 
10981     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10983   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10986     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10988   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
10989   if (!SWIG_IsOK(res3
)) { 
10990     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10993     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10995   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
10997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10998     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasParagraphAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
10999     wxPyEndAllowThreads(__tstate
); 
11000     if (PyErr_Occurred()) SWIG_fail
; 
11003     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11011 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11012   PyObject 
*resultobj 
= 0; 
11013   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11017   PyObject 
*swig_obj
[1] ; 
11019   if (!args
) SWIG_fail
; 
11020   swig_obj
[0] = args
; 
11021   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11022   if (!SWIG_IsOK(res1
)) { 
11023     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11025   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11027     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11028     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionBold(); 
11029     wxPyEndAllowThreads(__tstate
); 
11030     if (PyErr_Occurred()) SWIG_fail
; 
11033     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11041 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11042   PyObject 
*resultobj 
= 0; 
11043   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11047   PyObject 
*swig_obj
[1] ; 
11049   if (!args
) SWIG_fail
; 
11050   swig_obj
[0] = args
; 
11051   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11052   if (!SWIG_IsOK(res1
)) { 
11053     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11055   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11057     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11058     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionItalics(); 
11059     wxPyEndAllowThreads(__tstate
); 
11060     if (PyErr_Occurred()) SWIG_fail
; 
11063     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11071 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11072   PyObject 
*resultobj 
= 0; 
11073   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11077   PyObject 
*swig_obj
[1] ; 
11079   if (!args
) SWIG_fail
; 
11080   swig_obj
[0] = args
; 
11081   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11082   if (!SWIG_IsOK(res1
)) { 
11083     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11085   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11088     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionUnderlined(); 
11089     wxPyEndAllowThreads(__tstate
); 
11090     if (PyErr_Occurred()) SWIG_fail
; 
11093     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11101 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11102   PyObject 
*resultobj 
= 0; 
11103   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11104   wxTextAttrAlignment arg2 
; 
11110   PyObject 
* obj0 
= 0 ; 
11111   PyObject 
* obj1 
= 0 ; 
11112   char *  kwnames
[] = { 
11113     (char *) "self",(char *) "alignment", NULL 
 
11116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11117   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11118   if (!SWIG_IsOK(res1
)) { 
11119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11121   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11122   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11123   if (!SWIG_IsOK(ecode2
)) { 
11124     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11126   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11128     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11129     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionAligned(arg2
); 
11130     wxPyEndAllowThreads(__tstate
); 
11131     if (PyErr_Occurred()) SWIG_fail
; 
11134     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11142 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11143   PyObject 
*resultobj 
= 0; 
11144   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11148   PyObject 
*swig_obj
[1] ; 
11150   if (!args
) SWIG_fail
; 
11151   swig_obj
[0] = args
; 
11152   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11153   if (!SWIG_IsOK(res1
)) { 
11154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11156   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11159     result 
= (bool)(arg1
)->ApplyBoldToSelection(); 
11160     wxPyEndAllowThreads(__tstate
); 
11161     if (PyErr_Occurred()) SWIG_fail
; 
11164     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11172 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11173   PyObject 
*resultobj 
= 0; 
11174   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11178   PyObject 
*swig_obj
[1] ; 
11180   if (!args
) SWIG_fail
; 
11181   swig_obj
[0] = args
; 
11182   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11183   if (!SWIG_IsOK(res1
)) { 
11184     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11186   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11188     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11189     result 
= (bool)(arg1
)->ApplyItalicToSelection(); 
11190     wxPyEndAllowThreads(__tstate
); 
11191     if (PyErr_Occurred()) SWIG_fail
; 
11194     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11202 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11203   PyObject 
*resultobj 
= 0; 
11204   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11208   PyObject 
*swig_obj
[1] ; 
11210   if (!args
) SWIG_fail
; 
11211   swig_obj
[0] = args
; 
11212   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11213   if (!SWIG_IsOK(res1
)) { 
11214     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11216   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11219     result 
= (bool)(arg1
)->ApplyUnderlineToSelection(); 
11220     wxPyEndAllowThreads(__tstate
); 
11221     if (PyErr_Occurred()) SWIG_fail
; 
11224     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11232 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11233   PyObject 
*resultobj 
= 0; 
11234   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11235   wxTextAttrAlignment arg2 
; 
11241   PyObject 
* obj0 
= 0 ; 
11242   PyObject 
* obj1 
= 0 ; 
11243   char *  kwnames
[] = { 
11244     (char *) "self",(char *) "alignment", NULL 
 
11247   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11248   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11249   if (!SWIG_IsOK(res1
)) { 
11250     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11252   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11253   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11254   if (!SWIG_IsOK(ecode2
)) { 
11255     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11257   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11259     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11260     result 
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
); 
11261     wxPyEndAllowThreads(__tstate
); 
11262     if (PyErr_Occurred()) SWIG_fail
; 
11265     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11273 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11274   PyObject 
*resultobj 
= 0; 
11275   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11276   wxRichTextStyleSheet 
*arg2 
= (wxRichTextStyleSheet 
*) 0 ; 
11281   PyObject 
* obj0 
= 0 ; 
11282   PyObject 
* obj1 
= 0 ; 
11283   char *  kwnames
[] = { 
11284     (char *) "self",(char *) "styleSheet", NULL 
 
11287   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11288   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11289   if (!SWIG_IsOK(res1
)) { 
11290     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11292   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11293   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11294   if (!SWIG_IsOK(res2
)) { 
11295     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");  
11297   arg2 
= reinterpret_cast< wxRichTextStyleSheet 
* >(argp2
); 
11299     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11300     (arg1
)->SetStyleSheet(arg2
); 
11301     wxPyEndAllowThreads(__tstate
); 
11302     if (PyErr_Occurred()) SWIG_fail
; 
11304   resultobj 
= SWIG_Py_Void(); 
11311 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11312   PyObject 
*resultobj 
= 0; 
11313   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11314   wxRichTextStyleSheet 
*result 
= 0 ; 
11317   PyObject 
*swig_obj
[1] ; 
11319   if (!args
) SWIG_fail
; 
11320   swig_obj
[0] = args
; 
11321   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11322   if (!SWIG_IsOK(res1
)) { 
11323     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11325   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11327     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11328     result 
= (wxRichTextStyleSheet 
*)((wxRichTextCtrl 
const *)arg1
)->GetStyleSheet(); 
11329     wxPyEndAllowThreads(__tstate
); 
11330     if (PyErr_Occurred()) SWIG_fail
; 
11332   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11339 SWIGINTERN PyObject 
*RichTextCtrl_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11341   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11342   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
)); 
11343   return SWIG_Py_Void(); 
11346 SWIGINTERN PyObject 
*RichTextCtrl_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11347   return SWIG_Python_InitShadowInstance(args
); 
11350 SWIGINTERN PyObject 
*_wrap_new_RichTextEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11351   PyObject 
*resultobj 
= 0; 
11352   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11353   int arg2 
= (int) 0 ; 
11354   wxRichTextEvent 
*result 
= 0 ; 
11359   PyObject 
* obj0 
= 0 ; 
11360   PyObject 
* obj1 
= 0 ; 
11361   char *  kwnames
[] = { 
11362     (char *) "commandType",(char *) "winid", NULL 
 
11365   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11367     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11368     if (!SWIG_IsOK(ecode1
)) { 
11369       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
11371     arg1 
= static_cast< wxEventType 
>(val1
); 
11374     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11375     if (!SWIG_IsOK(ecode2
)) { 
11376       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'"); 
11378     arg2 
= static_cast< int >(val2
); 
11381     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11382     result 
= (wxRichTextEvent 
*)new wxRichTextEvent(arg1
,arg2
); 
11383     wxPyEndAllowThreads(__tstate
); 
11384     if (PyErr_Occurred()) SWIG_fail
; 
11386   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW 
|  0 ); 
11393 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11394   PyObject 
*resultobj 
= 0; 
11395   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11399   PyObject 
*swig_obj
[1] ; 
11401   if (!args
) SWIG_fail
; 
11402   swig_obj
[0] = args
; 
11403   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11404   if (!SWIG_IsOK(res1
)) { 
11405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11407   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11409     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11410     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetIndex(); 
11411     wxPyEndAllowThreads(__tstate
); 
11412     if (PyErr_Occurred()) SWIG_fail
; 
11414   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11421 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11422   PyObject 
*resultobj 
= 0; 
11423   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11429   PyObject 
* obj0 
= 0 ; 
11430   PyObject 
* obj1 
= 0 ; 
11431   char *  kwnames
[] = { 
11432     (char *) "self",(char *) "n", NULL 
 
11435   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11436   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11437   if (!SWIG_IsOK(res1
)) { 
11438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11440   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11441   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11442   if (!SWIG_IsOK(ecode2
)) { 
11443     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'"); 
11445   arg2 
= static_cast< int >(val2
); 
11447     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11448     (arg1
)->SetIndex(arg2
); 
11449     wxPyEndAllowThreads(__tstate
); 
11450     if (PyErr_Occurred()) SWIG_fail
; 
11452   resultobj 
= SWIG_Py_Void(); 
11459 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11460   PyObject 
*resultobj 
= 0; 
11461   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11465   PyObject 
*swig_obj
[1] ; 
11467   if (!args
) SWIG_fail
; 
11468   swig_obj
[0] = args
; 
11469   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11470   if (!SWIG_IsOK(res1
)) { 
11471     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11473   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11475     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11476     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetFlags(); 
11477     wxPyEndAllowThreads(__tstate
); 
11478     if (PyErr_Occurred()) SWIG_fail
; 
11480   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11487 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11488   PyObject 
*resultobj 
= 0; 
11489   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11495   PyObject 
* obj0 
= 0 ; 
11496   PyObject 
* obj1 
= 0 ; 
11497   char *  kwnames
[] = { 
11498     (char *) "self",(char *) "flags", NULL 
 
11501   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11502   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11503   if (!SWIG_IsOK(res1
)) { 
11504     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11506   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11507   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11508   if (!SWIG_IsOK(ecode2
)) { 
11509     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
11511   arg2 
= static_cast< int >(val2
); 
11513     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11514     (arg1
)->SetFlags(arg2
); 
11515     wxPyEndAllowThreads(__tstate
); 
11516     if (PyErr_Occurred()) SWIG_fail
; 
11518   resultobj 
= SWIG_Py_Void(); 
11525 SWIGINTERN PyObject 
*RichTextEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11527   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11528   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
)); 
11529   return SWIG_Py_Void(); 
11532 SWIGINTERN PyObject 
*RichTextEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11533   return SWIG_Python_InitShadowInstance(args
); 
11536 static PyMethodDef SwigMethods
[] = { 
11537          { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11538          { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
}, 
11539          { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11540          { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11541          { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11542          { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11543          { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11544          { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
}, 
11545          { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11546          { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
}, 
11547          { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11548          { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11549          { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11550          { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11551          { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
}, 
11552          { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
}, 
11553          { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
}, 
11554          { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
}, 
11555          { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
}, 
11556          { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11557          { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
}, 
11558          { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
}, 
11559          { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11560          { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11561          { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11562          { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11563          { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11564          { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11565          { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11566          { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11567          { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11568          { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11569          { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11570          { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11571          { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11572          { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11573          { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11574          { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11575          { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11576          { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11577          { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11578          { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11579          { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11580          { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
}, 
11581          { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
}, 
11582          { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
}, 
11583          { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
}, 
11584          { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
}, 
11585          { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
}, 
11586          { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
}, 
11587          { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
}, 
11588          { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
}, 
11589          { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
}, 
11590          { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
}, 
11591          { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
}, 
11592          { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
}, 
11593          { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
}, 
11594          { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
}, 
11595          { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
}, 
11596          { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
}, 
11597          { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
}, 
11598          { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
}, 
11599          { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
}, 
11600          { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
}, 
11601          { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
}, 
11602          { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
}, 
11603          { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
}, 
11604          { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
}, 
11605          { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
}, 
11606          { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
}, 
11607          { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
}, 
11608          { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
}, 
11609          { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
}, 
11610          { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
}, 
11611          { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
}, 
11612          { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
}, 
11613          { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
}, 
11614          { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
}, 
11615          { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
}, 
11616          { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
}, 
11617          { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
}, 
11618          { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
}, 
11619          { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
}, 
11620          { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
}, 
11621          { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11622          { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
}, 
11623          { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
}, 
11624          { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
}, 
11625          { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
}, 
11626          { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
}, 
11627          { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11628          { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
}, 
11629          { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11630          { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
}, 
11631          { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11632          { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11633          { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11634          { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11635          { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
}, 
11636          { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
}, 
11637          { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
}, 
11638          { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
}, 
11639          { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
}, 
11640          { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
}, 
11641          { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
}, 
11642          { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
}, 
11643          { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11644          { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11645          { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
}, 
11646          { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
}, 
11647          { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11648          { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11649          { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11650          { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11651          { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
}, 
11652          { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
}, 
11653          { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11654          { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11655          { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11656          { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11657          { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11658          { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11659          { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
}, 
11660          { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11661          { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11662          { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11663          { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11664          { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11665          { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
}, 
11666          { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
}, 
11667          { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
}, 
11668          { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
}, 
11669          { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
}, 
11670          { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
}, 
11671          { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
}, 
11672          { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
}, 
11673          { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
}, 
11674          { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
}, 
11675          { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
}, 
11676          { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
}, 
11677          { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11678          { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
}, 
11679          { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
}, 
11680          { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
}, 
11681          { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11682          { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
}, 
11683          { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11684          { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
}, 
11685          { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11686          { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11687          { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11688          { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11689          { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
}, 
11690          { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11691          { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
}, 
11692          { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
}, 
11693          { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
}, 
11694          { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
}, 
11695          { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
}, 
11696          { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
}, 
11697          { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
}, 
11698          { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
}, 
11699          { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11700          { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
}, 
11701          { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11702          { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
}, 
11703          { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11704          { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
}, 
11705          { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11706          { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
}, 
11707          { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11708          { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
}, 
11709          { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11710          { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
}, 
11711          { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11712          { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
}, 
11713          { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11714          { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
}, 
11715          { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11716          { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
}, 
11717          { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11718          { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
}, 
11719          { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11720          { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
}, 
11721          { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11722          { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
}, 
11723          { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
}, 
11724          { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
}, 
11725          { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
}, 
11726          { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11727          { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11728          { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11729          { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11730          { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11731          { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11732          { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11733          { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11734          { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11735          { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11736          { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11737          { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11738          { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11739          { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11740          { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11741          { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11742          { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11743          { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11744          { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11745          { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
}, 
11746          { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11747          { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
}, 
11748          { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
}, 
11749          { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
}, 
11750          { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
}, 
11751          { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
}, 
11752          { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11753          { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11754          { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
}, 
11755          { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
}, 
11756          { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
}, 
11757          { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11758          { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
}, 
11759          { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
}, 
11760          { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
}, 
11761          { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11762          { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11763          { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
}, 
11764          { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
}, 
11765          { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
}, 
11766          { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11767          { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
}, 
11768          { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11769          { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
}, 
11770          { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11771          { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
}, 
11772          { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
}, 
11773          { NULL
, NULL
, 0, NULL 
} 
11777 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
11779 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
11780     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
11782 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
11783     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
11785 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
11786     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
11788 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
11789     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
11791 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
11792     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
11794 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
11795     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
11797 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) { 
11798     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
11800 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
11801     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
11803 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
11804     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
11806 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
11807     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
11809 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) { 
11810     return (void *)((wxNotifyEvent 
*)  ((wxRichTextEvent 
*) x
)); 
11812 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
11813     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
11815 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
11816     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
11818 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) { 
11819     return (void *)((wxScrolledWindow 
*)  ((wxRichTextCtrl 
*) x
)); 
11821 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
11822     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
11824 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
11825     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
11827 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
11828     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
11830 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
11831     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
11833 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
11834     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
11836 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
11837     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
11839 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
11840     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
11842 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
11843     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
11845 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) { 
11846     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
11848 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
11849     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
11851 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
11852     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
11854 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
11855     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
11857 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
11858     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
11860 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
11861     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
11863 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
11864     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
11866 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
11867     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
11869 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
11870     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
11872 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
11873     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
11875 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
11876     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
11878 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
11879     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
11881 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
11882     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
11884 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
11885     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
11887 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
11888     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
11890 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
11891     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
11893 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
11894     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
11896 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
11897     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
11899 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
11900     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
11902 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
11903     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
11905 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
11906     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
11908 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
11909     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
11911 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
11912     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
11914 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
11915     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
11917 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
11918     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
11920 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
11921     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
11923 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
11924     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
11926 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
11927     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
11929 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
11930     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
11932 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
11933     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
11935 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
11936     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
11938 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
11939     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
11941 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
11942     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
11944 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
11945     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
11947 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
11948     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
11950 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
11951     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
11953 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
11954     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
11956 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) { 
11957     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
11959 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
11960     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
11962 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
11963     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
11965 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
11966     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
11968 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
11969     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
11971 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
11972     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
11974 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
11975     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
11977 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
11978     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
11980 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
11981     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
11983 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
11984     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
11986 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
11987     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
11989 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
11990     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
11992 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) { 
11993     return (void *)((wxEvent 
*)  ((wxMouseCaptureLostEvent 
*) x
)); 
11995 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
11996     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
11998 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
11999     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
12001 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
12002     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
12004 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
12005     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12007 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
12008     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
12010 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
12011     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
12013 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
12014     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
12016 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
12017     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
12019 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
12020     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
12022 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
12023     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
12025 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
12026     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12028 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
12029     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
12031 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
12032     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
12034 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
12035     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12037 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) { 
12038     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12040 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
12041     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12043 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
12044     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
12046 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
12047     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
12049 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
12050     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
12052 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
12053     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
12055 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
12056     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
12058 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
12059     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
12061 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
12062     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12064 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
12065     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12067 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
12068     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
12070 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
12071     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
12073 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
12074     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
12076 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
12077     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12079 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
12080     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12082 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
12083     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
12085 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
12086     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
12088 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
12089     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
12091 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
12092     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
12094 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
12095     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
12097 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
12098     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
12100 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
12101     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12103 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
12104     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12106 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
12107     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
12109 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
12110     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
12112 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
12113     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
12115 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
12116     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
12118 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
12119     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
12121 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
12122     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
12124 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
12125     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
12127 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
12128     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
12130 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
12131     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12133 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
12134     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12136 static void *_p_wxEventTo_p_wxObject(void *x
) { 
12137     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
12139 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
12140     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
12142 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
12143     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
12145 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
12146     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
12148 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
12149     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
12151 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
12152     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
12154 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
12155     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
12157 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
12158     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
12160 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
12161     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
12163 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
12164     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12166 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
12167     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
12169 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
12170     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
12172 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) { 
12173     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12175 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
12176     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
12178 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
12179     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
12181 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
12182     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
12184 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
12185     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
12187 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
12188     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12190 static void *_p_wxControlTo_p_wxObject(void *x
) { 
12191     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
12193 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
12194     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
12196 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
12197     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12199 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
12200     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
12202 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
12203     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
12205 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
12206     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
12208 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
12209     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12211 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) { 
12212     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12214 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
12215     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
12217 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
12218     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
12220 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
12221     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
12223 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
12224     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
12226 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
12227     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12229 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
12230     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12232 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
12233     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12235 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
12236     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12238 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
12239     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12241 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
12242     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12244 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) { 
12245     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12247 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
12248     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12250 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
12251     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12253 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
12254     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12256 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
12257     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
12259 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
12260     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
12262 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
12263     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
12265 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
12266     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12268 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
12269     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
12271 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
12272     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12274 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
12275     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
12277 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
12278     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
12280 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
12281     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
12283 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
12284     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
12286 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
12287     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
12289 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
12290     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
12292 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
12293     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
12295 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
12296     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
12298 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
12299     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
12301 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
12302     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
12304 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
12305     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
12307 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
12308     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
12310 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
12311     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
12313 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
12314     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
12316 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
12317     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
12319 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
12320     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
12322 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
12323     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
12325 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
12326     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
12328 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
12329     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
12331 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
12332     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
12334 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) { 
12335     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureLostEvent 
*) x
)); 
12337 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
12338     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
12340 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
12341     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12343 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
12344     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12346 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
12347     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
12349 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
12350     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
12352 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
12353     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12355 static void *_p_wxImageTo_p_wxObject(void *x
) { 
12356     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
12358 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
12359     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12361 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
12362     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
12364 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
12365     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
12367 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
12368     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
12370 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
12371     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
12373 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
12374     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12376 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
12377     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12379 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
12380     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
12382 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
12383     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
12385 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
12386     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
12388 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
12389     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
12391 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
12392     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
12394 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
12395     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12397 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
12398     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12400 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
12401     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12403 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
12404     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12406 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
12407     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
12409 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
12410     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12412 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
12413     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12415 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
12416     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12418 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
12419     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12421 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
12422     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12424 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
12425     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12427 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
12428     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12430 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
12431     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12433 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
12434     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
12436 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
12437     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
12439 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
12440     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
12442 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
12443     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12445 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
12446     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12448 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
12449     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12451 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
12452     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12454 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
12455     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
12457 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
12458     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
12460 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
12461     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
12463 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
12464     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
12466 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
12467     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
12469 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
12470     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
12472 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
12473     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
12475 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
12476     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
12478 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
12479     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
12481 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
12482     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12484 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
12485     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
12487 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
12488     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12490 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
12491     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12493 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
12494     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
12496 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
12497     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
12499 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
12500     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12502 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
12503     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12505 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
12506     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
12508 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
12509     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
12511 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
12512     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
12514 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
12515     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
12517 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
12518     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12520 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
12521     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12523 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
12524     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12526 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
12527     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
12529 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
12530     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
12532 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
12533     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
12535 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
12536     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
12538 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
12539     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12541 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
12542     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12544 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12545     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12547 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12548     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12550 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
12551     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12553 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) { 
12554     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12556 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
12557     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12559 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
12560     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12562 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
12563     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12565 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
12566     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
12568 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
12569     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
12571 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12572     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12574 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
12575     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12577 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
12578     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12580 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
12581     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12583 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
12584     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12586 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
12587     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
12589 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
12590     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12592 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
12593     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12595 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
12596     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
12598 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12599     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12601 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
12602     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12604 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
12605     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12607 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12608     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12610 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
12611     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
12613 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
12614     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12616 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
12617     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12619 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
12620     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12622 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
12623     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
12625 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
12626     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12628 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
12629     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
12631 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
12632     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12634 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
12635     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12637 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
12638     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12640 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
12641     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12643 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
12644     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12646 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
12647     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
12649 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
12650     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12652 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
12653     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12655 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
12656     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12658 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
12659     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12661 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
12662     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12664 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
12665     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12667 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) { 
12668     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12670 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
12671     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
12673 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
12674     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
12676 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
12677     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12679 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) { 
12680     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12682 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
12683     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
12685 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
12686     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
12688 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
12689     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
12691 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
12692     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
12694 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
12695     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
12697 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
12698     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
12700 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
12701     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
12703 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
12704     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
12706 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
12707     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
12709 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
12710     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
12712 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
12713 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}; 
12714 static swig_type_info _swigt__p_int 
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; 
12715 static swig_type_info _swigt__p_long 
= {"_p_long", "long *", 0, 0, (void*)0, 0}; 
12716 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
12717 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
12718 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
12719 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
12720 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
12721 static swig_type_info _swigt__p_wxChar 
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; 
12722 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
12723 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
12724 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", 0, 0, 0, 0, 0}; 
12725 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
12726 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; 
12727 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
12728 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
12729 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
12730 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
12731 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
12732 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
12733 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
12734 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; 
12735 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
12736 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
12737 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
12738 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
12739 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
12740 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
12741 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
12742 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
12743 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
12744 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
12745 static swig_type_info _swigt__p_wxMouseCaptureLostEvent 
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; 
12746 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; 
12747 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
12748 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
12749 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
12750 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
12751 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
12752 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
12753 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
12754 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
12755 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
12756 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
12757 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
12758 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
12759 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
12760 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
12761 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
12762 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; 
12763 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
12764 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
12765 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
12766 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
12767 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; 
12768 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
12769 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; 
12770 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; 
12771 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", 0, 0, 0, 0, 0}; 
12772 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
12773 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
12774 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
12775 static swig_type_info _swigt__p_wxNumberEntryDialog 
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; 
12776 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", 0, 0, 0, 0, 0}; 
12777 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; 
12778 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; 
12779 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; 
12780 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; 
12781 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; 
12782 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; 
12783 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; 
12784 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", 0, 0, 0, 0, 0}; 
12785 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; 
12786 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; 
12787 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; 
12788 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", 0, 0, 0, 0, 0}; 
12789 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; 
12790 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; 
12791 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; 
12792 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; 
12793 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; 
12794 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; 
12795 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", 0, 0, 0, 0, 0}; 
12796 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; 
12797 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; 
12798 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
12799 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; 
12800 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
12801 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
12802 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; 
12803 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", 0, 0, 0, 0, 0}; 
12804 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; 
12805 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; 
12806 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; 
12807 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; 
12808 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; 
12809 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", 0, 0, 0, 0, 0}; 
12810 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", 0, 0, 0, 0, 0}; 
12811 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", 0, 0, 0, 0, 0}; 
12812 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", 0, 0, 0, 0, 0}; 
12813 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", 0, 0, 0, 0, 0}; 
12814 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
12815 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; 
12816 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
12817 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; 
12818 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
12819 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
12820 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
12821 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
12822 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
12823 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
12824 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
12825 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
12826 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
12827 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
12828 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", 0, 0, 0, 0, 0}; 
12829 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", 0, 0, 0, 0, 0}; 
12830 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
12831 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
12832 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; 
12833 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
12834 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; 
12835 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
12836 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", 0, 0, 0, 0, 0}; 
12837 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", 0, 0, 0, 0, 0}; 
12838 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
12839 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
12840 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
12841 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
12842 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
12843 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
12844 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
12845 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
12846 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
12847 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
12848 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
12849 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
12850 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
12851 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
12852 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
12853 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
12854 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; 
12855 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; 
12856 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; 
12857 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; 
12858 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; 
12859 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
12860 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; 
12861 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; 
12862 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
12863 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
12864 static swig_type_info _swigt__p_wxRichTextAttr 
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0}; 
12865 static swig_type_info _swigt__p_wxRichTextBuffer 
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0}; 
12866 static swig_type_info _swigt__p_wxRichTextCtrl 
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0}; 
12867 static swig_type_info _swigt__p_wxRichTextEvent 
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0}; 
12868 static swig_type_info _swigt__p_wxRichTextImageBlock 
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0}; 
12869 static swig_type_info _swigt__p_wxRichTextRange 
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0}; 
12870 static swig_type_info _swigt__p_wxRichTextStyleSheet 
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0}; 
12871 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
12872 static swig_type_info _swigt__p_wxTextCoord 
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0}; 
12873 static swig_type_info _swigt__p_wxTextCtrlHitTestResult 
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0}; 
12874 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
12876 static swig_type_info 
*swig_type_initial
[] = { 
12878   &_swigt__p_form_ops_t
, 
12881   &_swigt__p_unsigned_char
, 
12882   &_swigt__p_unsigned_int
, 
12883   &_swigt__p_unsigned_long
, 
12884   &_swigt__p_wxANIHandler
, 
12885   &_swigt__p_wxAcceleratorTable
, 
12886   &_swigt__p_wxActivateEvent
, 
12887   &_swigt__p_wxArrayInt
, 
12888   &_swigt__p_wxBMPHandler
, 
12889   &_swigt__p_wxBitmap
, 
12890   &_swigt__p_wxBoxSizer
, 
12891   &_swigt__p_wxCURHandler
, 
12892   &_swigt__p_wxCalculateLayoutEvent
, 
12894   &_swigt__p_wxChildFocusEvent
, 
12895   &_swigt__p_wxClipboardTextEvent
, 
12896   &_swigt__p_wxCloseEvent
, 
12897   &_swigt__p_wxColour
, 
12898   &_swigt__p_wxColourData
, 
12899   &_swigt__p_wxColourDialog
, 
12900   &_swigt__p_wxCommandEvent
, 
12901   &_swigt__p_wxContextMenuEvent
, 
12902   &_swigt__p_wxControl
, 
12903   &_swigt__p_wxControlWithItems
, 
12904   &_swigt__p_wxDateEvent
, 
12905   &_swigt__p_wxDialog
, 
12906   &_swigt__p_wxDirDialog
, 
12907   &_swigt__p_wxDisplayChangedEvent
, 
12908   &_swigt__p_wxDropFilesEvent
, 
12909   &_swigt__p_wxDuplexMode
, 
12910   &_swigt__p_wxEraseEvent
, 
12911   &_swigt__p_wxEvent
, 
12912   &_swigt__p_wxEvtHandler
, 
12913   &_swigt__p_wxFSFile
, 
12914   &_swigt__p_wxFileDialog
, 
12915   &_swigt__p_wxFileSystem
, 
12916   &_swigt__p_wxFindDialogEvent
, 
12917   &_swigt__p_wxFindReplaceData
, 
12918   &_swigt__p_wxFindReplaceDialog
, 
12919   &_swigt__p_wxFlexGridSizer
, 
12920   &_swigt__p_wxFocusEvent
, 
12922   &_swigt__p_wxFontData
, 
12923   &_swigt__p_wxFontDialog
, 
12924   &_swigt__p_wxFrame
, 
12925   &_swigt__p_wxGBSizerItem
, 
12926   &_swigt__p_wxGIFHandler
, 
12927   &_swigt__p_wxGridBagSizer
, 
12928   &_swigt__p_wxGridSizer
, 
12929   &_swigt__p_wxICOHandler
, 
12930   &_swigt__p_wxIconizeEvent
, 
12931   &_swigt__p_wxIdleEvent
, 
12932   &_swigt__p_wxImage
, 
12933   &_swigt__p_wxImageHandler
, 
12934   &_swigt__p_wxIndividualLayoutConstraint
, 
12935   &_swigt__p_wxInitDialogEvent
, 
12936   &_swigt__p_wxJPEGHandler
, 
12937   &_swigt__p_wxKeyEvent
, 
12938   &_swigt__p_wxLayoutAlgorithm
, 
12939   &_swigt__p_wxLayoutConstraints
, 
12940   &_swigt__p_wxMDIChildFrame
, 
12941   &_swigt__p_wxMDIClientWindow
, 
12942   &_swigt__p_wxMDIParentFrame
, 
12943   &_swigt__p_wxMaximizeEvent
, 
12945   &_swigt__p_wxMenuBar
, 
12946   &_swigt__p_wxMenuEvent
, 
12947   &_swigt__p_wxMenuItem
, 
12948   &_swigt__p_wxMessageDialog
, 
12949   &_swigt__p_wxMiniFrame
, 
12950   &_swigt__p_wxMouseCaptureChangedEvent
, 
12951   &_swigt__p_wxMouseCaptureLostEvent
, 
12952   &_swigt__p_wxMouseEvent
, 
12953   &_swigt__p_wxMoveEvent
, 
12954   &_swigt__p_wxMultiChoiceDialog
, 
12955   &_swigt__p_wxNavigationKeyEvent
, 
12956   &_swigt__p_wxNcPaintEvent
, 
12957   &_swigt__p_wxNotifyEvent
, 
12958   &_swigt__p_wxNumberEntryDialog
, 
12959   &_swigt__p_wxObject
, 
12960   &_swigt__p_wxPCXHandler
, 
12961   &_swigt__p_wxPNGHandler
, 
12962   &_swigt__p_wxPNMHandler
, 
12963   &_swigt__p_wxPageSetupDialog
, 
12964   &_swigt__p_wxPageSetupDialogData
, 
12965   &_swigt__p_wxPaintEvent
, 
12966   &_swigt__p_wxPaletteChangedEvent
, 
12967   &_swigt__p_wxPanel
, 
12968   &_swigt__p_wxPaperSize
, 
12969   &_swigt__p_wxPasswordEntryDialog
, 
12970   &_swigt__p_wxPopupWindow
, 
12971   &_swigt__p_wxPreviewCanvas
, 
12972   &_swigt__p_wxPreviewControlBar
, 
12973   &_swigt__p_wxPreviewFrame
, 
12974   &_swigt__p_wxPrintData
, 
12975   &_swigt__p_wxPrintDialog
, 
12976   &_swigt__p_wxPrintDialogData
, 
12977   &_swigt__p_wxPrintPreview
, 
12978   &_swigt__p_wxPrinter
, 
12979   &_swigt__p_wxProgressDialog
, 
12980   &_swigt__p_wxPyApp
, 
12981   &_swigt__p_wxPyCommandEvent
, 
12982   &_swigt__p_wxPyEvent
, 
12983   &_swigt__p_wxPyHtmlListBox
, 
12984   &_swigt__p_wxPyImageHandler
, 
12985   &_swigt__p_wxPyPanel
, 
12986   &_swigt__p_wxPyPopupTransientWindow
, 
12987   &_swigt__p_wxPyPreviewControlBar
, 
12988   &_swigt__p_wxPyPreviewFrame
, 
12989   &_swigt__p_wxPyPrintPreview
, 
12990   &_swigt__p_wxPyPrintout
, 
12991   &_swigt__p_wxPyScrolledWindow
, 
12992   &_swigt__p_wxPySizer
, 
12993   &_swigt__p_wxPyTaskBarIcon
, 
12994   &_swigt__p_wxPyVListBox
, 
12995   &_swigt__p_wxPyVScrolledWindow
, 
12996   &_swigt__p_wxPyValidator
, 
12997   &_swigt__p_wxPyWindow
, 
12998   &_swigt__p_wxQueryLayoutInfoEvent
, 
12999   &_swigt__p_wxQueryNewPaletteEvent
, 
13000   &_swigt__p_wxRichTextAttr
, 
13001   &_swigt__p_wxRichTextBuffer
, 
13002   &_swigt__p_wxRichTextCtrl
, 
13003   &_swigt__p_wxRichTextEvent
, 
13004   &_swigt__p_wxRichTextImageBlock
, 
13005   &_swigt__p_wxRichTextRange
, 
13006   &_swigt__p_wxRichTextStyleSheet
, 
13007   &_swigt__p_wxSashEvent
, 
13008   &_swigt__p_wxSashLayoutWindow
, 
13009   &_swigt__p_wxSashWindow
, 
13010   &_swigt__p_wxScrollEvent
, 
13011   &_swigt__p_wxScrollWinEvent
, 
13012   &_swigt__p_wxScrolledWindow
, 
13013   &_swigt__p_wxSetCursorEvent
, 
13014   &_swigt__p_wxShowEvent
, 
13015   &_swigt__p_wxSingleChoiceDialog
, 
13016   &_swigt__p_wxSizeEvent
, 
13017   &_swigt__p_wxSizer
, 
13018   &_swigt__p_wxSizerItem
, 
13019   &_swigt__p_wxSplashScreen
, 
13020   &_swigt__p_wxSplashScreenWindow
, 
13021   &_swigt__p_wxSplitterEvent
, 
13022   &_swigt__p_wxSplitterWindow
, 
13023   &_swigt__p_wxStaticBoxSizer
, 
13024   &_swigt__p_wxStatusBar
, 
13025   &_swigt__p_wxStdDialogButtonSizer
, 
13026   &_swigt__p_wxSysColourChangedEvent
, 
13027   &_swigt__p_wxTIFFHandler
, 
13028   &_swigt__p_wxTaskBarIconEvent
, 
13029   &_swigt__p_wxTextCoord
, 
13030   &_swigt__p_wxTextCtrlHitTestResult
, 
13031   &_swigt__p_wxTextEntryDialog
, 
13032   &_swigt__p_wxTipWindow
, 
13033   &_swigt__p_wxTopLevelWindow
, 
13034   &_swigt__p_wxUpdateUIEvent
, 
13035   &_swigt__p_wxValidator
, 
13036   &_swigt__p_wxWindow
, 
13037   &_swigt__p_wxWindowCreateEvent
, 
13038   &_swigt__p_wxWindowDestroyEvent
, 
13039   &_swigt__p_wxXPMHandler
, 
13042 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13043 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
13044 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13045 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13046 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13047 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13048 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13049 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
13050 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
13051 static swig_cast_info _swigc__p_wxChar
[] = {  {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}}; 
13052 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
13053 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13054 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13055 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13056 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13057 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13058 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13059 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13060 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13061 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13062 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13063 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13064 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13065 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}}; 
13066 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
13067 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13068 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13069 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13070 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13071 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13072 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13073 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13074 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13075 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13076 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13077 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13078 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13079 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13080 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13081 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13082 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13083 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13084 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13085 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13086 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13087 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13088 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13089 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13090 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13091 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13092 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13093 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13094 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13095 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13096 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13097 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}}; 
13098 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
13099 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13100 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
13101 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13102 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13103 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13104 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13105 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13106 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13107 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13108 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13109 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13110 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13111 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13112 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13113 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13114 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13115 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13116 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13117 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13118 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13119 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13120 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13121 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13122 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13123 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13124 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13125 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13126 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13127 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
13128 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13129 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
13130 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
13131 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
13132 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13133 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13134 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13135 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13136 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13137 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
13138 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13139 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13140 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13141 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13142 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13143 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
13144 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13145 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_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_wxPopupWindow
, _p_wxPopupWindowTo_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}}; 
13146 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
13147 static swig_cast_info _swigc__p_wxImage
[] = {  {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
13148 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}}; 
13149 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
13150 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13151 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13152 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
13153 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13154 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13155 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13156 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13157 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
13158 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
13159 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13160 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13161 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
13162 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
13163 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
13164 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13165 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
13166 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
13167 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13168 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13169 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13170 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13171 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13172 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13173 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13174 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13175 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13176 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13177 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13178 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13179 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13180 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13181 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13182 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
13183 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
13184 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13185 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13186 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13187 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13188 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
13189 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13190 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13191 static swig_cast_info _swigc__p_wxObject
[] = {  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinter
, _p_wxPrinterTo_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_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxObject
, 0, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_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_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_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_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}}; 
13192 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}}; 
13193 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
13194 static swig_cast_info _swigc__p_wxRichTextAttr
[] = {  {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}}; 
13195 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = {  {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}}; 
13196 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = {  {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}}; 
13197 static swig_cast_info _swigc__p_wxRichTextEvent
[] = {  {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13198 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = {  {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}}; 
13199 static swig_cast_info _swigc__p_wxRichTextRange
[] = {  {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}}; 
13200 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = {  {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}}; 
13201 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}}; 
13202 static swig_cast_info _swigc__p_wxTextCoord
[] = {  {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}}; 
13203 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = {  {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}}; 
13204 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}}; 
13206 static swig_cast_info 
*swig_cast_initial
[] = { 
13208   _swigc__p_form_ops_t
, 
13211   _swigc__p_unsigned_char
, 
13212   _swigc__p_unsigned_int
, 
13213   _swigc__p_unsigned_long
, 
13214   _swigc__p_wxANIHandler
, 
13215   _swigc__p_wxAcceleratorTable
, 
13216   _swigc__p_wxActivateEvent
, 
13217   _swigc__p_wxArrayInt
, 
13218   _swigc__p_wxBMPHandler
, 
13219   _swigc__p_wxBitmap
, 
13220   _swigc__p_wxBoxSizer
, 
13221   _swigc__p_wxCURHandler
, 
13222   _swigc__p_wxCalculateLayoutEvent
, 
13224   _swigc__p_wxChildFocusEvent
, 
13225   _swigc__p_wxClipboardTextEvent
, 
13226   _swigc__p_wxCloseEvent
, 
13227   _swigc__p_wxColour
, 
13228   _swigc__p_wxColourData
, 
13229   _swigc__p_wxColourDialog
, 
13230   _swigc__p_wxCommandEvent
, 
13231   _swigc__p_wxContextMenuEvent
, 
13232   _swigc__p_wxControl
, 
13233   _swigc__p_wxControlWithItems
, 
13234   _swigc__p_wxDateEvent
, 
13235   _swigc__p_wxDialog
, 
13236   _swigc__p_wxDirDialog
, 
13237   _swigc__p_wxDisplayChangedEvent
, 
13238   _swigc__p_wxDropFilesEvent
, 
13239   _swigc__p_wxDuplexMode
, 
13240   _swigc__p_wxEraseEvent
, 
13242   _swigc__p_wxEvtHandler
, 
13243   _swigc__p_wxFSFile
, 
13244   _swigc__p_wxFileDialog
, 
13245   _swigc__p_wxFileSystem
, 
13246   _swigc__p_wxFindDialogEvent
, 
13247   _swigc__p_wxFindReplaceData
, 
13248   _swigc__p_wxFindReplaceDialog
, 
13249   _swigc__p_wxFlexGridSizer
, 
13250   _swigc__p_wxFocusEvent
, 
13252   _swigc__p_wxFontData
, 
13253   _swigc__p_wxFontDialog
, 
13255   _swigc__p_wxGBSizerItem
, 
13256   _swigc__p_wxGIFHandler
, 
13257   _swigc__p_wxGridBagSizer
, 
13258   _swigc__p_wxGridSizer
, 
13259   _swigc__p_wxICOHandler
, 
13260   _swigc__p_wxIconizeEvent
, 
13261   _swigc__p_wxIdleEvent
, 
13263   _swigc__p_wxImageHandler
, 
13264   _swigc__p_wxIndividualLayoutConstraint
, 
13265   _swigc__p_wxInitDialogEvent
, 
13266   _swigc__p_wxJPEGHandler
, 
13267   _swigc__p_wxKeyEvent
, 
13268   _swigc__p_wxLayoutAlgorithm
, 
13269   _swigc__p_wxLayoutConstraints
, 
13270   _swigc__p_wxMDIChildFrame
, 
13271   _swigc__p_wxMDIClientWindow
, 
13272   _swigc__p_wxMDIParentFrame
, 
13273   _swigc__p_wxMaximizeEvent
, 
13275   _swigc__p_wxMenuBar
, 
13276   _swigc__p_wxMenuEvent
, 
13277   _swigc__p_wxMenuItem
, 
13278   _swigc__p_wxMessageDialog
, 
13279   _swigc__p_wxMiniFrame
, 
13280   _swigc__p_wxMouseCaptureChangedEvent
, 
13281   _swigc__p_wxMouseCaptureLostEvent
, 
13282   _swigc__p_wxMouseEvent
, 
13283   _swigc__p_wxMoveEvent
, 
13284   _swigc__p_wxMultiChoiceDialog
, 
13285   _swigc__p_wxNavigationKeyEvent
, 
13286   _swigc__p_wxNcPaintEvent
, 
13287   _swigc__p_wxNotifyEvent
, 
13288   _swigc__p_wxNumberEntryDialog
, 
13289   _swigc__p_wxObject
, 
13290   _swigc__p_wxPCXHandler
, 
13291   _swigc__p_wxPNGHandler
, 
13292   _swigc__p_wxPNMHandler
, 
13293   _swigc__p_wxPageSetupDialog
, 
13294   _swigc__p_wxPageSetupDialogData
, 
13295   _swigc__p_wxPaintEvent
, 
13296   _swigc__p_wxPaletteChangedEvent
, 
13298   _swigc__p_wxPaperSize
, 
13299   _swigc__p_wxPasswordEntryDialog
, 
13300   _swigc__p_wxPopupWindow
, 
13301   _swigc__p_wxPreviewCanvas
, 
13302   _swigc__p_wxPreviewControlBar
, 
13303   _swigc__p_wxPreviewFrame
, 
13304   _swigc__p_wxPrintData
, 
13305   _swigc__p_wxPrintDialog
, 
13306   _swigc__p_wxPrintDialogData
, 
13307   _swigc__p_wxPrintPreview
, 
13308   _swigc__p_wxPrinter
, 
13309   _swigc__p_wxProgressDialog
, 
13311   _swigc__p_wxPyCommandEvent
, 
13312   _swigc__p_wxPyEvent
, 
13313   _swigc__p_wxPyHtmlListBox
, 
13314   _swigc__p_wxPyImageHandler
, 
13315   _swigc__p_wxPyPanel
, 
13316   _swigc__p_wxPyPopupTransientWindow
, 
13317   _swigc__p_wxPyPreviewControlBar
, 
13318   _swigc__p_wxPyPreviewFrame
, 
13319   _swigc__p_wxPyPrintPreview
, 
13320   _swigc__p_wxPyPrintout
, 
13321   _swigc__p_wxPyScrolledWindow
, 
13322   _swigc__p_wxPySizer
, 
13323   _swigc__p_wxPyTaskBarIcon
, 
13324   _swigc__p_wxPyVListBox
, 
13325   _swigc__p_wxPyVScrolledWindow
, 
13326   _swigc__p_wxPyValidator
, 
13327   _swigc__p_wxPyWindow
, 
13328   _swigc__p_wxQueryLayoutInfoEvent
, 
13329   _swigc__p_wxQueryNewPaletteEvent
, 
13330   _swigc__p_wxRichTextAttr
, 
13331   _swigc__p_wxRichTextBuffer
, 
13332   _swigc__p_wxRichTextCtrl
, 
13333   _swigc__p_wxRichTextEvent
, 
13334   _swigc__p_wxRichTextImageBlock
, 
13335   _swigc__p_wxRichTextRange
, 
13336   _swigc__p_wxRichTextStyleSheet
, 
13337   _swigc__p_wxSashEvent
, 
13338   _swigc__p_wxSashLayoutWindow
, 
13339   _swigc__p_wxSashWindow
, 
13340   _swigc__p_wxScrollEvent
, 
13341   _swigc__p_wxScrollWinEvent
, 
13342   _swigc__p_wxScrolledWindow
, 
13343   _swigc__p_wxSetCursorEvent
, 
13344   _swigc__p_wxShowEvent
, 
13345   _swigc__p_wxSingleChoiceDialog
, 
13346   _swigc__p_wxSizeEvent
, 
13348   _swigc__p_wxSizerItem
, 
13349   _swigc__p_wxSplashScreen
, 
13350   _swigc__p_wxSplashScreenWindow
, 
13351   _swigc__p_wxSplitterEvent
, 
13352   _swigc__p_wxSplitterWindow
, 
13353   _swigc__p_wxStaticBoxSizer
, 
13354   _swigc__p_wxStatusBar
, 
13355   _swigc__p_wxStdDialogButtonSizer
, 
13356   _swigc__p_wxSysColourChangedEvent
, 
13357   _swigc__p_wxTIFFHandler
, 
13358   _swigc__p_wxTaskBarIconEvent
, 
13359   _swigc__p_wxTextCoord
, 
13360   _swigc__p_wxTextCtrlHitTestResult
, 
13361   _swigc__p_wxTextEntryDialog
, 
13362   _swigc__p_wxTipWindow
, 
13363   _swigc__p_wxTopLevelWindow
, 
13364   _swigc__p_wxUpdateUIEvent
, 
13365   _swigc__p_wxValidator
, 
13366   _swigc__p_wxWindow
, 
13367   _swigc__p_wxWindowCreateEvent
, 
13368   _swigc__p_wxWindowDestroyEvent
, 
13369   _swigc__p_wxXPMHandler
, 
13373 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
13375 static swig_const_info swig_const_table
[] = { 
13376 {0, 0, 0, 0.0, 0, 0}}; 
13381 /* ----------------------------------------------------------------------------- 
13382  * Type initialization: 
13383  * This problem is tough by the requirement that no dynamic  
13384  * memory is used. Also, since swig_type_info structures store pointers to  
13385  * swig_cast_info structures and swig_cast_info structures store pointers back 
13386  * to swig_type_info structures, we need some lookup code at initialization.  
13387  * The idea is that swig generates all the structures that are needed.  
13388  * The runtime then collects these partially filled structures.  
13389  * The SWIG_InitializeModule function takes these initial arrays out of  
13390  * swig_module, and does all the lookup, filling in the swig_module.types 
13391  * array with the correct data and linking the correct swig_cast_info 
13392  * structures together. 
13394  * The generated swig_type_info structures are assigned staticly to an initial  
13395  * array. We just loop though that array, and handle each type individually. 
13396  * First we lookup if this type has been already loaded, and if so, use the 
13397  * loaded structure instead of the generated one. Then we have to fill in the 
13398  * cast linked list. The cast data is initially stored in something like a 
13399  * two-dimensional array. Each row corresponds to a type (there are the same 
13400  * number of rows as there are in the swig_type_initial array). Each entry in 
13401  * a column is one of the swig_cast_info structures for that type. 
13402  * The cast_initial array is actually an array of arrays, because each row has 
13403  * a variable number of columns. So to actually build the cast linked list, 
13404  * we find the array of casts associated with the type, and loop through it  
13405  * adding the casts to the list. The one last trick we need to do is making 
13406  * sure the type pointer in the swig_cast_info struct is correct. 
13408  * First off, we lookup the cast->type name to see if it is already loaded.  
13409  * There are three cases to handle: 
13410  *  1) If the cast->type has already been loaded AND the type we are adding 
13411  *     casting info to has not been loaded (it is in this module), THEN we 
13412  *     replace the cast->type pointer with the type pointer that has already 
13414  *  2) If BOTH types (the one we are adding casting info to, and the  
13415  *     cast->type) are loaded, THEN the cast info has already been loaded by 
13416  *     the previous module so we just ignore it. 
13417  *  3) Finally, if cast->type has not already been loaded, then we add that 
13418  *     swig_cast_info to the linked list (because the cast->type) pointer will 
13420  * ----------------------------------------------------------------------------- */ 
13430 #define SWIGRUNTIME_DEBUG 
13434 SWIG_InitializeModule(void *clientdata
) { 
13436   swig_module_info 
*module_head
; 
13437   static int init_run 
= 0; 
13439   clientdata 
= clientdata
; 
13441   if (init_run
) return; 
13444   /* Initialize the swig_module */ 
13445   swig_module
.type_initial 
= swig_type_initial
; 
13446   swig_module
.cast_initial 
= swig_cast_initial
; 
13448   /* Try and load any already created modules */ 
13449   module_head 
= SWIG_GetModule(clientdata
); 
13451     swig_module
.next 
= module_head
->next
; 
13452     module_head
->next 
= &swig_module
; 
13454     /* This is the first module loaded */ 
13455     swig_module
.next 
= &swig_module
; 
13456     SWIG_SetModule(clientdata
, &swig_module
); 
13459   /* Now work on filling in swig_module.types */ 
13460 #ifdef SWIGRUNTIME_DEBUG 
13461   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
13463   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13464     swig_type_info 
*type 
= 0; 
13465     swig_type_info 
*ret
; 
13466     swig_cast_info 
*cast
; 
13468 #ifdef SWIGRUNTIME_DEBUG 
13469     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13472     /* if there is another module already loaded */ 
13473     if (swig_module
.next 
!= &swig_module
) { 
13474       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
13477       /* Overwrite clientdata field */ 
13478 #ifdef SWIGRUNTIME_DEBUG 
13479       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
13481       if (swig_module
.type_initial
[i
]->clientdata
) { 
13482         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
13483 #ifdef SWIGRUNTIME_DEBUG 
13484         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
13488       type 
= swig_module
.type_initial
[i
]; 
13491     /* Insert casting types */ 
13492     cast 
= swig_module
.cast_initial
[i
]; 
13493     while (cast
->type
) { 
13494       /* Don't need to add information already in the list */ 
13496 #ifdef SWIGRUNTIME_DEBUG 
13497       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
13499       if (swig_module
.next 
!= &swig_module
) { 
13500         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
13501 #ifdef SWIGRUNTIME_DEBUG 
13502         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
13506         if (type 
== swig_module
.type_initial
[i
]) { 
13507 #ifdef SWIGRUNTIME_DEBUG 
13508           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
13513           /* Check for casting already in the list */ 
13514           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
13515 #ifdef SWIGRUNTIME_DEBUG 
13516           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
13518           if (!ocast
) ret 
= 0; 
13523 #ifdef SWIGRUNTIME_DEBUG 
13524         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
13527           type
->cast
->prev 
= cast
; 
13528           cast
->next 
= type
->cast
; 
13534     /* Set entry in modules->types array equal to the type */ 
13535     swig_module
.types
[i
] = type
; 
13537   swig_module
.types
[i
] = 0; 
13539 #ifdef SWIGRUNTIME_DEBUG 
13540   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13541   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13543     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
13544     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13545     while (cast
->type
) { 
13546       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
13550     printf("---- Total casts: %d\n",j
); 
13552   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13556 /* This function will propagate the clientdata field of type to 
13557 * any new swig_type_info structures that have been added into the list 
13558 * of equivalent types.  It is like calling 
13559 * SWIG_TypeClientData(type, clientdata) a second time. 
13562 SWIG_PropagateClientData(void) { 
13564   swig_cast_info 
*equiv
; 
13565   static int init_run 
= 0; 
13567   if (init_run
) return; 
13570   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
13571     if (swig_module
.types
[i
]->clientdata
) { 
13572       equiv 
= swig_module
.types
[i
]->cast
; 
13574         if (!equiv
->converter
) { 
13575           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
13576           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
13578         equiv 
= equiv
->next
; 
13598   /* Python-specific SWIG API */ 
13599 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
13600 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
13601 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
13603   /* ----------------------------------------------------------------------------- 
13604    * global variable support code. 
13605    * ----------------------------------------------------------------------------- */ 
13607   typedef struct swig_globalvar 
{ 
13608     char       *name
;                  /* Name of global variable */ 
13609     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
13610     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
13611     struct swig_globalvar 
*next
; 
13614   typedef struct swig_varlinkobject 
{ 
13616     swig_globalvar 
*vars
; 
13617   } swig_varlinkobject
; 
13619   SWIGINTERN PyObject 
* 
13620   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
13621     return PyString_FromString("<Swig global variables>"); 
13624   SWIGINTERN PyObject 
* 
13625   swig_varlink_str(swig_varlinkobject 
*v
) { 
13626     PyObject 
*str 
= PyString_FromString("("); 
13627     swig_globalvar  
*var
; 
13628     for (var 
= v
->vars
; var
; var
=var
->next
) { 
13629       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
13630       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
13632     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
13637   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
13638     PyObject 
*str 
= swig_varlink_str(v
); 
13639     fprintf(fp
,"Swig global variables "); 
13640     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
13646   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
13647     swig_globalvar 
*var 
= v
->vars
; 
13649       swig_globalvar 
*n 
= var
->next
; 
13656   SWIGINTERN PyObject 
* 
13657   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
13658     PyObject 
*res 
= NULL
; 
13659     swig_globalvar 
*var 
= v
->vars
; 
13661       if (strcmp(var
->name
,n
) == 0) { 
13662         res 
= (*var
->get_attr
)(); 
13667     if (res 
== NULL 
&& !PyErr_Occurred()) { 
13668       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
13674   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
13676     swig_globalvar 
*var 
= v
->vars
; 
13678       if (strcmp(var
->name
,n
) == 0) { 
13679         res 
= (*var
->set_attr
)(p
); 
13684     if (res 
== 1 && !PyErr_Occurred()) { 
13685       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
13690   SWIGINTERN PyTypeObject
* 
13691   swig_varlink_type(void) { 
13692     static char varlink__doc__
[] = "Swig var link object"; 
13693     static PyTypeObject varlink_type
; 
13694     static int type_init 
= 0;   
13696       const PyTypeObject tmp
 
13698         PyObject_HEAD_INIT(NULL
) 
13699         0,                                  /* Number of items in variable part (ob_size) */ 
13700         (char *)"swigvarlink",              /* Type name (tp_name) */ 
13701         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
13702         0,                                  /* Itemsize (tp_itemsize) */ 
13703         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
13704         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
13705         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
13706         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
13707         0,                                  /* tp_compare */ 
13708         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
13709         0,                                  /* tp_as_number */ 
13710         0,                                  /* tp_as_sequence */ 
13711         0,                                  /* tp_as_mapping */ 
13714         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
13715         0,                                  /* tp_getattro */ 
13716         0,                                  /* tp_setattro */ 
13717         0,                                  /* tp_as_buffer */ 
13719         varlink__doc__
,                     /* tp_doc */ 
13720         0,                                  /* tp_traverse */ 
13722         0,                                  /* tp_richcompare */ 
13723         0,                                  /* tp_weaklistoffset */ 
13724 #if PY_VERSION_HEX >= 0x02020000 
13725         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
13727 #if PY_VERSION_HEX >= 0x02030000 
13730 #ifdef COUNT_ALLOCS 
13731         0,0,0,0                             /* tp_alloc -> tp_next */ 
13734       varlink_type 
= tmp
; 
13735       varlink_type
.ob_type 
= &PyType_Type
; 
13738     return &varlink_type
; 
13741   /* Create a variable linking object for use later */ 
13742   SWIGINTERN PyObject 
* 
13743   SWIG_Python_newvarlink(void) { 
13744     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
13748     return ((PyObject
*) result
); 
13752   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
13753     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
13754     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
13756       size_t size 
= strlen(name
)+1; 
13757       gv
->name 
= (char *)malloc(size
); 
13759         strncpy(gv
->name
,name
,size
); 
13760         gv
->get_attr 
= get_attr
; 
13761         gv
->set_attr 
= set_attr
; 
13762         gv
->next 
= v
->vars
; 
13768   SWIGINTERN PyObject 
* 
13770     static PyObject 
*_SWIG_globals 
= 0;  
13771     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
13772     return _SWIG_globals
; 
13775   /* ----------------------------------------------------------------------------- 
13776    * constants/methods manipulation 
13777    * ----------------------------------------------------------------------------- */ 
13779   /* Install Constants */ 
13781   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
13784     for (i 
= 0; constants
[i
].type
; ++i
) { 
13785       switch(constants
[i
].type
) { 
13786       case SWIG_PY_POINTER
: 
13787         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
13789       case SWIG_PY_BINARY
: 
13790         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
13797         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
13803   /* -----------------------------------------------------------------------------*/ 
13804   /* Fix SwigMethods to carry the callback ptrs when needed */ 
13805   /* -----------------------------------------------------------------------------*/ 
13808   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
13809     swig_const_info 
*const_table
, 
13810     swig_type_info 
**types
, 
13811     swig_type_info 
**types_initial
) { 
13813     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
13814       const char *c 
= methods
[i
].ml_doc
; 
13815       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
13817         swig_const_info 
*ci 
= 0; 
13818         const char *name 
= c 
+ 10; 
13819         for (j 
= 0; const_table
[j
].type
; ++j
) { 
13820           if (strncmp(const_table
[j
].name
, name
,  
13821               strlen(const_table
[j
].name
)) == 0) { 
13822             ci 
= &(const_table
[j
]); 
13827           size_t shift 
= (ci
->ptype
) - types
; 
13828           swig_type_info 
*ty 
= types_initial
[shift
]; 
13829           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
13830           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
13831           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
13834             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
13836               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
13838               strncpy(buff
, "swig_ptr: ", 10); 
13840               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
13841               methods
[i
].ml_doc 
= ndoc
; 
13853 /* -----------------------------------------------------------------------------* 
13854  *  Partial Init method 
13855  * -----------------------------------------------------------------------------*/ 
13860 SWIGEXPORT 
void SWIG_init(void) { 
13863   /* Fix SwigMethods to carry the callback ptrs when needed */ 
13864   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
13866   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
13867   d 
= PyModule_GetDict(m
); 
13869   SWIG_InitializeModule(0); 
13870   SWIG_InstallConstants(d
,swig_const_table
); 
13873   SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0))); 
13874   SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
))); 
13875   SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
))); 
13876   SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
))); 
13877   SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
))); 
13878   SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
))); 
13879   SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
))); 
13880   SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
))); 
13881   SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
))); 
13882   SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
))); 
13883   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
))); 
13884   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
))); 
13885   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
))); 
13886   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
))); 
13887   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
))); 
13888   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
))); 
13889   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
))); 
13890   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
))); 
13891   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
))); 
13892   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
))); 
13893   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
))); 
13894   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
))); 
13895   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
))); 
13896   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
))); 
13897   SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
))); 
13898   SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
))); 
13899   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
))); 
13900   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
))); 
13901   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
))); 
13902   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
))); 
13903   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
))); 
13904   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
))); 
13905   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
))); 
13906   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
))); 
13907   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
))); 
13908   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
))); 
13909   SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
))); 
13910   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
))); 
13911   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
))); 
13912   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
))); 
13913   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
))); 
13914   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
))); 
13915   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
))); 
13916   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
))); 
13917   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
))); 
13918   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
))); 
13919   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
))); 
13920   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
))); 
13921   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
))); 
13922   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
))); 
13923   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
))); 
13924   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
))); 
13925   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
))); 
13926   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
))); 
13927   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
))); 
13928   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
))); 
13929   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
))); 
13930   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
))); 
13931   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
))); 
13932   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
))); 
13933   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
))); 
13934   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
))); 
13935   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
))); 
13936   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
))); 
13937   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
))); 
13938   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
13939   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
); 
13940   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
); 
13941   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
))); 
13942   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
))); 
13943   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
))); 
13944   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
)); 
13945   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
)); 
13946   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
)); 
13947   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
)); 
13948   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
)); 
13949   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
)); 
13950   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));