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_wxMouseEvent swig_types[74] 
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[75] 
2542 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76] 
2543 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77] 
2544 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78] 
2545 #define SWIGTYPE_p_wxNotifyEvent swig_types[79] 
2546 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[80] 
2547 #define SWIGTYPE_p_wxObject swig_types[81] 
2548 #define SWIGTYPE_p_wxPCXHandler swig_types[82] 
2549 #define SWIGTYPE_p_wxPNGHandler swig_types[83] 
2550 #define SWIGTYPE_p_wxPNMHandler swig_types[84] 
2551 #define SWIGTYPE_p_wxPageSetupDialog swig_types[85] 
2552 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[86] 
2553 #define SWIGTYPE_p_wxPaintEvent swig_types[87] 
2554 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88] 
2555 #define SWIGTYPE_p_wxPanel swig_types[89] 
2556 #define SWIGTYPE_p_wxPaperSize swig_types[90] 
2557 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[91] 
2558 #define SWIGTYPE_p_wxPopupWindow swig_types[92] 
2559 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93] 
2560 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94] 
2561 #define SWIGTYPE_p_wxPreviewFrame swig_types[95] 
2562 #define SWIGTYPE_p_wxPrintData swig_types[96] 
2563 #define SWIGTYPE_p_wxPrintDialog swig_types[97] 
2564 #define SWIGTYPE_p_wxPrintDialogData swig_types[98] 
2565 #define SWIGTYPE_p_wxPrintPreview swig_types[99] 
2566 #define SWIGTYPE_p_wxPrinter swig_types[100] 
2567 #define SWIGTYPE_p_wxProgressDialog swig_types[101] 
2568 #define SWIGTYPE_p_wxPyApp swig_types[102] 
2569 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103] 
2570 #define SWIGTYPE_p_wxPyEvent swig_types[104] 
2571 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105] 
2572 #define SWIGTYPE_p_wxPyImageHandler swig_types[106] 
2573 #define SWIGTYPE_p_wxPyPanel swig_types[107] 
2574 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108] 
2575 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109] 
2576 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110] 
2577 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111] 
2578 #define SWIGTYPE_p_wxPyPrintout swig_types[112] 
2579 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113] 
2580 #define SWIGTYPE_p_wxPySizer swig_types[114] 
2581 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115] 
2582 #define SWIGTYPE_p_wxPyVListBox swig_types[116] 
2583 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117] 
2584 #define SWIGTYPE_p_wxPyValidator swig_types[118] 
2585 #define SWIGTYPE_p_wxPyWindow swig_types[119] 
2586 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120] 
2587 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121] 
2588 #define SWIGTYPE_p_wxRichTextAttr swig_types[122] 
2589 #define SWIGTYPE_p_wxRichTextBuffer swig_types[123] 
2590 #define SWIGTYPE_p_wxRichTextCtrl swig_types[124] 
2591 #define SWIGTYPE_p_wxRichTextEvent swig_types[125] 
2592 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[126] 
2593 #define SWIGTYPE_p_wxRichTextRange swig_types[127] 
2594 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[128] 
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129] 
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130] 
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131] 
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132] 
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133] 
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134] 
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135] 
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136] 
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137] 
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138] 
2605 #define SWIGTYPE_p_wxSizer swig_types[139] 
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140] 
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141] 
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142] 
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143] 
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144] 
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145] 
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146] 
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147] 
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148] 
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149] 
2616 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[150] 
2617 #define SWIGTYPE_p_wxTextCoord swig_types[151] 
2618 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[152] 
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153] 
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154] 
2621 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155] 
2622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156] 
2623 #define SWIGTYPE_p_wxValidator swig_types[157] 
2624 #define SWIGTYPE_p_wxWindow swig_types[158] 
2625 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[159] 
2626 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[160] 
2627 #define SWIGTYPE_p_wxXPMHandler swig_types[161] 
2628 static swig_type_info 
*swig_types
[163]; 
2629 static swig_module_info swig_module 
= {swig_types
, 162, 0, 0, 0, 0}; 
2630 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2631 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2633 /* -------- TYPES TABLE (END) -------- */ 
2635 #if (PY_VERSION_HEX <= 0x02000000) 
2636 # if !defined(SWIG_PYTHON_CLASSIC) 
2637 #  error "This python version requires to use swig with the '-classic' option" 
2640 #if (PY_VERSION_HEX <= 0x02020000) 
2641 # error "This python version requires to use swig with the '-nomodern' option" 
2643 #if (PY_VERSION_HEX <= 0x02020000) 
2644 # error "This python version requires to use swig with the '-nomodernargs' option" 
2647 # error "This python version requires to use swig with the '-nofastunpack' option" 
2650 /*----------------------------------------------- 
2651               @(target):= _richtext.so 
2652   ------------------------------------------------*/ 
2653 #define SWIG_init    init_richtext 
2655 #define SWIG_name    "_richtext" 
2657 #define SWIGVERSION 0x010329  
2660 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2661 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2664 #include <stdexcept> 
2668   class PyObject_ptr 
{ 
2673     PyObject_ptr() :_obj(0) 
2677     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2682     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2684       if (initial_ref
) Py_XINCREF(_obj
); 
2687     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2689       Py_XINCREF(item
._obj
); 
2700     operator PyObject 
*() const 
2705     PyObject 
*operator->() const 
2714   struct PyObject_var 
: PyObject_ptr 
{ 
2715     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2717     PyObject_var 
& operator = (PyObject
* obj
) 
2727 #include "wx/wxPython/wxPython.h" 
2728 #include "wx/wxPython/pyclasses.h" 
2729 #include "wx/wxPython/printfw.h" 
2730 #include "wx/wxPython/twoitem.h" 
2732 #include <wx/richtext/richtextctrl.h> 
2737 class wxBufferedPaintDC
; 
2744   #define SWIG_From_long   PyInt_FromLong  
2747 SWIGINTERNINLINE PyObject 
* 
2748 SWIG_From_int  (int value
) 
2750   return SWIG_From_long  (value
); 
2753  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2756 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
) 
2758     if (source 
== Py_None
) { 
2759         **obj 
= wxRICHTEXT_NONE
; 
2762     return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange")); 
2767 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2769     if (PyNumber_Check(obj
)) { 
2770         if (val
) *val 
= PyInt_AsLong(obj
); 
2773     return SWIG_TypeError
; 
2776 SWIGINTERN 
bool wxRichTextRange___eq__(wxRichTextRange 
*self
,PyObject 
*other
){ 
2777             wxRichTextRange  temp
, *obj 
= &temp
; 
2778             if ( other 
== Py_None 
) return false; 
2779             if ( ! wxRichTextRange_helper(other
, &obj
) ) { 
2783             return self
->operator==(*obj
); 
2785 SWIGINTERN PyObject 
*wxRichTextRange_Get(wxRichTextRange 
*self
){ 
2786             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2787             PyObject
* tup 
= PyTuple_New(2); 
2788             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart())); 
2789             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd())); 
2790             wxPyEndBlockThreads(blocked
); 
2794     wxRichTextRange 
wxPy_RTR_ALL(wxRICHTEXT_ALL
); 
2795     wxRichTextRange 
wxPy_RTR_NONE(wxRICHTEXT_NONE
); 
2800 # define LLONG_MIN      LONG_LONG_MIN 
2803 # define LLONG_MAX      LONG_LONG_MAX 
2806 # define ULLONG_MAX     ULONG_LONG_MAX 
2811 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2814   int res 
= SWIG_AsVal_long (obj
, &v
); 
2815   if (SWIG_IsOK(res
)) { 
2816     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2817       return SWIG_OverflowError
; 
2819       if (val
) *val 
= static_cast< int >(v
); 
2827 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2829   if (obj 
== Py_True
) { 
2830     if (val
) *val 
= true; 
2832   } else if (obj 
== Py_False
) { 
2833     if (val
) *val 
= false; 
2837     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2838     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2848     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2849         return SWIG_TypeError
; 
2852         *val 
= (unsigned long)v
; 
2857 SWIGINTERN swig_type_info
* 
2858 SWIG_pchar_descriptor() 
2860   static int init 
= 0; 
2861   static swig_type_info
* info 
= 0; 
2863     info 
= SWIG_TypeQuery("_p_char"); 
2871 SWIG_AsCharPtrAndSize(PyObject 
*obj
, char** cptr
, size_t* psize
, int *alloc
) 
2873   if (PyString_Check(obj
)) { 
2874     char *cstr
; Py_ssize_t len
; 
2875     PyString_AsStringAndSize(obj
, &cstr
, &len
); 
2879            In python the user should not be able to modify the inner 
2880            string representation. To warranty that, if you define 
2881            SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string 
2882            buffer is always returned. 
2884            The default behavior is just to return the pointer value, 
2887 #if defined(SWIG_PYTHON_SAFE_CSTRINGS) 
2888         if (*alloc 
!= SWIG_OLDOBJ
)  
2890         if (*alloc 
== SWIG_NEWOBJ
)  
2893             *cptr 
= reinterpret_cast< char* >(memcpy((new char[len 
+ 1]), cstr
, sizeof(char)*(len 
+ 1))); 
2894             *alloc 
= SWIG_NEWOBJ
; 
2898           *alloc 
= SWIG_OLDOBJ
; 
2901         *cptr 
= PyString_AsString(obj
); 
2904     if (psize
) *psize 
= len 
+ 1; 
2907     swig_type_info
* pchar_descriptor 
= SWIG_pchar_descriptor(); 
2908     if (pchar_descriptor
) { 
2910       if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) { 
2911         if (cptr
) *cptr 
= (char *) vptr
; 
2912         if (psize
) *psize 
= vptr 
? (strlen((char *)vptr
) + 1) : 0; 
2913         if (alloc
) *alloc 
= SWIG_OLDOBJ
; 
2918   return SWIG_TypeError
; 
2923 SWIG_AsCharArray(PyObject 
* obj
, char *val
, size_t size
) 
2925   char* cptr 
= 0; size_t csize 
= 0; int alloc 
= SWIG_OLDOBJ
; 
2926   int res 
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
); 
2927   if (SWIG_IsOK(res
)) { 
2928     if ((csize 
== size 
+ 1) && cptr 
&& !(cptr
[csize
-1])) --csize
; 
2929     if (csize 
<= size
) { 
2931         if (csize
) memcpy(val
, cptr
, csize
*sizeof(char)); 
2932         if (csize 
< size
) memset(val 
+ csize
, 0, (size 
- csize
)*sizeof(char)); 
2934       if (alloc 
== SWIG_NEWOBJ
) { 
2936         res 
= SWIG_DelNewMask(res
); 
2940     if (alloc 
== SWIG_NEWOBJ
) delete[] cptr
; 
2942   return SWIG_TypeError
; 
2947 SWIG_AsVal_char (PyObject 
* obj
, char *val
) 
2949   int res 
= SWIG_AsCharArray(obj
, val
, 1); 
2950   if (!SWIG_IsOK(res
)) { 
2952     res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
)); 
2953     if (SWIG_IsOK(res
)) { 
2954       if ((CHAR_MIN 
<= v
) && (v 
<= CHAR_MAX
)) { 
2955         if (val
) *val 
= static_cast< char >(v
); 
2957         res 
= SWIG_OverflowError
; 
2967 SWIGINTERN PyObject 
*_wrap_new_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
2968   PyObject 
*resultobj 
= 0; 
2969   long arg1 
= (long) 0 ; 
2970   long arg2 
= (long) 0 ; 
2971   wxRichTextRange 
*result 
= 0 ; 
2976   PyObject 
* obj0 
= 0 ; 
2977   PyObject 
* obj1 
= 0 ; 
2978   char *  kwnames
[] = { 
2979     (char *) "start",(char *) "end", NULL 
 
2982   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
2984     ecode1 
= SWIG_AsVal_long(obj0
, &val1
); 
2985     if (!SWIG_IsOK(ecode1
)) { 
2986       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'"); 
2988     arg1 
= static_cast< long >(val1
); 
2991     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
2992     if (!SWIG_IsOK(ecode2
)) { 
2993       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'"); 
2995     arg2 
= static_cast< long >(val2
); 
2998     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2999     result 
= (wxRichTextRange 
*)new wxRichTextRange(arg1
,arg2
); 
3000     wxPyEndAllowThreads(__tstate
); 
3001     if (PyErr_Occurred()) SWIG_fail
; 
3003   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW 
|  0 ); 
3010 SWIGINTERN PyObject 
*_wrap_delete_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3011   PyObject 
*resultobj 
= 0; 
3012   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3015   PyObject 
*swig_obj
[1] ; 
3017   if (!args
) SWIG_fail
; 
3019   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN 
|  0 ); 
3020   if (!SWIG_IsOK(res1
)) { 
3021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3023   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3028     wxPyEndAllowThreads(__tstate
); 
3029     if (PyErr_Occurred()) SWIG_fail
; 
3031   resultobj 
= SWIG_Py_Void(); 
3038 SWIGINTERN PyObject 
*_wrap_RichTextRange___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3039   PyObject 
*resultobj 
= 0; 
3040   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3041   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3045   PyObject 
* obj0 
= 0 ; 
3046   PyObject 
* obj1 
= 0 ; 
3047   char *  kwnames
[] = { 
3048     (char *) "self",(char *) "other", NULL 
 
3051   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3052   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3053   if (!SWIG_IsOK(res1
)) { 
3054     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3056   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3059     result 
= (bool)wxRichTextRange___eq__(arg1
,arg2
); 
3060     if (PyErr_Occurred()) SWIG_fail
; 
3063     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3071 SWIGINTERN PyObject 
*_wrap_RichTextRange___sub__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3072   PyObject 
*resultobj 
= 0; 
3073   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3074   wxRichTextRange 
*arg2 
= 0 ; 
3075   wxRichTextRange result
; 
3078   wxRichTextRange temp2 
; 
3079   PyObject 
* obj0 
= 0 ; 
3080   PyObject 
* obj1 
= 0 ; 
3081   char *  kwnames
[] = { 
3082     (char *) "self",(char *) "range", NULL 
 
3085   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3086   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3087   if (!SWIG_IsOK(res1
)) { 
3088     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3090   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3093     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3096     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3097     result 
= ((wxRichTextRange 
const *)arg1
)->operator -((wxRichTextRange 
const &)*arg2
); 
3098     wxPyEndAllowThreads(__tstate
); 
3099     if (PyErr_Occurred()) SWIG_fail
; 
3101   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3108 SWIGINTERN PyObject 
*_wrap_RichTextRange___add__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3109   PyObject 
*resultobj 
= 0; 
3110   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3111   wxRichTextRange 
*arg2 
= 0 ; 
3112   wxRichTextRange result
; 
3115   wxRichTextRange temp2 
; 
3116   PyObject 
* obj0 
= 0 ; 
3117   PyObject 
* obj1 
= 0 ; 
3118   char *  kwnames
[] = { 
3119     (char *) "self",(char *) "range", NULL 
 
3122   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3123   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3124   if (!SWIG_IsOK(res1
)) { 
3125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3127   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3130     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3133     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3134     result 
= ((wxRichTextRange 
const *)arg1
)->operator +((wxRichTextRange 
const &)*arg2
); 
3135     wxPyEndAllowThreads(__tstate
); 
3136     if (PyErr_Occurred()) SWIG_fail
; 
3138   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3145 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3146   PyObject 
*resultobj 
= 0; 
3147   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3156   PyObject 
* obj0 
= 0 ; 
3157   PyObject 
* obj1 
= 0 ; 
3158   PyObject 
* obj2 
= 0 ; 
3159   char *  kwnames
[] = { 
3160     (char *) "self",(char *) "start",(char *) "end", NULL 
 
3163   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3164   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3165   if (!SWIG_IsOK(res1
)) { 
3166     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3168   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3169   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3170   if (!SWIG_IsOK(ecode2
)) { 
3171     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'"); 
3173   arg2 
= static_cast< long >(val2
); 
3174   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
3175   if (!SWIG_IsOK(ecode3
)) { 
3176     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'"); 
3178   arg3 
= static_cast< long >(val3
); 
3180     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3181     (arg1
)->SetRange(arg2
,arg3
); 
3182     wxPyEndAllowThreads(__tstate
); 
3183     if (PyErr_Occurred()) SWIG_fail
; 
3185   resultobj 
= SWIG_Py_Void(); 
3192 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3193   PyObject 
*resultobj 
= 0; 
3194   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3200   PyObject 
* obj0 
= 0 ; 
3201   PyObject 
* obj1 
= 0 ; 
3202   char *  kwnames
[] = { 
3203     (char *) "self",(char *) "start", NULL 
 
3206   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3207   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3208   if (!SWIG_IsOK(res1
)) { 
3209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3211   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3212   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3213   if (!SWIG_IsOK(ecode2
)) { 
3214     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'"); 
3216   arg2 
= static_cast< long >(val2
); 
3218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3219     (arg1
)->SetStart(arg2
); 
3220     wxPyEndAllowThreads(__tstate
); 
3221     if (PyErr_Occurred()) SWIG_fail
; 
3223   resultobj 
= SWIG_Py_Void(); 
3230 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3231   PyObject 
*resultobj 
= 0; 
3232   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3236   PyObject 
*swig_obj
[1] ; 
3238   if (!args
) SWIG_fail
; 
3240   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3241   if (!SWIG_IsOK(res1
)) { 
3242     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3244   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3246     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3247     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetStart(); 
3248     wxPyEndAllowThreads(__tstate
); 
3249     if (PyErr_Occurred()) SWIG_fail
; 
3251   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3258 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3259   PyObject 
*resultobj 
= 0; 
3260   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3266   PyObject 
* obj0 
= 0 ; 
3267   PyObject 
* obj1 
= 0 ; 
3268   char *  kwnames
[] = { 
3269     (char *) "self",(char *) "end", NULL 
 
3272   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3273   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3274   if (!SWIG_IsOK(res1
)) { 
3275     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3277   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3278   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3279   if (!SWIG_IsOK(ecode2
)) { 
3280     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'"); 
3282   arg2 
= static_cast< long >(val2
); 
3284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3285     (arg1
)->SetEnd(arg2
); 
3286     wxPyEndAllowThreads(__tstate
); 
3287     if (PyErr_Occurred()) SWIG_fail
; 
3289   resultobj 
= SWIG_Py_Void(); 
3296 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3297   PyObject 
*resultobj 
= 0; 
3298   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3302   PyObject 
*swig_obj
[1] ; 
3304   if (!args
) SWIG_fail
; 
3306   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3307   if (!SWIG_IsOK(res1
)) { 
3308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3310   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3313     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetEnd(); 
3314     wxPyEndAllowThreads(__tstate
); 
3315     if (PyErr_Occurred()) SWIG_fail
; 
3317   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3324 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsOutside(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3325   PyObject 
*resultobj 
= 0; 
3326   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3327   wxRichTextRange 
*arg2 
= 0 ; 
3331   wxRichTextRange temp2 
; 
3332   PyObject 
* obj0 
= 0 ; 
3333   PyObject 
* obj1 
= 0 ; 
3334   char *  kwnames
[] = { 
3335     (char *) "self",(char *) "range", NULL 
 
3338   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3339   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3340   if (!SWIG_IsOK(res1
)) { 
3341     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3343   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3346     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3349     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3350     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsOutside((wxRichTextRange 
const &)*arg2
); 
3351     wxPyEndAllowThreads(__tstate
); 
3352     if (PyErr_Occurred()) SWIG_fail
; 
3355     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3363 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsWithin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3364   PyObject 
*resultobj 
= 0; 
3365   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3366   wxRichTextRange 
*arg2 
= 0 ; 
3370   wxRichTextRange temp2 
; 
3371   PyObject 
* obj0 
= 0 ; 
3372   PyObject 
* obj1 
= 0 ; 
3373   char *  kwnames
[] = { 
3374     (char *) "self",(char *) "range", NULL 
 
3377   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3378   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3379   if (!SWIG_IsOK(res1
)) { 
3380     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3382   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3385     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3388     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3389     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsWithin((wxRichTextRange 
const &)*arg2
); 
3390     wxPyEndAllowThreads(__tstate
); 
3391     if (PyErr_Occurred()) SWIG_fail
; 
3394     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3402 SWIGINTERN PyObject 
*_wrap_RichTextRange_Contains(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3403   PyObject 
*resultobj 
= 0; 
3404   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3411   PyObject 
* obj0 
= 0 ; 
3412   PyObject 
* obj1 
= 0 ; 
3413   char *  kwnames
[] = { 
3414     (char *) "self",(char *) "pos", NULL 
 
3417   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3418   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3419   if (!SWIG_IsOK(res1
)) { 
3420     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3422   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3423   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3424   if (!SWIG_IsOK(ecode2
)) { 
3425     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'"); 
3427   arg2 
= static_cast< long >(val2
); 
3429     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3430     result 
= (bool)((wxRichTextRange 
const *)arg1
)->Contains(arg2
); 
3431     wxPyEndAllowThreads(__tstate
); 
3432     if (PyErr_Occurred()) SWIG_fail
; 
3435     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3443 SWIGINTERN PyObject 
*_wrap_RichTextRange_LimitTo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3444   PyObject 
*resultobj 
= 0; 
3445   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3446   wxRichTextRange 
*arg2 
= 0 ; 
3450   wxRichTextRange temp2 
; 
3451   PyObject 
* obj0 
= 0 ; 
3452   PyObject 
* obj1 
= 0 ; 
3453   char *  kwnames
[] = { 
3454     (char *) "self",(char *) "range", NULL 
 
3457   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3458   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3459   if (!SWIG_IsOK(res1
)) { 
3460     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3462   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3465     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3469     result 
= (bool)(arg1
)->LimitTo((wxRichTextRange 
const &)*arg2
); 
3470     wxPyEndAllowThreads(__tstate
); 
3471     if (PyErr_Occurred()) SWIG_fail
; 
3474     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3482 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3483   PyObject 
*resultobj 
= 0; 
3484   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3488   PyObject 
*swig_obj
[1] ; 
3490   if (!args
) SWIG_fail
; 
3492   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3493   if (!SWIG_IsOK(res1
)) { 
3494     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3496   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3498     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3499     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetLength(); 
3500     wxPyEndAllowThreads(__tstate
); 
3501     if (PyErr_Occurred()) SWIG_fail
; 
3503   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3510 SWIGINTERN PyObject 
*_wrap_RichTextRange_Swap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3511   PyObject 
*resultobj 
= 0; 
3512   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3515   PyObject 
*swig_obj
[1] ; 
3517   if (!args
) SWIG_fail
; 
3519   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3520   if (!SWIG_IsOK(res1
)) { 
3521     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3523   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3525     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3527     wxPyEndAllowThreads(__tstate
); 
3528     if (PyErr_Occurred()) SWIG_fail
; 
3530   resultobj 
= SWIG_Py_Void(); 
3537 SWIGINTERN PyObject 
*_wrap_RichTextRange_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3538   PyObject 
*resultobj 
= 0; 
3539   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3540   PyObject 
*result 
= 0 ; 
3543   PyObject 
*swig_obj
[1] ; 
3545   if (!args
) SWIG_fail
; 
3547   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3548   if (!SWIG_IsOK(res1
)) { 
3549     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3551   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3554     result 
= (PyObject 
*)wxRichTextRange_Get(arg1
); 
3555     wxPyEndAllowThreads(__tstate
); 
3556     if (PyErr_Occurred()) SWIG_fail
; 
3565 SWIGINTERN PyObject 
*RichTextRange_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3567   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3568   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
)); 
3569   return SWIG_Py_Void(); 
3572 SWIGINTERN PyObject 
*RichTextRange_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3573   return SWIG_Python_InitShadowInstance(args
); 
3576 SWIGINTERN 
int RICHTEXT_ALL_set(PyObject 
*) { 
3577   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only."); 
3582 SWIGINTERN PyObject 
*RICHTEXT_ALL_get(void) { 
3583   PyObject 
*pyobj 
= 0; 
3585   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3590 SWIGINTERN 
int RICHTEXT_NONE_set(PyObject 
*) { 
3591   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only."); 
3596 SWIGINTERN PyObject 
*RICHTEXT_NONE_get(void) { 
3597   PyObject 
*pyobj 
= 0; 
3599   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3604 SWIGINTERN PyObject 
*_wrap_new_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3605   PyObject 
*resultobj 
= 0; 
3606   wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
3607   wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
3608   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3609   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3610   wxTextAttrAlignment arg3 
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT 
; 
3611   wxRichTextAttr 
*result 
= 0 ; 
3616   PyObject 
* obj0 
= 0 ; 
3617   PyObject 
* obj1 
= 0 ; 
3618   PyObject 
* obj2 
= 0 ; 
3619   char *  kwnames
[] = { 
3620     (char *) "colText",(char *) "colBack",(char *) "alignment", NULL 
 
3623   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3627       if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3633       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3637     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3638     if (!SWIG_IsOK(ecode3
)) { 
3639       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'"); 
3641     arg3 
= static_cast< wxTextAttrAlignment 
>(val3
); 
3644     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3645     result 
= (wxRichTextAttr 
*)new wxRichTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
3646     wxPyEndAllowThreads(__tstate
); 
3647     if (PyErr_Occurred()) SWIG_fail
; 
3649   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW 
|  0 ); 
3656 SWIGINTERN PyObject 
*_wrap_delete_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3657   PyObject 
*resultobj 
= 0; 
3658   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3661   PyObject 
*swig_obj
[1] ; 
3663   if (!args
) SWIG_fail
; 
3665   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN 
|  0 ); 
3666   if (!SWIG_IsOK(res1
)) { 
3667     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3669   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3674     wxPyEndAllowThreads(__tstate
); 
3675     if (PyErr_Occurred()) SWIG_fail
; 
3677   resultobj 
= SWIG_Py_Void(); 
3684 SWIGINTERN PyObject 
*_wrap_RichTextAttr_CreateFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3685   PyObject 
*resultobj 
= 0; 
3686   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3690   PyObject 
*swig_obj
[1] ; 
3692   if (!args
) SWIG_fail
; 
3694   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3695   if (!SWIG_IsOK(res1
)) { 
3696     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
3698   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3701     result 
= ((wxRichTextAttr 
const *)arg1
)->CreateFont(); 
3702     wxPyEndAllowThreads(__tstate
); 
3703     if (PyErr_Occurred()) SWIG_fail
; 
3705   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
3712 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3713   PyObject 
*resultobj 
= 0; 
3714   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3721   PyObject 
* obj0 
= 0 ; 
3722   PyObject 
* obj1 
= 0 ; 
3723   char *  kwnames
[] = { 
3724     (char *) "self",(char *) "font", NULL 
 
3727   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3728   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3729   if (!SWIG_IsOK(res1
)) { 
3730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3732   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3733   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
3734   if (!SWIG_IsOK(res2
)) { 
3735     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3738     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3740   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
3742     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3743     result 
= (bool)(arg1
)->GetFontAttributes((wxFont 
const &)*arg2
); 
3744     wxPyEndAllowThreads(__tstate
); 
3745     if (PyErr_Occurred()) SWIG_fail
; 
3748     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3756 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3757   PyObject 
*resultobj 
= 0; 
3758   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3759   wxColour 
*arg2 
= 0 ; 
3763   PyObject 
* obj0 
= 0 ; 
3764   PyObject 
* obj1 
= 0 ; 
3765   char *  kwnames
[] = { 
3766     (char *) "self",(char *) "colText", NULL 
 
3769   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3770   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3771   if (!SWIG_IsOK(res1
)) { 
3772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3774   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3777     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3781     (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
3782     wxPyEndAllowThreads(__tstate
); 
3783     if (PyErr_Occurred()) SWIG_fail
; 
3785   resultobj 
= SWIG_Py_Void(); 
3792 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3793   PyObject 
*resultobj 
= 0; 
3794   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3795   wxColour 
*arg2 
= 0 ; 
3799   PyObject 
* obj0 
= 0 ; 
3800   PyObject 
* obj1 
= 0 ; 
3801   char *  kwnames
[] = { 
3802     (char *) "self",(char *) "colBack", NULL 
 
3805   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3806   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3807   if (!SWIG_IsOK(res1
)) { 
3808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3810   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3813     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3816     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3817     (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
3818     wxPyEndAllowThreads(__tstate
); 
3819     if (PyErr_Occurred()) SWIG_fail
; 
3821   resultobj 
= SWIG_Py_Void(); 
3828 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3829   PyObject 
*resultobj 
= 0; 
3830   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3831   wxTextAttrAlignment arg2 
; 
3836   PyObject 
* obj0 
= 0 ; 
3837   PyObject 
* obj1 
= 0 ; 
3838   char *  kwnames
[] = { 
3839     (char *) "self",(char *) "alignment", NULL 
 
3842   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3843   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3844   if (!SWIG_IsOK(res1
)) { 
3845     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3847   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3848   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3849   if (!SWIG_IsOK(ecode2
)) { 
3850     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
3852   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
3854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3855     (arg1
)->SetAlignment(arg2
); 
3856     wxPyEndAllowThreads(__tstate
); 
3857     if (PyErr_Occurred()) SWIG_fail
; 
3859   resultobj 
= SWIG_Py_Void(); 
3866 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3867   PyObject 
*resultobj 
= 0; 
3868   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3869   wxArrayInt 
*arg2 
= 0 ; 
3872   bool temp2 
= false ; 
3873   PyObject 
* obj0 
= 0 ; 
3874   PyObject 
* obj1 
= 0 ; 
3875   char *  kwnames
[] = { 
3876     (char *) "self",(char *) "tabs", NULL 
 
3879   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3880   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3881   if (!SWIG_IsOK(res1
)) { 
3882     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3884   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3886     if (! PySequence_Check(obj1
)) { 
3887       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
3890     arg2 
= new wxArrayInt
; 
3892     int i
, len
=PySequence_Length(obj1
); 
3893     for (i
=0; i
<len
; i
++) { 
3894       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
3895       PyObject
* number  
= PyNumber_Int(item
); 
3896       arg2
->Add(PyInt_AS_LONG(number
)); 
3902     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3903     (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
3904     wxPyEndAllowThreads(__tstate
); 
3905     if (PyErr_Occurred()) SWIG_fail
; 
3907   resultobj 
= SWIG_Py_Void(); 
3909     if (temp2
) delete arg2
; 
3914     if (temp2
) delete arg2
; 
3920 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3921   PyObject 
*resultobj 
= 0; 
3922   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3924   int arg3 
= (int) 0 ; 
3931   PyObject 
* obj0 
= 0 ; 
3932   PyObject 
* obj1 
= 0 ; 
3933   PyObject 
* obj2 
= 0 ; 
3934   char *  kwnames
[] = { 
3935     (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
 
3938   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3939   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3940   if (!SWIG_IsOK(res1
)) { 
3941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3943   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3944   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3945   if (!SWIG_IsOK(ecode2
)) { 
3946     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
3948   arg2 
= static_cast< int >(val2
); 
3950     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3951     if (!SWIG_IsOK(ecode3
)) { 
3952       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
3954     arg3 
= static_cast< int >(val3
); 
3957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3958     (arg1
)->SetLeftIndent(arg2
,arg3
); 
3959     wxPyEndAllowThreads(__tstate
); 
3960     if (PyErr_Occurred()) SWIG_fail
; 
3962   resultobj 
= SWIG_Py_Void(); 
3969 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3970   PyObject 
*resultobj 
= 0; 
3971   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3977   PyObject 
* obj0 
= 0 ; 
3978   PyObject 
* obj1 
= 0 ; 
3979   char *  kwnames
[] = { 
3980     (char *) "self",(char *) "indent", NULL 
 
3983   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3984   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3985   if (!SWIG_IsOK(res1
)) { 
3986     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3988   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3989   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3990   if (!SWIG_IsOK(ecode2
)) { 
3991     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'"); 
3993   arg2 
= static_cast< int >(val2
); 
3995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3996     (arg1
)->SetRightIndent(arg2
); 
3997     wxPyEndAllowThreads(__tstate
); 
3998     if (PyErr_Occurred()) SWIG_fail
; 
4000   resultobj 
= SWIG_Py_Void(); 
4007 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4008   PyObject 
*resultobj 
= 0; 
4009   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4015   PyObject 
* obj0 
= 0 ; 
4016   PyObject 
* obj1 
= 0 ; 
4017   char *  kwnames
[] = { 
4018     (char *) "self",(char *) "pointSize", NULL 
 
4021   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4022   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4023   if (!SWIG_IsOK(res1
)) { 
4024     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4026   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4027   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4028   if (!SWIG_IsOK(ecode2
)) { 
4029     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'"); 
4031   arg2 
= static_cast< int >(val2
); 
4033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4034     (arg1
)->SetFontSize(arg2
); 
4035     wxPyEndAllowThreads(__tstate
); 
4036     if (PyErr_Occurred()) SWIG_fail
; 
4038   resultobj 
= SWIG_Py_Void(); 
4045 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4046   PyObject 
*resultobj 
= 0; 
4047   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4053   PyObject 
* obj0 
= 0 ; 
4054   PyObject 
* obj1 
= 0 ; 
4055   char *  kwnames
[] = { 
4056     (char *) "self",(char *) "fontStyle", NULL 
 
4059   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4060   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4061   if (!SWIG_IsOK(res1
)) { 
4062     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4064   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4065   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4066   if (!SWIG_IsOK(ecode2
)) { 
4067     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'"); 
4069   arg2 
= static_cast< int >(val2
); 
4071     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4072     (arg1
)->SetFontStyle(arg2
); 
4073     wxPyEndAllowThreads(__tstate
); 
4074     if (PyErr_Occurred()) SWIG_fail
; 
4076   resultobj 
= SWIG_Py_Void(); 
4083 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4084   PyObject 
*resultobj 
= 0; 
4085   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4091   PyObject 
* obj0 
= 0 ; 
4092   PyObject 
* obj1 
= 0 ; 
4093   char *  kwnames
[] = { 
4094     (char *) "self",(char *) "fontWeight", NULL 
 
4097   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4098   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4099   if (!SWIG_IsOK(res1
)) { 
4100     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4102   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4103   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4104   if (!SWIG_IsOK(ecode2
)) { 
4105     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'"); 
4107   arg2 
= static_cast< int >(val2
); 
4109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4110     (arg1
)->SetFontWeight(arg2
); 
4111     wxPyEndAllowThreads(__tstate
); 
4112     if (PyErr_Occurred()) SWIG_fail
; 
4114   resultobj 
= SWIG_Py_Void(); 
4121 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4122   PyObject 
*resultobj 
= 0; 
4123   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4124   wxString 
*arg2 
= 0 ; 
4127   bool temp2 
= false ; 
4128   PyObject 
* obj0 
= 0 ; 
4129   PyObject 
* obj1 
= 0 ; 
4130   char *  kwnames
[] = { 
4131     (char *) "self",(char *) "faceName", NULL 
 
4134   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4135   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4136   if (!SWIG_IsOK(res1
)) { 
4137     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4139   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4141     arg2 
= wxString_in_helper(obj1
); 
4142     if (arg2 
== NULL
) SWIG_fail
; 
4146     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4147     (arg1
)->SetFontFaceName((wxString 
const &)*arg2
); 
4148     wxPyEndAllowThreads(__tstate
); 
4149     if (PyErr_Occurred()) SWIG_fail
; 
4151   resultobj 
= SWIG_Py_Void(); 
4166 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4167   PyObject 
*resultobj 
= 0; 
4168   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4174   PyObject 
* obj0 
= 0 ; 
4175   PyObject 
* obj1 
= 0 ; 
4176   char *  kwnames
[] = { 
4177     (char *) "self",(char *) "underlined", NULL 
 
4180   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4181   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4182   if (!SWIG_IsOK(res1
)) { 
4183     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4185   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4186   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4187   if (!SWIG_IsOK(ecode2
)) { 
4188     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
4190   arg2 
= static_cast< bool >(val2
); 
4192     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4193     (arg1
)->SetFontUnderlined(arg2
); 
4194     wxPyEndAllowThreads(__tstate
); 
4195     if (PyErr_Occurred()) SWIG_fail
; 
4197   resultobj 
= SWIG_Py_Void(); 
4204 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4205   PyObject 
*resultobj 
= 0; 
4206   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4212   PyObject 
* obj0 
= 0 ; 
4213   PyObject 
* obj1 
= 0 ; 
4214   char *  kwnames
[] = { 
4215     (char *) "self",(char *) "flags", NULL 
 
4218   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4219   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4220   if (!SWIG_IsOK(res1
)) { 
4221     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4223   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4224   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
4225   if (!SWIG_IsOK(ecode2
)) { 
4226     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'"); 
4228   arg2 
= static_cast< long >(val2
); 
4230     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4231     (arg1
)->SetFlags(arg2
); 
4232     wxPyEndAllowThreads(__tstate
); 
4233     if (PyErr_Occurred()) SWIG_fail
; 
4235   resultobj 
= SWIG_Py_Void(); 
4242 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4243   PyObject 
*resultobj 
= 0; 
4244   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4245   wxString 
*arg2 
= 0 ; 
4248   bool temp2 
= false ; 
4249   PyObject 
* obj0 
= 0 ; 
4250   PyObject 
* obj1 
= 0 ; 
4251   char *  kwnames
[] = { 
4252     (char *) "self",(char *) "name", NULL 
 
4255   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4256   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4257   if (!SWIG_IsOK(res1
)) { 
4258     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4260   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4262     arg2 
= wxString_in_helper(obj1
); 
4263     if (arg2 
== NULL
) SWIG_fail
; 
4267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4268     (arg1
)->SetCharacterStyleName((wxString 
const &)*arg2
); 
4269     wxPyEndAllowThreads(__tstate
); 
4270     if (PyErr_Occurred()) SWIG_fail
; 
4272   resultobj 
= SWIG_Py_Void(); 
4287 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4288   PyObject 
*resultobj 
= 0; 
4289   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4290   wxString 
*arg2 
= 0 ; 
4293   bool temp2 
= false ; 
4294   PyObject 
* obj0 
= 0 ; 
4295   PyObject 
* obj1 
= 0 ; 
4296   char *  kwnames
[] = { 
4297     (char *) "self",(char *) "name", NULL 
 
4300   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4301   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4302   if (!SWIG_IsOK(res1
)) { 
4303     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4305   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4307     arg2 
= wxString_in_helper(obj1
); 
4308     if (arg2 
== NULL
) SWIG_fail
; 
4312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4313     (arg1
)->SetParagraphStyleName((wxString 
const &)*arg2
); 
4314     wxPyEndAllowThreads(__tstate
); 
4315     if (PyErr_Occurred()) SWIG_fail
; 
4317   resultobj 
= SWIG_Py_Void(); 
4332 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4333   PyObject 
*resultobj 
= 0; 
4334   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4340   PyObject 
* obj0 
= 0 ; 
4341   PyObject 
* obj1 
= 0 ; 
4342   char *  kwnames
[] = { 
4343     (char *) "self",(char *) "spacing", NULL 
 
4346   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4347   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4348   if (!SWIG_IsOK(res1
)) { 
4349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4351   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4352   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4353   if (!SWIG_IsOK(ecode2
)) { 
4354     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'"); 
4356   arg2 
= static_cast< int >(val2
); 
4358     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4359     (arg1
)->SetParagraphSpacingAfter(arg2
); 
4360     wxPyEndAllowThreads(__tstate
); 
4361     if (PyErr_Occurred()) SWIG_fail
; 
4363   resultobj 
= SWIG_Py_Void(); 
4370 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4371   PyObject 
*resultobj 
= 0; 
4372   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4378   PyObject 
* obj0 
= 0 ; 
4379   PyObject 
* obj1 
= 0 ; 
4380   char *  kwnames
[] = { 
4381     (char *) "self",(char *) "spacing", NULL 
 
4384   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4385   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4386   if (!SWIG_IsOK(res1
)) { 
4387     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4389   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4390   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4391   if (!SWIG_IsOK(ecode2
)) { 
4392     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'"); 
4394   arg2 
= static_cast< int >(val2
); 
4396     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4397     (arg1
)->SetParagraphSpacingBefore(arg2
); 
4398     wxPyEndAllowThreads(__tstate
); 
4399     if (PyErr_Occurred()) SWIG_fail
; 
4401   resultobj 
= SWIG_Py_Void(); 
4408 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4409   PyObject 
*resultobj 
= 0; 
4410   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4416   PyObject 
* obj0 
= 0 ; 
4417   PyObject 
* obj1 
= 0 ; 
4418   char *  kwnames
[] = { 
4419     (char *) "self",(char *) "spacing", NULL 
 
4422   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4423   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4424   if (!SWIG_IsOK(res1
)) { 
4425     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4427   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4428   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4429   if (!SWIG_IsOK(ecode2
)) { 
4430     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
4432   arg2 
= static_cast< int >(val2
); 
4434     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4435     (arg1
)->SetLineSpacing(arg2
); 
4436     wxPyEndAllowThreads(__tstate
); 
4437     if (PyErr_Occurred()) SWIG_fail
; 
4439   resultobj 
= SWIG_Py_Void(); 
4446 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4447   PyObject 
*resultobj 
= 0; 
4448   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4454   PyObject 
* obj0 
= 0 ; 
4455   PyObject 
* obj1 
= 0 ; 
4456   char *  kwnames
[] = { 
4457     (char *) "self",(char *) "style", NULL 
 
4460   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4461   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4462   if (!SWIG_IsOK(res1
)) { 
4463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4465   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4466   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4467   if (!SWIG_IsOK(ecode2
)) { 
4468     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'"); 
4470   arg2 
= static_cast< int >(val2
); 
4472     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4473     (arg1
)->SetBulletStyle(arg2
); 
4474     wxPyEndAllowThreads(__tstate
); 
4475     if (PyErr_Occurred()) SWIG_fail
; 
4477   resultobj 
= SWIG_Py_Void(); 
4484 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4485   PyObject 
*resultobj 
= 0; 
4486   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4492   PyObject 
* obj0 
= 0 ; 
4493   PyObject 
* obj1 
= 0 ; 
4494   char *  kwnames
[] = { 
4495     (char *) "self",(char *) "n", NULL 
 
4498   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4499   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4500   if (!SWIG_IsOK(res1
)) { 
4501     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4503   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4504   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4505   if (!SWIG_IsOK(ecode2
)) { 
4506     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'"); 
4508   arg2 
= static_cast< int >(val2
); 
4510     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4511     (arg1
)->SetBulletNumber(arg2
); 
4512     wxPyEndAllowThreads(__tstate
); 
4513     if (PyErr_Occurred()) SWIG_fail
; 
4515   resultobj 
= SWIG_Py_Void(); 
4522 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4523   PyObject 
*resultobj 
= 0; 
4524   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4530   PyObject 
* obj0 
= 0 ; 
4531   PyObject 
* obj1 
= 0 ; 
4532   char *  kwnames
[] = { 
4533     (char *) "self",(char *) "symbol", NULL 
 
4536   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4537   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4538   if (!SWIG_IsOK(res1
)) { 
4539     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4541   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4543     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
,  0  | 0); 
4544     if (!SWIG_IsOK(res2
)) { 
4545       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");  
4548       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'"); 
4550       wxChar 
* temp 
= reinterpret_cast< wxChar 
* >(argp2
); 
4552       if (SWIG_IsNewObj(res2
)) delete temp
; 
4556     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4557     (arg1
)->SetBulletSymbol(arg2
); 
4558     wxPyEndAllowThreads(__tstate
); 
4559     if (PyErr_Occurred()) SWIG_fail
; 
4561   resultobj 
= SWIG_Py_Void(); 
4568 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4569   PyObject 
*resultobj 
= 0; 
4570   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4571   wxColour 
*result 
= 0 ; 
4574   PyObject 
*swig_obj
[1] ; 
4576   if (!args
) SWIG_fail
; 
4578   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4579   if (!SWIG_IsOK(res1
)) { 
4580     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4582   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4584     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4586       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTextColour(); 
4587       result 
= (wxColour 
*) &_result_ref
; 
4589     wxPyEndAllowThreads(__tstate
); 
4590     if (PyErr_Occurred()) SWIG_fail
; 
4592   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4599 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4600   PyObject 
*resultobj 
= 0; 
4601   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4602   wxColour 
*result 
= 0 ; 
4605   PyObject 
*swig_obj
[1] ; 
4607   if (!args
) SWIG_fail
; 
4609   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4610   if (!SWIG_IsOK(res1
)) { 
4611     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4613   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4615     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4617       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetBackgroundColour(); 
4618       result 
= (wxColour 
*) &_result_ref
; 
4620     wxPyEndAllowThreads(__tstate
); 
4621     if (PyErr_Occurred()) SWIG_fail
; 
4623   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4630 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4631   PyObject 
*resultobj 
= 0; 
4632   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4633   wxTextAttrAlignment result
; 
4636   PyObject 
*swig_obj
[1] ; 
4638   if (!args
) SWIG_fail
; 
4640   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4641   if (!SWIG_IsOK(res1
)) { 
4642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4644   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4647     result 
= (wxTextAttrAlignment
)((wxRichTextAttr 
const *)arg1
)->GetAlignment(); 
4648     wxPyEndAllowThreads(__tstate
); 
4649     if (PyErr_Occurred()) SWIG_fail
; 
4651   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4658 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4659   PyObject 
*resultobj 
= 0; 
4660   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4661   wxArrayInt 
*result 
= 0 ; 
4664   PyObject 
*swig_obj
[1] ; 
4666   if (!args
) SWIG_fail
; 
4668   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4669   if (!SWIG_IsOK(res1
)) { 
4670     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4672   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4674     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4676       wxArrayInt 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTabs(); 
4677       result 
= (wxArrayInt 
*) &_result_ref
; 
4679     wxPyEndAllowThreads(__tstate
); 
4680     if (PyErr_Occurred()) SWIG_fail
; 
4683     resultobj 
= PyList_New(0); 
4685     for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
4686       PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
4687       PyList_Append(resultobj
, val
); 
4697 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4698   PyObject 
*resultobj 
= 0; 
4699   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4703   PyObject 
*swig_obj
[1] ; 
4705   if (!args
) SWIG_fail
; 
4707   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4708   if (!SWIG_IsOK(res1
)) { 
4709     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4711   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4713     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4714     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftIndent(); 
4715     wxPyEndAllowThreads(__tstate
); 
4716     if (PyErr_Occurred()) SWIG_fail
; 
4718   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4725 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4726   PyObject 
*resultobj 
= 0; 
4727   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4731   PyObject 
*swig_obj
[1] ; 
4733   if (!args
) SWIG_fail
; 
4735   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4736   if (!SWIG_IsOK(res1
)) { 
4737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4739   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4742     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftSubIndent(); 
4743     wxPyEndAllowThreads(__tstate
); 
4744     if (PyErr_Occurred()) SWIG_fail
; 
4746   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4753 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4754   PyObject 
*resultobj 
= 0; 
4755   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4759   PyObject 
*swig_obj
[1] ; 
4761   if (!args
) SWIG_fail
; 
4763   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4764   if (!SWIG_IsOK(res1
)) { 
4765     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4767   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4769     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4770     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetRightIndent(); 
4771     wxPyEndAllowThreads(__tstate
); 
4772     if (PyErr_Occurred()) SWIG_fail
; 
4774   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4781 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4782   PyObject 
*resultobj 
= 0; 
4783   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4787   PyObject 
*swig_obj
[1] ; 
4789   if (!args
) SWIG_fail
; 
4791   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4792   if (!SWIG_IsOK(res1
)) { 
4793     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4795   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4798     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetFlags(); 
4799     wxPyEndAllowThreads(__tstate
); 
4800     if (PyErr_Occurred()) SWIG_fail
; 
4802   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4809 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4810   PyObject 
*resultobj 
= 0; 
4811   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4815   PyObject 
*swig_obj
[1] ; 
4817   if (!args
) SWIG_fail
; 
4819   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4820   if (!SWIG_IsOK(res1
)) { 
4821     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4823   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4825     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4826     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontSize(); 
4827     wxPyEndAllowThreads(__tstate
); 
4828     if (PyErr_Occurred()) SWIG_fail
; 
4830   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4837 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4838   PyObject 
*resultobj 
= 0; 
4839   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4843   PyObject 
*swig_obj
[1] ; 
4845   if (!args
) SWIG_fail
; 
4847   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4848   if (!SWIG_IsOK(res1
)) { 
4849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4851   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4854     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontStyle(); 
4855     wxPyEndAllowThreads(__tstate
); 
4856     if (PyErr_Occurred()) SWIG_fail
; 
4858   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4865 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4866   PyObject 
*resultobj 
= 0; 
4867   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4871   PyObject 
*swig_obj
[1] ; 
4873   if (!args
) SWIG_fail
; 
4875   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4876   if (!SWIG_IsOK(res1
)) { 
4877     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4879   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4881     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4882     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontWeight(); 
4883     wxPyEndAllowThreads(__tstate
); 
4884     if (PyErr_Occurred()) SWIG_fail
; 
4886   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4893 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4894   PyObject 
*resultobj 
= 0; 
4895   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4899   PyObject 
*swig_obj
[1] ; 
4901   if (!args
) SWIG_fail
; 
4903   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4904   if (!SWIG_IsOK(res1
)) { 
4905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4907   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4910     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->GetFontUnderlined(); 
4911     wxPyEndAllowThreads(__tstate
); 
4912     if (PyErr_Occurred()) SWIG_fail
; 
4915     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4923 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4924   PyObject 
*resultobj 
= 0; 
4925   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4926   wxString 
*result 
= 0 ; 
4929   PyObject 
*swig_obj
[1] ; 
4931   if (!args
) SWIG_fail
; 
4933   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4934   if (!SWIG_IsOK(res1
)) { 
4935     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4937   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4941       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetFontFaceName(); 
4942       result 
= (wxString 
*) &_result_ref
; 
4944     wxPyEndAllowThreads(__tstate
); 
4945     if (PyErr_Occurred()) SWIG_fail
; 
4949     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4951     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4960 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4961   PyObject 
*resultobj 
= 0; 
4962   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4963   wxString 
*result 
= 0 ; 
4966   PyObject 
*swig_obj
[1] ; 
4968   if (!args
) SWIG_fail
; 
4970   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4971   if (!SWIG_IsOK(res1
)) { 
4972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4974   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4976     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4978       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetCharacterStyleName(); 
4979       result 
= (wxString 
*) &_result_ref
; 
4981     wxPyEndAllowThreads(__tstate
); 
4982     if (PyErr_Occurred()) SWIG_fail
; 
4986     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4988     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4997 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4998   PyObject 
*resultobj 
= 0; 
4999   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5000   wxString 
*result 
= 0 ; 
5003   PyObject 
*swig_obj
[1] ; 
5005   if (!args
) SWIG_fail
; 
5007   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5008   if (!SWIG_IsOK(res1
)) { 
5009     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5011   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5013     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5015       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetParagraphStyleName(); 
5016       result 
= (wxString 
*) &_result_ref
; 
5018     wxPyEndAllowThreads(__tstate
); 
5019     if (PyErr_Occurred()) SWIG_fail
; 
5023     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5025     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5034 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5035   PyObject 
*resultobj 
= 0; 
5036   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5040   PyObject 
*swig_obj
[1] ; 
5042   if (!args
) SWIG_fail
; 
5044   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5045   if (!SWIG_IsOK(res1
)) { 
5046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5048   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5050     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5051     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingAfter(); 
5052     wxPyEndAllowThreads(__tstate
); 
5053     if (PyErr_Occurred()) SWIG_fail
; 
5055   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5062 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5063   PyObject 
*resultobj 
= 0; 
5064   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5068   PyObject 
*swig_obj
[1] ; 
5070   if (!args
) SWIG_fail
; 
5072   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5073   if (!SWIG_IsOK(res1
)) { 
5074     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5076   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5079     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingBefore(); 
5080     wxPyEndAllowThreads(__tstate
); 
5081     if (PyErr_Occurred()) SWIG_fail
; 
5083   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5090 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5091   PyObject 
*resultobj 
= 0; 
5092   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5096   PyObject 
*swig_obj
[1] ; 
5098   if (!args
) SWIG_fail
; 
5100   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5101   if (!SWIG_IsOK(res1
)) { 
5102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5104   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5107     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetLineSpacing(); 
5108     wxPyEndAllowThreads(__tstate
); 
5109     if (PyErr_Occurred()) SWIG_fail
; 
5111   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5118 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5119   PyObject 
*resultobj 
= 0; 
5120   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5124   PyObject 
*swig_obj
[1] ; 
5126   if (!args
) SWIG_fail
; 
5128   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5129   if (!SWIG_IsOK(res1
)) { 
5130     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5132   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5135     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletStyle(); 
5136     wxPyEndAllowThreads(__tstate
); 
5137     if (PyErr_Occurred()) SWIG_fail
; 
5139   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5146 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5147   PyObject 
*resultobj 
= 0; 
5148   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5152   PyObject 
*swig_obj
[1] ; 
5154   if (!args
) SWIG_fail
; 
5156   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5157   if (!SWIG_IsOK(res1
)) { 
5158     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5160   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5163     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletNumber(); 
5164     wxPyEndAllowThreads(__tstate
); 
5165     if (PyErr_Occurred()) SWIG_fail
; 
5167   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5174 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5175   PyObject 
*resultobj 
= 0; 
5176   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5180   PyObject 
*swig_obj
[1] ; 
5182   if (!args
) SWIG_fail
; 
5184   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5185   if (!SWIG_IsOK(res1
)) { 
5186     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5188   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5190     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5191     result 
= ((wxRichTextAttr 
const *)arg1
)->GetBulletSymbol(); 
5192     wxPyEndAllowThreads(__tstate
); 
5193     if (PyErr_Occurred()) SWIG_fail
; 
5195   resultobj 
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN 
|  0 ); 
5202 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5203   PyObject 
*resultobj 
= 0; 
5204   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5208   PyObject 
*swig_obj
[1] ; 
5210   if (!args
) SWIG_fail
; 
5212   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5213   if (!SWIG_IsOK(res1
)) { 
5214     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5216   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5219     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTextColour(); 
5220     wxPyEndAllowThreads(__tstate
); 
5221     if (PyErr_Occurred()) SWIG_fail
; 
5224     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5232 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5233   PyObject 
*resultobj 
= 0; 
5234   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5238   PyObject 
*swig_obj
[1] ; 
5240   if (!args
) SWIG_fail
; 
5242   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5243   if (!SWIG_IsOK(res1
)) { 
5244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5246   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5248     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5249     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBackgroundColour(); 
5250     wxPyEndAllowThreads(__tstate
); 
5251     if (PyErr_Occurred()) SWIG_fail
; 
5254     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5262 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5263   PyObject 
*resultobj 
= 0; 
5264   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5268   PyObject 
*swig_obj
[1] ; 
5270   if (!args
) SWIG_fail
; 
5272   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5273   if (!SWIG_IsOK(res1
)) { 
5274     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5276   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5279     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasAlignment(); 
5280     wxPyEndAllowThreads(__tstate
); 
5281     if (PyErr_Occurred()) SWIG_fail
; 
5284     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5292 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5293   PyObject 
*resultobj 
= 0; 
5294   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5298   PyObject 
*swig_obj
[1] ; 
5300   if (!args
) SWIG_fail
; 
5302   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5303   if (!SWIG_IsOK(res1
)) { 
5304     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5306   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5309     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTabs(); 
5310     wxPyEndAllowThreads(__tstate
); 
5311     if (PyErr_Occurred()) SWIG_fail
; 
5314     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5322 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5323   PyObject 
*resultobj 
= 0; 
5324   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5328   PyObject 
*swig_obj
[1] ; 
5330   if (!args
) SWIG_fail
; 
5332   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5333   if (!SWIG_IsOK(res1
)) { 
5334     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5336   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5338     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5339     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLeftIndent(); 
5340     wxPyEndAllowThreads(__tstate
); 
5341     if (PyErr_Occurred()) SWIG_fail
; 
5344     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5352 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5353   PyObject 
*resultobj 
= 0; 
5354   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5358   PyObject 
*swig_obj
[1] ; 
5360   if (!args
) SWIG_fail
; 
5362   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5363   if (!SWIG_IsOK(res1
)) { 
5364     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5366   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5368     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5369     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasRightIndent(); 
5370     wxPyEndAllowThreads(__tstate
); 
5371     if (PyErr_Occurred()) SWIG_fail
; 
5374     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5382 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5383   PyObject 
*resultobj 
= 0; 
5384   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5388   PyObject 
*swig_obj
[1] ; 
5390   if (!args
) SWIG_fail
; 
5392   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5393   if (!SWIG_IsOK(res1
)) { 
5394     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5396   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5399     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasWeight(); 
5400     wxPyEndAllowThreads(__tstate
); 
5401     if (PyErr_Occurred()) SWIG_fail
; 
5404     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5412 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5413   PyObject 
*resultobj 
= 0; 
5414   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5418   PyObject 
*swig_obj
[1] ; 
5420   if (!args
) SWIG_fail
; 
5422   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5423   if (!SWIG_IsOK(res1
)) { 
5424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5426   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5429     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasSize(); 
5430     wxPyEndAllowThreads(__tstate
); 
5431     if (PyErr_Occurred()) SWIG_fail
; 
5434     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5442 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5443   PyObject 
*resultobj 
= 0; 
5444   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5448   PyObject 
*swig_obj
[1] ; 
5450   if (!args
) SWIG_fail
; 
5452   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5453   if (!SWIG_IsOK(res1
)) { 
5454     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5456   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5458     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5459     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasItalic(); 
5460     wxPyEndAllowThreads(__tstate
); 
5461     if (PyErr_Occurred()) SWIG_fail
; 
5464     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5472 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5473   PyObject 
*resultobj 
= 0; 
5474   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5478   PyObject 
*swig_obj
[1] ; 
5480   if (!args
) SWIG_fail
; 
5482   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5483   if (!SWIG_IsOK(res1
)) { 
5484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5486   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5488     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5489     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasUnderlined(); 
5490     wxPyEndAllowThreads(__tstate
); 
5491     if (PyErr_Occurred()) SWIG_fail
; 
5494     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5502 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5503   PyObject 
*resultobj 
= 0; 
5504   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5508   PyObject 
*swig_obj
[1] ; 
5510   if (!args
) SWIG_fail
; 
5512   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5513   if (!SWIG_IsOK(res1
)) { 
5514     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5516   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5519     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFaceName(); 
5520     wxPyEndAllowThreads(__tstate
); 
5521     if (PyErr_Occurred()) SWIG_fail
; 
5524     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5532 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5533   PyObject 
*resultobj 
= 0; 
5534   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5538   PyObject 
*swig_obj
[1] ; 
5540   if (!args
) SWIG_fail
; 
5542   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5543   if (!SWIG_IsOK(res1
)) { 
5544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5546   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5548     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5549     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFont(); 
5550     wxPyEndAllowThreads(__tstate
); 
5551     if (PyErr_Occurred()) SWIG_fail
; 
5554     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5562 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5563   PyObject 
*resultobj 
= 0; 
5564   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5568   PyObject 
*swig_obj
[1] ; 
5570   if (!args
) SWIG_fail
; 
5572   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5573   if (!SWIG_IsOK(res1
)) { 
5574     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5576   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5578     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5579     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingAfter(); 
5580     wxPyEndAllowThreads(__tstate
); 
5581     if (PyErr_Occurred()) SWIG_fail
; 
5584     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5592 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5593   PyObject 
*resultobj 
= 0; 
5594   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5598   PyObject 
*swig_obj
[1] ; 
5600   if (!args
) SWIG_fail
; 
5602   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5603   if (!SWIG_IsOK(res1
)) { 
5604     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5606   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5609     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingBefore(); 
5610     wxPyEndAllowThreads(__tstate
); 
5611     if (PyErr_Occurred()) SWIG_fail
; 
5614     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5622 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5623   PyObject 
*resultobj 
= 0; 
5624   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5628   PyObject 
*swig_obj
[1] ; 
5630   if (!args
) SWIG_fail
; 
5632   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5633   if (!SWIG_IsOK(res1
)) { 
5634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5636   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5639     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLineSpacing(); 
5640     wxPyEndAllowThreads(__tstate
); 
5641     if (PyErr_Occurred()) SWIG_fail
; 
5644     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5652 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5653   PyObject 
*resultobj 
= 0; 
5654   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5658   PyObject 
*swig_obj
[1] ; 
5660   if (!args
) SWIG_fail
; 
5662   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5663   if (!SWIG_IsOK(res1
)) { 
5664     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5666   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5669     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasCharacterStyleName(); 
5670     wxPyEndAllowThreads(__tstate
); 
5671     if (PyErr_Occurred()) SWIG_fail
; 
5674     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5682 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5683   PyObject 
*resultobj 
= 0; 
5684   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5688   PyObject 
*swig_obj
[1] ; 
5690   if (!args
) SWIG_fail
; 
5692   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5693   if (!SWIG_IsOK(res1
)) { 
5694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5696   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5698     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5699     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphStyleName(); 
5700     wxPyEndAllowThreads(__tstate
); 
5701     if (PyErr_Occurred()) SWIG_fail
; 
5704     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5712 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5713   PyObject 
*resultobj 
= 0; 
5714   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5718   PyObject 
*swig_obj
[1] ; 
5720   if (!args
) SWIG_fail
; 
5722   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5723   if (!SWIG_IsOK(res1
)) { 
5724     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5726   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5728     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5729     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletStyle(); 
5730     wxPyEndAllowThreads(__tstate
); 
5731     if (PyErr_Occurred()) SWIG_fail
; 
5734     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5742 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5743   PyObject 
*resultobj 
= 0; 
5744   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5748   PyObject 
*swig_obj
[1] ; 
5750   if (!args
) SWIG_fail
; 
5752   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5753   if (!SWIG_IsOK(res1
)) { 
5754     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5756   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5758     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5759     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletNumber(); 
5760     wxPyEndAllowThreads(__tstate
); 
5761     if (PyErr_Occurred()) SWIG_fail
; 
5764     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5772 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletSymbol(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5773   PyObject 
*resultobj 
= 0; 
5774   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5778   PyObject 
*swig_obj
[1] ; 
5780   if (!args
) SWIG_fail
; 
5782   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5783   if (!SWIG_IsOK(res1
)) { 
5784     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5786   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5789     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletSymbol(); 
5790     wxPyEndAllowThreads(__tstate
); 
5791     if (PyErr_Occurred()) SWIG_fail
; 
5794     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5802 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFlag(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5803   PyObject 
*resultobj 
= 0; 
5804   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5811   PyObject 
* obj0 
= 0 ; 
5812   PyObject 
* obj1 
= 0 ; 
5813   char *  kwnames
[] = { 
5814     (char *) "self",(char *) "flag", NULL 
 
5817   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5818   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5819   if (!SWIG_IsOK(res1
)) { 
5820     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5822   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5823   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
5824   if (!SWIG_IsOK(ecode2
)) { 
5825     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'"); 
5827   arg2 
= static_cast< long >(val2
); 
5829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5830     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFlag(arg2
); 
5831     wxPyEndAllowThreads(__tstate
); 
5832     if (PyErr_Occurred()) SWIG_fail
; 
5835     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5843 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5844   PyObject 
*resultobj 
= 0; 
5845   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5849   PyObject 
*swig_obj
[1] ; 
5851   if (!args
) SWIG_fail
; 
5853   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5854   if (!SWIG_IsOK(res1
)) { 
5855     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5857   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5859     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5860     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsCharacterStyle(); 
5861     wxPyEndAllowThreads(__tstate
); 
5862     if (PyErr_Occurred()) SWIG_fail
; 
5865     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5873 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5874   PyObject 
*resultobj 
= 0; 
5875   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5879   PyObject 
*swig_obj
[1] ; 
5881   if (!args
) SWIG_fail
; 
5883   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5884   if (!SWIG_IsOK(res1
)) { 
5885     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5887   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5889     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5890     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsParagraphStyle(); 
5891     wxPyEndAllowThreads(__tstate
); 
5892     if (PyErr_Occurred()) SWIG_fail
; 
5895     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5903 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsDefault(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5904   PyObject 
*resultobj 
= 0; 
5905   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5909   PyObject 
*swig_obj
[1] ; 
5911   if (!args
) SWIG_fail
; 
5913   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5914   if (!SWIG_IsOK(res1
)) { 
5915     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5917   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5920     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsDefault(); 
5921     wxPyEndAllowThreads(__tstate
); 
5922     if (PyErr_Occurred()) SWIG_fail
; 
5925     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5933 SWIGINTERN PyObject 
*RichTextAttr_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5935   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5936   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
)); 
5937   return SWIG_Py_Void(); 
5940 SWIGINTERN PyObject 
*RichTextAttr_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5941   return SWIG_Python_InitShadowInstance(args
); 
5944 SWIGINTERN PyObject 
*_wrap_new_RichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5945   PyObject 
*resultobj 
= 0; 
5946   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5947   int arg2 
= (int) -1 ; 
5948   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5949   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5950   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5951   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5952   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5953   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5954   long arg6 
= (long) wxRE_MULTILINE 
; 
5955   wxRichTextCtrl 
*result 
= 0 ; 
5960   bool temp3 
= false ; 
5965   PyObject 
* obj0 
= 0 ; 
5966   PyObject 
* obj1 
= 0 ; 
5967   PyObject 
* obj2 
= 0 ; 
5968   PyObject 
* obj3 
= 0 ; 
5969   PyObject 
* obj4 
= 0 ; 
5970   PyObject 
* obj5 
= 0 ; 
5971   char *  kwnames
[] = { 
5972     (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
5975   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
5976   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5977   if (!SWIG_IsOK(res1
)) { 
5978     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");  
5980   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
5982     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5983     if (!SWIG_IsOK(ecode2
)) { 
5984       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'"); 
5986     arg2 
= static_cast< int >(val2
); 
5990       arg3 
= wxString_in_helper(obj2
); 
5991       if (arg3 
== NULL
) SWIG_fail
; 
5998       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6004       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6008     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
6009     if (!SWIG_IsOK(ecode6
)) { 
6010       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'"); 
6012     arg6 
= static_cast< long >(val6
); 
6015     if (!wxPyCheckForApp()) SWIG_fail
; 
6016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6017     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
6018     wxPyEndAllowThreads(__tstate
); 
6019     if (PyErr_Occurred()) SWIG_fail
; 
6021   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW 
|  0 ); 
6036 SWIGINTERN PyObject 
*_wrap_new_PreRichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6037   PyObject 
*resultobj 
= 0; 
6038   wxRichTextCtrl 
*result 
= 0 ; 
6040   if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
; 
6042     if (!wxPyCheckForApp()) SWIG_fail
; 
6043     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6044     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(); 
6045     wxPyEndAllowThreads(__tstate
); 
6046     if (PyErr_Occurred()) SWIG_fail
; 
6048   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN 
|  0 ); 
6055 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6056   PyObject 
*resultobj 
= 0; 
6057   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6058   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6059   int arg3 
= (int) -1 ; 
6060   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6061   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6062   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6063   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6064   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6065   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6066   long arg7 
= (long) wxRE_MULTILINE 
; 
6074   bool temp4 
= false ; 
6079   PyObject 
* obj0 
= 0 ; 
6080   PyObject 
* obj1 
= 0 ; 
6081   PyObject 
* obj2 
= 0 ; 
6082   PyObject 
* obj3 
= 0 ; 
6083   PyObject 
* obj4 
= 0 ; 
6084   PyObject 
* obj5 
= 0 ; 
6085   PyObject 
* obj6 
= 0 ; 
6086   char *  kwnames
[] = { 
6087     (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
6090   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
6091   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6092   if (!SWIG_IsOK(res1
)) { 
6093     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6095   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6096   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6097   if (!SWIG_IsOK(res2
)) { 
6098     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
6100   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6102     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6103     if (!SWIG_IsOK(ecode3
)) { 
6104       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'"); 
6106     arg3 
= static_cast< int >(val3
); 
6110       arg4 
= wxString_in_helper(obj3
); 
6111       if (arg4 
== NULL
) SWIG_fail
; 
6118       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6124       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6128     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
6129     if (!SWIG_IsOK(ecode7
)) { 
6130       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'"); 
6132     arg7 
= static_cast< long >(val7
); 
6135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6136     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
); 
6137     wxPyEndAllowThreads(__tstate
); 
6138     if (PyErr_Occurred()) SWIG_fail
; 
6141     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6157 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6158   PyObject 
*resultobj 
= 0; 
6159   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6163   PyObject 
*swig_obj
[1] ; 
6165   if (!args
) SWIG_fail
; 
6167   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6168   if (!SWIG_IsOK(res1
)) { 
6169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6171   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6174     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetValue(); 
6175     wxPyEndAllowThreads(__tstate
); 
6176     if (PyErr_Occurred()) SWIG_fail
; 
6180     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6182     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6191 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6192   PyObject 
*resultobj 
= 0; 
6193   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6194   wxString 
*arg2 
= 0 ; 
6197   bool temp2 
= false ; 
6198   PyObject 
* obj0 
= 0 ; 
6199   PyObject 
* obj1 
= 0 ; 
6200   char *  kwnames
[] = { 
6201     (char *) "self",(char *) "value", NULL 
 
6204   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6205   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6206   if (!SWIG_IsOK(res1
)) { 
6207     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6209   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6211     arg2 
= wxString_in_helper(obj1
); 
6212     if (arg2 
== NULL
) SWIG_fail
; 
6216     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6217     (arg1
)->SetValue((wxString 
const &)*arg2
); 
6218     wxPyEndAllowThreads(__tstate
); 
6219     if (PyErr_Occurred()) SWIG_fail
; 
6221   resultobj 
= SWIG_Py_Void(); 
6236 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6237   PyObject 
*resultobj 
= 0; 
6238   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6248   PyObject 
* obj0 
= 0 ; 
6249   PyObject 
* obj1 
= 0 ; 
6250   PyObject 
* obj2 
= 0 ; 
6251   char *  kwnames
[] = { 
6252     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6255   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6256   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6257   if (!SWIG_IsOK(res1
)) { 
6258     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6260   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6261   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6262   if (!SWIG_IsOK(ecode2
)) { 
6263     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'"); 
6265   arg2 
= static_cast< long >(val2
); 
6266   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6267   if (!SWIG_IsOK(ecode3
)) { 
6268     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'"); 
6270   arg3 
= static_cast< long >(val3
); 
6272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6273     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
6274     wxPyEndAllowThreads(__tstate
); 
6275     if (PyErr_Occurred()) SWIG_fail
; 
6279     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6281     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6290 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6291   PyObject 
*resultobj 
= 0; 
6292   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6299   PyObject 
* obj0 
= 0 ; 
6300   PyObject 
* obj1 
= 0 ; 
6301   char *  kwnames
[] = { 
6302     (char *) "self",(char *) "lineNo", NULL 
 
6305   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6306   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6307   if (!SWIG_IsOK(res1
)) { 
6308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6310   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6311   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6312   if (!SWIG_IsOK(ecode2
)) { 
6313     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'"); 
6315   arg2 
= static_cast< long >(val2
); 
6317     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6318     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
6319     wxPyEndAllowThreads(__tstate
); 
6320     if (PyErr_Occurred()) SWIG_fail
; 
6322   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6329 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6330   PyObject 
*resultobj 
= 0; 
6331   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6338   PyObject 
* obj0 
= 0 ; 
6339   PyObject 
* obj1 
= 0 ; 
6340   char *  kwnames
[] = { 
6341     (char *) "self",(char *) "lineNo", NULL 
 
6344   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6345   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6346   if (!SWIG_IsOK(res1
)) { 
6347     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6349   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6350   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6351   if (!SWIG_IsOK(ecode2
)) { 
6352     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'"); 
6354   arg2 
= static_cast< long >(val2
); 
6356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6357     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
6358     wxPyEndAllowThreads(__tstate
); 
6359     if (PyErr_Occurred()) SWIG_fail
; 
6363     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6365     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6374 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6375   PyObject 
*resultobj 
= 0; 
6376   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6380   PyObject 
*swig_obj
[1] ; 
6382   if (!args
) SWIG_fail
; 
6384   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6385   if (!SWIG_IsOK(res1
)) { 
6386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6388   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6390     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6391     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
6392     wxPyEndAllowThreads(__tstate
); 
6393     if (PyErr_Occurred()) SWIG_fail
; 
6395   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6402 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsModified(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6403   PyObject 
*resultobj 
= 0; 
6404   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6408   PyObject 
*swig_obj
[1] ; 
6410   if (!args
) SWIG_fail
; 
6412   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6413   if (!SWIG_IsOK(res1
)) { 
6414     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6416   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6419     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsModified(); 
6420     wxPyEndAllowThreads(__tstate
); 
6421     if (PyErr_Occurred()) SWIG_fail
; 
6424     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6432 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6433   PyObject 
*resultobj 
= 0; 
6434   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6438   PyObject 
*swig_obj
[1] ; 
6440   if (!args
) SWIG_fail
; 
6442   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6443   if (!SWIG_IsOK(res1
)) { 
6444     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6446   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6448     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6449     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsEditable(); 
6450     wxPyEndAllowThreads(__tstate
); 
6451     if (PyErr_Occurred()) SWIG_fail
; 
6454     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6462 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSingleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6463   PyObject 
*resultobj 
= 0; 
6464   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6468   PyObject 
*swig_obj
[1] ; 
6470   if (!args
) SWIG_fail
; 
6472   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6473   if (!SWIG_IsOK(res1
)) { 
6474     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6476   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6478     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6479     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSingleLine(); 
6480     wxPyEndAllowThreads(__tstate
); 
6481     if (PyErr_Occurred()) SWIG_fail
; 
6484     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6492 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsMultiLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6493   PyObject 
*resultobj 
= 0; 
6494   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6498   PyObject 
*swig_obj
[1] ; 
6500   if (!args
) SWIG_fail
; 
6502   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6503   if (!SWIG_IsOK(res1
)) { 
6504     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6506   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6508     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6509     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsMultiLine(); 
6510     wxPyEndAllowThreads(__tstate
); 
6511     if (PyErr_Occurred()) SWIG_fail
; 
6514     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6522 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6523   PyObject 
*resultobj 
= 0; 
6524   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6525   long *arg2 
= (long *) 0 ; 
6526   long *arg3 
= (long *) 0 ; 
6530   int res2 
= SWIG_TMPOBJ 
; 
6532   int res3 
= SWIG_TMPOBJ 
; 
6533   PyObject 
*swig_obj
[1] ; 
6537   if (!args
) SWIG_fail
; 
6539   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6540   if (!SWIG_IsOK(res1
)) { 
6541     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6543   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6545     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6546     ((wxRichTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
6547     wxPyEndAllowThreads(__tstate
); 
6548     if (PyErr_Occurred()) SWIG_fail
; 
6550   resultobj 
= SWIG_Py_Void(); 
6551   if (SWIG_IsTmpObj(res2
)) { 
6552     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
))); 
6554     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6555     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
)); 
6557   if (SWIG_IsTmpObj(res3
)) { 
6558     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
6560     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6561     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
6569 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6570   PyObject 
*resultobj 
= 0; 
6571   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6575   PyObject 
*swig_obj
[1] ; 
6577   if (!args
) SWIG_fail
; 
6579   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6580   if (!SWIG_IsOK(res1
)) { 
6581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6583   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6585     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6586     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetStringSelection(); 
6587     wxPyEndAllowThreads(__tstate
); 
6588     if (PyErr_Occurred()) SWIG_fail
; 
6592     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6594     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6603 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6604   PyObject 
*resultobj 
= 0; 
6605   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6609   PyObject 
*swig_obj
[1] ; 
6611   if (!args
) SWIG_fail
; 
6613   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6614   if (!SWIG_IsOK(res1
)) { 
6615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6617   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6620     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetFilename(); 
6621     wxPyEndAllowThreads(__tstate
); 
6622     if (PyErr_Occurred()) SWIG_fail
; 
6626     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6628     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6637 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6638   PyObject 
*resultobj 
= 0; 
6639   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6640   wxString 
*arg2 
= 0 ; 
6643   bool temp2 
= false ; 
6644   PyObject 
* obj0 
= 0 ; 
6645   PyObject 
* obj1 
= 0 ; 
6646   char *  kwnames
[] = { 
6647     (char *) "self",(char *) "filename", NULL 
 
6650   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6651   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6652   if (!SWIG_IsOK(res1
)) { 
6653     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6655   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6657     arg2 
= wxString_in_helper(obj1
); 
6658     if (arg2 
== NULL
) SWIG_fail
; 
6662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6663     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
6664     wxPyEndAllowThreads(__tstate
); 
6665     if (PyErr_Occurred()) SWIG_fail
; 
6667   resultobj 
= SWIG_Py_Void(); 
6682 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6683   PyObject 
*resultobj 
= 0; 
6684   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6690   PyObject 
* obj0 
= 0 ; 
6691   PyObject 
* obj1 
= 0 ; 
6692   char *  kwnames
[] = { 
6693     (char *) "self",(char *) "threshold", NULL 
 
6696   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6697   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6698   if (!SWIG_IsOK(res1
)) { 
6699     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6701   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6702   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6703   if (!SWIG_IsOK(ecode2
)) { 
6704     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'"); 
6706   arg2 
= static_cast< long >(val2
); 
6708     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6709     (arg1
)->SetDelayedLayoutThreshold(arg2
); 
6710     wxPyEndAllowThreads(__tstate
); 
6711     if (PyErr_Occurred()) SWIG_fail
; 
6713   resultobj 
= SWIG_Py_Void(); 
6720 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6721   PyObject 
*resultobj 
= 0; 
6722   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6726   PyObject 
*swig_obj
[1] ; 
6728   if (!args
) SWIG_fail
; 
6730   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6731   if (!SWIG_IsOK(res1
)) { 
6732     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6734   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6737     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetDelayedLayoutThreshold(); 
6738     wxPyEndAllowThreads(__tstate
); 
6739     if (PyErr_Occurred()) SWIG_fail
; 
6741   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
6748 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6749   PyObject 
*resultobj 
= 0; 
6750   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6753   PyObject 
*swig_obj
[1] ; 
6755   if (!args
) SWIG_fail
; 
6757   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6758   if (!SWIG_IsOK(res1
)) { 
6759     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6761   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6763     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6765     wxPyEndAllowThreads(__tstate
); 
6766     if (PyErr_Occurred()) SWIG_fail
; 
6768   resultobj 
= SWIG_Py_Void(); 
6775 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Replace(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6776   PyObject 
*resultobj 
= 0; 
6777   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6780   wxString 
*arg4 
= 0 ; 
6787   bool temp4 
= false ; 
6788   PyObject 
* obj0 
= 0 ; 
6789   PyObject 
* obj1 
= 0 ; 
6790   PyObject 
* obj2 
= 0 ; 
6791   PyObject 
* obj3 
= 0 ; 
6792   char *  kwnames
[] = { 
6793     (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
6796   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6797   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6798   if (!SWIG_IsOK(res1
)) { 
6799     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6801   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6802   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6803   if (!SWIG_IsOK(ecode2
)) { 
6804     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'"); 
6806   arg2 
= static_cast< long >(val2
); 
6807   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6808   if (!SWIG_IsOK(ecode3
)) { 
6809     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'"); 
6811   arg3 
= static_cast< long >(val3
); 
6813     arg4 
= wxString_in_helper(obj3
); 
6814     if (arg4 
== NULL
) SWIG_fail
; 
6818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6819     (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
6820     wxPyEndAllowThreads(__tstate
); 
6821     if (PyErr_Occurred()) SWIG_fail
; 
6823   resultobj 
= SWIG_Py_Void(); 
6838 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Remove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6839   PyObject 
*resultobj 
= 0; 
6840   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6849   PyObject 
* obj0 
= 0 ; 
6850   PyObject 
* obj1 
= 0 ; 
6851   PyObject 
* obj2 
= 0 ; 
6852   char *  kwnames
[] = { 
6853     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6856   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6857   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6858   if (!SWIG_IsOK(res1
)) { 
6859     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6861   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6862   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6863   if (!SWIG_IsOK(ecode2
)) { 
6864     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'"); 
6866   arg2 
= static_cast< long >(val2
); 
6867   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6868   if (!SWIG_IsOK(ecode3
)) { 
6869     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'"); 
6871   arg3 
= static_cast< long >(val3
); 
6873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6874     (arg1
)->Remove(arg2
,arg3
); 
6875     wxPyEndAllowThreads(__tstate
); 
6876     if (PyErr_Occurred()) SWIG_fail
; 
6878   resultobj 
= SWIG_Py_Void(); 
6885 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6886   PyObject 
*resultobj 
= 0; 
6887   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6888   wxString 
*arg2 
= 0 ; 
6889   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6893   bool temp2 
= false ; 
6896   PyObject 
* obj0 
= 0 ; 
6897   PyObject 
* obj1 
= 0 ; 
6898   PyObject 
* obj2 
= 0 ; 
6899   char *  kwnames
[] = { 
6900     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6903   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6904   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6905   if (!SWIG_IsOK(res1
)) { 
6906     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6908   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6910     arg2 
= wxString_in_helper(obj1
); 
6911     if (arg2 
== NULL
) SWIG_fail
; 
6915     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6916     if (!SWIG_IsOK(ecode3
)) { 
6917       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'"); 
6919     arg3 
= static_cast< int >(val3
); 
6922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6923     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
6924     wxPyEndAllowThreads(__tstate
); 
6925     if (PyErr_Occurred()) SWIG_fail
; 
6928     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6944 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SaveFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6945   PyObject 
*resultobj 
= 0; 
6946   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6947   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
6948   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6949   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6953   bool temp2 
= false ; 
6956   PyObject 
* obj0 
= 0 ; 
6957   PyObject 
* obj1 
= 0 ; 
6958   PyObject 
* obj2 
= 0 ; 
6959   char *  kwnames
[] = { 
6960     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6963   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6964   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6965   if (!SWIG_IsOK(res1
)) { 
6966     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6968   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6971       arg2 
= wxString_in_helper(obj1
); 
6972       if (arg2 
== NULL
) SWIG_fail
; 
6977     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6978     if (!SWIG_IsOK(ecode3
)) { 
6979       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'"); 
6981     arg3 
= static_cast< int >(val3
); 
6984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6985     result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
); 
6986     wxPyEndAllowThreads(__tstate
); 
6987     if (PyErr_Occurred()) SWIG_fail
; 
6990     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7006 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MarkDirty(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7007   PyObject 
*resultobj 
= 0; 
7008   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7011   PyObject 
*swig_obj
[1] ; 
7013   if (!args
) SWIG_fail
; 
7015   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7016   if (!SWIG_IsOK(res1
)) { 
7017     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7019   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7021     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7022     (arg1
)->MarkDirty(); 
7023     wxPyEndAllowThreads(__tstate
); 
7024     if (PyErr_Occurred()) SWIG_fail
; 
7026   resultobj 
= SWIG_Py_Void(); 
7033 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DiscardEdits(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7034   PyObject 
*resultobj 
= 0; 
7035   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7038   PyObject 
*swig_obj
[1] ; 
7040   if (!args
) SWIG_fail
; 
7042   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7043   if (!SWIG_IsOK(res1
)) { 
7044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7046   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7048     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7049     (arg1
)->DiscardEdits(); 
7050     wxPyEndAllowThreads(__tstate
); 
7051     if (PyErr_Occurred()) SWIG_fail
; 
7053   resultobj 
= SWIG_Py_Void(); 
7060 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetMaxLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7061   PyObject 
*resultobj 
= 0; 
7062   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7063   unsigned long arg2 
; 
7066   unsigned long val2 
; 
7068   PyObject 
* obj0 
= 0 ; 
7069   PyObject 
* obj1 
= 0 ; 
7070   char *  kwnames
[] = { 
7071     (char *) "self",(char *) "len", NULL 
 
7074   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7075   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7076   if (!SWIG_IsOK(res1
)) { 
7077     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7079   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7080   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
7081   if (!SWIG_IsOK(ecode2
)) { 
7082     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'"); 
7084   arg2 
= static_cast< unsigned long >(val2
); 
7086     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7087     (arg1
)->SetMaxLength(arg2
); 
7088     wxPyEndAllowThreads(__tstate
); 
7089     if (PyErr_Occurred()) SWIG_fail
; 
7091   resultobj 
= SWIG_Py_Void(); 
7098 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7099   PyObject 
*resultobj 
= 0; 
7100   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7101   wxString 
*arg2 
= 0 ; 
7104   bool temp2 
= false ; 
7105   PyObject 
* obj0 
= 0 ; 
7106   PyObject 
* obj1 
= 0 ; 
7107   char *  kwnames
[] = { 
7108     (char *) "self",(char *) "text", NULL 
 
7111   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7112   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7113   if (!SWIG_IsOK(res1
)) { 
7114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7116   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7118     arg2 
= wxString_in_helper(obj1
); 
7119     if (arg2 
== NULL
) SWIG_fail
; 
7123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7124     (arg1
)->WriteText((wxString 
const &)*arg2
); 
7125     wxPyEndAllowThreads(__tstate
); 
7126     if (PyErr_Occurred()) SWIG_fail
; 
7128   resultobj 
= SWIG_Py_Void(); 
7143 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AppendText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7144   PyObject 
*resultobj 
= 0; 
7145   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7146   wxString 
*arg2 
= 0 ; 
7149   bool temp2 
= false ; 
7150   PyObject 
* obj0 
= 0 ; 
7151   PyObject 
* obj1 
= 0 ; 
7152   char *  kwnames
[] = { 
7153     (char *) "self",(char *) "text", NULL 
 
7156   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7157   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7158   if (!SWIG_IsOK(res1
)) { 
7159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7161   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7163     arg2 
= wxString_in_helper(obj1
); 
7164     if (arg2 
== NULL
) SWIG_fail
; 
7168     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7169     (arg1
)->AppendText((wxString 
const &)*arg2
); 
7170     wxPyEndAllowThreads(__tstate
); 
7171     if (PyErr_Occurred()) SWIG_fail
; 
7173   resultobj 
= SWIG_Py_Void(); 
7188 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7189   PyObject 
*resultobj 
= 0; 
7190   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7191   wxRichTextRange 
*arg2 
= 0 ; 
7192   wxRichTextAttr 
*arg3 
= 0 ; 
7196   wxRichTextRange temp2 
; 
7199   PyObject 
* obj0 
= 0 ; 
7200   PyObject 
* obj1 
= 0 ; 
7201   PyObject 
* obj2 
= 0 ; 
7202   char *  kwnames
[] = { 
7203     (char *) "self",(char *) "range",(char *) "style", NULL 
 
7206   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7207   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7208   if (!SWIG_IsOK(res1
)) { 
7209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7211   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7214     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
7216   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7217   if (!SWIG_IsOK(res3
)) { 
7218     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7221     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7223   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7225     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7226     result 
= (bool)(arg1
)->SetStyle((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
7227     wxPyEndAllowThreads(__tstate
); 
7228     if (PyErr_Occurred()) SWIG_fail
; 
7231     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7239 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7240   PyObject 
*resultobj 
= 0; 
7241   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7243   wxRichTextAttr 
*arg3 
= 0 ; 
7251   PyObject 
* obj0 
= 0 ; 
7252   PyObject 
* obj1 
= 0 ; 
7253   PyObject 
* obj2 
= 0 ; 
7254   char *  kwnames
[] = { 
7255     (char *) "self",(char *) "position",(char *) "style", NULL 
 
7258   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7259   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7260   if (!SWIG_IsOK(res1
)) { 
7261     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7263   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7264   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7265   if (!SWIG_IsOK(ecode2
)) { 
7266     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'"); 
7268   arg2 
= static_cast< long >(val2
); 
7269   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0 ); 
7270   if (!SWIG_IsOK(res3
)) { 
7271     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7274     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7276   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7279     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->GetStyle(arg2
,*arg3
); 
7280     wxPyEndAllowThreads(__tstate
); 
7281     if (PyErr_Occurred()) SWIG_fail
; 
7284     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7292 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7293   PyObject 
*resultobj 
= 0; 
7294   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7295   wxRichTextAttr 
*arg2 
= 0 ; 
7301   PyObject 
* obj0 
= 0 ; 
7302   PyObject 
* obj1 
= 0 ; 
7303   char *  kwnames
[] = { 
7304     (char *) "self",(char *) "style", NULL 
 
7307   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7308   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7309   if (!SWIG_IsOK(res1
)) { 
7310     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7312   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7313   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7314   if (!SWIG_IsOK(res2
)) { 
7315     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7318     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7320   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
7322     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7323     result 
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr 
const &)*arg2
); 
7324     wxPyEndAllowThreads(__tstate
); 
7325     if (PyErr_Occurred()) SWIG_fail
; 
7328     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7336 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7337   PyObject 
*resultobj 
= 0; 
7338   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7339   wxRichTextAttr result
; 
7342   PyObject 
*swig_obj
[1] ; 
7344   if (!args
) SWIG_fail
; 
7346   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7347   if (!SWIG_IsOK(res1
)) { 
7348     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7350   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7352     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7353     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetDefaultStyleEx(); 
7354     wxPyEndAllowThreads(__tstate
); 
7355     if (PyErr_Occurred()) SWIG_fail
; 
7357   resultobj 
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN 
|  0 ); 
7364 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_XYToPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7365   PyObject 
*resultobj 
= 0; 
7366   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7376   PyObject 
* obj0 
= 0 ; 
7377   PyObject 
* obj1 
= 0 ; 
7378   PyObject 
* obj2 
= 0 ; 
7379   char *  kwnames
[] = { 
7380     (char *) "self",(char *) "x",(char *) "y", NULL 
 
7383   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7384   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7385   if (!SWIG_IsOK(res1
)) { 
7386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7388   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7389   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7390   if (!SWIG_IsOK(ecode2
)) { 
7391     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'"); 
7393   arg2 
= static_cast< long >(val2
); 
7394   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
7395   if (!SWIG_IsOK(ecode3
)) { 
7396     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'"); 
7398   arg3 
= static_cast< long >(val3
); 
7400     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7401     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
7402     wxPyEndAllowThreads(__tstate
); 
7403     if (PyErr_Occurred()) SWIG_fail
; 
7405   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
7412 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PositionToXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7413   PyObject 
*resultobj 
= 0; 
7414   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7416   long *arg3 
= (long *) 0 ; 
7417   long *arg4 
= (long *) 0 ; 
7423   int res3 
= SWIG_TMPOBJ 
; 
7425   int res4 
= SWIG_TMPOBJ 
; 
7426   PyObject 
* obj0 
= 0 ; 
7427   PyObject 
* obj1 
= 0 ; 
7428   char *  kwnames
[] = { 
7429     (char *) "self",(char *) "pos", NULL 
 
7434   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7435   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7436   if (!SWIG_IsOK(res1
)) { 
7437     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7439   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7440   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7441   if (!SWIG_IsOK(ecode2
)) { 
7442     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'"); 
7444   arg2 
= static_cast< long >(val2
); 
7446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7447     ((wxRichTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
7448     wxPyEndAllowThreads(__tstate
); 
7449     if (PyErr_Occurred()) SWIG_fail
; 
7451   resultobj 
= SWIG_Py_Void(); 
7452   if (SWIG_IsTmpObj(res3
)) { 
7453     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7455     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7456     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7458   if (SWIG_IsTmpObj(res4
)) { 
7459     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
))); 
7461     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7462     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
)); 
7470 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ShowPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7471   PyObject 
*resultobj 
= 0; 
7472   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7478   PyObject 
* obj0 
= 0 ; 
7479   PyObject 
* obj1 
= 0 ; 
7480   char *  kwnames
[] = { 
7481     (char *) "self",(char *) "position", NULL 
 
7484   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7485   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7486   if (!SWIG_IsOK(res1
)) { 
7487     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7489   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7490   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7491   if (!SWIG_IsOK(ecode2
)) { 
7492     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'"); 
7494   arg2 
= static_cast< long >(val2
); 
7496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7497     (arg1
)->ShowPosition(arg2
); 
7498     wxPyEndAllowThreads(__tstate
); 
7499     if (PyErr_Occurred()) SWIG_fail
; 
7501   resultobj 
= SWIG_Py_Void(); 
7508 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7509   PyObject 
*resultobj 
= 0; 
7510   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7512   long *arg3 
= (long *) 0 ; 
7513   wxTextCtrlHitTestResult result
; 
7518   int res3 
= SWIG_TMPOBJ 
; 
7519   PyObject 
* obj0 
= 0 ; 
7520   PyObject 
* obj1 
= 0 ; 
7521   char *  kwnames
[] = { 
7522     (char *) "self",(char *) "pt", NULL 
 
7526   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7527   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7528   if (!SWIG_IsOK(res1
)) { 
7529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7531   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7534     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7538     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
7539     wxPyEndAllowThreads(__tstate
); 
7540     if (PyErr_Occurred()) SWIG_fail
; 
7542   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7543   if (SWIG_IsTmpObj(res3
)) { 
7544     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7546     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7547     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7555 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7556   PyObject 
*resultobj 
= 0; 
7557   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7559   wxTextCoord 
*arg3 
= (wxTextCoord 
*) 0 ; 
7560   wxTextCoord 
*arg4 
= (wxTextCoord 
*) 0 ; 
7561   wxTextCtrlHitTestResult result
; 
7569   PyObject 
* obj0 
= 0 ; 
7570   PyObject 
* obj1 
= 0 ; 
7571   PyObject 
* obj2 
= 0 ; 
7572   PyObject 
* obj3 
= 0 ; 
7573   char *  kwnames
[] = { 
7574     (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
7577   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7578   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7579   if (!SWIG_IsOK(res1
)) { 
7580     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7582   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7585     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7587   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7588   if (!SWIG_IsOK(res3
)) { 
7589     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");  
7591   arg3 
= reinterpret_cast< wxTextCoord 
* >(argp3
); 
7592   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7593   if (!SWIG_IsOK(res4
)) { 
7594     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");  
7596   arg4 
= reinterpret_cast< wxTextCoord 
* >(argp4
); 
7598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7599     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
7600     wxPyEndAllowThreads(__tstate
); 
7601     if (PyErr_Occurred()) SWIG_fail
; 
7603   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7610 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Copy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7611   PyObject 
*resultobj 
= 0; 
7612   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7615   PyObject 
*swig_obj
[1] ; 
7617   if (!args
) SWIG_fail
; 
7619   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7620   if (!SWIG_IsOK(res1
)) { 
7621     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7623   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7625     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7627     wxPyEndAllowThreads(__tstate
); 
7628     if (PyErr_Occurred()) SWIG_fail
; 
7630   resultobj 
= SWIG_Py_Void(); 
7637 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Cut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7638   PyObject 
*resultobj 
= 0; 
7639   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7642   PyObject 
*swig_obj
[1] ; 
7644   if (!args
) SWIG_fail
; 
7646   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7647   if (!SWIG_IsOK(res1
)) { 
7648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7650   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7652     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7654     wxPyEndAllowThreads(__tstate
); 
7655     if (PyErr_Occurred()) SWIG_fail
; 
7657   resultobj 
= SWIG_Py_Void(); 
7664 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Paste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7665   PyObject 
*resultobj 
= 0; 
7666   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7669   PyObject 
*swig_obj
[1] ; 
7671   if (!args
) SWIG_fail
; 
7673   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7674   if (!SWIG_IsOK(res1
)) { 
7675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7677   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7679     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7681     wxPyEndAllowThreads(__tstate
); 
7682     if (PyErr_Occurred()) SWIG_fail
; 
7684   resultobj 
= SWIG_Py_Void(); 
7691 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7692   PyObject 
*resultobj 
= 0; 
7693   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7696   PyObject 
*swig_obj
[1] ; 
7698   if (!args
) SWIG_fail
; 
7700   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7701   if (!SWIG_IsOK(res1
)) { 
7702     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7704   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7706     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7707     (arg1
)->DeleteSelection(); 
7708     wxPyEndAllowThreads(__tstate
); 
7709     if (PyErr_Occurred()) SWIG_fail
; 
7711   resultobj 
= SWIG_Py_Void(); 
7718 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCopy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7719   PyObject 
*resultobj 
= 0; 
7720   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7724   PyObject 
*swig_obj
[1] ; 
7726   if (!args
) SWIG_fail
; 
7728   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7729   if (!SWIG_IsOK(res1
)) { 
7730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7732   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7734     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7735     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCopy(); 
7736     wxPyEndAllowThreads(__tstate
); 
7737     if (PyErr_Occurred()) SWIG_fail
; 
7740     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7748 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7749   PyObject 
*resultobj 
= 0; 
7750   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7754   PyObject 
*swig_obj
[1] ; 
7756   if (!args
) SWIG_fail
; 
7758   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7759   if (!SWIG_IsOK(res1
)) { 
7760     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7762   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7764     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7765     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCut(); 
7766     wxPyEndAllowThreads(__tstate
); 
7767     if (PyErr_Occurred()) SWIG_fail
; 
7770     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7778 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanPaste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7779   PyObject 
*resultobj 
= 0; 
7780   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7784   PyObject 
*swig_obj
[1] ; 
7786   if (!args
) SWIG_fail
; 
7788   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7789   if (!SWIG_IsOK(res1
)) { 
7790     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7792   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7794     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7795     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanPaste(); 
7796     wxPyEndAllowThreads(__tstate
); 
7797     if (PyErr_Occurred()) SWIG_fail
; 
7800     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7808 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7809   PyObject 
*resultobj 
= 0; 
7810   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7814   PyObject 
*swig_obj
[1] ; 
7816   if (!args
) SWIG_fail
; 
7818   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7819   if (!SWIG_IsOK(res1
)) { 
7820     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7822   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7825     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanDeleteSelection(); 
7826     wxPyEndAllowThreads(__tstate
); 
7827     if (PyErr_Occurred()) SWIG_fail
; 
7830     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7838 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Undo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7839   PyObject 
*resultobj 
= 0; 
7840   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7843   PyObject 
*swig_obj
[1] ; 
7845   if (!args
) SWIG_fail
; 
7847   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7848   if (!SWIG_IsOK(res1
)) { 
7849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7851   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7855     wxPyEndAllowThreads(__tstate
); 
7856     if (PyErr_Occurred()) SWIG_fail
; 
7858   resultobj 
= SWIG_Py_Void(); 
7865 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Redo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7866   PyObject 
*resultobj 
= 0; 
7867   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7870   PyObject 
*swig_obj
[1] ; 
7872   if (!args
) SWIG_fail
; 
7874   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7875   if (!SWIG_IsOK(res1
)) { 
7876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7878   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7882     wxPyEndAllowThreads(__tstate
); 
7883     if (PyErr_Occurred()) SWIG_fail
; 
7885   resultobj 
= SWIG_Py_Void(); 
7892 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7893   PyObject 
*resultobj 
= 0; 
7894   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7898   PyObject 
*swig_obj
[1] ; 
7900   if (!args
) SWIG_fail
; 
7902   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7903   if (!SWIG_IsOK(res1
)) { 
7904     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7906   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7909     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanUndo(); 
7910     wxPyEndAllowThreads(__tstate
); 
7911     if (PyErr_Occurred()) SWIG_fail
; 
7914     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7922 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanRedo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7923   PyObject 
*resultobj 
= 0; 
7924   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7928   PyObject 
*swig_obj
[1] ; 
7930   if (!args
) SWIG_fail
; 
7932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7933   if (!SWIG_IsOK(res1
)) { 
7934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7936   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7939     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanRedo(); 
7940     wxPyEndAllowThreads(__tstate
); 
7941     if (PyErr_Occurred()) SWIG_fail
; 
7944     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7952 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7953   PyObject 
*resultobj 
= 0; 
7954   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7960   PyObject 
* obj0 
= 0 ; 
7961   PyObject 
* obj1 
= 0 ; 
7962   char *  kwnames
[] = { 
7963     (char *) "self",(char *) "pos", NULL 
 
7966   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7967   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7968   if (!SWIG_IsOK(res1
)) { 
7969     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7971   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7972   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7973   if (!SWIG_IsOK(ecode2
)) { 
7974     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'"); 
7976   arg2 
= static_cast< long >(val2
); 
7978     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7979     (arg1
)->SetInsertionPoint(arg2
); 
7980     wxPyEndAllowThreads(__tstate
); 
7981     if (PyErr_Occurred()) SWIG_fail
; 
7983   resultobj 
= SWIG_Py_Void(); 
7990 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7991   PyObject 
*resultobj 
= 0; 
7992   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7995   PyObject 
*swig_obj
[1] ; 
7997   if (!args
) SWIG_fail
; 
7999   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8000   if (!SWIG_IsOK(res1
)) { 
8001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8003   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8006     (arg1
)->SetInsertionPointEnd(); 
8007     wxPyEndAllowThreads(__tstate
); 
8008     if (PyErr_Occurred()) SWIG_fail
; 
8010   resultobj 
= SWIG_Py_Void(); 
8017 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8018   PyObject 
*resultobj 
= 0; 
8019   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8023   PyObject 
*swig_obj
[1] ; 
8025   if (!args
) SWIG_fail
; 
8027   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8028   if (!SWIG_IsOK(res1
)) { 
8029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8031   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8034     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
8035     wxPyEndAllowThreads(__tstate
); 
8036     if (PyErr_Occurred()) SWIG_fail
; 
8038   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8045 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLastPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8046   PyObject 
*resultobj 
= 0; 
8047   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8051   PyObject 
*swig_obj
[1] ; 
8053   if (!args
) SWIG_fail
; 
8055   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8056   if (!SWIG_IsOK(res1
)) { 
8057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8059   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8062     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetLastPosition(); 
8063     wxPyEndAllowThreads(__tstate
); 
8064     if (PyErr_Occurred()) SWIG_fail
; 
8066   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8073 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8074   PyObject 
*resultobj 
= 0; 
8075   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8084   PyObject 
* obj0 
= 0 ; 
8085   PyObject 
* obj1 
= 0 ; 
8086   PyObject 
* obj2 
= 0 ; 
8087   char *  kwnames
[] = { 
8088     (char *) "self",(char *) "from",(char *) "to", NULL 
 
8091   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8092   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8093   if (!SWIG_IsOK(res1
)) { 
8094     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8096   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8097   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8098   if (!SWIG_IsOK(ecode2
)) { 
8099     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'"); 
8101   arg2 
= static_cast< long >(val2
); 
8102   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8103   if (!SWIG_IsOK(ecode3
)) { 
8104     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'"); 
8106   arg3 
= static_cast< long >(val3
); 
8108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8109     (arg1
)->SetSelection(arg2
,arg3
); 
8110     wxPyEndAllowThreads(__tstate
); 
8111     if (PyErr_Occurred()) SWIG_fail
; 
8113   resultobj 
= SWIG_Py_Void(); 
8120 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8121   PyObject 
*resultobj 
= 0; 
8122   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8125   PyObject 
*swig_obj
[1] ; 
8127   if (!args
) SWIG_fail
; 
8129   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8130   if (!SWIG_IsOK(res1
)) { 
8131     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8133   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8136     (arg1
)->SelectAll(); 
8137     wxPyEndAllowThreads(__tstate
); 
8138     if (PyErr_Occurred()) SWIG_fail
; 
8140   resultobj 
= SWIG_Py_Void(); 
8147 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8148   PyObject 
*resultobj 
= 0; 
8149   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8155   PyObject 
* obj0 
= 0 ; 
8156   PyObject 
* obj1 
= 0 ; 
8157   char *  kwnames
[] = { 
8158     (char *) "self",(char *) "editable", NULL 
 
8161   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8162   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8163   if (!SWIG_IsOK(res1
)) { 
8164     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8166   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8167   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
8168   if (!SWIG_IsOK(ecode2
)) { 
8169     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'"); 
8171   arg2 
= static_cast< bool >(val2
); 
8173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8174     (arg1
)->SetEditable(arg2
); 
8175     wxPyEndAllowThreads(__tstate
); 
8176     if (PyErr_Occurred()) SWIG_fail
; 
8178   resultobj 
= SWIG_Py_Void(); 
8185 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8186   PyObject 
*resultobj 
= 0; 
8187   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8191   PyObject 
*swig_obj
[1] ; 
8193   if (!args
) SWIG_fail
; 
8195   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8196   if (!SWIG_IsOK(res1
)) { 
8197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8199   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8202     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasSelection(); 
8203     wxPyEndAllowThreads(__tstate
); 
8204     if (PyErr_Occurred()) SWIG_fail
; 
8207     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8215 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8216   PyObject 
*resultobj 
= 0; 
8217   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8219   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8227   PyObject 
* obj0 
= 0 ; 
8228   PyObject 
* obj1 
= 0 ; 
8229   PyObject 
* obj2 
= 0 ; 
8230   char *  kwnames
[] = { 
8231     (char *) "self",(char *) "image",(char *) "bitmapType", NULL 
 
8234   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8235   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8236   if (!SWIG_IsOK(res1
)) { 
8237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8239   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8240   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
8241   if (!SWIG_IsOK(res2
)) { 
8242     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8245     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8247   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
8249     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8250     if (!SWIG_IsOK(ecode3
)) { 
8251       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'"); 
8253     arg3 
= static_cast< int >(val3
); 
8256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8257     result 
= (bool)(arg1
)->WriteImage((wxImage 
const &)*arg2
,arg3
); 
8258     wxPyEndAllowThreads(__tstate
); 
8259     if (PyErr_Occurred()) SWIG_fail
; 
8262     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8270 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8271   PyObject 
*resultobj 
= 0; 
8272   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8273   wxBitmap 
*arg2 
= 0 ; 
8274   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8282   PyObject 
* obj0 
= 0 ; 
8283   PyObject 
* obj1 
= 0 ; 
8284   PyObject 
* obj2 
= 0 ; 
8285   char *  kwnames
[] = { 
8286     (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL 
 
8289   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8290   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8291   if (!SWIG_IsOK(res1
)) { 
8292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8294   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8295   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8296   if (!SWIG_IsOK(res2
)) { 
8297     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8300     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8302   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8304     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8305     if (!SWIG_IsOK(ecode3
)) { 
8306       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'"); 
8308     arg3 
= static_cast< int >(val3
); 
8311     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8312     result 
= (bool)(arg1
)->WriteImage((wxBitmap 
const &)*arg2
,arg3
); 
8313     wxPyEndAllowThreads(__tstate
); 
8314     if (PyErr_Occurred()) SWIG_fail
; 
8317     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8325 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8326   PyObject 
*resultobj 
= 0; 
8327   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8328   wxString 
*arg2 
= 0 ; 
8333   bool temp2 
= false ; 
8336   PyObject 
* obj0 
= 0 ; 
8337   PyObject 
* obj1 
= 0 ; 
8338   PyObject 
* obj2 
= 0 ; 
8339   char *  kwnames
[] = { 
8340     (char *) "self",(char *) "filename",(char *) "bitmapType", NULL 
 
8343   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8344   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8345   if (!SWIG_IsOK(res1
)) { 
8346     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8348   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8350     arg2 
= wxString_in_helper(obj1
); 
8351     if (arg2 
== NULL
) SWIG_fail
; 
8354   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8355   if (!SWIG_IsOK(ecode3
)) { 
8356     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'"); 
8358   arg3 
= static_cast< int >(val3
); 
8360     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8361     result 
= (bool)(arg1
)->WriteImage((wxString 
const &)*arg2
,arg3
); 
8362     wxPyEndAllowThreads(__tstate
); 
8363     if (PyErr_Occurred()) SWIG_fail
; 
8366     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8382 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8383   PyObject 
*resultobj 
= 0; 
8384   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8385   wxRichTextImageBlock 
*arg2 
= 0 ; 
8391   PyObject 
* obj0 
= 0 ; 
8392   PyObject 
* obj1 
= 0 ; 
8393   char *  kwnames
[] = { 
8394     (char *) "self",(char *) "imageBlock", NULL 
 
8397   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8398   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8399   if (!SWIG_IsOK(res1
)) { 
8400     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8402   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8403   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
,  0  | 0); 
8404   if (!SWIG_IsOK(res2
)) { 
8405     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8408     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8410   arg2 
= reinterpret_cast< wxRichTextImageBlock 
* >(argp2
); 
8412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8413     result 
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock 
const &)*arg2
); 
8414     wxPyEndAllowThreads(__tstate
); 
8415     if (PyErr_Occurred()) SWIG_fail
; 
8418     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8426 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Newline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8427   PyObject 
*resultobj 
= 0; 
8428   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8432   PyObject 
*swig_obj
[1] ; 
8434   if (!args
) SWIG_fail
; 
8436   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8437   if (!SWIG_IsOK(res1
)) { 
8438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8440   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8442     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8443     result 
= (bool)(arg1
)->Newline(); 
8444     wxPyEndAllowThreads(__tstate
); 
8445     if (PyErr_Occurred()) SWIG_fail
; 
8448     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8456 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetBasicStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8457   PyObject 
*resultobj 
= 0; 
8458   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8459   wxRichTextAttr 
*arg2 
= 0 ; 
8464   PyObject 
* obj0 
= 0 ; 
8465   PyObject 
* obj1 
= 0 ; 
8466   char *  kwnames
[] = { 
8467     (char *) "self",(char *) "style", NULL 
 
8470   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8471   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8472   if (!SWIG_IsOK(res1
)) { 
8473     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8475   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8476   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
8477   if (!SWIG_IsOK(res2
)) { 
8478     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8481     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8483   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
8485     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8486     (arg1
)->SetBasicStyle((wxRichTextAttr 
const &)*arg2
); 
8487     wxPyEndAllowThreads(__tstate
); 
8488     if (PyErr_Occurred()) SWIG_fail
; 
8490   resultobj 
= SWIG_Py_Void(); 
8497 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8498   PyObject 
*resultobj 
= 0; 
8499   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8503   PyObject 
*swig_obj
[1] ; 
8505   if (!args
) SWIG_fail
; 
8507   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8508   if (!SWIG_IsOK(res1
)) { 
8509     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8511   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8513     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8514     result 
= (bool)(arg1
)->EndStyle(); 
8515     wxPyEndAllowThreads(__tstate
); 
8516     if (PyErr_Occurred()) SWIG_fail
; 
8519     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8527 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAllStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8528   PyObject 
*resultobj 
= 0; 
8529   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8533   PyObject 
*swig_obj
[1] ; 
8535   if (!args
) SWIG_fail
; 
8537   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8538   if (!SWIG_IsOK(res1
)) { 
8539     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8541   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8544     result 
= (bool)(arg1
)->EndAllStyles(); 
8545     wxPyEndAllowThreads(__tstate
); 
8546     if (PyErr_Occurred()) SWIG_fail
; 
8549     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8557 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8558   PyObject 
*resultobj 
= 0; 
8559   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8563   PyObject 
*swig_obj
[1] ; 
8565   if (!args
) SWIG_fail
; 
8567   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8568   if (!SWIG_IsOK(res1
)) { 
8569     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8571   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8573     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8574     result 
= (bool)(arg1
)->BeginBold(); 
8575     wxPyEndAllowThreads(__tstate
); 
8576     if (PyErr_Occurred()) SWIG_fail
; 
8579     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8587 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8588   PyObject 
*resultobj 
= 0; 
8589   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8593   PyObject 
*swig_obj
[1] ; 
8595   if (!args
) SWIG_fail
; 
8597   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8598   if (!SWIG_IsOK(res1
)) { 
8599     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8601   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8603     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8604     result 
= (bool)(arg1
)->EndBold(); 
8605     wxPyEndAllowThreads(__tstate
); 
8606     if (PyErr_Occurred()) SWIG_fail
; 
8609     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8617 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8618   PyObject 
*resultobj 
= 0; 
8619   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8623   PyObject 
*swig_obj
[1] ; 
8625   if (!args
) SWIG_fail
; 
8627   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8628   if (!SWIG_IsOK(res1
)) { 
8629     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8631   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8633     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8634     result 
= (bool)(arg1
)->BeginItalic(); 
8635     wxPyEndAllowThreads(__tstate
); 
8636     if (PyErr_Occurred()) SWIG_fail
; 
8639     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8647 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8648   PyObject 
*resultobj 
= 0; 
8649   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8653   PyObject 
*swig_obj
[1] ; 
8655   if (!args
) SWIG_fail
; 
8657   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8658   if (!SWIG_IsOK(res1
)) { 
8659     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8661   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8663     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8664     result 
= (bool)(arg1
)->EndItalic(); 
8665     wxPyEndAllowThreads(__tstate
); 
8666     if (PyErr_Occurred()) SWIG_fail
; 
8669     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8677 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8678   PyObject 
*resultobj 
= 0; 
8679   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8683   PyObject 
*swig_obj
[1] ; 
8685   if (!args
) SWIG_fail
; 
8687   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8688   if (!SWIG_IsOK(res1
)) { 
8689     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8691   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8693     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8694     result 
= (bool)(arg1
)->BeginUnderline(); 
8695     wxPyEndAllowThreads(__tstate
); 
8696     if (PyErr_Occurred()) SWIG_fail
; 
8699     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8707 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8708   PyObject 
*resultobj 
= 0; 
8709   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8713   PyObject 
*swig_obj
[1] ; 
8715   if (!args
) SWIG_fail
; 
8717   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8718   if (!SWIG_IsOK(res1
)) { 
8719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8721   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8724     result 
= (bool)(arg1
)->EndUnderline(); 
8725     wxPyEndAllowThreads(__tstate
); 
8726     if (PyErr_Occurred()) SWIG_fail
; 
8729     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8737 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8738   PyObject 
*resultobj 
= 0; 
8739   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8746   PyObject 
* obj0 
= 0 ; 
8747   PyObject 
* obj1 
= 0 ; 
8748   char *  kwnames
[] = { 
8749     (char *) "self",(char *) "pointSize", NULL 
 
8752   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8753   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8754   if (!SWIG_IsOK(res1
)) { 
8755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8757   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8758   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8759   if (!SWIG_IsOK(ecode2
)) { 
8760     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'"); 
8762   arg2 
= static_cast< int >(val2
); 
8764     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8765     result 
= (bool)(arg1
)->BeginFontSize(arg2
); 
8766     wxPyEndAllowThreads(__tstate
); 
8767     if (PyErr_Occurred()) SWIG_fail
; 
8770     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8778 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8779   PyObject 
*resultobj 
= 0; 
8780   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8784   PyObject 
*swig_obj
[1] ; 
8786   if (!args
) SWIG_fail
; 
8788   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8789   if (!SWIG_IsOK(res1
)) { 
8790     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8792   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8794     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8795     result 
= (bool)(arg1
)->EndFontSize(); 
8796     wxPyEndAllowThreads(__tstate
); 
8797     if (PyErr_Occurred()) SWIG_fail
; 
8800     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8808 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8809   PyObject 
*resultobj 
= 0; 
8810   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8817   PyObject 
* obj0 
= 0 ; 
8818   PyObject 
* obj1 
= 0 ; 
8819   char *  kwnames
[] = { 
8820     (char *) "self",(char *) "font", NULL 
 
8823   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8824   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8825   if (!SWIG_IsOK(res1
)) { 
8826     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8828   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8829   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
8830   if (!SWIG_IsOK(res2
)) { 
8831     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8834     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8836   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
8838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8839     result 
= (bool)(arg1
)->BeginFont((wxFont 
const &)*arg2
); 
8840     wxPyEndAllowThreads(__tstate
); 
8841     if (PyErr_Occurred()) SWIG_fail
; 
8844     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8852 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8853   PyObject 
*resultobj 
= 0; 
8854   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8858   PyObject 
*swig_obj
[1] ; 
8860   if (!args
) SWIG_fail
; 
8862   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8863   if (!SWIG_IsOK(res1
)) { 
8864     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8866   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8868     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8869     result 
= (bool)(arg1
)->EndFont(); 
8870     wxPyEndAllowThreads(__tstate
); 
8871     if (PyErr_Occurred()) SWIG_fail
; 
8874     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8882 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8883   PyObject 
*resultobj 
= 0; 
8884   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8885   wxColour 
*arg2 
= 0 ; 
8890   PyObject 
* obj0 
= 0 ; 
8891   PyObject 
* obj1 
= 0 ; 
8892   char *  kwnames
[] = { 
8893     (char *) "self",(char *) "colour", NULL 
 
8896   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8897   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8898   if (!SWIG_IsOK(res1
)) { 
8899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8901   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8904     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8907     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8908     result 
= (bool)(arg1
)->BeginTextColour((wxColour 
const &)*arg2
); 
8909     wxPyEndAllowThreads(__tstate
); 
8910     if (PyErr_Occurred()) SWIG_fail
; 
8913     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8921 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8922   PyObject 
*resultobj 
= 0; 
8923   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8927   PyObject 
*swig_obj
[1] ; 
8929   if (!args
) SWIG_fail
; 
8931   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8932   if (!SWIG_IsOK(res1
)) { 
8933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8935   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8938     result 
= (bool)(arg1
)->EndTextColour(); 
8939     wxPyEndAllowThreads(__tstate
); 
8940     if (PyErr_Occurred()) SWIG_fail
; 
8943     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8951 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8952   PyObject 
*resultobj 
= 0; 
8953   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8954   wxTextAttrAlignment arg2 
; 
8960   PyObject 
* obj0 
= 0 ; 
8961   PyObject 
* obj1 
= 0 ; 
8962   char *  kwnames
[] = { 
8963     (char *) "self",(char *) "alignment", NULL 
 
8966   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8967   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8968   if (!SWIG_IsOK(res1
)) { 
8969     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8971   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8972   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8973   if (!SWIG_IsOK(ecode2
)) { 
8974     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
8976   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
8978     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8979     result 
= (bool)(arg1
)->BeginAlignment(arg2
); 
8980     wxPyEndAllowThreads(__tstate
); 
8981     if (PyErr_Occurred()) SWIG_fail
; 
8984     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8992 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8993   PyObject 
*resultobj 
= 0; 
8994   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8998   PyObject 
*swig_obj
[1] ; 
9000   if (!args
) SWIG_fail
; 
9002   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9003   if (!SWIG_IsOK(res1
)) { 
9004     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9006   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9009     result 
= (bool)(arg1
)->EndAlignment(); 
9010     wxPyEndAllowThreads(__tstate
); 
9011     if (PyErr_Occurred()) SWIG_fail
; 
9014     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9022 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9023   PyObject 
*resultobj 
= 0; 
9024   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9026   int arg3 
= (int) 0 ; 
9034   PyObject 
* obj0 
= 0 ; 
9035   PyObject 
* obj1 
= 0 ; 
9036   PyObject 
* obj2 
= 0 ; 
9037   char *  kwnames
[] = { 
9038     (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL 
 
9041   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9042   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9043   if (!SWIG_IsOK(res1
)) { 
9044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9046   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9047   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9048   if (!SWIG_IsOK(ecode2
)) { 
9049     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
9051   arg2 
= static_cast< int >(val2
); 
9053     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9054     if (!SWIG_IsOK(ecode3
)) { 
9055       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
9057     arg3 
= static_cast< int >(val3
); 
9060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9061     result 
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
); 
9062     wxPyEndAllowThreads(__tstate
); 
9063     if (PyErr_Occurred()) SWIG_fail
; 
9066     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9074 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9075   PyObject 
*resultobj 
= 0; 
9076   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9080   PyObject 
*swig_obj
[1] ; 
9082   if (!args
) SWIG_fail
; 
9084   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9085   if (!SWIG_IsOK(res1
)) { 
9086     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9088   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9091     result 
= (bool)(arg1
)->EndLeftIndent(); 
9092     wxPyEndAllowThreads(__tstate
); 
9093     if (PyErr_Occurred()) SWIG_fail
; 
9096     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9104 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9105   PyObject 
*resultobj 
= 0; 
9106   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9113   PyObject 
* obj0 
= 0 ; 
9114   PyObject 
* obj1 
= 0 ; 
9115   char *  kwnames
[] = { 
9116     (char *) "self",(char *) "rightIndent", NULL 
 
9119   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9120   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9121   if (!SWIG_IsOK(res1
)) { 
9122     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9124   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9125   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9126   if (!SWIG_IsOK(ecode2
)) { 
9127     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'"); 
9129   arg2 
= static_cast< int >(val2
); 
9131     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9132     result 
= (bool)(arg1
)->BeginRightIndent(arg2
); 
9133     wxPyEndAllowThreads(__tstate
); 
9134     if (PyErr_Occurred()) SWIG_fail
; 
9137     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9145 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9146   PyObject 
*resultobj 
= 0; 
9147   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9151   PyObject 
*swig_obj
[1] ; 
9153   if (!args
) SWIG_fail
; 
9155   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9156   if (!SWIG_IsOK(res1
)) { 
9157     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9159   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9162     result 
= (bool)(arg1
)->EndRightIndent(); 
9163     wxPyEndAllowThreads(__tstate
); 
9164     if (PyErr_Occurred()) SWIG_fail
; 
9167     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9175 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9176   PyObject 
*resultobj 
= 0; 
9177   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9187   PyObject 
* obj0 
= 0 ; 
9188   PyObject 
* obj1 
= 0 ; 
9189   PyObject 
* obj2 
= 0 ; 
9190   char *  kwnames
[] = { 
9191     (char *) "self",(char *) "before",(char *) "after", NULL 
 
9194   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9195   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9196   if (!SWIG_IsOK(res1
)) { 
9197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9199   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9200   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9201   if (!SWIG_IsOK(ecode2
)) { 
9202     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'"); 
9204   arg2 
= static_cast< int >(val2
); 
9205   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9206   if (!SWIG_IsOK(ecode3
)) { 
9207     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'"); 
9209   arg3 
= static_cast< int >(val3
); 
9211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9212     result 
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
); 
9213     wxPyEndAllowThreads(__tstate
); 
9214     if (PyErr_Occurred()) SWIG_fail
; 
9217     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9225 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9226   PyObject 
*resultobj 
= 0; 
9227   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9231   PyObject 
*swig_obj
[1] ; 
9233   if (!args
) SWIG_fail
; 
9235   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9236   if (!SWIG_IsOK(res1
)) { 
9237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9239   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9241     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9242     result 
= (bool)(arg1
)->EndParagraphSpacing(); 
9243     wxPyEndAllowThreads(__tstate
); 
9244     if (PyErr_Occurred()) SWIG_fail
; 
9247     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9255 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9256   PyObject 
*resultobj 
= 0; 
9257   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9264   PyObject 
* obj0 
= 0 ; 
9265   PyObject 
* obj1 
= 0 ; 
9266   char *  kwnames
[] = { 
9267     (char *) "self",(char *) "lineSpacing", NULL 
 
9270   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9271   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9272   if (!SWIG_IsOK(res1
)) { 
9273     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9275   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9276   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9277   if (!SWIG_IsOK(ecode2
)) { 
9278     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
9280   arg2 
= static_cast< int >(val2
); 
9282     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9283     result 
= (bool)(arg1
)->BeginLineSpacing(arg2
); 
9284     wxPyEndAllowThreads(__tstate
); 
9285     if (PyErr_Occurred()) SWIG_fail
; 
9288     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9296 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9297   PyObject 
*resultobj 
= 0; 
9298   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9302   PyObject 
*swig_obj
[1] ; 
9304   if (!args
) SWIG_fail
; 
9306   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9307   if (!SWIG_IsOK(res1
)) { 
9308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9310   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9313     result 
= (bool)(arg1
)->EndLineSpacing(); 
9314     wxPyEndAllowThreads(__tstate
); 
9315     if (PyErr_Occurred()) SWIG_fail
; 
9318     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9326 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9327   PyObject 
*resultobj 
= 0; 
9328   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9332   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD 
; 
9344   PyObject 
* obj0 
= 0 ; 
9345   PyObject 
* obj1 
= 0 ; 
9346   PyObject 
* obj2 
= 0 ; 
9347   PyObject 
* obj3 
= 0 ; 
9348   PyObject 
* obj4 
= 0 ; 
9349   char *  kwnames
[] = { 
9350     (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9353   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9354   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9355   if (!SWIG_IsOK(res1
)) { 
9356     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9358   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9359   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9360   if (!SWIG_IsOK(ecode2
)) { 
9361     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'"); 
9363   arg2 
= static_cast< int >(val2
); 
9364   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9365   if (!SWIG_IsOK(ecode3
)) { 
9366     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'"); 
9368   arg3 
= static_cast< int >(val3
); 
9369   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9370   if (!SWIG_IsOK(ecode4
)) { 
9371     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'"); 
9373   arg4 
= static_cast< int >(val4
); 
9375     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9376     if (!SWIG_IsOK(ecode5
)) { 
9377       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'"); 
9379     arg5 
= static_cast< int >(val5
); 
9382     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9383     result 
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
); 
9384     wxPyEndAllowThreads(__tstate
); 
9385     if (PyErr_Occurred()) SWIG_fail
; 
9388     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9396 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9397   PyObject 
*resultobj 
= 0; 
9398   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9402   PyObject 
*swig_obj
[1] ; 
9404   if (!args
) SWIG_fail
; 
9406   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9407   if (!SWIG_IsOK(res1
)) { 
9408     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9410   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9413     result 
= (bool)(arg1
)->EndNumberedBullet(); 
9414     wxPyEndAllowThreads(__tstate
); 
9415     if (PyErr_Occurred()) SWIG_fail
; 
9418     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9426 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9427   PyObject 
*resultobj 
= 0; 
9428   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9432   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL 
; 
9444   PyObject 
* obj0 
= 0 ; 
9445   PyObject 
* obj1 
= 0 ; 
9446   PyObject 
* obj2 
= 0 ; 
9447   PyObject 
* obj3 
= 0 ; 
9448   PyObject 
* obj4 
= 0 ; 
9449   char *  kwnames
[] = { 
9450     (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9453   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9454   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9455   if (!SWIG_IsOK(res1
)) { 
9456     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9458   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9459   ecode2 
= SWIG_AsVal_char(obj1
, &val2
); 
9460   if (!SWIG_IsOK(ecode2
)) { 
9461     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'"); 
9463   arg2 
= static_cast< char >(val2
); 
9464   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9465   if (!SWIG_IsOK(ecode3
)) { 
9466     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'"); 
9468   arg3 
= static_cast< int >(val3
); 
9469   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9470   if (!SWIG_IsOK(ecode4
)) { 
9471     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'"); 
9473   arg4 
= static_cast< int >(val4
); 
9475     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9476     if (!SWIG_IsOK(ecode5
)) { 
9477       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'"); 
9479     arg5 
= static_cast< int >(val5
); 
9482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9483     result 
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
); 
9484     wxPyEndAllowThreads(__tstate
); 
9485     if (PyErr_Occurred()) SWIG_fail
; 
9488     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9496 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9497   PyObject 
*resultobj 
= 0; 
9498   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9502   PyObject 
*swig_obj
[1] ; 
9504   if (!args
) SWIG_fail
; 
9506   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9507   if (!SWIG_IsOK(res1
)) { 
9508     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9510   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9513     result 
= (bool)(arg1
)->EndSymbolBullet(); 
9514     wxPyEndAllowThreads(__tstate
); 
9515     if (PyErr_Occurred()) SWIG_fail
; 
9518     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9526 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9527   PyObject 
*resultobj 
= 0; 
9528   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9529   wxString 
*arg2 
= 0 ; 
9533   bool temp2 
= false ; 
9534   PyObject 
* obj0 
= 0 ; 
9535   PyObject 
* obj1 
= 0 ; 
9536   char *  kwnames
[] = { 
9537     (char *) "self",(char *) "characterStyle", NULL 
 
9540   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9541   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9542   if (!SWIG_IsOK(res1
)) { 
9543     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9545   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9547     arg2 
= wxString_in_helper(obj1
); 
9548     if (arg2 
== NULL
) SWIG_fail
; 
9552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9553     result 
= (bool)(arg1
)->BeginCharacterStyle((wxString 
const &)*arg2
); 
9554     wxPyEndAllowThreads(__tstate
); 
9555     if (PyErr_Occurred()) SWIG_fail
; 
9558     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9574 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9575   PyObject 
*resultobj 
= 0; 
9576   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9580   PyObject 
*swig_obj
[1] ; 
9582   if (!args
) SWIG_fail
; 
9584   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9585   if (!SWIG_IsOK(res1
)) { 
9586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9588   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9590     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9591     result 
= (bool)(arg1
)->EndCharacterStyle(); 
9592     wxPyEndAllowThreads(__tstate
); 
9593     if (PyErr_Occurred()) SWIG_fail
; 
9596     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9604 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9605   PyObject 
*resultobj 
= 0; 
9606   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9607   wxString 
*arg2 
= 0 ; 
9611   bool temp2 
= false ; 
9612   PyObject 
* obj0 
= 0 ; 
9613   PyObject 
* obj1 
= 0 ; 
9614   char *  kwnames
[] = { 
9615     (char *) "self",(char *) "paragraphStyle", NULL 
 
9618   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9619   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9620   if (!SWIG_IsOK(res1
)) { 
9621     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9623   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9625     arg2 
= wxString_in_helper(obj1
); 
9626     if (arg2 
== NULL
) SWIG_fail
; 
9630     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9631     result 
= (bool)(arg1
)->BeginParagraphStyle((wxString 
const &)*arg2
); 
9632     wxPyEndAllowThreads(__tstate
); 
9633     if (PyErr_Occurred()) SWIG_fail
; 
9636     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9652 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9653   PyObject 
*resultobj 
= 0; 
9654   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9658   PyObject 
*swig_obj
[1] ; 
9660   if (!args
) SWIG_fail
; 
9662   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9663   if (!SWIG_IsOK(res1
)) { 
9664     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9666   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9669     result 
= (bool)(arg1
)->EndParagraphStyle(); 
9670     wxPyEndAllowThreads(__tstate
); 
9671     if (PyErr_Occurred()) SWIG_fail
; 
9674     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9682 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9683   PyObject 
*resultobj 
= 0; 
9684   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9688   PyObject 
*swig_obj
[1] ; 
9690   if (!args
) SWIG_fail
; 
9692   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9693   if (!SWIG_IsOK(res1
)) { 
9694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9696   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9698     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9699     result 
= (bool)(arg1
)->SetDefaultStyleToCursorStyle(); 
9700     wxPyEndAllowThreads(__tstate
); 
9701     if (PyErr_Occurred()) SWIG_fail
; 
9704     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9712 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectNone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9713   PyObject 
*resultobj 
= 0; 
9714   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9717   PyObject 
*swig_obj
[1] ; 
9719   if (!args
) SWIG_fail
; 
9721   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9722   if (!SWIG_IsOK(res1
)) { 
9723     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9725   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9727     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9728     (arg1
)->SelectNone(); 
9729     wxPyEndAllowThreads(__tstate
); 
9730     if (PyErr_Occurred()) SWIG_fail
; 
9732   resultobj 
= SWIG_Py_Void(); 
9739 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9740   PyObject 
*resultobj 
= 0; 
9741   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9742   wxRichTextRange 
*result 
= 0 ; 
9745   PyObject 
*swig_obj
[1] ; 
9747   if (!args
) SWIG_fail
; 
9749   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9750   if (!SWIG_IsOK(res1
)) { 
9751     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
9753   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9755     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9757       wxRichTextRange 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetSelectionRange(); 
9758       result 
= (wxRichTextRange 
*) &_result_ref
; 
9760     wxPyEndAllowThreads(__tstate
); 
9761     if (PyErr_Occurred()) SWIG_fail
; 
9763   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
9770 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9771   PyObject 
*resultobj 
= 0; 
9772   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9773   wxRichTextRange 
*arg2 
= 0 ; 
9776   wxRichTextRange temp2 
; 
9777   PyObject 
* obj0 
= 0 ; 
9778   PyObject 
* obj1 
= 0 ; 
9779   char *  kwnames
[] = { 
9780     (char *) "self",(char *) "range", NULL 
 
9783   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9784   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9785   if (!SWIG_IsOK(res1
)) { 
9786     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9788   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9791     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
9794     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9795     (arg1
)->SetSelectionRange((wxRichTextRange 
const &)*arg2
); 
9796     wxPyEndAllowThreads(__tstate
); 
9797     if (PyErr_Occurred()) SWIG_fail
; 
9799   resultobj 
= SWIG_Py_Void(); 
9806 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddParagraph(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9807   PyObject 
*resultobj 
= 0; 
9808   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9809   wxString 
*arg2 
= 0 ; 
9810   wxRichTextRange result
; 
9813   bool temp2 
= false ; 
9814   PyObject 
* obj0 
= 0 ; 
9815   PyObject 
* obj1 
= 0 ; 
9816   char *  kwnames
[] = { 
9817     (char *) "self",(char *) "text", NULL 
 
9820   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9821   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9822   if (!SWIG_IsOK(res1
)) { 
9823     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9825   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9827     arg2 
= wxString_in_helper(obj1
); 
9828     if (arg2 
== NULL
) SWIG_fail
; 
9832     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9833     result 
= (arg1
)->AddParagraph((wxString 
const &)*arg2
); 
9834     wxPyEndAllowThreads(__tstate
); 
9835     if (PyErr_Occurred()) SWIG_fail
; 
9837   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
9852 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9853   PyObject 
*resultobj 
= 0; 
9854   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9856   wxRichTextRange result
; 
9861   PyObject 
* obj0 
= 0 ; 
9862   PyObject 
* obj1 
= 0 ; 
9863   char *  kwnames
[] = { 
9864     (char *) "self",(char *) "image", NULL 
 
9867   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9868   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9869   if (!SWIG_IsOK(res1
)) { 
9870     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9872   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9873   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
9874   if (!SWIG_IsOK(res2
)) { 
9875     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
9878     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
9880   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
9882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9883     result 
= (arg1
)->AddImage((wxImage 
const &)*arg2
); 
9884     wxPyEndAllowThreads(__tstate
); 
9885     if (PyErr_Occurred()) SWIG_fail
; 
9887   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
9894 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LayoutContent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9895   PyObject 
*resultobj 
= 0; 
9896   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9897   bool arg2 
= (bool) false ; 
9903   PyObject 
* obj0 
= 0 ; 
9904   PyObject 
* obj1 
= 0 ; 
9905   char *  kwnames
[] = { 
9906     (char *) "self",(char *) "onlyVisibleRect", NULL 
 
9909   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9910   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9911   if (!SWIG_IsOK(res1
)) { 
9912     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9914   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9916     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
9917     if (!SWIG_IsOK(ecode2
)) { 
9918       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'"); 
9920     arg2 
= static_cast< bool >(val2
); 
9923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9924     result 
= (bool)(arg1
)->LayoutContent(arg2
); 
9925     wxPyEndAllowThreads(__tstate
); 
9926     if (PyErr_Occurred()) SWIG_fail
; 
9929     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9937 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveCaret(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9938   PyObject 
*resultobj 
= 0; 
9939   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9941   bool arg3 
= (bool) false ; 
9949   PyObject 
* obj0 
= 0 ; 
9950   PyObject 
* obj1 
= 0 ; 
9951   PyObject 
* obj2 
= 0 ; 
9952   char *  kwnames
[] = { 
9953     (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL 
 
9956   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9957   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9958   if (!SWIG_IsOK(res1
)) { 
9959     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9961   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9962   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
9963   if (!SWIG_IsOK(ecode2
)) { 
9964     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'"); 
9966   arg2 
= static_cast< long >(val2
); 
9968     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
9969     if (!SWIG_IsOK(ecode3
)) { 
9970       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'"); 
9972     arg3 
= static_cast< bool >(val3
); 
9975     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9976     result 
= (bool)(arg1
)->MoveCaret(arg2
,arg3
); 
9977     wxPyEndAllowThreads(__tstate
); 
9978     if (PyErr_Occurred()) SWIG_fail
; 
9981     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9989 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9990   PyObject 
*resultobj 
= 0; 
9991   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9992   int arg2 
= (int) 1 ; 
9993   int arg3 
= (int) 0 ; 
10001   PyObject 
* obj0 
= 0 ; 
10002   PyObject 
* obj1 
= 0 ; 
10003   PyObject 
* obj2 
= 0 ; 
10004   char *  kwnames
[] = { 
10005     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10008   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10009   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10010   if (!SWIG_IsOK(res1
)) { 
10011     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10013   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10015     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10016     if (!SWIG_IsOK(ecode2
)) { 
10017       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'"); 
10019     arg2 
= static_cast< int >(val2
); 
10022     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10023     if (!SWIG_IsOK(ecode3
)) { 
10024       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'"); 
10026     arg3 
= static_cast< int >(val3
); 
10029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10030     result 
= (bool)(arg1
)->MoveRight(arg2
,arg3
); 
10031     wxPyEndAllowThreads(__tstate
); 
10032     if (PyErr_Occurred()) SWIG_fail
; 
10035     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10043 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10044   PyObject 
*resultobj 
= 0; 
10045   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10046   int arg2 
= (int) 1 ; 
10047   int arg3 
= (int) 0 ; 
10055   PyObject 
* obj0 
= 0 ; 
10056   PyObject 
* obj1 
= 0 ; 
10057   PyObject 
* obj2 
= 0 ; 
10058   char *  kwnames
[] = { 
10059     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10062   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10063   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10064   if (!SWIG_IsOK(res1
)) { 
10065     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10067   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10069     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10070     if (!SWIG_IsOK(ecode2
)) { 
10071       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'"); 
10073     arg2 
= static_cast< int >(val2
); 
10076     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10077     if (!SWIG_IsOK(ecode3
)) { 
10078       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'"); 
10080     arg3 
= static_cast< int >(val3
); 
10083     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10084     result 
= (bool)(arg1
)->MoveLeft(arg2
,arg3
); 
10085     wxPyEndAllowThreads(__tstate
); 
10086     if (PyErr_Occurred()) SWIG_fail
; 
10089     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10097 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10098   PyObject 
*resultobj 
= 0; 
10099   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10100   int arg2 
= (int) 1 ; 
10101   int arg3 
= (int) 0 ; 
10109   PyObject 
* obj0 
= 0 ; 
10110   PyObject 
* obj1 
= 0 ; 
10111   PyObject 
* obj2 
= 0 ; 
10112   char *  kwnames
[] = { 
10113     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10117   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10118   if (!SWIG_IsOK(res1
)) { 
10119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10121   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10123     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10124     if (!SWIG_IsOK(ecode2
)) { 
10125       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'"); 
10127     arg2 
= static_cast< int >(val2
); 
10130     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10131     if (!SWIG_IsOK(ecode3
)) { 
10132       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'"); 
10134     arg3 
= static_cast< int >(val3
); 
10137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10138     result 
= (bool)(arg1
)->MoveUp(arg2
,arg3
); 
10139     wxPyEndAllowThreads(__tstate
); 
10140     if (PyErr_Occurred()) SWIG_fail
; 
10143     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10151 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10152   PyObject 
*resultobj 
= 0; 
10153   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10154   int arg2 
= (int) 1 ; 
10155   int arg3 
= (int) 0 ; 
10163   PyObject 
* obj0 
= 0 ; 
10164   PyObject 
* obj1 
= 0 ; 
10165   PyObject 
* obj2 
= 0 ; 
10166   char *  kwnames
[] = { 
10167     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10170   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10171   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10172   if (!SWIG_IsOK(res1
)) { 
10173     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10175   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10177     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10178     if (!SWIG_IsOK(ecode2
)) { 
10179       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'"); 
10181     arg2 
= static_cast< int >(val2
); 
10184     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10185     if (!SWIG_IsOK(ecode3
)) { 
10186       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'"); 
10188     arg3 
= static_cast< int >(val3
); 
10191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10192     result 
= (bool)(arg1
)->MoveDown(arg2
,arg3
); 
10193     wxPyEndAllowThreads(__tstate
); 
10194     if (PyErr_Occurred()) SWIG_fail
; 
10197     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10205 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10206   PyObject 
*resultobj 
= 0; 
10207   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10208   int arg2 
= (int) 0 ; 
10214   PyObject 
* obj0 
= 0 ; 
10215   PyObject 
* obj1 
= 0 ; 
10216   char *  kwnames
[] = { 
10217     (char *) "self",(char *) "flags", NULL 
 
10220   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10221   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10222   if (!SWIG_IsOK(res1
)) { 
10223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10225   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10227     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10228     if (!SWIG_IsOK(ecode2
)) { 
10229       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'"); 
10231     arg2 
= static_cast< int >(val2
); 
10234     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10235     result 
= (bool)(arg1
)->MoveToLineEnd(arg2
); 
10236     wxPyEndAllowThreads(__tstate
); 
10237     if (PyErr_Occurred()) SWIG_fail
; 
10240     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10248 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10249   PyObject 
*resultobj 
= 0; 
10250   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10251   int arg2 
= (int) 0 ; 
10257   PyObject 
* obj0 
= 0 ; 
10258   PyObject 
* obj1 
= 0 ; 
10259   char *  kwnames
[] = { 
10260     (char *) "self",(char *) "flags", NULL 
 
10263   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10264   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10265   if (!SWIG_IsOK(res1
)) { 
10266     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10268   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10270     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10271     if (!SWIG_IsOK(ecode2
)) { 
10272       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'"); 
10274     arg2 
= static_cast< int >(val2
); 
10277     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10278     result 
= (bool)(arg1
)->MoveToLineStart(arg2
); 
10279     wxPyEndAllowThreads(__tstate
); 
10280     if (PyErr_Occurred()) SWIG_fail
; 
10283     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10291 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10292   PyObject 
*resultobj 
= 0; 
10293   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10294   int arg2 
= (int) 0 ; 
10300   PyObject 
* obj0 
= 0 ; 
10301   PyObject 
* obj1 
= 0 ; 
10302   char *  kwnames
[] = { 
10303     (char *) "self",(char *) "flags", NULL 
 
10306   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10307   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10308   if (!SWIG_IsOK(res1
)) { 
10309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10311   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10313     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10314     if (!SWIG_IsOK(ecode2
)) { 
10315       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'"); 
10317     arg2 
= static_cast< int >(val2
); 
10320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10321     result 
= (bool)(arg1
)->MoveToParagraphEnd(arg2
); 
10322     wxPyEndAllowThreads(__tstate
); 
10323     if (PyErr_Occurred()) SWIG_fail
; 
10326     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10334 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10335   PyObject 
*resultobj 
= 0; 
10336   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10337   int arg2 
= (int) 0 ; 
10343   PyObject 
* obj0 
= 0 ; 
10344   PyObject 
* obj1 
= 0 ; 
10345   char *  kwnames
[] = { 
10346     (char *) "self",(char *) "flags", NULL 
 
10349   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10350   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10351   if (!SWIG_IsOK(res1
)) { 
10352     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10354   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10356     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10357     if (!SWIG_IsOK(ecode2
)) { 
10358       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'"); 
10360     arg2 
= static_cast< int >(val2
); 
10363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10364     result 
= (bool)(arg1
)->MoveToParagraphStart(arg2
); 
10365     wxPyEndAllowThreads(__tstate
); 
10366     if (PyErr_Occurred()) SWIG_fail
; 
10369     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10377 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveHome(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10378   PyObject 
*resultobj 
= 0; 
10379   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10380   int arg2 
= (int) 0 ; 
10386   PyObject 
* obj0 
= 0 ; 
10387   PyObject 
* obj1 
= 0 ; 
10388   char *  kwnames
[] = { 
10389     (char *) "self",(char *) "flags", NULL 
 
10392   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10393   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10394   if (!SWIG_IsOK(res1
)) { 
10395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10397   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10399     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10400     if (!SWIG_IsOK(ecode2
)) { 
10401       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'"); 
10403     arg2 
= static_cast< int >(val2
); 
10406     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10407     result 
= (bool)(arg1
)->MoveHome(arg2
); 
10408     wxPyEndAllowThreads(__tstate
); 
10409     if (PyErr_Occurred()) SWIG_fail
; 
10412     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10420 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10421   PyObject 
*resultobj 
= 0; 
10422   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10423   int arg2 
= (int) 0 ; 
10429   PyObject 
* obj0 
= 0 ; 
10430   PyObject 
* obj1 
= 0 ; 
10431   char *  kwnames
[] = { 
10432     (char *) "self",(char *) "flags", NULL 
 
10435   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10436   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10437   if (!SWIG_IsOK(res1
)) { 
10438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10440   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10442     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10443     if (!SWIG_IsOK(ecode2
)) { 
10444       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'"); 
10446     arg2 
= static_cast< int >(val2
); 
10449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10450     result 
= (bool)(arg1
)->MoveEnd(arg2
); 
10451     wxPyEndAllowThreads(__tstate
); 
10452     if (PyErr_Occurred()) SWIG_fail
; 
10455     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10463 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10464   PyObject 
*resultobj 
= 0; 
10465   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10466   int arg2 
= (int) 1 ; 
10467   int arg3 
= (int) 0 ; 
10475   PyObject 
* obj0 
= 0 ; 
10476   PyObject 
* obj1 
= 0 ; 
10477   PyObject 
* obj2 
= 0 ; 
10478   char *  kwnames
[] = { 
10479     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10482   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10483   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10484   if (!SWIG_IsOK(res1
)) { 
10485     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10487   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10489     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10490     if (!SWIG_IsOK(ecode2
)) { 
10491       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'"); 
10493     arg2 
= static_cast< int >(val2
); 
10496     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10497     if (!SWIG_IsOK(ecode3
)) { 
10498       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'"); 
10500     arg3 
= static_cast< int >(val3
); 
10503     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10504     result 
= (bool)(arg1
)->PageUp(arg2
,arg3
); 
10505     wxPyEndAllowThreads(__tstate
); 
10506     if (PyErr_Occurred()) SWIG_fail
; 
10509     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10517 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10518   PyObject 
*resultobj 
= 0; 
10519   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10520   int arg2 
= (int) 1 ; 
10521   int arg3 
= (int) 0 ; 
10529   PyObject 
* obj0 
= 0 ; 
10530   PyObject 
* obj1 
= 0 ; 
10531   PyObject 
* obj2 
= 0 ; 
10532   char *  kwnames
[] = { 
10533     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10536   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10537   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10538   if (!SWIG_IsOK(res1
)) { 
10539     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10541   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10543     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10544     if (!SWIG_IsOK(ecode2
)) { 
10545       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'"); 
10547     arg2 
= static_cast< int >(val2
); 
10550     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10551     if (!SWIG_IsOK(ecode3
)) { 
10552       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'"); 
10554     arg3 
= static_cast< int >(val3
); 
10557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10558     result 
= (bool)(arg1
)->PageDown(arg2
,arg3
); 
10559     wxPyEndAllowThreads(__tstate
); 
10560     if (PyErr_Occurred()) SWIG_fail
; 
10563     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10571 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10572   PyObject 
*resultobj 
= 0; 
10573   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10574   int arg2 
= (int) 1 ; 
10575   int arg3 
= (int) 0 ; 
10583   PyObject 
* obj0 
= 0 ; 
10584   PyObject 
* obj1 
= 0 ; 
10585   PyObject 
* obj2 
= 0 ; 
10586   char *  kwnames
[] = { 
10587     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10592   if (!SWIG_IsOK(res1
)) { 
10593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10595   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10597     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10598     if (!SWIG_IsOK(ecode2
)) { 
10599       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'"); 
10601     arg2 
= static_cast< int >(val2
); 
10604     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10605     if (!SWIG_IsOK(ecode3
)) { 
10606       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'"); 
10608     arg3 
= static_cast< int >(val3
); 
10611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10612     result 
= (bool)(arg1
)->WordLeft(arg2
,arg3
); 
10613     wxPyEndAllowThreads(__tstate
); 
10614     if (PyErr_Occurred()) SWIG_fail
; 
10617     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10625 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10626   PyObject 
*resultobj 
= 0; 
10627   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10628   int arg2 
= (int) 1 ; 
10629   int arg3 
= (int) 0 ; 
10637   PyObject 
* obj0 
= 0 ; 
10638   PyObject 
* obj1 
= 0 ; 
10639   PyObject 
* obj2 
= 0 ; 
10640   char *  kwnames
[] = { 
10641     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10644   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10645   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10646   if (!SWIG_IsOK(res1
)) { 
10647     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10649   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10651     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10652     if (!SWIG_IsOK(ecode2
)) { 
10653       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'"); 
10655     arg2 
= static_cast< int >(val2
); 
10658     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10659     if (!SWIG_IsOK(ecode3
)) { 
10660       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'"); 
10662     arg3 
= static_cast< int >(val3
); 
10665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10666     result 
= (bool)(arg1
)->WordRight(arg2
,arg3
); 
10667     wxPyEndAllowThreads(__tstate
); 
10668     if (PyErr_Occurred()) SWIG_fail
; 
10671     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10679 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetBuffer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10680   PyObject 
*resultobj 
= 0; 
10681   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10682   wxRichTextBuffer 
*result 
= 0 ; 
10685   PyObject 
*swig_obj
[1] ; 
10687   if (!args
) SWIG_fail
; 
10688   swig_obj
[0] = args
; 
10689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10690   if (!SWIG_IsOK(res1
)) { 
10691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10693   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10697       wxRichTextBuffer 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetBuffer(); 
10698       result 
= (wxRichTextBuffer 
*) &_result_ref
; 
10700     wxPyEndAllowThreads(__tstate
); 
10701     if (PyErr_Occurred()) SWIG_fail
; 
10703   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 |  0 ); 
10710 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10711   PyObject 
*resultobj 
= 0; 
10712   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10713   wxString 
*arg2 
= 0 ; 
10717   bool temp2 
= false ; 
10718   PyObject 
* obj0 
= 0 ; 
10719   PyObject 
* obj1 
= 0 ; 
10720   char *  kwnames
[] = { 
10721     (char *) "self",(char *) "cmdName", NULL 
 
10724   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10725   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10726   if (!SWIG_IsOK(res1
)) { 
10727     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10729   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10731     arg2 
= wxString_in_helper(obj1
); 
10732     if (arg2 
== NULL
) SWIG_fail
; 
10736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10737     result 
= (bool)(arg1
)->BeginBatchUndo((wxString 
const &)*arg2
); 
10738     wxPyEndAllowThreads(__tstate
); 
10739     if (PyErr_Occurred()) SWIG_fail
; 
10742     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10758 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10759   PyObject 
*resultobj 
= 0; 
10760   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10764   PyObject 
*swig_obj
[1] ; 
10766   if (!args
) SWIG_fail
; 
10767   swig_obj
[0] = args
; 
10768   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10769   if (!SWIG_IsOK(res1
)) { 
10770     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10772   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10775     result 
= (bool)(arg1
)->EndBatchUndo(); 
10776     wxPyEndAllowThreads(__tstate
); 
10777     if (PyErr_Occurred()) SWIG_fail
; 
10780     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10788 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BatchingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10789   PyObject 
*resultobj 
= 0; 
10790   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10794   PyObject 
*swig_obj
[1] ; 
10796   if (!args
) SWIG_fail
; 
10797   swig_obj
[0] = args
; 
10798   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10799   if (!SWIG_IsOK(res1
)) { 
10800     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10802   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10804     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10805     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->BatchingUndo(); 
10806     wxPyEndAllowThreads(__tstate
); 
10807     if (PyErr_Occurred()) SWIG_fail
; 
10810     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10818 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10819   PyObject 
*resultobj 
= 0; 
10820   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10824   PyObject 
*swig_obj
[1] ; 
10826   if (!args
) SWIG_fail
; 
10827   swig_obj
[0] = args
; 
10828   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10829   if (!SWIG_IsOK(res1
)) { 
10830     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10832   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10834     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10835     result 
= (bool)(arg1
)->BeginSuppressUndo(); 
10836     wxPyEndAllowThreads(__tstate
); 
10837     if (PyErr_Occurred()) SWIG_fail
; 
10840     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10848 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10849   PyObject 
*resultobj 
= 0; 
10850   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10854   PyObject 
*swig_obj
[1] ; 
10856   if (!args
) SWIG_fail
; 
10857   swig_obj
[0] = args
; 
10858   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10859   if (!SWIG_IsOK(res1
)) { 
10860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10862   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10865     result 
= (bool)(arg1
)->EndSuppressUndo(); 
10866     wxPyEndAllowThreads(__tstate
); 
10867     if (PyErr_Occurred()) SWIG_fail
; 
10870     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10878 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SuppressingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10879   PyObject 
*resultobj 
= 0; 
10880   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10884   PyObject 
*swig_obj
[1] ; 
10886   if (!args
) SWIG_fail
; 
10887   swig_obj
[0] = args
; 
10888   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10889   if (!SWIG_IsOK(res1
)) { 
10890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10892   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10895     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->SuppressingUndo(); 
10896     wxPyEndAllowThreads(__tstate
); 
10897     if (PyErr_Occurred()) SWIG_fail
; 
10900     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10908 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10909   PyObject 
*resultobj 
= 0; 
10910   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10911   wxRichTextRange 
*arg2 
= 0 ; 
10912   wxRichTextAttr 
*arg3 
= 0 ; 
10916   wxRichTextRange temp2 
; 
10919   PyObject 
* obj0 
= 0 ; 
10920   PyObject 
* obj1 
= 0 ; 
10921   PyObject 
* obj2 
= 0 ; 
10922   char *  kwnames
[] = { 
10923     (char *) "self",(char *) "range",(char *) "style", NULL 
 
10926   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10927   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10928   if (!SWIG_IsOK(res1
)) { 
10929     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10931   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10934     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10936   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
10937   if (!SWIG_IsOK(res3
)) { 
10938     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10941     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10943   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
10945     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10946     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasCharacterAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
10947     wxPyEndAllowThreads(__tstate
); 
10948     if (PyErr_Occurred()) SWIG_fail
; 
10951     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10959 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10960   PyObject 
*resultobj 
= 0; 
10961   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10962   wxRichTextRange 
*arg2 
= 0 ; 
10963   wxRichTextAttr 
*arg3 
= 0 ; 
10967   wxRichTextRange temp2 
; 
10970   PyObject 
* obj0 
= 0 ; 
10971   PyObject 
* obj1 
= 0 ; 
10972   PyObject 
* obj2 
= 0 ; 
10973   char *  kwnames
[] = { 
10974     (char *) "self",(char *) "range",(char *) "style", NULL 
 
10977   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10978   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10979   if (!SWIG_IsOK(res1
)) { 
10980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10982   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10985     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10987   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
10988   if (!SWIG_IsOK(res3
)) { 
10989     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10992     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
10994   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
10996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10997     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasParagraphAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
10998     wxPyEndAllowThreads(__tstate
); 
10999     if (PyErr_Occurred()) SWIG_fail
; 
11002     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11010 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11011   PyObject 
*resultobj 
= 0; 
11012   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11016   PyObject 
*swig_obj
[1] ; 
11018   if (!args
) SWIG_fail
; 
11019   swig_obj
[0] = args
; 
11020   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11021   if (!SWIG_IsOK(res1
)) { 
11022     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11024   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11027     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionBold(); 
11028     wxPyEndAllowThreads(__tstate
); 
11029     if (PyErr_Occurred()) SWIG_fail
; 
11032     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11040 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11041   PyObject 
*resultobj 
= 0; 
11042   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11046   PyObject 
*swig_obj
[1] ; 
11048   if (!args
) SWIG_fail
; 
11049   swig_obj
[0] = args
; 
11050   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11051   if (!SWIG_IsOK(res1
)) { 
11052     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11054   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11056     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11057     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionItalics(); 
11058     wxPyEndAllowThreads(__tstate
); 
11059     if (PyErr_Occurred()) SWIG_fail
; 
11062     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11070 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11071   PyObject 
*resultobj 
= 0; 
11072   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11076   PyObject 
*swig_obj
[1] ; 
11078   if (!args
) SWIG_fail
; 
11079   swig_obj
[0] = args
; 
11080   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11081   if (!SWIG_IsOK(res1
)) { 
11082     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11084   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11086     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11087     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionUnderlined(); 
11088     wxPyEndAllowThreads(__tstate
); 
11089     if (PyErr_Occurred()) SWIG_fail
; 
11092     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11100 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11101   PyObject 
*resultobj 
= 0; 
11102   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11103   wxTextAttrAlignment arg2 
; 
11109   PyObject 
* obj0 
= 0 ; 
11110   PyObject 
* obj1 
= 0 ; 
11111   char *  kwnames
[] = { 
11112     (char *) "self",(char *) "alignment", NULL 
 
11115   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11116   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11117   if (!SWIG_IsOK(res1
)) { 
11118     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11120   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11121   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11122   if (!SWIG_IsOK(ecode2
)) { 
11123     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11125   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11127     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11128     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSelectionAligned(arg2
); 
11129     wxPyEndAllowThreads(__tstate
); 
11130     if (PyErr_Occurred()) SWIG_fail
; 
11133     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11141 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11142   PyObject 
*resultobj 
= 0; 
11143   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11147   PyObject 
*swig_obj
[1] ; 
11149   if (!args
) SWIG_fail
; 
11150   swig_obj
[0] = args
; 
11151   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11152   if (!SWIG_IsOK(res1
)) { 
11153     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11155   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11158     result 
= (bool)(arg1
)->ApplyBoldToSelection(); 
11159     wxPyEndAllowThreads(__tstate
); 
11160     if (PyErr_Occurred()) SWIG_fail
; 
11163     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11171 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11172   PyObject 
*resultobj 
= 0; 
11173   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11177   PyObject 
*swig_obj
[1] ; 
11179   if (!args
) SWIG_fail
; 
11180   swig_obj
[0] = args
; 
11181   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11182   if (!SWIG_IsOK(res1
)) { 
11183     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11185   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11187     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11188     result 
= (bool)(arg1
)->ApplyItalicToSelection(); 
11189     wxPyEndAllowThreads(__tstate
); 
11190     if (PyErr_Occurred()) SWIG_fail
; 
11193     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11201 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11202   PyObject 
*resultobj 
= 0; 
11203   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11207   PyObject 
*swig_obj
[1] ; 
11209   if (!args
) SWIG_fail
; 
11210   swig_obj
[0] = args
; 
11211   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11212   if (!SWIG_IsOK(res1
)) { 
11213     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11215   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11218     result 
= (bool)(arg1
)->ApplyUnderlineToSelection(); 
11219     wxPyEndAllowThreads(__tstate
); 
11220     if (PyErr_Occurred()) SWIG_fail
; 
11223     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11231 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11232   PyObject 
*resultobj 
= 0; 
11233   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11234   wxTextAttrAlignment arg2 
; 
11240   PyObject 
* obj0 
= 0 ; 
11241   PyObject 
* obj1 
= 0 ; 
11242   char *  kwnames
[] = { 
11243     (char *) "self",(char *) "alignment", NULL 
 
11246   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11247   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11248   if (!SWIG_IsOK(res1
)) { 
11249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11251   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11252   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11253   if (!SWIG_IsOK(ecode2
)) { 
11254     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11256   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11259     result 
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
); 
11260     wxPyEndAllowThreads(__tstate
); 
11261     if (PyErr_Occurred()) SWIG_fail
; 
11264     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11272 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11273   PyObject 
*resultobj 
= 0; 
11274   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11275   wxRichTextStyleSheet 
*arg2 
= (wxRichTextStyleSheet 
*) 0 ; 
11280   PyObject 
* obj0 
= 0 ; 
11281   PyObject 
* obj1 
= 0 ; 
11282   char *  kwnames
[] = { 
11283     (char *) "self",(char *) "styleSheet", NULL 
 
11286   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11287   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11288   if (!SWIG_IsOK(res1
)) { 
11289     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11291   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11292   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11293   if (!SWIG_IsOK(res2
)) { 
11294     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");  
11296   arg2 
= reinterpret_cast< wxRichTextStyleSheet 
* >(argp2
); 
11298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11299     (arg1
)->SetStyleSheet(arg2
); 
11300     wxPyEndAllowThreads(__tstate
); 
11301     if (PyErr_Occurred()) SWIG_fail
; 
11303   resultobj 
= SWIG_Py_Void(); 
11310 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11311   PyObject 
*resultobj 
= 0; 
11312   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11313   wxRichTextStyleSheet 
*result 
= 0 ; 
11316   PyObject 
*swig_obj
[1] ; 
11318   if (!args
) SWIG_fail
; 
11319   swig_obj
[0] = args
; 
11320   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11321   if (!SWIG_IsOK(res1
)) { 
11322     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11324   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11326     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11327     result 
= (wxRichTextStyleSheet 
*)((wxRichTextCtrl 
const *)arg1
)->GetStyleSheet(); 
11328     wxPyEndAllowThreads(__tstate
); 
11329     if (PyErr_Occurred()) SWIG_fail
; 
11331   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11338 SWIGINTERN PyObject 
*RichTextCtrl_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11340   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11341   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
)); 
11342   return SWIG_Py_Void(); 
11345 SWIGINTERN PyObject 
*RichTextCtrl_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11346   return SWIG_Python_InitShadowInstance(args
); 
11349 SWIGINTERN PyObject 
*_wrap_new_RichTextEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11350   PyObject 
*resultobj 
= 0; 
11351   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11352   int arg2 
= (int) 0 ; 
11353   wxRichTextEvent 
*result 
= 0 ; 
11358   PyObject 
* obj0 
= 0 ; 
11359   PyObject 
* obj1 
= 0 ; 
11360   char *  kwnames
[] = { 
11361     (char *) "commandType",(char *) "winid", NULL 
 
11364   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11366     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11367     if (!SWIG_IsOK(ecode1
)) { 
11368       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
11370     arg1 
= static_cast< wxEventType 
>(val1
); 
11373     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11374     if (!SWIG_IsOK(ecode2
)) { 
11375       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'"); 
11377     arg2 
= static_cast< int >(val2
); 
11380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11381     result 
= (wxRichTextEvent 
*)new wxRichTextEvent(arg1
,arg2
); 
11382     wxPyEndAllowThreads(__tstate
); 
11383     if (PyErr_Occurred()) SWIG_fail
; 
11385   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW 
|  0 ); 
11392 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11393   PyObject 
*resultobj 
= 0; 
11394   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11398   PyObject 
*swig_obj
[1] ; 
11400   if (!args
) SWIG_fail
; 
11401   swig_obj
[0] = args
; 
11402   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11403   if (!SWIG_IsOK(res1
)) { 
11404     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11406   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11408     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11409     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetIndex(); 
11410     wxPyEndAllowThreads(__tstate
); 
11411     if (PyErr_Occurred()) SWIG_fail
; 
11413   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11420 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11421   PyObject 
*resultobj 
= 0; 
11422   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11428   PyObject 
* obj0 
= 0 ; 
11429   PyObject 
* obj1 
= 0 ; 
11430   char *  kwnames
[] = { 
11431     (char *) "self",(char *) "n", NULL 
 
11434   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11435   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11436   if (!SWIG_IsOK(res1
)) { 
11437     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11439   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11440   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11441   if (!SWIG_IsOK(ecode2
)) { 
11442     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'"); 
11444   arg2 
= static_cast< int >(val2
); 
11446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11447     (arg1
)->SetIndex(arg2
); 
11448     wxPyEndAllowThreads(__tstate
); 
11449     if (PyErr_Occurred()) SWIG_fail
; 
11451   resultobj 
= SWIG_Py_Void(); 
11458 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11459   PyObject 
*resultobj 
= 0; 
11460   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11464   PyObject 
*swig_obj
[1] ; 
11466   if (!args
) SWIG_fail
; 
11467   swig_obj
[0] = args
; 
11468   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11469   if (!SWIG_IsOK(res1
)) { 
11470     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11472   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11474     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11475     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetFlags(); 
11476     wxPyEndAllowThreads(__tstate
); 
11477     if (PyErr_Occurred()) SWIG_fail
; 
11479   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11486 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11487   PyObject 
*resultobj 
= 0; 
11488   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11494   PyObject 
* obj0 
= 0 ; 
11495   PyObject 
* obj1 
= 0 ; 
11496   char *  kwnames
[] = { 
11497     (char *) "self",(char *) "flags", NULL 
 
11500   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11501   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11502   if (!SWIG_IsOK(res1
)) { 
11503     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11505   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11506   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11507   if (!SWIG_IsOK(ecode2
)) { 
11508     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
11510   arg2 
= static_cast< int >(val2
); 
11512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11513     (arg1
)->SetFlags(arg2
); 
11514     wxPyEndAllowThreads(__tstate
); 
11515     if (PyErr_Occurred()) SWIG_fail
; 
11517   resultobj 
= SWIG_Py_Void(); 
11524 SWIGINTERN PyObject 
*RichTextEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11526   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11527   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
)); 
11528   return SWIG_Py_Void(); 
11531 SWIGINTERN PyObject 
*RichTextEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11532   return SWIG_Python_InitShadowInstance(args
); 
11535 static PyMethodDef SwigMethods
[] = { 
11536          { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11537          { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
}, 
11538          { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11539          { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11540          { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11541          { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11542          { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11543          { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
}, 
11544          { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11545          { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
}, 
11546          { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11547          { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11548          { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11549          { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11550          { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
}, 
11551          { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
}, 
11552          { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
}, 
11553          { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
}, 
11554          { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
}, 
11555          { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11556          { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
}, 
11557          { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
}, 
11558          { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11559          { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11560          { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11561          { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11562          { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11563          { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11564          { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11565          { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11566          { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11567          { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11568          { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11569          { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11570          { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11571          { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11572          { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11573          { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11574          { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11575          { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11576          { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11577          { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11578          { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11579          { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
}, 
11580          { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
}, 
11581          { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
}, 
11582          { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
}, 
11583          { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
}, 
11584          { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
}, 
11585          { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
}, 
11586          { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
}, 
11587          { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
}, 
11588          { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
}, 
11589          { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
}, 
11590          { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
}, 
11591          { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
}, 
11592          { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
}, 
11593          { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
}, 
11594          { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
}, 
11595          { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
}, 
11596          { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
}, 
11597          { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
}, 
11598          { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
}, 
11599          { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
}, 
11600          { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
}, 
11601          { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
}, 
11602          { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
}, 
11603          { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
}, 
11604          { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
}, 
11605          { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
}, 
11606          { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
}, 
11607          { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
}, 
11608          { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
}, 
11609          { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
}, 
11610          { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
}, 
11611          { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
}, 
11612          { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
}, 
11613          { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
}, 
11614          { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
}, 
11615          { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
}, 
11616          { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
}, 
11617          { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
}, 
11618          { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
}, 
11619          { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
}, 
11620          { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11621          { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
}, 
11622          { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
}, 
11623          { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
}, 
11624          { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
}, 
11625          { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
}, 
11626          { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11627          { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
}, 
11628          { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11629          { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
}, 
11630          { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11631          { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11632          { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11633          { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11634          { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
}, 
11635          { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
}, 
11636          { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
}, 
11637          { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
}, 
11638          { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
}, 
11639          { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
}, 
11640          { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
}, 
11641          { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
}, 
11642          { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11643          { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11644          { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
}, 
11645          { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
}, 
11646          { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11647          { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11648          { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11649          { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11650          { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
}, 
11651          { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
}, 
11652          { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11653          { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11654          { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11655          { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11656          { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11657          { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11658          { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
}, 
11659          { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11660          { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11661          { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11662          { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11663          { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11664          { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
}, 
11665          { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
}, 
11666          { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
}, 
11667          { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
}, 
11668          { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
}, 
11669          { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
}, 
11670          { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
}, 
11671          { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
}, 
11672          { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
}, 
11673          { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
}, 
11674          { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
}, 
11675          { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
}, 
11676          { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11677          { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
}, 
11678          { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
}, 
11679          { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
}, 
11680          { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11681          { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
}, 
11682          { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11683          { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
}, 
11684          { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11685          { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11686          { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11687          { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11688          { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
}, 
11689          { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11690          { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
}, 
11691          { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
}, 
11692          { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
}, 
11693          { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
}, 
11694          { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
}, 
11695          { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
}, 
11696          { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
}, 
11697          { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
}, 
11698          { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11699          { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
}, 
11700          { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11701          { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
}, 
11702          { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11703          { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
}, 
11704          { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11705          { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
}, 
11706          { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11707          { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
}, 
11708          { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11709          { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
}, 
11710          { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11711          { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
}, 
11712          { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11713          { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
}, 
11714          { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11715          { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
}, 
11716          { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11717          { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
}, 
11718          { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11719          { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
}, 
11720          { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11721          { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
}, 
11722          { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
}, 
11723          { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
}, 
11724          { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
}, 
11725          { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11726          { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11727          { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11728          { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11729          { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11730          { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11731          { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11732          { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11733          { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11734          { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11735          { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11736          { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11737          { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11738          { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11739          { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11740          { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11741          { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11742          { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11743          { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11744          { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
}, 
11745          { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11746          { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
}, 
11747          { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
}, 
11748          { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
}, 
11749          { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
}, 
11750          { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
}, 
11751          { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11752          { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11753          { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
}, 
11754          { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
}, 
11755          { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
}, 
11756          { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11757          { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
}, 
11758          { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
}, 
11759          { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
}, 
11760          { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11761          { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11762          { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
}, 
11763          { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
}, 
11764          { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
}, 
11765          { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11766          { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
}, 
11767          { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11768          { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
}, 
11769          { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11770          { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
}, 
11771          { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
}, 
11772          { NULL
, NULL
, 0, NULL 
} 
11776 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
11778 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
11779     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
11781 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
11782     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
11784 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
11785     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
11787 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
11788     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
11790 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
11791     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
11793 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
11794     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
11796 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) { 
11797     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
11799 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
11800     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
11802 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
11803     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
11805 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
11806     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
11808 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) { 
11809     return (void *)((wxNotifyEvent 
*)  ((wxRichTextEvent 
*) x
)); 
11811 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
11812     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
11814 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
11815     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
11817 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) { 
11818     return (void *)((wxScrolledWindow 
*)  ((wxRichTextCtrl 
*) x
)); 
11820 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
11821     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
11823 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
11824     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
11826 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
11827     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
11829 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
11830     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
11832 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
11833     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
11835 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
11836     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
11838 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
11839     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
11841 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
11842     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
11844 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) { 
11845     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
11847 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
11848     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
11850 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
11851     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
11853 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
11854     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
11856 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
11857     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
11859 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
11860     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
11862 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
11863     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
11865 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
11866     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
11868 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
11869     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
11871 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
11872     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
11874 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
11875     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
11877 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
11878     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
11880 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
11881     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
11883 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
11884     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
11886 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
11887     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
11889 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
11890     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
11892 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
11893     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
11895 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
11896     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
11898 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
11899     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
11901 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
11902     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
11904 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
11905     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
11907 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
11908     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
11910 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
11911     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
11913 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
11914     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
11916 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
11917     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
11919 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
11920     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
11922 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
11923     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
11925 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
11926     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
11928 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
11929     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
11931 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
11932     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
11934 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
11935     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
11937 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
11938     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
11940 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
11941     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
11943 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
11944     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
11946 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
11947     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
11949 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
11950     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
11952 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
11953     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
11955 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) { 
11956     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
11958 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
11959     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
11961 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
11962     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
11964 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
11965     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
11967 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
11968     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
11970 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
11971     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
11973 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
11974     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
11976 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
11977     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
11979 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
11980     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
11982 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
11983     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
11985 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
11986     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
11988 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
11989     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
11991 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
11992     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
11994 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
11995     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
11997 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
11998     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
12000 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
12001     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12003 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
12004     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
12006 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
12007     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
12009 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
12010     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
12012 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
12013     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
12015 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
12016     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
12018 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
12019     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
12021 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
12022     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12024 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
12025     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12027 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
12028     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
12030 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
12031     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
12033 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) { 
12034     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12036 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
12037     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12039 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
12040     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
12042 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
12043     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
12045 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
12046     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
12048 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
12049     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
12051 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
12052     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
12054 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
12055     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
12057 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
12058     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12060 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
12061     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12063 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
12064     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
12066 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
12067     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
12069 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
12070     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
12072 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
12073     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12075 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
12076     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12078 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
12079     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
12081 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
12082     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
12084 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
12085     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
12087 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
12088     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
12090 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
12091     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
12093 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
12094     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
12096 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
12097     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12099 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
12100     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12102 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
12103     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
12105 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
12106     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
12108 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
12109     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
12111 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
12112     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
12114 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
12115     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
12117 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
12118     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
12120 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
12121     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
12123 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
12124     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
12126 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
12127     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12129 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
12130     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12132 static void *_p_wxEventTo_p_wxObject(void *x
) { 
12133     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
12135 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
12136     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
12138 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
12139     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
12141 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
12142     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
12144 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
12145     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
12147 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
12148     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
12150 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
12151     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
12153 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
12154     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
12156 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
12157     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
12159 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
12160     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12162 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
12163     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
12165 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
12166     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
12168 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) { 
12169     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12171 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
12172     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
12174 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
12175     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
12177 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
12178     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
12180 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
12181     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
12183 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
12184     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12186 static void *_p_wxControlTo_p_wxObject(void *x
) { 
12187     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
12189 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
12190     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
12192 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
12193     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12195 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
12196     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
12198 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
12199     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
12201 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
12202     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
12204 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
12205     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12207 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) { 
12208     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12210 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
12211     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
12213 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
12214     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
12216 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
12217     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
12219 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
12220     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
12222 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
12223     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12225 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
12226     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12228 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
12229     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12231 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
12232     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12234 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
12235     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12237 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
12238     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12240 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) { 
12241     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12243 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
12244     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12246 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
12247     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12249 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
12250     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12252 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
12253     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
12255 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
12256     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
12258 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
12259     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
12261 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
12262     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12264 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
12265     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
12267 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
12268     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12270 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
12271     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
12273 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
12274     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
12276 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
12277     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
12279 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
12280     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
12282 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
12283     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
12285 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
12286     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
12288 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
12289     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
12291 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
12292     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
12294 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
12295     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
12297 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
12298     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
12300 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
12301     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
12303 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
12304     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
12306 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
12307     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
12309 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
12310     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
12312 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
12313     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
12315 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
12316     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
12318 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
12319     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
12321 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
12322     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
12324 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
12325     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
12327 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
12328     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
12330 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
12331     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
12333 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
12334     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12336 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
12337     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12339 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
12340     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
12342 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
12343     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
12345 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
12346     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12348 static void *_p_wxImageTo_p_wxObject(void *x
) { 
12349     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
12351 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
12352     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12354 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
12355     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
12357 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
12358     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
12360 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
12361     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
12363 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
12364     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
12366 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
12367     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12369 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
12370     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12372 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
12373     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
12375 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
12376     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
12378 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
12379     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
12381 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
12382     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
12384 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
12385     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
12387 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
12388     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12390 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
12391     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12393 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
12394     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12396 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
12397     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12399 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
12400     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
12402 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
12403     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12405 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
12406     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12408 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
12409     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12411 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
12412     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12414 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
12415     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12417 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
12418     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12420 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
12421     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12423 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
12424     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12426 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
12427     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
12429 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
12430     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
12432 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
12433     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
12435 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
12436     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12438 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
12439     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12441 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
12442     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12444 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
12445     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12447 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
12448     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
12450 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
12451     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
12453 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
12454     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
12456 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
12457     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
12459 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
12460     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
12462 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
12463     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
12465 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
12466     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
12468 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
12469     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
12471 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
12472     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
12474 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
12475     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12477 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
12478     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
12480 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
12481     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12483 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
12484     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12486 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
12487     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
12489 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
12490     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
12492 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
12493     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12495 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
12496     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12498 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
12499     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
12501 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
12502     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
12504 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
12505     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
12507 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
12508     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
12510 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
12511     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12513 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
12514     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12516 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
12517     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12519 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
12520     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
12522 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
12523     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
12525 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
12526     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
12528 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
12529     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
12531 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
12532     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12534 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
12535     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12537 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12538     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12540 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12541     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12543 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
12544     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12546 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) { 
12547     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12549 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
12550     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12552 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
12553     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12555 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
12556     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12558 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
12559     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
12561 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
12562     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
12564 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12565     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12567 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
12568     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12570 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
12571     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12573 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
12574     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12576 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
12577     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12579 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
12580     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
12582 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
12583     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12585 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
12586     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12588 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
12589     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
12591 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12592     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12594 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
12595     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12597 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
12598     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12600 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12601     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12603 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
12604     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
12606 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
12607     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12609 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
12610     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12612 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
12613     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12615 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
12616     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
12618 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
12619     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12621 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
12622     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
12624 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
12625     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12627 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
12628     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12630 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
12631     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12633 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
12634     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12636 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
12637     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12639 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
12640     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
12642 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
12643     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12645 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
12646     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12648 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
12649     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12651 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
12652     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12654 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
12655     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12657 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
12658     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12660 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) { 
12661     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12663 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
12664     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
12666 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
12667     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
12669 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
12670     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12672 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) { 
12673     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12675 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
12676     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
12678 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
12679     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
12681 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
12682     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
12684 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
12685     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
12687 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
12688     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
12690 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
12691     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
12693 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
12694     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
12696 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
12697     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
12699 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
12700     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
12702 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
12703     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
12705 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
12706 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}; 
12707 static swig_type_info _swigt__p_int 
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; 
12708 static swig_type_info _swigt__p_long 
= {"_p_long", "long *", 0, 0, (void*)0, 0}; 
12709 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
12710 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
12711 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
12712 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
12713 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
12714 static swig_type_info _swigt__p_wxChar 
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; 
12715 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
12716 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
12717 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", 0, 0, 0, 0, 0}; 
12718 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
12719 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; 
12720 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
12721 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
12722 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
12723 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
12724 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
12725 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
12726 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
12727 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; 
12728 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
12729 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
12730 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
12731 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
12732 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
12733 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
12734 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
12735 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
12736 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
12737 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
12738 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; 
12739 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
12740 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
12741 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
12742 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
12743 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
12744 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
12745 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
12746 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
12747 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
12748 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
12749 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
12750 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
12751 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
12752 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
12753 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
12754 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; 
12755 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
12756 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
12757 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
12758 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
12759 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; 
12760 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
12761 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; 
12762 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; 
12763 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", 0, 0, 0, 0, 0}; 
12764 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
12765 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
12766 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
12767 static swig_type_info _swigt__p_wxNumberEntryDialog 
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; 
12768 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", 0, 0, 0, 0, 0}; 
12769 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; 
12770 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; 
12771 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; 
12772 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; 
12773 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; 
12774 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; 
12775 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; 
12776 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", 0, 0, 0, 0, 0}; 
12777 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; 
12778 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; 
12779 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; 
12780 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", 0, 0, 0, 0, 0}; 
12781 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; 
12782 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; 
12783 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; 
12784 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; 
12785 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; 
12786 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; 
12787 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", 0, 0, 0, 0, 0}; 
12788 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; 
12789 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; 
12790 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
12791 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; 
12792 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
12793 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
12794 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; 
12795 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", 0, 0, 0, 0, 0}; 
12796 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; 
12797 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; 
12798 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; 
12799 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; 
12800 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; 
12801 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", 0, 0, 0, 0, 0}; 
12802 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", 0, 0, 0, 0, 0}; 
12803 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", 0, 0, 0, 0, 0}; 
12804 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", 0, 0, 0, 0, 0}; 
12805 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", 0, 0, 0, 0, 0}; 
12806 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
12807 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; 
12808 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
12809 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; 
12810 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
12811 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
12812 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
12813 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
12814 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
12815 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
12816 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
12817 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
12818 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
12819 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
12820 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", 0, 0, 0, 0, 0}; 
12821 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", 0, 0, 0, 0, 0}; 
12822 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
12823 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
12824 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; 
12825 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
12826 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; 
12827 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
12828 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", 0, 0, 0, 0, 0}; 
12829 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", 0, 0, 0, 0, 0}; 
12830 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
12831 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
12832 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
12833 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
12834 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
12835 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
12836 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
12837 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
12838 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
12839 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
12840 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
12841 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
12842 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
12843 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
12844 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
12845 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
12846 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; 
12847 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; 
12848 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; 
12849 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; 
12850 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; 
12851 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
12852 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; 
12853 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; 
12854 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
12855 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
12856 static swig_type_info _swigt__p_wxRichTextAttr 
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0}; 
12857 static swig_type_info _swigt__p_wxRichTextBuffer 
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0}; 
12858 static swig_type_info _swigt__p_wxRichTextCtrl 
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0}; 
12859 static swig_type_info _swigt__p_wxRichTextEvent 
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0}; 
12860 static swig_type_info _swigt__p_wxRichTextImageBlock 
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0}; 
12861 static swig_type_info _swigt__p_wxRichTextRange 
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0}; 
12862 static swig_type_info _swigt__p_wxRichTextStyleSheet 
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0}; 
12863 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
12864 static swig_type_info _swigt__p_wxTextCoord 
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0}; 
12865 static swig_type_info _swigt__p_wxTextCtrlHitTestResult 
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0}; 
12866 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
12868 static swig_type_info 
*swig_type_initial
[] = { 
12870   &_swigt__p_form_ops_t
, 
12873   &_swigt__p_unsigned_char
, 
12874   &_swigt__p_unsigned_int
, 
12875   &_swigt__p_unsigned_long
, 
12876   &_swigt__p_wxANIHandler
, 
12877   &_swigt__p_wxAcceleratorTable
, 
12878   &_swigt__p_wxActivateEvent
, 
12879   &_swigt__p_wxArrayInt
, 
12880   &_swigt__p_wxBMPHandler
, 
12881   &_swigt__p_wxBitmap
, 
12882   &_swigt__p_wxBoxSizer
, 
12883   &_swigt__p_wxCURHandler
, 
12884   &_swigt__p_wxCalculateLayoutEvent
, 
12886   &_swigt__p_wxChildFocusEvent
, 
12887   &_swigt__p_wxClipboardTextEvent
, 
12888   &_swigt__p_wxCloseEvent
, 
12889   &_swigt__p_wxColour
, 
12890   &_swigt__p_wxColourData
, 
12891   &_swigt__p_wxColourDialog
, 
12892   &_swigt__p_wxCommandEvent
, 
12893   &_swigt__p_wxContextMenuEvent
, 
12894   &_swigt__p_wxControl
, 
12895   &_swigt__p_wxControlWithItems
, 
12896   &_swigt__p_wxDateEvent
, 
12897   &_swigt__p_wxDialog
, 
12898   &_swigt__p_wxDirDialog
, 
12899   &_swigt__p_wxDisplayChangedEvent
, 
12900   &_swigt__p_wxDropFilesEvent
, 
12901   &_swigt__p_wxDuplexMode
, 
12902   &_swigt__p_wxEraseEvent
, 
12903   &_swigt__p_wxEvent
, 
12904   &_swigt__p_wxEvtHandler
, 
12905   &_swigt__p_wxFSFile
, 
12906   &_swigt__p_wxFileDialog
, 
12907   &_swigt__p_wxFileSystem
, 
12908   &_swigt__p_wxFindDialogEvent
, 
12909   &_swigt__p_wxFindReplaceData
, 
12910   &_swigt__p_wxFindReplaceDialog
, 
12911   &_swigt__p_wxFlexGridSizer
, 
12912   &_swigt__p_wxFocusEvent
, 
12914   &_swigt__p_wxFontData
, 
12915   &_swigt__p_wxFontDialog
, 
12916   &_swigt__p_wxFrame
, 
12917   &_swigt__p_wxGBSizerItem
, 
12918   &_swigt__p_wxGIFHandler
, 
12919   &_swigt__p_wxGridBagSizer
, 
12920   &_swigt__p_wxGridSizer
, 
12921   &_swigt__p_wxICOHandler
, 
12922   &_swigt__p_wxIconizeEvent
, 
12923   &_swigt__p_wxIdleEvent
, 
12924   &_swigt__p_wxImage
, 
12925   &_swigt__p_wxImageHandler
, 
12926   &_swigt__p_wxIndividualLayoutConstraint
, 
12927   &_swigt__p_wxInitDialogEvent
, 
12928   &_swigt__p_wxJPEGHandler
, 
12929   &_swigt__p_wxKeyEvent
, 
12930   &_swigt__p_wxLayoutAlgorithm
, 
12931   &_swigt__p_wxLayoutConstraints
, 
12932   &_swigt__p_wxMDIChildFrame
, 
12933   &_swigt__p_wxMDIClientWindow
, 
12934   &_swigt__p_wxMDIParentFrame
, 
12935   &_swigt__p_wxMaximizeEvent
, 
12937   &_swigt__p_wxMenuBar
, 
12938   &_swigt__p_wxMenuEvent
, 
12939   &_swigt__p_wxMenuItem
, 
12940   &_swigt__p_wxMessageDialog
, 
12941   &_swigt__p_wxMiniFrame
, 
12942   &_swigt__p_wxMouseCaptureChangedEvent
, 
12943   &_swigt__p_wxMouseEvent
, 
12944   &_swigt__p_wxMoveEvent
, 
12945   &_swigt__p_wxMultiChoiceDialog
, 
12946   &_swigt__p_wxNavigationKeyEvent
, 
12947   &_swigt__p_wxNcPaintEvent
, 
12948   &_swigt__p_wxNotifyEvent
, 
12949   &_swigt__p_wxNumberEntryDialog
, 
12950   &_swigt__p_wxObject
, 
12951   &_swigt__p_wxPCXHandler
, 
12952   &_swigt__p_wxPNGHandler
, 
12953   &_swigt__p_wxPNMHandler
, 
12954   &_swigt__p_wxPageSetupDialog
, 
12955   &_swigt__p_wxPageSetupDialogData
, 
12956   &_swigt__p_wxPaintEvent
, 
12957   &_swigt__p_wxPaletteChangedEvent
, 
12958   &_swigt__p_wxPanel
, 
12959   &_swigt__p_wxPaperSize
, 
12960   &_swigt__p_wxPasswordEntryDialog
, 
12961   &_swigt__p_wxPopupWindow
, 
12962   &_swigt__p_wxPreviewCanvas
, 
12963   &_swigt__p_wxPreviewControlBar
, 
12964   &_swigt__p_wxPreviewFrame
, 
12965   &_swigt__p_wxPrintData
, 
12966   &_swigt__p_wxPrintDialog
, 
12967   &_swigt__p_wxPrintDialogData
, 
12968   &_swigt__p_wxPrintPreview
, 
12969   &_swigt__p_wxPrinter
, 
12970   &_swigt__p_wxProgressDialog
, 
12971   &_swigt__p_wxPyApp
, 
12972   &_swigt__p_wxPyCommandEvent
, 
12973   &_swigt__p_wxPyEvent
, 
12974   &_swigt__p_wxPyHtmlListBox
, 
12975   &_swigt__p_wxPyImageHandler
, 
12976   &_swigt__p_wxPyPanel
, 
12977   &_swigt__p_wxPyPopupTransientWindow
, 
12978   &_swigt__p_wxPyPreviewControlBar
, 
12979   &_swigt__p_wxPyPreviewFrame
, 
12980   &_swigt__p_wxPyPrintPreview
, 
12981   &_swigt__p_wxPyPrintout
, 
12982   &_swigt__p_wxPyScrolledWindow
, 
12983   &_swigt__p_wxPySizer
, 
12984   &_swigt__p_wxPyTaskBarIcon
, 
12985   &_swigt__p_wxPyVListBox
, 
12986   &_swigt__p_wxPyVScrolledWindow
, 
12987   &_swigt__p_wxPyValidator
, 
12988   &_swigt__p_wxPyWindow
, 
12989   &_swigt__p_wxQueryLayoutInfoEvent
, 
12990   &_swigt__p_wxQueryNewPaletteEvent
, 
12991   &_swigt__p_wxRichTextAttr
, 
12992   &_swigt__p_wxRichTextBuffer
, 
12993   &_swigt__p_wxRichTextCtrl
, 
12994   &_swigt__p_wxRichTextEvent
, 
12995   &_swigt__p_wxRichTextImageBlock
, 
12996   &_swigt__p_wxRichTextRange
, 
12997   &_swigt__p_wxRichTextStyleSheet
, 
12998   &_swigt__p_wxSashEvent
, 
12999   &_swigt__p_wxSashLayoutWindow
, 
13000   &_swigt__p_wxSashWindow
, 
13001   &_swigt__p_wxScrollEvent
, 
13002   &_swigt__p_wxScrollWinEvent
, 
13003   &_swigt__p_wxScrolledWindow
, 
13004   &_swigt__p_wxSetCursorEvent
, 
13005   &_swigt__p_wxShowEvent
, 
13006   &_swigt__p_wxSingleChoiceDialog
, 
13007   &_swigt__p_wxSizeEvent
, 
13008   &_swigt__p_wxSizer
, 
13009   &_swigt__p_wxSizerItem
, 
13010   &_swigt__p_wxSplashScreen
, 
13011   &_swigt__p_wxSplashScreenWindow
, 
13012   &_swigt__p_wxSplitterEvent
, 
13013   &_swigt__p_wxSplitterWindow
, 
13014   &_swigt__p_wxStaticBoxSizer
, 
13015   &_swigt__p_wxStatusBar
, 
13016   &_swigt__p_wxStdDialogButtonSizer
, 
13017   &_swigt__p_wxSysColourChangedEvent
, 
13018   &_swigt__p_wxTIFFHandler
, 
13019   &_swigt__p_wxTaskBarIconEvent
, 
13020   &_swigt__p_wxTextCoord
, 
13021   &_swigt__p_wxTextCtrlHitTestResult
, 
13022   &_swigt__p_wxTextEntryDialog
, 
13023   &_swigt__p_wxTipWindow
, 
13024   &_swigt__p_wxTopLevelWindow
, 
13025   &_swigt__p_wxUpdateUIEvent
, 
13026   &_swigt__p_wxValidator
, 
13027   &_swigt__p_wxWindow
, 
13028   &_swigt__p_wxWindowCreateEvent
, 
13029   &_swigt__p_wxWindowDestroyEvent
, 
13030   &_swigt__p_wxXPMHandler
, 
13033 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13034 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
13035 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13036 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13037 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13038 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13039 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13040 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
13041 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
13042 static swig_cast_info _swigc__p_wxChar
[] = {  {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}}; 
13043 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
13044 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13045 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13046 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13047 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13048 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13049 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13050 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13051 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13052 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13053 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13054 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13055 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13056 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}}; 
13057 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
13058 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13059 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13060 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13061 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13062 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13063 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13064 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13065 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13066 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13067 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13068 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13069 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13070 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13071 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13072 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13073 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13074 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13075 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13076 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13077 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13078 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13079 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13080 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13081 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13082 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13083 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13084 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13085 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13086 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13087 static swig_cast_info _swigc__p_wxEvent
[] = {  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}}; 
13088 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
13089 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13090 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
13091 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13092 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13093 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13094 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13095 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13096 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13097 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13098 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13099 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13100 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13101 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13102 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13103 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13104 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13105 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13106 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13107 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13108 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13109 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13110 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13111 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13112 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13113 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13114 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13115 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13116 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13117 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
13118 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13119 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
13120 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
13121 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
13122 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13123 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13124 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13125 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13126 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13127 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
13128 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13129 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13130 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13131 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13132 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13133 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
13134 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13135 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}}; 
13136 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
13137 static swig_cast_info _swigc__p_wxImage
[] = {  {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
13138 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}}; 
13139 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
13140 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13141 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13142 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
13143 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13144 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13145 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13146 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13147 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
13148 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
13149 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13150 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13151 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
13152 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
13153 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
13154 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13155 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
13156 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
13157 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13158 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13159 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13160 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13161 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13162 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13163 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13164 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13165 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13166 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13167 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13168 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13169 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13170 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13171 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13172 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
13173 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
13174 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13175 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13176 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13177 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13178 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
13179 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13180 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13181 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_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_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_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_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_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}}; 
13182 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}}; 
13183 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
13184 static swig_cast_info _swigc__p_wxRichTextAttr
[] = {  {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}}; 
13185 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = {  {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}}; 
13186 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = {  {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}}; 
13187 static swig_cast_info _swigc__p_wxRichTextEvent
[] = {  {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13188 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = {  {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}}; 
13189 static swig_cast_info _swigc__p_wxRichTextRange
[] = {  {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}}; 
13190 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = {  {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}}; 
13191 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}}; 
13192 static swig_cast_info _swigc__p_wxTextCoord
[] = {  {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}}; 
13193 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = {  {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}}; 
13194 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}}; 
13196 static swig_cast_info 
*swig_cast_initial
[] = { 
13198   _swigc__p_form_ops_t
, 
13201   _swigc__p_unsigned_char
, 
13202   _swigc__p_unsigned_int
, 
13203   _swigc__p_unsigned_long
, 
13204   _swigc__p_wxANIHandler
, 
13205   _swigc__p_wxAcceleratorTable
, 
13206   _swigc__p_wxActivateEvent
, 
13207   _swigc__p_wxArrayInt
, 
13208   _swigc__p_wxBMPHandler
, 
13209   _swigc__p_wxBitmap
, 
13210   _swigc__p_wxBoxSizer
, 
13211   _swigc__p_wxCURHandler
, 
13212   _swigc__p_wxCalculateLayoutEvent
, 
13214   _swigc__p_wxChildFocusEvent
, 
13215   _swigc__p_wxClipboardTextEvent
, 
13216   _swigc__p_wxCloseEvent
, 
13217   _swigc__p_wxColour
, 
13218   _swigc__p_wxColourData
, 
13219   _swigc__p_wxColourDialog
, 
13220   _swigc__p_wxCommandEvent
, 
13221   _swigc__p_wxContextMenuEvent
, 
13222   _swigc__p_wxControl
, 
13223   _swigc__p_wxControlWithItems
, 
13224   _swigc__p_wxDateEvent
, 
13225   _swigc__p_wxDialog
, 
13226   _swigc__p_wxDirDialog
, 
13227   _swigc__p_wxDisplayChangedEvent
, 
13228   _swigc__p_wxDropFilesEvent
, 
13229   _swigc__p_wxDuplexMode
, 
13230   _swigc__p_wxEraseEvent
, 
13232   _swigc__p_wxEvtHandler
, 
13233   _swigc__p_wxFSFile
, 
13234   _swigc__p_wxFileDialog
, 
13235   _swigc__p_wxFileSystem
, 
13236   _swigc__p_wxFindDialogEvent
, 
13237   _swigc__p_wxFindReplaceData
, 
13238   _swigc__p_wxFindReplaceDialog
, 
13239   _swigc__p_wxFlexGridSizer
, 
13240   _swigc__p_wxFocusEvent
, 
13242   _swigc__p_wxFontData
, 
13243   _swigc__p_wxFontDialog
, 
13245   _swigc__p_wxGBSizerItem
, 
13246   _swigc__p_wxGIFHandler
, 
13247   _swigc__p_wxGridBagSizer
, 
13248   _swigc__p_wxGridSizer
, 
13249   _swigc__p_wxICOHandler
, 
13250   _swigc__p_wxIconizeEvent
, 
13251   _swigc__p_wxIdleEvent
, 
13253   _swigc__p_wxImageHandler
, 
13254   _swigc__p_wxIndividualLayoutConstraint
, 
13255   _swigc__p_wxInitDialogEvent
, 
13256   _swigc__p_wxJPEGHandler
, 
13257   _swigc__p_wxKeyEvent
, 
13258   _swigc__p_wxLayoutAlgorithm
, 
13259   _swigc__p_wxLayoutConstraints
, 
13260   _swigc__p_wxMDIChildFrame
, 
13261   _swigc__p_wxMDIClientWindow
, 
13262   _swigc__p_wxMDIParentFrame
, 
13263   _swigc__p_wxMaximizeEvent
, 
13265   _swigc__p_wxMenuBar
, 
13266   _swigc__p_wxMenuEvent
, 
13267   _swigc__p_wxMenuItem
, 
13268   _swigc__p_wxMessageDialog
, 
13269   _swigc__p_wxMiniFrame
, 
13270   _swigc__p_wxMouseCaptureChangedEvent
, 
13271   _swigc__p_wxMouseEvent
, 
13272   _swigc__p_wxMoveEvent
, 
13273   _swigc__p_wxMultiChoiceDialog
, 
13274   _swigc__p_wxNavigationKeyEvent
, 
13275   _swigc__p_wxNcPaintEvent
, 
13276   _swigc__p_wxNotifyEvent
, 
13277   _swigc__p_wxNumberEntryDialog
, 
13278   _swigc__p_wxObject
, 
13279   _swigc__p_wxPCXHandler
, 
13280   _swigc__p_wxPNGHandler
, 
13281   _swigc__p_wxPNMHandler
, 
13282   _swigc__p_wxPageSetupDialog
, 
13283   _swigc__p_wxPageSetupDialogData
, 
13284   _swigc__p_wxPaintEvent
, 
13285   _swigc__p_wxPaletteChangedEvent
, 
13287   _swigc__p_wxPaperSize
, 
13288   _swigc__p_wxPasswordEntryDialog
, 
13289   _swigc__p_wxPopupWindow
, 
13290   _swigc__p_wxPreviewCanvas
, 
13291   _swigc__p_wxPreviewControlBar
, 
13292   _swigc__p_wxPreviewFrame
, 
13293   _swigc__p_wxPrintData
, 
13294   _swigc__p_wxPrintDialog
, 
13295   _swigc__p_wxPrintDialogData
, 
13296   _swigc__p_wxPrintPreview
, 
13297   _swigc__p_wxPrinter
, 
13298   _swigc__p_wxProgressDialog
, 
13300   _swigc__p_wxPyCommandEvent
, 
13301   _swigc__p_wxPyEvent
, 
13302   _swigc__p_wxPyHtmlListBox
, 
13303   _swigc__p_wxPyImageHandler
, 
13304   _swigc__p_wxPyPanel
, 
13305   _swigc__p_wxPyPopupTransientWindow
, 
13306   _swigc__p_wxPyPreviewControlBar
, 
13307   _swigc__p_wxPyPreviewFrame
, 
13308   _swigc__p_wxPyPrintPreview
, 
13309   _swigc__p_wxPyPrintout
, 
13310   _swigc__p_wxPyScrolledWindow
, 
13311   _swigc__p_wxPySizer
, 
13312   _swigc__p_wxPyTaskBarIcon
, 
13313   _swigc__p_wxPyVListBox
, 
13314   _swigc__p_wxPyVScrolledWindow
, 
13315   _swigc__p_wxPyValidator
, 
13316   _swigc__p_wxPyWindow
, 
13317   _swigc__p_wxQueryLayoutInfoEvent
, 
13318   _swigc__p_wxQueryNewPaletteEvent
, 
13319   _swigc__p_wxRichTextAttr
, 
13320   _swigc__p_wxRichTextBuffer
, 
13321   _swigc__p_wxRichTextCtrl
, 
13322   _swigc__p_wxRichTextEvent
, 
13323   _swigc__p_wxRichTextImageBlock
, 
13324   _swigc__p_wxRichTextRange
, 
13325   _swigc__p_wxRichTextStyleSheet
, 
13326   _swigc__p_wxSashEvent
, 
13327   _swigc__p_wxSashLayoutWindow
, 
13328   _swigc__p_wxSashWindow
, 
13329   _swigc__p_wxScrollEvent
, 
13330   _swigc__p_wxScrollWinEvent
, 
13331   _swigc__p_wxScrolledWindow
, 
13332   _swigc__p_wxSetCursorEvent
, 
13333   _swigc__p_wxShowEvent
, 
13334   _swigc__p_wxSingleChoiceDialog
, 
13335   _swigc__p_wxSizeEvent
, 
13337   _swigc__p_wxSizerItem
, 
13338   _swigc__p_wxSplashScreen
, 
13339   _swigc__p_wxSplashScreenWindow
, 
13340   _swigc__p_wxSplitterEvent
, 
13341   _swigc__p_wxSplitterWindow
, 
13342   _swigc__p_wxStaticBoxSizer
, 
13343   _swigc__p_wxStatusBar
, 
13344   _swigc__p_wxStdDialogButtonSizer
, 
13345   _swigc__p_wxSysColourChangedEvent
, 
13346   _swigc__p_wxTIFFHandler
, 
13347   _swigc__p_wxTaskBarIconEvent
, 
13348   _swigc__p_wxTextCoord
, 
13349   _swigc__p_wxTextCtrlHitTestResult
, 
13350   _swigc__p_wxTextEntryDialog
, 
13351   _swigc__p_wxTipWindow
, 
13352   _swigc__p_wxTopLevelWindow
, 
13353   _swigc__p_wxUpdateUIEvent
, 
13354   _swigc__p_wxValidator
, 
13355   _swigc__p_wxWindow
, 
13356   _swigc__p_wxWindowCreateEvent
, 
13357   _swigc__p_wxWindowDestroyEvent
, 
13358   _swigc__p_wxXPMHandler
, 
13362 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
13364 static swig_const_info swig_const_table
[] = { 
13365 {0, 0, 0, 0.0, 0, 0}}; 
13370 /* ----------------------------------------------------------------------------- 
13371  * Type initialization: 
13372  * This problem is tough by the requirement that no dynamic  
13373  * memory is used. Also, since swig_type_info structures store pointers to  
13374  * swig_cast_info structures and swig_cast_info structures store pointers back 
13375  * to swig_type_info structures, we need some lookup code at initialization.  
13376  * The idea is that swig generates all the structures that are needed.  
13377  * The runtime then collects these partially filled structures.  
13378  * The SWIG_InitializeModule function takes these initial arrays out of  
13379  * swig_module, and does all the lookup, filling in the swig_module.types 
13380  * array with the correct data and linking the correct swig_cast_info 
13381  * structures together. 
13383  * The generated swig_type_info structures are assigned staticly to an initial  
13384  * array. We just loop though that array, and handle each type individually. 
13385  * First we lookup if this type has been already loaded, and if so, use the 
13386  * loaded structure instead of the generated one. Then we have to fill in the 
13387  * cast linked list. The cast data is initially stored in something like a 
13388  * two-dimensional array. Each row corresponds to a type (there are the same 
13389  * number of rows as there are in the swig_type_initial array). Each entry in 
13390  * a column is one of the swig_cast_info structures for that type. 
13391  * The cast_initial array is actually an array of arrays, because each row has 
13392  * a variable number of columns. So to actually build the cast linked list, 
13393  * we find the array of casts associated with the type, and loop through it  
13394  * adding the casts to the list. The one last trick we need to do is making 
13395  * sure the type pointer in the swig_cast_info struct is correct. 
13397  * First off, we lookup the cast->type name to see if it is already loaded.  
13398  * There are three cases to handle: 
13399  *  1) If the cast->type has already been loaded AND the type we are adding 
13400  *     casting info to has not been loaded (it is in this module), THEN we 
13401  *     replace the cast->type pointer with the type pointer that has already 
13403  *  2) If BOTH types (the one we are adding casting info to, and the  
13404  *     cast->type) are loaded, THEN the cast info has already been loaded by 
13405  *     the previous module so we just ignore it. 
13406  *  3) Finally, if cast->type has not already been loaded, then we add that 
13407  *     swig_cast_info to the linked list (because the cast->type) pointer will 
13409  * ----------------------------------------------------------------------------- */ 
13419 #define SWIGRUNTIME_DEBUG 
13423 SWIG_InitializeModule(void *clientdata
) { 
13425   swig_module_info 
*module_head
; 
13426   static int init_run 
= 0; 
13428   clientdata 
= clientdata
; 
13430   if (init_run
) return; 
13433   /* Initialize the swig_module */ 
13434   swig_module
.type_initial 
= swig_type_initial
; 
13435   swig_module
.cast_initial 
= swig_cast_initial
; 
13437   /* Try and load any already created modules */ 
13438   module_head 
= SWIG_GetModule(clientdata
); 
13440     swig_module
.next 
= module_head
->next
; 
13441     module_head
->next 
= &swig_module
; 
13443     /* This is the first module loaded */ 
13444     swig_module
.next 
= &swig_module
; 
13445     SWIG_SetModule(clientdata
, &swig_module
); 
13448   /* Now work on filling in swig_module.types */ 
13449 #ifdef SWIGRUNTIME_DEBUG 
13450   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
13452   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13453     swig_type_info 
*type 
= 0; 
13454     swig_type_info 
*ret
; 
13455     swig_cast_info 
*cast
; 
13457 #ifdef SWIGRUNTIME_DEBUG 
13458     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13461     /* if there is another module already loaded */ 
13462     if (swig_module
.next 
!= &swig_module
) { 
13463       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
13466       /* Overwrite clientdata field */ 
13467 #ifdef SWIGRUNTIME_DEBUG 
13468       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
13470       if (swig_module
.type_initial
[i
]->clientdata
) { 
13471         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
13472 #ifdef SWIGRUNTIME_DEBUG 
13473         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
13477       type 
= swig_module
.type_initial
[i
]; 
13480     /* Insert casting types */ 
13481     cast 
= swig_module
.cast_initial
[i
]; 
13482     while (cast
->type
) { 
13483       /* Don't need to add information already in the list */ 
13485 #ifdef SWIGRUNTIME_DEBUG 
13486       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
13488       if (swig_module
.next 
!= &swig_module
) { 
13489         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
13490 #ifdef SWIGRUNTIME_DEBUG 
13491         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
13495         if (type 
== swig_module
.type_initial
[i
]) { 
13496 #ifdef SWIGRUNTIME_DEBUG 
13497           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
13502           /* Check for casting already in the list */ 
13503           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
13504 #ifdef SWIGRUNTIME_DEBUG 
13505           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
13507           if (!ocast
) ret 
= 0; 
13512 #ifdef SWIGRUNTIME_DEBUG 
13513         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
13516           type
->cast
->prev 
= cast
; 
13517           cast
->next 
= type
->cast
; 
13523     /* Set entry in modules->types array equal to the type */ 
13524     swig_module
.types
[i
] = type
; 
13526   swig_module
.types
[i
] = 0; 
13528 #ifdef SWIGRUNTIME_DEBUG 
13529   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13530   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13532     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
13533     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13534     while (cast
->type
) { 
13535       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
13539     printf("---- Total casts: %d\n",j
); 
13541   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13545 /* This function will propagate the clientdata field of type to 
13546 * any new swig_type_info structures that have been added into the list 
13547 * of equivalent types.  It is like calling 
13548 * SWIG_TypeClientData(type, clientdata) a second time. 
13551 SWIG_PropagateClientData(void) { 
13553   swig_cast_info 
*equiv
; 
13554   static int init_run 
= 0; 
13556   if (init_run
) return; 
13559   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
13560     if (swig_module
.types
[i
]->clientdata
) { 
13561       equiv 
= swig_module
.types
[i
]->cast
; 
13563         if (!equiv
->converter
) { 
13564           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
13565           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
13567         equiv 
= equiv
->next
; 
13587   /* Python-specific SWIG API */ 
13588 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
13589 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
13590 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
13592   /* ----------------------------------------------------------------------------- 
13593    * global variable support code. 
13594    * ----------------------------------------------------------------------------- */ 
13596   typedef struct swig_globalvar 
{ 
13597     char       *name
;                  /* Name of global variable */ 
13598     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
13599     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
13600     struct swig_globalvar 
*next
; 
13603   typedef struct swig_varlinkobject 
{ 
13605     swig_globalvar 
*vars
; 
13606   } swig_varlinkobject
; 
13608   SWIGINTERN PyObject 
* 
13609   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
13610     return PyString_FromString("<Swig global variables>"); 
13613   SWIGINTERN PyObject 
* 
13614   swig_varlink_str(swig_varlinkobject 
*v
) { 
13615     PyObject 
*str 
= PyString_FromString("("); 
13616     swig_globalvar  
*var
; 
13617     for (var 
= v
->vars
; var
; var
=var
->next
) { 
13618       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
13619       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
13621     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
13626   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
13627     PyObject 
*str 
= swig_varlink_str(v
); 
13628     fprintf(fp
,"Swig global variables "); 
13629     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
13635   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
13636     swig_globalvar 
*var 
= v
->vars
; 
13638       swig_globalvar 
*n 
= var
->next
; 
13645   SWIGINTERN PyObject 
* 
13646   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
13647     PyObject 
*res 
= NULL
; 
13648     swig_globalvar 
*var 
= v
->vars
; 
13650       if (strcmp(var
->name
,n
) == 0) { 
13651         res 
= (*var
->get_attr
)(); 
13656     if (res 
== NULL 
&& !PyErr_Occurred()) { 
13657       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
13663   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
13665     swig_globalvar 
*var 
= v
->vars
; 
13667       if (strcmp(var
->name
,n
) == 0) { 
13668         res 
= (*var
->set_attr
)(p
); 
13673     if (res 
== 1 && !PyErr_Occurred()) { 
13674       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
13679   SWIGINTERN PyTypeObject
* 
13680   swig_varlink_type(void) { 
13681     static char varlink__doc__
[] = "Swig var link object"; 
13682     static PyTypeObject varlink_type
; 
13683     static int type_init 
= 0;   
13685       const PyTypeObject tmp
 
13687         PyObject_HEAD_INIT(NULL
) 
13688         0,                                  /* Number of items in variable part (ob_size) */ 
13689         (char *)"swigvarlink",              /* Type name (tp_name) */ 
13690         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
13691         0,                                  /* Itemsize (tp_itemsize) */ 
13692         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
13693         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
13694         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
13695         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
13696         0,                                  /* tp_compare */ 
13697         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
13698         0,                                  /* tp_as_number */ 
13699         0,                                  /* tp_as_sequence */ 
13700         0,                                  /* tp_as_mapping */ 
13703         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
13704         0,                                  /* tp_getattro */ 
13705         0,                                  /* tp_setattro */ 
13706         0,                                  /* tp_as_buffer */ 
13708         varlink__doc__
,                     /* tp_doc */ 
13709         0,                                  /* tp_traverse */ 
13711         0,                                  /* tp_richcompare */ 
13712         0,                                  /* tp_weaklistoffset */ 
13713 #if PY_VERSION_HEX >= 0x02020000 
13714         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
13716 #if PY_VERSION_HEX >= 0x02030000 
13719 #ifdef COUNT_ALLOCS 
13720         0,0,0,0                             /* tp_alloc -> tp_next */ 
13723       varlink_type 
= tmp
; 
13724       varlink_type
.ob_type 
= &PyType_Type
; 
13727     return &varlink_type
; 
13730   /* Create a variable linking object for use later */ 
13731   SWIGINTERN PyObject 
* 
13732   SWIG_Python_newvarlink(void) { 
13733     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
13737     return ((PyObject
*) result
); 
13741   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
13742     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
13743     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
13745       size_t size 
= strlen(name
)+1; 
13746       gv
->name 
= (char *)malloc(size
); 
13748         strncpy(gv
->name
,name
,size
); 
13749         gv
->get_attr 
= get_attr
; 
13750         gv
->set_attr 
= set_attr
; 
13751         gv
->next 
= v
->vars
; 
13757   SWIGINTERN PyObject 
* 
13759     static PyObject 
*_SWIG_globals 
= 0;  
13760     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
13761     return _SWIG_globals
; 
13764   /* ----------------------------------------------------------------------------- 
13765    * constants/methods manipulation 
13766    * ----------------------------------------------------------------------------- */ 
13768   /* Install Constants */ 
13770   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
13773     for (i 
= 0; constants
[i
].type
; ++i
) { 
13774       switch(constants
[i
].type
) { 
13775       case SWIG_PY_POINTER
: 
13776         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
13778       case SWIG_PY_BINARY
: 
13779         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
13786         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
13792   /* -----------------------------------------------------------------------------*/ 
13793   /* Fix SwigMethods to carry the callback ptrs when needed */ 
13794   /* -----------------------------------------------------------------------------*/ 
13797   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
13798     swig_const_info 
*const_table
, 
13799     swig_type_info 
**types
, 
13800     swig_type_info 
**types_initial
) { 
13802     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
13803       const char *c 
= methods
[i
].ml_doc
; 
13804       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
13806         swig_const_info 
*ci 
= 0; 
13807         const char *name 
= c 
+ 10; 
13808         for (j 
= 0; const_table
[j
].type
; ++j
) { 
13809           if (strncmp(const_table
[j
].name
, name
,  
13810               strlen(const_table
[j
].name
)) == 0) { 
13811             ci 
= &(const_table
[j
]); 
13816           size_t shift 
= (ci
->ptype
) - types
; 
13817           swig_type_info 
*ty 
= types_initial
[shift
]; 
13818           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
13819           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
13820           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
13823             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
13825               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
13827               strncpy(buff
, "swig_ptr: ", 10); 
13829               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
13830               methods
[i
].ml_doc 
= ndoc
; 
13842 /* -----------------------------------------------------------------------------* 
13843  *  Partial Init method 
13844  * -----------------------------------------------------------------------------*/ 
13849 SWIGEXPORT 
void SWIG_init(void) { 
13852   /* Fix SwigMethods to carry the callback ptrs when needed */ 
13853   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
13855   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
13856   d 
= PyModule_GetDict(m
); 
13858   SWIG_InitializeModule(0); 
13859   SWIG_InstallConstants(d
,swig_const_table
); 
13862   SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0))); 
13863   SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
))); 
13864   SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
))); 
13865   SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
))); 
13866   SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
))); 
13867   SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
))); 
13868   SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
))); 
13869   SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
))); 
13870   SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
))); 
13871   SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
))); 
13872   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
))); 
13873   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
))); 
13874   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
))); 
13875   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
))); 
13876   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
))); 
13877   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
))); 
13878   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
))); 
13879   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
))); 
13880   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
))); 
13881   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
))); 
13882   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
))); 
13883   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
))); 
13884   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
))); 
13885   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
))); 
13886   SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
))); 
13887   SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
))); 
13888   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
))); 
13889   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
))); 
13890   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
))); 
13891   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
))); 
13892   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
))); 
13893   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
))); 
13894   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
))); 
13895   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
))); 
13896   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
))); 
13897   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
))); 
13898   SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
))); 
13899   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
))); 
13900   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
))); 
13901   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
))); 
13902   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
))); 
13903   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
))); 
13904   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
))); 
13905   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
))); 
13906   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
))); 
13907   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
))); 
13908   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
))); 
13909   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
))); 
13910   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
))); 
13911   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
))); 
13912   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
))); 
13913   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
))); 
13914   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
))); 
13915   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
))); 
13916   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
))); 
13917   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
))); 
13918   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
))); 
13919   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
))); 
13920   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
))); 
13921   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
))); 
13922   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
))); 
13923   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
))); 
13924   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
))); 
13925   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
))); 
13926   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
))); 
13927   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
13928   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
); 
13929   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
); 
13930   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
))); 
13931   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
))); 
13932   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
))); 
13933   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
)); 
13934   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
)); 
13935   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
)); 
13936   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
)); 
13937   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
)); 
13938   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
)); 
13939   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));