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_wxEventBlocker swig_types[35] 
2502 #define SWIGTYPE_p_wxEvtHandler swig_types[36] 
2503 #define SWIGTYPE_p_wxFSFile swig_types[37] 
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38] 
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39] 
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40] 
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41] 
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42] 
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43] 
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44] 
2511 #define SWIGTYPE_p_wxFont swig_types[45] 
2512 #define SWIGTYPE_p_wxFontData swig_types[46] 
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47] 
2514 #define SWIGTYPE_p_wxFrame swig_types[48] 
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49] 
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50] 
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51] 
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52] 
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53] 
2520 #define SWIGTYPE_p_wxIconizeEvent swig_types[54] 
2521 #define SWIGTYPE_p_wxIdleEvent swig_types[55] 
2522 #define SWIGTYPE_p_wxImage swig_types[56] 
2523 #define SWIGTYPE_p_wxImageHandler swig_types[57] 
2524 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[58] 
2525 #define SWIGTYPE_p_wxInitDialogEvent swig_types[59] 
2526 #define SWIGTYPE_p_wxJPEGHandler swig_types[60] 
2527 #define SWIGTYPE_p_wxKeyEvent swig_types[61] 
2528 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[62] 
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[63] 
2530 #define SWIGTYPE_p_wxMDIChildFrame swig_types[64] 
2531 #define SWIGTYPE_p_wxMDIClientWindow swig_types[65] 
2532 #define SWIGTYPE_p_wxMDIParentFrame swig_types[66] 
2533 #define SWIGTYPE_p_wxMaximizeEvent swig_types[67] 
2534 #define SWIGTYPE_p_wxMenu swig_types[68] 
2535 #define SWIGTYPE_p_wxMenuBar swig_types[69] 
2536 #define SWIGTYPE_p_wxMenuEvent swig_types[70] 
2537 #define SWIGTYPE_p_wxMenuItem swig_types[71] 
2538 #define SWIGTYPE_p_wxMessageDialog swig_types[72] 
2539 #define SWIGTYPE_p_wxMiniFrame swig_types[73] 
2540 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[74] 
2541 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[75] 
2542 #define SWIGTYPE_p_wxMouseEvent swig_types[76] 
2543 #define SWIGTYPE_p_wxMoveEvent swig_types[77] 
2544 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[78] 
2545 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79] 
2546 #define SWIGTYPE_p_wxNcPaintEvent swig_types[80] 
2547 #define SWIGTYPE_p_wxNotifyEvent swig_types[81] 
2548 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[82] 
2549 #define SWIGTYPE_p_wxObject swig_types[83] 
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[84] 
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[85] 
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[86] 
2553 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87] 
2554 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88] 
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89] 
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90] 
2557 #define SWIGTYPE_p_wxPanel swig_types[91] 
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92] 
2559 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93] 
2560 #define SWIGTYPE_p_wxPopupWindow swig_types[94] 
2561 #define SWIGTYPE_p_wxPreviewCanvas swig_types[95] 
2562 #define SWIGTYPE_p_wxPreviewControlBar swig_types[96] 
2563 #define SWIGTYPE_p_wxPreviewFrame swig_types[97] 
2564 #define SWIGTYPE_p_wxPrintData swig_types[98] 
2565 #define SWIGTYPE_p_wxPrintDialog swig_types[99] 
2566 #define SWIGTYPE_p_wxPrintDialogData swig_types[100] 
2567 #define SWIGTYPE_p_wxPrintPreview swig_types[101] 
2568 #define SWIGTYPE_p_wxPrinter swig_types[102] 
2569 #define SWIGTYPE_p_wxProgressDialog swig_types[103] 
2570 #define SWIGTYPE_p_wxPyApp swig_types[104] 
2571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105] 
2572 #define SWIGTYPE_p_wxPyEvent swig_types[106] 
2573 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[107] 
2574 #define SWIGTYPE_p_wxPyImageHandler swig_types[108] 
2575 #define SWIGTYPE_p_wxPyPanel swig_types[109] 
2576 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[110] 
2577 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[111] 
2578 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[112] 
2579 #define SWIGTYPE_p_wxPyPrintPreview swig_types[113] 
2580 #define SWIGTYPE_p_wxPyPrintout swig_types[114] 
2581 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[115] 
2582 #define SWIGTYPE_p_wxPySizer swig_types[116] 
2583 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[117] 
2584 #define SWIGTYPE_p_wxPyVListBox swig_types[118] 
2585 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[119] 
2586 #define SWIGTYPE_p_wxPyValidator swig_types[120] 
2587 #define SWIGTYPE_p_wxPyWindow swig_types[121] 
2588 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[122] 
2589 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123] 
2590 #define SWIGTYPE_p_wxRichTextAttr swig_types[124] 
2591 #define SWIGTYPE_p_wxRichTextBuffer swig_types[125] 
2592 #define SWIGTYPE_p_wxRichTextCtrl swig_types[126] 
2593 #define SWIGTYPE_p_wxRichTextEvent swig_types[127] 
2594 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[128] 
2595 #define SWIGTYPE_p_wxRichTextRange swig_types[129] 
2596 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[130] 
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131] 
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132] 
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133] 
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134] 
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135] 
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136] 
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137] 
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138] 
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139] 
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140] 
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141] 
2608 #define SWIGTYPE_p_wxSizer swig_types[142] 
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143] 
2610 #define SWIGTYPE_p_wxSplashScreen swig_types[144] 
2611 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[145] 
2612 #define SWIGTYPE_p_wxSplitterEvent swig_types[146] 
2613 #define SWIGTYPE_p_wxSplitterWindow swig_types[147] 
2614 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[148] 
2615 #define SWIGTYPE_p_wxStatusBar swig_types[149] 
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150] 
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151] 
2618 #define SWIGTYPE_p_wxTGAHandler swig_types[152] 
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153] 
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154] 
2621 #define SWIGTYPE_p_wxTextCoord swig_types[155] 
2622 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[156] 
2623 #define SWIGTYPE_p_wxTextEntryDialog swig_types[157] 
2624 #define SWIGTYPE_p_wxTipWindow swig_types[158] 
2625 #define SWIGTYPE_p_wxTopLevelWindow swig_types[159] 
2626 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[160] 
2627 #define SWIGTYPE_p_wxValidator swig_types[161] 
2628 #define SWIGTYPE_p_wxWindow swig_types[162] 
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163] 
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164] 
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165] 
2632 static swig_type_info 
*swig_types
[167]; 
2633 static swig_module_info swig_module 
= {swig_types
, 166, 0, 0, 0, 0}; 
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2637 /* -------- TYPES TABLE (END) -------- */ 
2639 #if (PY_VERSION_HEX <= 0x02000000) 
2640 # if !defined(SWIG_PYTHON_CLASSIC) 
2641 #  error "This python version requires to use swig with the '-classic' option" 
2644 #if (PY_VERSION_HEX <= 0x02020000) 
2645 # error "This python version requires to use swig with the '-nomodern' option" 
2647 #if (PY_VERSION_HEX <= 0x02020000) 
2648 # error "This python version requires to use swig with the '-nomodernargs' option" 
2651 # error "This python version requires to use swig with the '-nofastunpack' option" 
2654 /*----------------------------------------------- 
2655               @(target):= _richtext.so 
2656   ------------------------------------------------*/ 
2657 #define SWIG_init    init_richtext 
2659 #define SWIG_name    "_richtext" 
2661 #define SWIGVERSION 0x010329  
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2668 #include <stdexcept> 
2672   class PyObject_ptr 
{ 
2677     PyObject_ptr() :_obj(0) 
2681     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2686     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2688       if (initial_ref
) Py_XINCREF(_obj
); 
2691     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2693       Py_XINCREF(item
._obj
); 
2704     operator PyObject 
*() const 
2709     PyObject 
*operator->() const 
2718   struct PyObject_var 
: PyObject_ptr 
{ 
2719     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2721     PyObject_var 
& operator = (PyObject
* obj
) 
2731 #include "wx/wxPython/wxPython.h" 
2732 #include "wx/wxPython/pyclasses.h" 
2733 #include "wx/wxPython/printfw.h" 
2734 #include "wx/wxPython/twoitem.h" 
2736 #include <wx/richtext/richtextctrl.h> 
2741 class wxBufferedPaintDC
; 
2748   #define SWIG_From_long   PyInt_FromLong  
2751 SWIGINTERNINLINE PyObject 
* 
2752 SWIG_From_int  (int value
) 
2754   return SWIG_From_long  (value
); 
2757  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2760 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
) 
2762     if (source 
== Py_None
) { 
2763         **obj 
= wxRICHTEXT_NONE
; 
2766     return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange")); 
2771 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2773     if (PyNumber_Check(obj
)) { 
2774         if (val
) *val 
= PyInt_AsLong(obj
); 
2777     return SWIG_TypeError
; 
2780 SWIGINTERN 
bool wxRichTextRange___eq__(wxRichTextRange 
*self
,PyObject 
*other
){ 
2781             wxRichTextRange  temp
, *obj 
= &temp
; 
2782             if ( other 
== Py_None 
) return false; 
2783             if ( ! wxRichTextRange_helper(other
, &obj
) ) { 
2787             return self
->operator==(*obj
); 
2789 SWIGINTERN PyObject 
*wxRichTextRange_Get(wxRichTextRange 
*self
){ 
2790             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2791             PyObject
* tup 
= PyTuple_New(2); 
2792             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart())); 
2793             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd())); 
2794             wxPyEndBlockThreads(blocked
); 
2798     wxRichTextRange 
wxPy_RTR_ALL(wxRICHTEXT_ALL
); 
2799     wxRichTextRange 
wxPy_RTR_NONE(wxRICHTEXT_NONE
); 
2804 # define LLONG_MIN      LONG_LONG_MIN 
2807 # define LLONG_MAX      LONG_LONG_MAX 
2810 # define ULLONG_MAX     ULONG_LONG_MAX 
2815 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2818   int res 
= SWIG_AsVal_long (obj
, &v
); 
2819   if (SWIG_IsOK(res
)) { 
2820     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2821       return SWIG_OverflowError
; 
2823       if (val
) *val 
= static_cast< int >(v
); 
2831 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2833   if (obj 
== Py_True
) { 
2834     if (val
) *val 
= true; 
2836   } else if (obj 
== Py_False
) { 
2837     if (val
) *val 
= false; 
2841     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2842     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2849 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2852     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2853         return SWIG_TypeError
; 
2856         *val 
= (unsigned long)v
; 
2863 SWIGINTERN PyObject 
*_wrap_new_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
2864   PyObject 
*resultobj 
= 0; 
2865   long arg1 
= (long) 0 ; 
2866   long arg2 
= (long) 0 ; 
2867   wxRichTextRange 
*result 
= 0 ; 
2872   PyObject 
* obj0 
= 0 ; 
2873   PyObject 
* obj1 
= 0 ; 
2874   char *  kwnames
[] = { 
2875     (char *) "start",(char *) "end", NULL 
 
2878   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
2880     ecode1 
= SWIG_AsVal_long(obj0
, &val1
); 
2881     if (!SWIG_IsOK(ecode1
)) { 
2882       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'"); 
2884     arg1 
= static_cast< long >(val1
); 
2887     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
2888     if (!SWIG_IsOK(ecode2
)) { 
2889       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'"); 
2891     arg2 
= static_cast< long >(val2
); 
2894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2895     result 
= (wxRichTextRange 
*)new wxRichTextRange(arg1
,arg2
); 
2896     wxPyEndAllowThreads(__tstate
); 
2897     if (PyErr_Occurred()) SWIG_fail
; 
2899   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW 
|  0 ); 
2906 SWIGINTERN PyObject 
*_wrap_delete_RichTextRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
2907   PyObject 
*resultobj 
= 0; 
2908   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
2911   PyObject 
*swig_obj
[1] ; 
2913   if (!args
) SWIG_fail
; 
2915   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN 
|  0 ); 
2916   if (!SWIG_IsOK(res1
)) { 
2917     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
2919   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
2921     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2924     wxPyEndAllowThreads(__tstate
); 
2925     if (PyErr_Occurred()) SWIG_fail
; 
2927   resultobj 
= SWIG_Py_Void(); 
2934 SWIGINTERN PyObject 
*_wrap_RichTextRange___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
2935   PyObject 
*resultobj 
= 0; 
2936   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
2937   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2941   PyObject 
* obj0 
= 0 ; 
2942   PyObject 
* obj1 
= 0 ; 
2943   char *  kwnames
[] = { 
2944     (char *) "self",(char *) "other", NULL 
 
2947   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
2948   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
2949   if (!SWIG_IsOK(res1
)) { 
2950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
2952   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
2955     result 
= (bool)wxRichTextRange___eq__(arg1
,arg2
); 
2956     if (PyErr_Occurred()) SWIG_fail
; 
2959     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2967 SWIGINTERN PyObject 
*_wrap_RichTextRange___sub__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
2968   PyObject 
*resultobj 
= 0; 
2969   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
2970   wxRichTextRange 
*arg2 
= 0 ; 
2971   wxRichTextRange result
; 
2974   wxRichTextRange temp2 
; 
2975   PyObject 
* obj0 
= 0 ; 
2976   PyObject 
* obj1 
= 0 ; 
2977   char *  kwnames
[] = { 
2978     (char *) "self",(char *) "range", NULL 
 
2981   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
2982   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
2983   if (!SWIG_IsOK(res1
)) { 
2984     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
2986   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
2989     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
2992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2993     result 
= ((wxRichTextRange 
const *)arg1
)->operator -((wxRichTextRange 
const &)*arg2
); 
2994     wxPyEndAllowThreads(__tstate
); 
2995     if (PyErr_Occurred()) SWIG_fail
; 
2997   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3004 SWIGINTERN PyObject 
*_wrap_RichTextRange___add__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3005   PyObject 
*resultobj 
= 0; 
3006   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3007   wxRichTextRange 
*arg2 
= 0 ; 
3008   wxRichTextRange result
; 
3011   wxRichTextRange temp2 
; 
3012   PyObject 
* obj0 
= 0 ; 
3013   PyObject 
* obj1 
= 0 ; 
3014   char *  kwnames
[] = { 
3015     (char *) "self",(char *) "range", NULL 
 
3018   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3019   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3020   if (!SWIG_IsOK(res1
)) { 
3021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3023   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3026     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3030     result 
= ((wxRichTextRange 
const *)arg1
)->operator +((wxRichTextRange 
const &)*arg2
); 
3031     wxPyEndAllowThreads(__tstate
); 
3032     if (PyErr_Occurred()) SWIG_fail
; 
3034   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
3041 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3042   PyObject 
*resultobj 
= 0; 
3043   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3052   PyObject 
* obj0 
= 0 ; 
3053   PyObject 
* obj1 
= 0 ; 
3054   PyObject 
* obj2 
= 0 ; 
3055   char *  kwnames
[] = { 
3056     (char *) "self",(char *) "start",(char *) "end", NULL 
 
3059   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3060   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3061   if (!SWIG_IsOK(res1
)) { 
3062     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3064   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3065   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3066   if (!SWIG_IsOK(ecode2
)) { 
3067     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'"); 
3069   arg2 
= static_cast< long >(val2
); 
3070   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
3071   if (!SWIG_IsOK(ecode3
)) { 
3072     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'"); 
3074   arg3 
= static_cast< long >(val3
); 
3076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3077     (arg1
)->SetRange(arg2
,arg3
); 
3078     wxPyEndAllowThreads(__tstate
); 
3079     if (PyErr_Occurred()) SWIG_fail
; 
3081   resultobj 
= SWIG_Py_Void(); 
3088 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3089   PyObject 
*resultobj 
= 0; 
3090   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3096   PyObject 
* obj0 
= 0 ; 
3097   PyObject 
* obj1 
= 0 ; 
3098   char *  kwnames
[] = { 
3099     (char *) "self",(char *) "start", NULL 
 
3102   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3103   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3104   if (!SWIG_IsOK(res1
)) { 
3105     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3107   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3108   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3109   if (!SWIG_IsOK(ecode2
)) { 
3110     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'"); 
3112   arg2 
= static_cast< long >(val2
); 
3114     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3115     (arg1
)->SetStart(arg2
); 
3116     wxPyEndAllowThreads(__tstate
); 
3117     if (PyErr_Occurred()) SWIG_fail
; 
3119   resultobj 
= SWIG_Py_Void(); 
3126 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3127   PyObject 
*resultobj 
= 0; 
3128   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3132   PyObject 
*swig_obj
[1] ; 
3134   if (!args
) SWIG_fail
; 
3136   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3137   if (!SWIG_IsOK(res1
)) { 
3138     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3140   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3142     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3143     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetStart(); 
3144     wxPyEndAllowThreads(__tstate
); 
3145     if (PyErr_Occurred()) SWIG_fail
; 
3147   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3154 SWIGINTERN PyObject 
*_wrap_RichTextRange_SetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3155   PyObject 
*resultobj 
= 0; 
3156   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3162   PyObject 
* obj0 
= 0 ; 
3163   PyObject 
* obj1 
= 0 ; 
3164   char *  kwnames
[] = { 
3165     (char *) "self",(char *) "end", NULL 
 
3168   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3169   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3170   if (!SWIG_IsOK(res1
)) { 
3171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3173   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3174   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3175   if (!SWIG_IsOK(ecode2
)) { 
3176     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'"); 
3178   arg2 
= static_cast< long >(val2
); 
3180     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3181     (arg1
)->SetEnd(arg2
); 
3182     wxPyEndAllowThreads(__tstate
); 
3183     if (PyErr_Occurred()) SWIG_fail
; 
3185   resultobj 
= SWIG_Py_Void(); 
3192 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3193   PyObject 
*resultobj 
= 0; 
3194   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3198   PyObject 
*swig_obj
[1] ; 
3200   if (!args
) SWIG_fail
; 
3202   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3203   if (!SWIG_IsOK(res1
)) { 
3204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3206   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3209     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetEnd(); 
3210     wxPyEndAllowThreads(__tstate
); 
3211     if (PyErr_Occurred()) SWIG_fail
; 
3213   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3220 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsOutside(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3221   PyObject 
*resultobj 
= 0; 
3222   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3223   wxRichTextRange 
*arg2 
= 0 ; 
3227   wxRichTextRange temp2 
; 
3228   PyObject 
* obj0 
= 0 ; 
3229   PyObject 
* obj1 
= 0 ; 
3230   char *  kwnames
[] = { 
3231     (char *) "self",(char *) "range", NULL 
 
3234   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3235   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3236   if (!SWIG_IsOK(res1
)) { 
3237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3239   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3242     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3245     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3246     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsOutside((wxRichTextRange 
const &)*arg2
); 
3247     wxPyEndAllowThreads(__tstate
); 
3248     if (PyErr_Occurred()) SWIG_fail
; 
3251     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3259 SWIGINTERN PyObject 
*_wrap_RichTextRange_IsWithin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3260   PyObject 
*resultobj 
= 0; 
3261   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3262   wxRichTextRange 
*arg2 
= 0 ; 
3266   wxRichTextRange temp2 
; 
3267   PyObject 
* obj0 
= 0 ; 
3268   PyObject 
* obj1 
= 0 ; 
3269   char *  kwnames
[] = { 
3270     (char *) "self",(char *) "range", NULL 
 
3273   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3274   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3275   if (!SWIG_IsOK(res1
)) { 
3276     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3278   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3281     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3285     result 
= (bool)((wxRichTextRange 
const *)arg1
)->IsWithin((wxRichTextRange 
const &)*arg2
); 
3286     wxPyEndAllowThreads(__tstate
); 
3287     if (PyErr_Occurred()) SWIG_fail
; 
3290     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3298 SWIGINTERN PyObject 
*_wrap_RichTextRange_Contains(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3299   PyObject 
*resultobj 
= 0; 
3300   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3307   PyObject 
* obj0 
= 0 ; 
3308   PyObject 
* obj1 
= 0 ; 
3309   char *  kwnames
[] = { 
3310     (char *) "self",(char *) "pos", NULL 
 
3313   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3314   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3315   if (!SWIG_IsOK(res1
)) { 
3316     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3318   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3319   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3320   if (!SWIG_IsOK(ecode2
)) { 
3321     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'"); 
3323   arg2 
= static_cast< long >(val2
); 
3325     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3326     result 
= (bool)((wxRichTextRange 
const *)arg1
)->Contains(arg2
); 
3327     wxPyEndAllowThreads(__tstate
); 
3328     if (PyErr_Occurred()) SWIG_fail
; 
3331     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3339 SWIGINTERN PyObject 
*_wrap_RichTextRange_LimitTo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3340   PyObject 
*resultobj 
= 0; 
3341   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3342   wxRichTextRange 
*arg2 
= 0 ; 
3346   wxRichTextRange temp2 
; 
3347   PyObject 
* obj0 
= 0 ; 
3348   PyObject 
* obj1 
= 0 ; 
3349   char *  kwnames
[] = { 
3350     (char *) "self",(char *) "range", NULL 
 
3353   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3354   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3355   if (!SWIG_IsOK(res1
)) { 
3356     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3358   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3361     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
3364     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3365     result 
= (bool)(arg1
)->LimitTo((wxRichTextRange 
const &)*arg2
); 
3366     wxPyEndAllowThreads(__tstate
); 
3367     if (PyErr_Occurred()) SWIG_fail
; 
3370     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3378 SWIGINTERN PyObject 
*_wrap_RichTextRange_GetLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3379   PyObject 
*resultobj 
= 0; 
3380   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3384   PyObject 
*swig_obj
[1] ; 
3386   if (!args
) SWIG_fail
; 
3388   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3389   if (!SWIG_IsOK(res1
)) { 
3390     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");  
3392   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3394     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3395     result 
= (long)((wxRichTextRange 
const *)arg1
)->GetLength(); 
3396     wxPyEndAllowThreads(__tstate
); 
3397     if (PyErr_Occurred()) SWIG_fail
; 
3399   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3406 SWIGINTERN PyObject 
*_wrap_RichTextRange_Swap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3407   PyObject 
*resultobj 
= 0; 
3408   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3411   PyObject 
*swig_obj
[1] ; 
3413   if (!args
) SWIG_fail
; 
3415   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3416   if (!SWIG_IsOK(res1
)) { 
3417     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3419   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3421     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3423     wxPyEndAllowThreads(__tstate
); 
3424     if (PyErr_Occurred()) SWIG_fail
; 
3426   resultobj 
= SWIG_Py_Void(); 
3433 SWIGINTERN PyObject 
*_wrap_RichTextRange_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3434   PyObject 
*resultobj 
= 0; 
3435   wxRichTextRange 
*arg1 
= (wxRichTextRange 
*) 0 ; 
3436   PyObject 
*result 
= 0 ; 
3439   PyObject 
*swig_obj
[1] ; 
3441   if (!args
) SWIG_fail
; 
3443   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
3444   if (!SWIG_IsOK(res1
)) { 
3445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");  
3447   arg1 
= reinterpret_cast< wxRichTextRange 
* >(argp1
); 
3449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3450     result 
= (PyObject 
*)wxRichTextRange_Get(arg1
); 
3451     wxPyEndAllowThreads(__tstate
); 
3452     if (PyErr_Occurred()) SWIG_fail
; 
3461 SWIGINTERN PyObject 
*RichTextRange_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3463   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3464   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
)); 
3465   return SWIG_Py_Void(); 
3468 SWIGINTERN PyObject 
*RichTextRange_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3469   return SWIG_Python_InitShadowInstance(args
); 
3472 SWIGINTERN 
int RICHTEXT_ALL_set(PyObject 
*) { 
3473   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only."); 
3478 SWIGINTERN PyObject 
*RICHTEXT_ALL_get(void) { 
3479   PyObject 
*pyobj 
= 0; 
3481   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3486 SWIGINTERN 
int RICHTEXT_NONE_set(PyObject 
*) { 
3487   SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only."); 
3492 SWIGINTERN PyObject 
*RICHTEXT_NONE_get(void) { 
3493   PyObject 
*pyobj 
= 0; 
3495   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
,  0 ); 
3500 SWIGINTERN PyObject 
*_wrap_new_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3501   PyObject 
*resultobj 
= 0; 
3502   wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
3503   wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
3504   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
3505   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
3506   wxTextAttrAlignment arg3 
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT 
; 
3507   wxRichTextAttr 
*result 
= 0 ; 
3512   PyObject 
* obj0 
= 0 ; 
3513   PyObject 
* obj1 
= 0 ; 
3514   PyObject 
* obj2 
= 0 ; 
3515   char *  kwnames
[] = { 
3516     (char *) "colText",(char *) "colBack",(char *) "alignment", NULL 
 
3519   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3523       if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3529       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3533     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3534     if (!SWIG_IsOK(ecode3
)) { 
3535       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'"); 
3537     arg3 
= static_cast< wxTextAttrAlignment 
>(val3
); 
3540     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3541     result 
= (wxRichTextAttr 
*)new wxRichTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
3542     wxPyEndAllowThreads(__tstate
); 
3543     if (PyErr_Occurred()) SWIG_fail
; 
3545   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW 
|  0 ); 
3552 SWIGINTERN PyObject 
*_wrap_delete_RichTextAttr(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3553   PyObject 
*resultobj 
= 0; 
3554   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3557   PyObject 
*swig_obj
[1] ; 
3559   if (!args
) SWIG_fail
; 
3561   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN 
|  0 ); 
3562   if (!SWIG_IsOK(res1
)) { 
3563     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3565   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3570     wxPyEndAllowThreads(__tstate
); 
3571     if (PyErr_Occurred()) SWIG_fail
; 
3573   resultobj 
= SWIG_Py_Void(); 
3580 SWIGINTERN PyObject 
*_wrap_RichTextAttr_CreateFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3581   PyObject 
*resultobj 
= 0; 
3582   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3586   PyObject 
*swig_obj
[1] ; 
3588   if (!args
) SWIG_fail
; 
3590   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3591   if (!SWIG_IsOK(res1
)) { 
3592     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
3594   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3596     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3597     result 
= ((wxRichTextAttr 
const *)arg1
)->CreateFont(); 
3598     wxPyEndAllowThreads(__tstate
); 
3599     if (PyErr_Occurred()) SWIG_fail
; 
3601   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
3608 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3609   PyObject 
*resultobj 
= 0; 
3610   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3617   PyObject 
* obj0 
= 0 ; 
3618   PyObject 
* obj1 
= 0 ; 
3619   char *  kwnames
[] = { 
3620     (char *) "self",(char *) "font", NULL 
 
3623   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3624   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3625   if (!SWIG_IsOK(res1
)) { 
3626     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3628   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3629   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
3630   if (!SWIG_IsOK(res2
)) { 
3631     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3634     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");  
3636   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
3638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3639     result 
= (bool)(arg1
)->GetFontAttributes((wxFont 
const &)*arg2
); 
3640     wxPyEndAllowThreads(__tstate
); 
3641     if (PyErr_Occurred()) SWIG_fail
; 
3644     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3652 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3653   PyObject 
*resultobj 
= 0; 
3654   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3655   wxColour 
*arg2 
= 0 ; 
3659   PyObject 
* obj0 
= 0 ; 
3660   PyObject 
* obj1 
= 0 ; 
3661   char *  kwnames
[] = { 
3662     (char *) "self",(char *) "colText", NULL 
 
3665   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3666   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3667   if (!SWIG_IsOK(res1
)) { 
3668     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3670   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3673     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3677     (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
3678     wxPyEndAllowThreads(__tstate
); 
3679     if (PyErr_Occurred()) SWIG_fail
; 
3681   resultobj 
= SWIG_Py_Void(); 
3688 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3689   PyObject 
*resultobj 
= 0; 
3690   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3691   wxColour 
*arg2 
= 0 ; 
3695   PyObject 
* obj0 
= 0 ; 
3696   PyObject 
* obj1 
= 0 ; 
3697   char *  kwnames
[] = { 
3698     (char *) "self",(char *) "colBack", NULL 
 
3701   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3702   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3703   if (!SWIG_IsOK(res1
)) { 
3704     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3706   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3709     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3712     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3713     (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
3714     wxPyEndAllowThreads(__tstate
); 
3715     if (PyErr_Occurred()) SWIG_fail
; 
3717   resultobj 
= SWIG_Py_Void(); 
3724 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3725   PyObject 
*resultobj 
= 0; 
3726   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3727   wxTextAttrAlignment arg2 
; 
3732   PyObject 
* obj0 
= 0 ; 
3733   PyObject 
* obj1 
= 0 ; 
3734   char *  kwnames
[] = { 
3735     (char *) "self",(char *) "alignment", NULL 
 
3738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3740   if (!SWIG_IsOK(res1
)) { 
3741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3743   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3744   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3745   if (!SWIG_IsOK(ecode2
)) { 
3746     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
3748   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
3750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3751     (arg1
)->SetAlignment(arg2
); 
3752     wxPyEndAllowThreads(__tstate
); 
3753     if (PyErr_Occurred()) SWIG_fail
; 
3755   resultobj 
= SWIG_Py_Void(); 
3762 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3763   PyObject 
*resultobj 
= 0; 
3764   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3765   wxArrayInt 
*arg2 
= 0 ; 
3768   bool temp2 
= false ; 
3769   PyObject 
* obj0 
= 0 ; 
3770   PyObject 
* obj1 
= 0 ; 
3771   char *  kwnames
[] = { 
3772     (char *) "self",(char *) "tabs", NULL 
 
3775   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3776   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3777   if (!SWIG_IsOK(res1
)) { 
3778     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3780   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3782     if (! PySequence_Check(obj1
)) { 
3783       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
3786     arg2 
= new wxArrayInt
; 
3788     int i
, len
=PySequence_Length(obj1
); 
3789     for (i
=0; i
<len
; i
++) { 
3790       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
3791       PyObject
* number  
= PyNumber_Int(item
); 
3793         PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
3796       arg2
->Add(PyInt_AS_LONG(number
)); 
3802     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3803     (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
3804     wxPyEndAllowThreads(__tstate
); 
3805     if (PyErr_Occurred()) SWIG_fail
; 
3807   resultobj 
= SWIG_Py_Void(); 
3809     if (temp2
) delete arg2
; 
3814     if (temp2
) delete arg2
; 
3820 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3821   PyObject 
*resultobj 
= 0; 
3822   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3824   int arg3 
= (int) 0 ; 
3831   PyObject 
* obj0 
= 0 ; 
3832   PyObject 
* obj1 
= 0 ; 
3833   PyObject 
* obj2 
= 0 ; 
3834   char *  kwnames
[] = { 
3835     (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
 
3838   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3839   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3840   if (!SWIG_IsOK(res1
)) { 
3841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3843   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3844   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3845   if (!SWIG_IsOK(ecode2
)) { 
3846     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
3848   arg2 
= static_cast< int >(val2
); 
3850     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3851     if (!SWIG_IsOK(ecode3
)) { 
3852       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
3854     arg3 
= static_cast< int >(val3
); 
3857     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3858     (arg1
)->SetLeftIndent(arg2
,arg3
); 
3859     wxPyEndAllowThreads(__tstate
); 
3860     if (PyErr_Occurred()) SWIG_fail
; 
3862   resultobj 
= SWIG_Py_Void(); 
3869 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3870   PyObject 
*resultobj 
= 0; 
3871   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3877   PyObject 
* obj0 
= 0 ; 
3878   PyObject 
* obj1 
= 0 ; 
3879   char *  kwnames
[] = { 
3880     (char *) "self",(char *) "indent", NULL 
 
3883   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3884   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3885   if (!SWIG_IsOK(res1
)) { 
3886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3888   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3889   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3890   if (!SWIG_IsOK(ecode2
)) { 
3891     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'"); 
3893   arg2 
= static_cast< int >(val2
); 
3895     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3896     (arg1
)->SetRightIndent(arg2
); 
3897     wxPyEndAllowThreads(__tstate
); 
3898     if (PyErr_Occurred()) SWIG_fail
; 
3900   resultobj 
= SWIG_Py_Void(); 
3907 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3908   PyObject 
*resultobj 
= 0; 
3909   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3915   PyObject 
* obj0 
= 0 ; 
3916   PyObject 
* obj1 
= 0 ; 
3917   char *  kwnames
[] = { 
3918     (char *) "self",(char *) "pointSize", NULL 
 
3921   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3922   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3923   if (!SWIG_IsOK(res1
)) { 
3924     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3926   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3927   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3928   if (!SWIG_IsOK(ecode2
)) { 
3929     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'"); 
3931   arg2 
= static_cast< int >(val2
); 
3933     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3934     (arg1
)->SetFontSize(arg2
); 
3935     wxPyEndAllowThreads(__tstate
); 
3936     if (PyErr_Occurred()) SWIG_fail
; 
3938   resultobj 
= SWIG_Py_Void(); 
3945 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3946   PyObject 
*resultobj 
= 0; 
3947   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3953   PyObject 
* obj0 
= 0 ; 
3954   PyObject 
* obj1 
= 0 ; 
3955   char *  kwnames
[] = { 
3956     (char *) "self",(char *) "fontStyle", NULL 
 
3959   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3960   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3961   if (!SWIG_IsOK(res1
)) { 
3962     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
3964   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
3965   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3966   if (!SWIG_IsOK(ecode2
)) { 
3967     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'"); 
3969   arg2 
= static_cast< int >(val2
); 
3971     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3972     (arg1
)->SetFontStyle(arg2
); 
3973     wxPyEndAllowThreads(__tstate
); 
3974     if (PyErr_Occurred()) SWIG_fail
; 
3976   resultobj 
= SWIG_Py_Void(); 
3983 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3984   PyObject 
*resultobj 
= 0; 
3985   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
3991   PyObject 
* obj0 
= 0 ; 
3992   PyObject 
* obj1 
= 0 ; 
3993   char *  kwnames
[] = { 
3994     (char *) "self",(char *) "fontWeight", NULL 
 
3997   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3998   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
3999   if (!SWIG_IsOK(res1
)) { 
4000     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4002   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4003   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4004   if (!SWIG_IsOK(ecode2
)) { 
4005     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'"); 
4007   arg2 
= static_cast< int >(val2
); 
4009     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4010     (arg1
)->SetFontWeight(arg2
); 
4011     wxPyEndAllowThreads(__tstate
); 
4012     if (PyErr_Occurred()) SWIG_fail
; 
4014   resultobj 
= SWIG_Py_Void(); 
4021 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4022   PyObject 
*resultobj 
= 0; 
4023   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4024   wxString 
*arg2 
= 0 ; 
4027   bool temp2 
= false ; 
4028   PyObject 
* obj0 
= 0 ; 
4029   PyObject 
* obj1 
= 0 ; 
4030   char *  kwnames
[] = { 
4031     (char *) "self",(char *) "faceName", NULL 
 
4034   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4035   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4036   if (!SWIG_IsOK(res1
)) { 
4037     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4039   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4041     arg2 
= wxString_in_helper(obj1
); 
4042     if (arg2 
== NULL
) SWIG_fail
; 
4046     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4047     (arg1
)->SetFontFaceName((wxString 
const &)*arg2
); 
4048     wxPyEndAllowThreads(__tstate
); 
4049     if (PyErr_Occurred()) SWIG_fail
; 
4051   resultobj 
= SWIG_Py_Void(); 
4066 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4067   PyObject 
*resultobj 
= 0; 
4068   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4074   PyObject 
* obj0 
= 0 ; 
4075   PyObject 
* obj1 
= 0 ; 
4076   char *  kwnames
[] = { 
4077     (char *) "self",(char *) "underlined", NULL 
 
4080   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4081   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4082   if (!SWIG_IsOK(res1
)) { 
4083     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4085   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4086   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4087   if (!SWIG_IsOK(ecode2
)) { 
4088     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
4090   arg2 
= static_cast< bool >(val2
); 
4092     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4093     (arg1
)->SetFontUnderlined(arg2
); 
4094     wxPyEndAllowThreads(__tstate
); 
4095     if (PyErr_Occurred()) SWIG_fail
; 
4097   resultobj 
= SWIG_Py_Void(); 
4104 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4105   PyObject 
*resultobj 
= 0; 
4106   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4112   PyObject 
* obj0 
= 0 ; 
4113   PyObject 
* obj1 
= 0 ; 
4114   char *  kwnames
[] = { 
4115     (char *) "self",(char *) "flags", NULL 
 
4118   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4119   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4120   if (!SWIG_IsOK(res1
)) { 
4121     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4123   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4124   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
4125   if (!SWIG_IsOK(ecode2
)) { 
4126     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'"); 
4128   arg2 
= static_cast< long >(val2
); 
4130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4131     (arg1
)->SetFlags(arg2
); 
4132     wxPyEndAllowThreads(__tstate
); 
4133     if (PyErr_Occurred()) SWIG_fail
; 
4135   resultobj 
= SWIG_Py_Void(); 
4142 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4143   PyObject 
*resultobj 
= 0; 
4144   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4145   wxString 
*arg2 
= 0 ; 
4148   bool temp2 
= false ; 
4149   PyObject 
* obj0 
= 0 ; 
4150   PyObject 
* obj1 
= 0 ; 
4151   char *  kwnames
[] = { 
4152     (char *) "self",(char *) "name", NULL 
 
4155   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4156   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4157   if (!SWIG_IsOK(res1
)) { 
4158     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4160   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4162     arg2 
= wxString_in_helper(obj1
); 
4163     if (arg2 
== NULL
) SWIG_fail
; 
4167     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4168     (arg1
)->SetCharacterStyleName((wxString 
const &)*arg2
); 
4169     wxPyEndAllowThreads(__tstate
); 
4170     if (PyErr_Occurred()) SWIG_fail
; 
4172   resultobj 
= SWIG_Py_Void(); 
4187 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4188   PyObject 
*resultobj 
= 0; 
4189   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4190   wxString 
*arg2 
= 0 ; 
4193   bool temp2 
= false ; 
4194   PyObject 
* obj0 
= 0 ; 
4195   PyObject 
* obj1 
= 0 ; 
4196   char *  kwnames
[] = { 
4197     (char *) "self",(char *) "name", NULL 
 
4200   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4201   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4202   if (!SWIG_IsOK(res1
)) { 
4203     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4205   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4207     arg2 
= wxString_in_helper(obj1
); 
4208     if (arg2 
== NULL
) SWIG_fail
; 
4212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4213     (arg1
)->SetParagraphStyleName((wxString 
const &)*arg2
); 
4214     wxPyEndAllowThreads(__tstate
); 
4215     if (PyErr_Occurred()) SWIG_fail
; 
4217   resultobj 
= SWIG_Py_Void(); 
4232 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4233   PyObject 
*resultobj 
= 0; 
4234   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4240   PyObject 
* obj0 
= 0 ; 
4241   PyObject 
* obj1 
= 0 ; 
4242   char *  kwnames
[] = { 
4243     (char *) "self",(char *) "spacing", NULL 
 
4246   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4247   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4248   if (!SWIG_IsOK(res1
)) { 
4249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4251   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4252   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4253   if (!SWIG_IsOK(ecode2
)) { 
4254     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'"); 
4256   arg2 
= static_cast< int >(val2
); 
4258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4259     (arg1
)->SetParagraphSpacingAfter(arg2
); 
4260     wxPyEndAllowThreads(__tstate
); 
4261     if (PyErr_Occurred()) SWIG_fail
; 
4263   resultobj 
= SWIG_Py_Void(); 
4270 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4271   PyObject 
*resultobj 
= 0; 
4272   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4278   PyObject 
* obj0 
= 0 ; 
4279   PyObject 
* obj1 
= 0 ; 
4280   char *  kwnames
[] = { 
4281     (char *) "self",(char *) "spacing", NULL 
 
4284   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4285   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4286   if (!SWIG_IsOK(res1
)) { 
4287     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4289   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4290   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4291   if (!SWIG_IsOK(ecode2
)) { 
4292     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'"); 
4294   arg2 
= static_cast< int >(val2
); 
4296     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4297     (arg1
)->SetParagraphSpacingBefore(arg2
); 
4298     wxPyEndAllowThreads(__tstate
); 
4299     if (PyErr_Occurred()) SWIG_fail
; 
4301   resultobj 
= SWIG_Py_Void(); 
4308 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4309   PyObject 
*resultobj 
= 0; 
4310   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4316   PyObject 
* obj0 
= 0 ; 
4317   PyObject 
* obj1 
= 0 ; 
4318   char *  kwnames
[] = { 
4319     (char *) "self",(char *) "spacing", NULL 
 
4322   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4323   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4324   if (!SWIG_IsOK(res1
)) { 
4325     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4327   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4328   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4329   if (!SWIG_IsOK(ecode2
)) { 
4330     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
4332   arg2 
= static_cast< int >(val2
); 
4334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4335     (arg1
)->SetLineSpacing(arg2
); 
4336     wxPyEndAllowThreads(__tstate
); 
4337     if (PyErr_Occurred()) SWIG_fail
; 
4339   resultobj 
= SWIG_Py_Void(); 
4346 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4347   PyObject 
*resultobj 
= 0; 
4348   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4354   PyObject 
* obj0 
= 0 ; 
4355   PyObject 
* obj1 
= 0 ; 
4356   char *  kwnames
[] = { 
4357     (char *) "self",(char *) "style", NULL 
 
4360   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4361   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4362   if (!SWIG_IsOK(res1
)) { 
4363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4365   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4366   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4367   if (!SWIG_IsOK(ecode2
)) { 
4368     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'"); 
4370   arg2 
= static_cast< int >(val2
); 
4372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4373     (arg1
)->SetBulletStyle(arg2
); 
4374     wxPyEndAllowThreads(__tstate
); 
4375     if (PyErr_Occurred()) SWIG_fail
; 
4377   resultobj 
= SWIG_Py_Void(); 
4384 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4385   PyObject 
*resultobj 
= 0; 
4386   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4392   PyObject 
* obj0 
= 0 ; 
4393   PyObject 
* obj1 
= 0 ; 
4394   char *  kwnames
[] = { 
4395     (char *) "self",(char *) "n", NULL 
 
4398   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4399   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4400   if (!SWIG_IsOK(res1
)) { 
4401     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4403   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4404   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4405   if (!SWIG_IsOK(ecode2
)) { 
4406     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'"); 
4408   arg2 
= static_cast< int >(val2
); 
4410     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4411     (arg1
)->SetBulletNumber(arg2
); 
4412     wxPyEndAllowThreads(__tstate
); 
4413     if (PyErr_Occurred()) SWIG_fail
; 
4415   resultobj 
= SWIG_Py_Void(); 
4422 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4423   PyObject 
*resultobj 
= 0; 
4424   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4430   PyObject 
* obj0 
= 0 ; 
4431   PyObject 
* obj1 
= 0 ; 
4432   char *  kwnames
[] = { 
4433     (char *) "self",(char *) "symbol", NULL 
 
4436   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4437   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4438   if (!SWIG_IsOK(res1
)) { 
4439     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4441   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4443     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
,  0  | 0); 
4444     if (!SWIG_IsOK(res2
)) { 
4445       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'");  
4448       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'"); 
4450       wxChar 
* temp 
= reinterpret_cast< wxChar 
* >(argp2
); 
4452       if (SWIG_IsNewObj(res2
)) delete temp
; 
4456     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4457     (arg1
)->SetBulletText(arg2
); 
4458     wxPyEndAllowThreads(__tstate
); 
4459     if (PyErr_Occurred()) SWIG_fail
; 
4461   resultobj 
= SWIG_Py_Void(); 
4468 SWIGINTERN PyObject 
*_wrap_RichTextAttr_SetBulletFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4469   PyObject 
*resultobj 
= 0; 
4470   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4471   wxString 
*arg2 
= 0 ; 
4474   bool temp2 
= false ; 
4475   PyObject 
* obj0 
= 0 ; 
4476   PyObject 
* obj1 
= 0 ; 
4477   char *  kwnames
[] = { 
4478     (char *) "self",(char *) "bulletFont", NULL 
 
4481   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4482   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4483   if (!SWIG_IsOK(res1
)) { 
4484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");  
4486   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4488     arg2 
= wxString_in_helper(obj1
); 
4489     if (arg2 
== NULL
) SWIG_fail
; 
4493     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4494     (arg1
)->SetBulletFont((wxString 
const &)*arg2
); 
4495     wxPyEndAllowThreads(__tstate
); 
4496     if (PyErr_Occurred()) SWIG_fail
; 
4498   resultobj 
= SWIG_Py_Void(); 
4513 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4514   PyObject 
*resultobj 
= 0; 
4515   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4516   wxColour 
*result 
= 0 ; 
4519   PyObject 
*swig_obj
[1] ; 
4521   if (!args
) SWIG_fail
; 
4523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4524   if (!SWIG_IsOK(res1
)) { 
4525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4527   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4531       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTextColour(); 
4532       result 
= (wxColour 
*) &_result_ref
; 
4534     wxPyEndAllowThreads(__tstate
); 
4535     if (PyErr_Occurred()) SWIG_fail
; 
4537   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4544 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4545   PyObject 
*resultobj 
= 0; 
4546   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4547   wxColour 
*result 
= 0 ; 
4550   PyObject 
*swig_obj
[1] ; 
4552   if (!args
) SWIG_fail
; 
4554   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4555   if (!SWIG_IsOK(res1
)) { 
4556     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4558   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4560     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4562       wxColour 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetBackgroundColour(); 
4563       result 
= (wxColour 
*) &_result_ref
; 
4565     wxPyEndAllowThreads(__tstate
); 
4566     if (PyErr_Occurred()) SWIG_fail
; 
4568   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
4575 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4576   PyObject 
*resultobj 
= 0; 
4577   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4578   wxTextAttrAlignment result
; 
4581   PyObject 
*swig_obj
[1] ; 
4583   if (!args
) SWIG_fail
; 
4585   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4586   if (!SWIG_IsOK(res1
)) { 
4587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4589   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4591     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4592     result 
= (wxTextAttrAlignment
)((wxRichTextAttr 
const *)arg1
)->GetAlignment(); 
4593     wxPyEndAllowThreads(__tstate
); 
4594     if (PyErr_Occurred()) SWIG_fail
; 
4596   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4603 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4604   PyObject 
*resultobj 
= 0; 
4605   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4606   wxArrayInt 
*result 
= 0 ; 
4609   PyObject 
*swig_obj
[1] ; 
4611   if (!args
) SWIG_fail
; 
4613   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4614   if (!SWIG_IsOK(res1
)) { 
4615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4617   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4621       wxArrayInt 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetTabs(); 
4622       result 
= (wxArrayInt 
*) &_result_ref
; 
4624     wxPyEndAllowThreads(__tstate
); 
4625     if (PyErr_Occurred()) SWIG_fail
; 
4628     resultobj 
= wxArrayInt2PyList_helper(*result
); 
4636 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4637   PyObject 
*resultobj 
= 0; 
4638   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4642   PyObject 
*swig_obj
[1] ; 
4644   if (!args
) SWIG_fail
; 
4646   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4647   if (!SWIG_IsOK(res1
)) { 
4648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4650   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4652     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4653     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftIndent(); 
4654     wxPyEndAllowThreads(__tstate
); 
4655     if (PyErr_Occurred()) SWIG_fail
; 
4657   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4664 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4665   PyObject 
*resultobj 
= 0; 
4666   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4670   PyObject 
*swig_obj
[1] ; 
4672   if (!args
) SWIG_fail
; 
4674   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4675   if (!SWIG_IsOK(res1
)) { 
4676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4678   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4681     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetLeftSubIndent(); 
4682     wxPyEndAllowThreads(__tstate
); 
4683     if (PyErr_Occurred()) SWIG_fail
; 
4685   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4692 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4693   PyObject 
*resultobj 
= 0; 
4694   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4698   PyObject 
*swig_obj
[1] ; 
4700   if (!args
) SWIG_fail
; 
4702   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4703   if (!SWIG_IsOK(res1
)) { 
4704     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4706   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4708     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4709     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetRightIndent(); 
4710     wxPyEndAllowThreads(__tstate
); 
4711     if (PyErr_Occurred()) SWIG_fail
; 
4713   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4720 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4721   PyObject 
*resultobj 
= 0; 
4722   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4726   PyObject 
*swig_obj
[1] ; 
4728   if (!args
) SWIG_fail
; 
4730   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4731   if (!SWIG_IsOK(res1
)) { 
4732     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4734   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4737     result 
= (long)((wxRichTextAttr 
const *)arg1
)->GetFlags(); 
4738     wxPyEndAllowThreads(__tstate
); 
4739     if (PyErr_Occurred()) SWIG_fail
; 
4741   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
4748 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4749   PyObject 
*resultobj 
= 0; 
4750   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4754   PyObject 
*swig_obj
[1] ; 
4756   if (!args
) SWIG_fail
; 
4758   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4759   if (!SWIG_IsOK(res1
)) { 
4760     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4762   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4764     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4765     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontSize(); 
4766     wxPyEndAllowThreads(__tstate
); 
4767     if (PyErr_Occurred()) SWIG_fail
; 
4769   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4776 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4777   PyObject 
*resultobj 
= 0; 
4778   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4782   PyObject 
*swig_obj
[1] ; 
4784   if (!args
) SWIG_fail
; 
4786   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4787   if (!SWIG_IsOK(res1
)) { 
4788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4790   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4792     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4793     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontStyle(); 
4794     wxPyEndAllowThreads(__tstate
); 
4795     if (PyErr_Occurred()) SWIG_fail
; 
4797   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4804 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4805   PyObject 
*resultobj 
= 0; 
4806   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4810   PyObject 
*swig_obj
[1] ; 
4812   if (!args
) SWIG_fail
; 
4814   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4815   if (!SWIG_IsOK(res1
)) { 
4816     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4818   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4820     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4821     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetFontWeight(); 
4822     wxPyEndAllowThreads(__tstate
); 
4823     if (PyErr_Occurred()) SWIG_fail
; 
4825   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4832 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4833   PyObject 
*resultobj 
= 0; 
4834   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4838   PyObject 
*swig_obj
[1] ; 
4840   if (!args
) SWIG_fail
; 
4842   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4843   if (!SWIG_IsOK(res1
)) { 
4844     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4846   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4848     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4849     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->GetFontUnderlined(); 
4850     wxPyEndAllowThreads(__tstate
); 
4851     if (PyErr_Occurred()) SWIG_fail
; 
4854     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4862 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetFontFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4863   PyObject 
*resultobj 
= 0; 
4864   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4865   wxString 
*result 
= 0 ; 
4868   PyObject 
*swig_obj
[1] ; 
4870   if (!args
) SWIG_fail
; 
4872   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4873   if (!SWIG_IsOK(res1
)) { 
4874     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4876   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4878     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4880       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetFontFaceName(); 
4881       result 
= (wxString 
*) &_result_ref
; 
4883     wxPyEndAllowThreads(__tstate
); 
4884     if (PyErr_Occurred()) SWIG_fail
; 
4888     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4890     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4899 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4900   PyObject 
*resultobj 
= 0; 
4901   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4902   wxString 
*result 
= 0 ; 
4905   PyObject 
*swig_obj
[1] ; 
4907   if (!args
) SWIG_fail
; 
4909   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4910   if (!SWIG_IsOK(res1
)) { 
4911     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4913   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4915     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4917       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetCharacterStyleName(); 
4918       result 
= (wxString 
*) &_result_ref
; 
4920     wxPyEndAllowThreads(__tstate
); 
4921     if (PyErr_Occurred()) SWIG_fail
; 
4925     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4927     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4936 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4937   PyObject 
*resultobj 
= 0; 
4938   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4939   wxString 
*result 
= 0 ; 
4942   PyObject 
*swig_obj
[1] ; 
4944   if (!args
) SWIG_fail
; 
4946   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4947   if (!SWIG_IsOK(res1
)) { 
4948     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4950   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4952     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4954       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetParagraphStyleName(); 
4955       result 
= (wxString 
*) &_result_ref
; 
4957     wxPyEndAllowThreads(__tstate
); 
4958     if (PyErr_Occurred()) SWIG_fail
; 
4962     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4964     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4973 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4974   PyObject 
*resultobj 
= 0; 
4975   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
4979   PyObject 
*swig_obj
[1] ; 
4981   if (!args
) SWIG_fail
; 
4983   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
4984   if (!SWIG_IsOK(res1
)) { 
4985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
4987   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
4989     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4990     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingAfter(); 
4991     wxPyEndAllowThreads(__tstate
); 
4992     if (PyErr_Occurred()) SWIG_fail
; 
4994   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5001 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5002   PyObject 
*resultobj 
= 0; 
5003   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5007   PyObject 
*swig_obj
[1] ; 
5009   if (!args
) SWIG_fail
; 
5011   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5012   if (!SWIG_IsOK(res1
)) { 
5013     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5015   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5018     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetParagraphSpacingBefore(); 
5019     wxPyEndAllowThreads(__tstate
); 
5020     if (PyErr_Occurred()) SWIG_fail
; 
5022   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5029 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5030   PyObject 
*resultobj 
= 0; 
5031   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5035   PyObject 
*swig_obj
[1] ; 
5037   if (!args
) SWIG_fail
; 
5039   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5040   if (!SWIG_IsOK(res1
)) { 
5041     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5043   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5045     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5046     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetLineSpacing(); 
5047     wxPyEndAllowThreads(__tstate
); 
5048     if (PyErr_Occurred()) SWIG_fail
; 
5050   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5057 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5058   PyObject 
*resultobj 
= 0; 
5059   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5063   PyObject 
*swig_obj
[1] ; 
5065   if (!args
) SWIG_fail
; 
5067   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5068   if (!SWIG_IsOK(res1
)) { 
5069     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5071   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5074     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletStyle(); 
5075     wxPyEndAllowThreads(__tstate
); 
5076     if (PyErr_Occurred()) SWIG_fail
; 
5078   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5085 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5086   PyObject 
*resultobj 
= 0; 
5087   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5091   PyObject 
*swig_obj
[1] ; 
5093   if (!args
) SWIG_fail
; 
5095   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5096   if (!SWIG_IsOK(res1
)) { 
5097     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5099   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5102     result 
= (int)((wxRichTextAttr 
const *)arg1
)->GetBulletNumber(); 
5103     wxPyEndAllowThreads(__tstate
); 
5104     if (PyErr_Occurred()) SWIG_fail
; 
5106   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5113 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5114   PyObject 
*resultobj 
= 0; 
5115   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5116   wxString 
*result 
= 0 ; 
5119   PyObject 
*swig_obj
[1] ; 
5121   if (!args
) SWIG_fail
; 
5123   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5124   if (!SWIG_IsOK(res1
)) { 
5125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5127   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5131       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetBulletText(); 
5132       result 
= (wxString 
*) &_result_ref
; 
5134     wxPyEndAllowThreads(__tstate
); 
5135     if (PyErr_Occurred()) SWIG_fail
; 
5139     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5141     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5150 SWIGINTERN PyObject 
*_wrap_RichTextAttr_GetBulletFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5151   PyObject 
*resultobj 
= 0; 
5152   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5153   wxString 
*result 
= 0 ; 
5156   PyObject 
*swig_obj
[1] ; 
5158   if (!args
) SWIG_fail
; 
5160   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5161   if (!SWIG_IsOK(res1
)) { 
5162     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5164   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5166     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5168       wxString 
const &_result_ref 
= ((wxRichTextAttr 
const *)arg1
)->GetBulletFont(); 
5169       result 
= (wxString 
*) &_result_ref
; 
5171     wxPyEndAllowThreads(__tstate
); 
5172     if (PyErr_Occurred()) SWIG_fail
; 
5176     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5178     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5187 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5188   PyObject 
*resultobj 
= 0; 
5189   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5193   PyObject 
*swig_obj
[1] ; 
5195   if (!args
) SWIG_fail
; 
5197   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5198   if (!SWIG_IsOK(res1
)) { 
5199     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5201   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5204     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTextColour(); 
5205     wxPyEndAllowThreads(__tstate
); 
5206     if (PyErr_Occurred()) SWIG_fail
; 
5209     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5217 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBackgroundColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5218   PyObject 
*resultobj 
= 0; 
5219   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5223   PyObject 
*swig_obj
[1] ; 
5225   if (!args
) SWIG_fail
; 
5227   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5228   if (!SWIG_IsOK(res1
)) { 
5229     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5231   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5234     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBackgroundColour(); 
5235     wxPyEndAllowThreads(__tstate
); 
5236     if (PyErr_Occurred()) SWIG_fail
; 
5239     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5247 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5248   PyObject 
*resultobj 
= 0; 
5249   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5253   PyObject 
*swig_obj
[1] ; 
5255   if (!args
) SWIG_fail
; 
5257   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5258   if (!SWIG_IsOK(res1
)) { 
5259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5261   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5263     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5264     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasAlignment(); 
5265     wxPyEndAllowThreads(__tstate
); 
5266     if (PyErr_Occurred()) SWIG_fail
; 
5269     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5277 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasTabs(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5278   PyObject 
*resultobj 
= 0; 
5279   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5283   PyObject 
*swig_obj
[1] ; 
5285   if (!args
) SWIG_fail
; 
5287   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5288   if (!SWIG_IsOK(res1
)) { 
5289     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5291   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5294     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasTabs(); 
5295     wxPyEndAllowThreads(__tstate
); 
5296     if (PyErr_Occurred()) SWIG_fail
; 
5299     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5307 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5308   PyObject 
*resultobj 
= 0; 
5309   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5313   PyObject 
*swig_obj
[1] ; 
5315   if (!args
) SWIG_fail
; 
5317   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5318   if (!SWIG_IsOK(res1
)) { 
5319     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5321   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5324     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLeftIndent(); 
5325     wxPyEndAllowThreads(__tstate
); 
5326     if (PyErr_Occurred()) SWIG_fail
; 
5329     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5337 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5338   PyObject 
*resultobj 
= 0; 
5339   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5343   PyObject 
*swig_obj
[1] ; 
5345   if (!args
) SWIG_fail
; 
5347   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5348   if (!SWIG_IsOK(res1
)) { 
5349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5351   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5354     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasRightIndent(); 
5355     wxPyEndAllowThreads(__tstate
); 
5356     if (PyErr_Occurred()) SWIG_fail
; 
5359     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5367 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5368   PyObject 
*resultobj 
= 0; 
5369   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5373   PyObject 
*swig_obj
[1] ; 
5375   if (!args
) SWIG_fail
; 
5377   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5378   if (!SWIG_IsOK(res1
)) { 
5379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5381   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5383     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5384     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFont(); 
5385     wxPyEndAllowThreads(__tstate
); 
5386     if (PyErr_Occurred()) SWIG_fail
; 
5389     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5397 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5398   PyObject 
*resultobj 
= 0; 
5399   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5403   PyObject 
*swig_obj
[1] ; 
5405   if (!args
) SWIG_fail
; 
5407   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5408   if (!SWIG_IsOK(res1
)) { 
5409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5411   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5414     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingAfter(); 
5415     wxPyEndAllowThreads(__tstate
); 
5416     if (PyErr_Occurred()) SWIG_fail
; 
5419     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5427 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5428   PyObject 
*resultobj 
= 0; 
5429   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5433   PyObject 
*swig_obj
[1] ; 
5435   if (!args
) SWIG_fail
; 
5437   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5438   if (!SWIG_IsOK(res1
)) { 
5439     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5441   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5443     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5444     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphSpacingBefore(); 
5445     wxPyEndAllowThreads(__tstate
); 
5446     if (PyErr_Occurred()) SWIG_fail
; 
5449     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5457 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5458   PyObject 
*resultobj 
= 0; 
5459   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5463   PyObject 
*swig_obj
[1] ; 
5465   if (!args
) SWIG_fail
; 
5467   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5468   if (!SWIG_IsOK(res1
)) { 
5469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5471   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5473     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5474     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasLineSpacing(); 
5475     wxPyEndAllowThreads(__tstate
); 
5476     if (PyErr_Occurred()) SWIG_fail
; 
5479     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5487 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5488   PyObject 
*resultobj 
= 0; 
5489   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5493   PyObject 
*swig_obj
[1] ; 
5495   if (!args
) SWIG_fail
; 
5497   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5498   if (!SWIG_IsOK(res1
)) { 
5499     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5501   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5503     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5504     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasCharacterStyleName(); 
5505     wxPyEndAllowThreads(__tstate
); 
5506     if (PyErr_Occurred()) SWIG_fail
; 
5509     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5517 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5518   PyObject 
*resultobj 
= 0; 
5519   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5523   PyObject 
*swig_obj
[1] ; 
5525   if (!args
) SWIG_fail
; 
5527   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5528   if (!SWIG_IsOK(res1
)) { 
5529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5531   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5534     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasParagraphStyleName(); 
5535     wxPyEndAllowThreads(__tstate
); 
5536     if (PyErr_Occurred()) SWIG_fail
; 
5539     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5547 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5548   PyObject 
*resultobj 
= 0; 
5549   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5553   PyObject 
*swig_obj
[1] ; 
5555   if (!args
) SWIG_fail
; 
5557   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5558   if (!SWIG_IsOK(res1
)) { 
5559     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5561   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5563     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5564     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletStyle(); 
5565     wxPyEndAllowThreads(__tstate
); 
5566     if (PyErr_Occurred()) SWIG_fail
; 
5569     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5577 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletNumber(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5578   PyObject 
*resultobj 
= 0; 
5579   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5583   PyObject 
*swig_obj
[1] ; 
5585   if (!args
) SWIG_fail
; 
5587   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5588   if (!SWIG_IsOK(res1
)) { 
5589     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5591   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5593     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5594     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletNumber(); 
5595     wxPyEndAllowThreads(__tstate
); 
5596     if (PyErr_Occurred()) SWIG_fail
; 
5599     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5607 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasBulletText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5608   PyObject 
*resultobj 
= 0; 
5609   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5613   PyObject 
*swig_obj
[1] ; 
5615   if (!args
) SWIG_fail
; 
5617   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5618   if (!SWIG_IsOK(res1
)) { 
5619     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5621   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5623     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5624     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasBulletText(); 
5625     wxPyEndAllowThreads(__tstate
); 
5626     if (PyErr_Occurred()) SWIG_fail
; 
5629     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5637 SWIGINTERN PyObject 
*_wrap_RichTextAttr_HasFlag(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5638   PyObject 
*resultobj 
= 0; 
5639   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5646   PyObject 
* obj0 
= 0 ; 
5647   PyObject 
* obj1 
= 0 ; 
5648   char *  kwnames
[] = { 
5649     (char *) "self",(char *) "flag", NULL 
 
5652   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5653   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5654   if (!SWIG_IsOK(res1
)) { 
5655     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5657   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5658   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
5659   if (!SWIG_IsOK(ecode2
)) { 
5660     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'"); 
5662   arg2 
= static_cast< long >(val2
); 
5664     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5665     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->HasFlag(arg2
); 
5666     wxPyEndAllowThreads(__tstate
); 
5667     if (PyErr_Occurred()) SWIG_fail
; 
5670     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5678 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5679   PyObject 
*resultobj 
= 0; 
5680   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5684   PyObject 
*swig_obj
[1] ; 
5686   if (!args
) SWIG_fail
; 
5688   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5689   if (!SWIG_IsOK(res1
)) { 
5690     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5692   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5694     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5695     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsCharacterStyle(); 
5696     wxPyEndAllowThreads(__tstate
); 
5697     if (PyErr_Occurred()) SWIG_fail
; 
5700     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5708 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5709   PyObject 
*resultobj 
= 0; 
5710   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5714   PyObject 
*swig_obj
[1] ; 
5716   if (!args
) SWIG_fail
; 
5718   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5719   if (!SWIG_IsOK(res1
)) { 
5720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5722   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5725     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsParagraphStyle(); 
5726     wxPyEndAllowThreads(__tstate
); 
5727     if (PyErr_Occurred()) SWIG_fail
; 
5730     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5738 SWIGINTERN PyObject 
*_wrap_RichTextAttr_IsDefault(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5739   PyObject 
*resultobj 
= 0; 
5740   wxRichTextAttr 
*arg1 
= (wxRichTextAttr 
*) 0 ; 
5744   PyObject 
*swig_obj
[1] ; 
5746   if (!args
) SWIG_fail
; 
5748   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 |  0 ); 
5749   if (!SWIG_IsOK(res1
)) { 
5750     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");  
5752   arg1 
= reinterpret_cast< wxRichTextAttr 
* >(argp1
); 
5754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5755     result 
= (bool)((wxRichTextAttr 
const *)arg1
)->IsDefault(); 
5756     wxPyEndAllowThreads(__tstate
); 
5757     if (PyErr_Occurred()) SWIG_fail
; 
5760     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5768 SWIGINTERN PyObject 
*RichTextAttr_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5770   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5771   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
)); 
5772   return SWIG_Py_Void(); 
5775 SWIGINTERN PyObject 
*RichTextAttr_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5776   return SWIG_Python_InitShadowInstance(args
); 
5779 SWIGINTERN PyObject 
*_wrap_new_RichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5780   PyObject 
*resultobj 
= 0; 
5781   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5782   int arg2 
= (int) -1 ; 
5783   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5784   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5785   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5786   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5787   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5788   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5789   long arg6 
= (long) wxRE_MULTILINE 
; 
5790   wxRichTextCtrl 
*result 
= 0 ; 
5795   bool temp3 
= false ; 
5800   PyObject 
* obj0 
= 0 ; 
5801   PyObject 
* obj1 
= 0 ; 
5802   PyObject 
* obj2 
= 0 ; 
5803   PyObject 
* obj3 
= 0 ; 
5804   PyObject 
* obj4 
= 0 ; 
5805   PyObject 
* obj5 
= 0 ; 
5806   char *  kwnames
[] = { 
5807     (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
5810   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
5811   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5812   if (!SWIG_IsOK(res1
)) { 
5813     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");  
5815   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
5817     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5818     if (!SWIG_IsOK(ecode2
)) { 
5819       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'"); 
5821     arg2 
= static_cast< int >(val2
); 
5825       arg3 
= wxString_in_helper(obj2
); 
5826       if (arg3 
== NULL
) SWIG_fail
; 
5833       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
5839       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
5843     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
5844     if (!SWIG_IsOK(ecode6
)) { 
5845       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'"); 
5847     arg6 
= static_cast< long >(val6
); 
5850     if (!wxPyCheckForApp()) SWIG_fail
; 
5851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5852     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
5853     wxPyEndAllowThreads(__tstate
); 
5854     if (PyErr_Occurred()) SWIG_fail
; 
5856   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW 
|  0 ); 
5871 SWIGINTERN PyObject 
*_wrap_new_PreRichTextCtrl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5872   PyObject 
*resultobj 
= 0; 
5873   wxRichTextCtrl 
*result 
= 0 ; 
5875   if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
; 
5877     if (!wxPyCheckForApp()) SWIG_fail
; 
5878     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5879     result 
= (wxRichTextCtrl 
*)new wxRichTextCtrl(); 
5880     wxPyEndAllowThreads(__tstate
); 
5881     if (PyErr_Occurred()) SWIG_fail
; 
5883   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN 
|  0 ); 
5890 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5891   PyObject 
*resultobj 
= 0; 
5892   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
5893   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5894   int arg3 
= (int) -1 ; 
5895   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
5896   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
5897   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
5898   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
5899   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
5900   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
5901   long arg7 
= (long) wxRE_MULTILINE 
; 
5909   bool temp4 
= false ; 
5914   PyObject 
* obj0 
= 0 ; 
5915   PyObject 
* obj1 
= 0 ; 
5916   PyObject 
* obj2 
= 0 ; 
5917   PyObject 
* obj3 
= 0 ; 
5918   PyObject 
* obj4 
= 0 ; 
5919   PyObject 
* obj5 
= 0 ; 
5920   PyObject 
* obj6 
= 0 ; 
5921   char *  kwnames
[] = { 
5922     (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
5925   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
5926   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
5927   if (!SWIG_IsOK(res1
)) { 
5928     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
5930   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
5931   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5932   if (!SWIG_IsOK(res2
)) { 
5933     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
5935   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
5937     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
5938     if (!SWIG_IsOK(ecode3
)) { 
5939       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'"); 
5941     arg3 
= static_cast< int >(val3
); 
5945       arg4 
= wxString_in_helper(obj3
); 
5946       if (arg4 
== NULL
) SWIG_fail
; 
5953       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
5959       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
5963     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
5964     if (!SWIG_IsOK(ecode7
)) { 
5965       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'"); 
5967     arg7 
= static_cast< long >(val7
); 
5970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5971     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
); 
5972     wxPyEndAllowThreads(__tstate
); 
5973     if (PyErr_Occurred()) SWIG_fail
; 
5976     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5992 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5993   PyObject 
*resultobj 
= 0; 
5994   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
5998   PyObject 
*swig_obj
[1] ; 
6000   if (!args
) SWIG_fail
; 
6002   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6003   if (!SWIG_IsOK(res1
)) { 
6004     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6006   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6009     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetValue(); 
6010     wxPyEndAllowThreads(__tstate
); 
6011     if (PyErr_Occurred()) SWIG_fail
; 
6015     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6017     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6026 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6027   PyObject 
*resultobj 
= 0; 
6028   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6029   wxString 
*arg2 
= 0 ; 
6032   bool temp2 
= false ; 
6033   PyObject 
* obj0 
= 0 ; 
6034   PyObject 
* obj1 
= 0 ; 
6035   char *  kwnames
[] = { 
6036     (char *) "self",(char *) "value", NULL 
 
6039   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6040   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6041   if (!SWIG_IsOK(res1
)) { 
6042     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6044   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6046     arg2 
= wxString_in_helper(obj1
); 
6047     if (arg2 
== NULL
) SWIG_fail
; 
6051     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6052     (arg1
)->SetValue((wxString 
const &)*arg2
); 
6053     wxPyEndAllowThreads(__tstate
); 
6054     if (PyErr_Occurred()) SWIG_fail
; 
6056   resultobj 
= SWIG_Py_Void(); 
6071 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6072   PyObject 
*resultobj 
= 0; 
6073   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6083   PyObject 
* obj0 
= 0 ; 
6084   PyObject 
* obj1 
= 0 ; 
6085   PyObject 
* obj2 
= 0 ; 
6086   char *  kwnames
[] = { 
6087     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6090   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6095   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6096   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6097   if (!SWIG_IsOK(ecode2
)) { 
6098     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'"); 
6100   arg2 
= static_cast< long >(val2
); 
6101   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6102   if (!SWIG_IsOK(ecode3
)) { 
6103     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'"); 
6105   arg3 
= static_cast< long >(val3
); 
6107     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6108     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
6109     wxPyEndAllowThreads(__tstate
); 
6110     if (PyErr_Occurred()) SWIG_fail
; 
6114     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6116     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6125 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6126   PyObject 
*resultobj 
= 0; 
6127   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6134   PyObject 
* obj0 
= 0 ; 
6135   PyObject 
* obj1 
= 0 ; 
6136   char *  kwnames
[] = { 
6137     (char *) "self",(char *) "lineNo", NULL 
 
6140   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6141   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6142   if (!SWIG_IsOK(res1
)) { 
6143     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6145   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6146   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6147   if (!SWIG_IsOK(ecode2
)) { 
6148     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'"); 
6150   arg2 
= static_cast< long >(val2
); 
6152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6153     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
6154     wxPyEndAllowThreads(__tstate
); 
6155     if (PyErr_Occurred()) SWIG_fail
; 
6157   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6164 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLineText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6165   PyObject 
*resultobj 
= 0; 
6166   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6173   PyObject 
* obj0 
= 0 ; 
6174   PyObject 
* obj1 
= 0 ; 
6175   char *  kwnames
[] = { 
6176     (char *) "self",(char *) "lineNo", NULL 
 
6179   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6180   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6181   if (!SWIG_IsOK(res1
)) { 
6182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6184   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6185   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6186   if (!SWIG_IsOK(ecode2
)) { 
6187     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'"); 
6189   arg2 
= static_cast< long >(val2
); 
6191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6192     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
6193     wxPyEndAllowThreads(__tstate
); 
6194     if (PyErr_Occurred()) SWIG_fail
; 
6198     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6200     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6209 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6210   PyObject 
*resultobj 
= 0; 
6211   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6215   PyObject 
*swig_obj
[1] ; 
6217   if (!args
) SWIG_fail
; 
6219   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6220   if (!SWIG_IsOK(res1
)) { 
6221     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6223   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6225     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6226     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
6227     wxPyEndAllowThreads(__tstate
); 
6228     if (PyErr_Occurred()) SWIG_fail
; 
6230   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6237 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsModified(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6238   PyObject 
*resultobj 
= 0; 
6239   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6243   PyObject 
*swig_obj
[1] ; 
6245   if (!args
) SWIG_fail
; 
6247   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6248   if (!SWIG_IsOK(res1
)) { 
6249     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6251   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6254     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsModified(); 
6255     wxPyEndAllowThreads(__tstate
); 
6256     if (PyErr_Occurred()) SWIG_fail
; 
6259     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6267 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6268   PyObject 
*resultobj 
= 0; 
6269   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6273   PyObject 
*swig_obj
[1] ; 
6275   if (!args
) SWIG_fail
; 
6277   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6278   if (!SWIG_IsOK(res1
)) { 
6279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6281   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6284     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsEditable(); 
6285     wxPyEndAllowThreads(__tstate
); 
6286     if (PyErr_Occurred()) SWIG_fail
; 
6289     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6297 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSingleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6298   PyObject 
*resultobj 
= 0; 
6299   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6303   PyObject 
*swig_obj
[1] ; 
6305   if (!args
) SWIG_fail
; 
6307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6308   if (!SWIG_IsOK(res1
)) { 
6309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6311   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6314     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsSingleLine(); 
6315     wxPyEndAllowThreads(__tstate
); 
6316     if (PyErr_Occurred()) SWIG_fail
; 
6319     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6327 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsMultiLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6328   PyObject 
*resultobj 
= 0; 
6329   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6333   PyObject 
*swig_obj
[1] ; 
6335   if (!args
) SWIG_fail
; 
6337   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6338   if (!SWIG_IsOK(res1
)) { 
6339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6341   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6344     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->IsMultiLine(); 
6345     wxPyEndAllowThreads(__tstate
); 
6346     if (PyErr_Occurred()) SWIG_fail
; 
6349     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6357 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6358   PyObject 
*resultobj 
= 0; 
6359   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6360   long *arg2 
= (long *) 0 ; 
6361   long *arg3 
= (long *) 0 ; 
6365   int res2 
= SWIG_TMPOBJ 
; 
6367   int res3 
= SWIG_TMPOBJ 
; 
6368   PyObject 
*swig_obj
[1] ; 
6372   if (!args
) SWIG_fail
; 
6374   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6375   if (!SWIG_IsOK(res1
)) { 
6376     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6378   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6381     ((wxRichTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
6382     wxPyEndAllowThreads(__tstate
); 
6383     if (PyErr_Occurred()) SWIG_fail
; 
6385   resultobj 
= SWIG_Py_Void(); 
6386   if (SWIG_IsTmpObj(res2
)) { 
6387     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
))); 
6389     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6390     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
)); 
6392   if (SWIG_IsTmpObj(res3
)) { 
6393     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
6395     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
6396     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
6404 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6405   PyObject 
*resultobj 
= 0; 
6406   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6410   PyObject 
*swig_obj
[1] ; 
6412   if (!args
) SWIG_fail
; 
6414   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6415   if (!SWIG_IsOK(res1
)) { 
6416     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6418   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6420     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6421     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetStringSelection(); 
6422     wxPyEndAllowThreads(__tstate
); 
6423     if (PyErr_Occurred()) SWIG_fail
; 
6427     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6429     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6438 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6439   PyObject 
*resultobj 
= 0; 
6440   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6444   PyObject 
*swig_obj
[1] ; 
6446   if (!args
) SWIG_fail
; 
6448   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6449   if (!SWIG_IsOK(res1
)) { 
6450     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6452   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6455     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetFilename(); 
6456     wxPyEndAllowThreads(__tstate
); 
6457     if (PyErr_Occurred()) SWIG_fail
; 
6461     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6463     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6472 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6473   PyObject 
*resultobj 
= 0; 
6474   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6475   wxString 
*arg2 
= 0 ; 
6478   bool temp2 
= false ; 
6479   PyObject 
* obj0 
= 0 ; 
6480   PyObject 
* obj1 
= 0 ; 
6481   char *  kwnames
[] = { 
6482     (char *) "self",(char *) "filename", NULL 
 
6485   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6486   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6487   if (!SWIG_IsOK(res1
)) { 
6488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6490   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6492     arg2 
= wxString_in_helper(obj1
); 
6493     if (arg2 
== NULL
) SWIG_fail
; 
6497     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6498     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
6499     wxPyEndAllowThreads(__tstate
); 
6500     if (PyErr_Occurred()) SWIG_fail
; 
6502   resultobj 
= SWIG_Py_Void(); 
6517 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6518   PyObject 
*resultobj 
= 0; 
6519   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6525   PyObject 
* obj0 
= 0 ; 
6526   PyObject 
* obj1 
= 0 ; 
6527   char *  kwnames
[] = { 
6528     (char *) "self",(char *) "threshold", NULL 
 
6531   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6532   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6533   if (!SWIG_IsOK(res1
)) { 
6534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6536   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6537   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6538   if (!SWIG_IsOK(ecode2
)) { 
6539     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'"); 
6541   arg2 
= static_cast< long >(val2
); 
6543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6544     (arg1
)->SetDelayedLayoutThreshold(arg2
); 
6545     wxPyEndAllowThreads(__tstate
); 
6546     if (PyErr_Occurred()) SWIG_fail
; 
6548   resultobj 
= SWIG_Py_Void(); 
6555 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6556   PyObject 
*resultobj 
= 0; 
6557   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6561   PyObject 
*swig_obj
[1] ; 
6563   if (!args
) SWIG_fail
; 
6565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6566   if (!SWIG_IsOK(res1
)) { 
6567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6569   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6572     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetDelayedLayoutThreshold(); 
6573     wxPyEndAllowThreads(__tstate
); 
6574     if (PyErr_Occurred()) SWIG_fail
; 
6576   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
6583 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6584   PyObject 
*resultobj 
= 0; 
6585   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6588   PyObject 
*swig_obj
[1] ; 
6590   if (!args
) SWIG_fail
; 
6592   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6593   if (!SWIG_IsOK(res1
)) { 
6594     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6596   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6600     wxPyEndAllowThreads(__tstate
); 
6601     if (PyErr_Occurred()) SWIG_fail
; 
6603   resultobj 
= SWIG_Py_Void(); 
6610 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Replace(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6611   PyObject 
*resultobj 
= 0; 
6612   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6615   wxString 
*arg4 
= 0 ; 
6622   bool temp4 
= false ; 
6623   PyObject 
* obj0 
= 0 ; 
6624   PyObject 
* obj1 
= 0 ; 
6625   PyObject 
* obj2 
= 0 ; 
6626   PyObject 
* obj3 
= 0 ; 
6627   char *  kwnames
[] = { 
6628     (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
6631   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6632   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6633   if (!SWIG_IsOK(res1
)) { 
6634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6636   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6637   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6638   if (!SWIG_IsOK(ecode2
)) { 
6639     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'"); 
6641   arg2 
= static_cast< long >(val2
); 
6642   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6643   if (!SWIG_IsOK(ecode3
)) { 
6644     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'"); 
6646   arg3 
= static_cast< long >(val3
); 
6648     arg4 
= wxString_in_helper(obj3
); 
6649     if (arg4 
== NULL
) SWIG_fail
; 
6653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6654     (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
6655     wxPyEndAllowThreads(__tstate
); 
6656     if (PyErr_Occurred()) SWIG_fail
; 
6658   resultobj 
= SWIG_Py_Void(); 
6673 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Remove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6674   PyObject 
*resultobj 
= 0; 
6675   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6684   PyObject 
* obj0 
= 0 ; 
6685   PyObject 
* obj1 
= 0 ; 
6686   PyObject 
* obj2 
= 0 ; 
6687   char *  kwnames
[] = { 
6688     (char *) "self",(char *) "from",(char *) "to", NULL 
 
6691   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6692   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6693   if (!SWIG_IsOK(res1
)) { 
6694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6696   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6697   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6698   if (!SWIG_IsOK(ecode2
)) { 
6699     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'"); 
6701   arg2 
= static_cast< long >(val2
); 
6702   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6703   if (!SWIG_IsOK(ecode3
)) { 
6704     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'"); 
6706   arg3 
= static_cast< long >(val3
); 
6708     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6709     (arg1
)->Remove(arg2
,arg3
); 
6710     wxPyEndAllowThreads(__tstate
); 
6711     if (PyErr_Occurred()) SWIG_fail
; 
6713   resultobj 
= SWIG_Py_Void(); 
6720 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6721   PyObject 
*resultobj 
= 0; 
6722   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6723   wxString 
*arg2 
= 0 ; 
6724   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6728   bool temp2 
= false ; 
6731   PyObject 
* obj0 
= 0 ; 
6732   PyObject 
* obj1 
= 0 ; 
6733   PyObject 
* obj2 
= 0 ; 
6734   char *  kwnames
[] = { 
6735     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6740   if (!SWIG_IsOK(res1
)) { 
6741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6743   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6745     arg2 
= wxString_in_helper(obj1
); 
6746     if (arg2 
== NULL
) SWIG_fail
; 
6750     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6751     if (!SWIG_IsOK(ecode3
)) { 
6752       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'"); 
6754     arg3 
= static_cast< int >(val3
); 
6757     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6758     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
6759     wxPyEndAllowThreads(__tstate
); 
6760     if (PyErr_Occurred()) SWIG_fail
; 
6763     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6779 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SaveFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6780   PyObject 
*resultobj 
= 0; 
6781   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6782   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
6783   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6784   int arg3 
= (int) wxRICHTEXT_TYPE_ANY 
; 
6788   bool temp2 
= false ; 
6791   PyObject 
* obj0 
= 0 ; 
6792   PyObject 
* obj1 
= 0 ; 
6793   PyObject 
* obj2 
= 0 ; 
6794   char *  kwnames
[] = { 
6795     (char *) "self",(char *) "file",(char *) "type", NULL 
 
6798   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6799   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6800   if (!SWIG_IsOK(res1
)) { 
6801     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6803   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6806       arg2 
= wxString_in_helper(obj1
); 
6807       if (arg2 
== NULL
) SWIG_fail
; 
6812     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6813     if (!SWIG_IsOK(ecode3
)) { 
6814       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'"); 
6816     arg3 
= static_cast< int >(val3
); 
6819     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6820     result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
); 
6821     wxPyEndAllowThreads(__tstate
); 
6822     if (PyErr_Occurred()) SWIG_fail
; 
6825     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6841 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetHandlerFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6842   PyObject 
*resultobj 
= 0; 
6843   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6849   PyObject 
* obj0 
= 0 ; 
6850   PyObject 
* obj1 
= 0 ; 
6851   char *  kwnames
[] = { 
6852     (char *) "self",(char *) "flags", NULL 
 
6855   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetHandlerFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6856   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6857   if (!SWIG_IsOK(res1
)) { 
6858     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6860   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6861   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6862   if (!SWIG_IsOK(ecode2
)) { 
6863     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'"); 
6865   arg2 
= static_cast< int >(val2
); 
6867     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6868     (arg1
)->SetHandlerFlags(arg2
); 
6869     wxPyEndAllowThreads(__tstate
); 
6870     if (PyErr_Occurred()) SWIG_fail
; 
6872   resultobj 
= SWIG_Py_Void(); 
6879 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetHandlerFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6880   PyObject 
*resultobj 
= 0; 
6881   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6885   PyObject 
*swig_obj
[1] ; 
6887   if (!args
) SWIG_fail
; 
6889   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6890   if (!SWIG_IsOK(res1
)) { 
6891     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
6893   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6895     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6896     result 
= (int)((wxRichTextCtrl 
const *)arg1
)->GetHandlerFlags(); 
6897     wxPyEndAllowThreads(__tstate
); 
6898     if (PyErr_Occurred()) SWIG_fail
; 
6900   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6907 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MarkDirty(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6908   PyObject 
*resultobj 
= 0; 
6909   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6912   PyObject 
*swig_obj
[1] ; 
6914   if (!args
) SWIG_fail
; 
6916   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6917   if (!SWIG_IsOK(res1
)) { 
6918     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6920   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6923     (arg1
)->MarkDirty(); 
6924     wxPyEndAllowThreads(__tstate
); 
6925     if (PyErr_Occurred()) SWIG_fail
; 
6927   resultobj 
= SWIG_Py_Void(); 
6934 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DiscardEdits(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6935   PyObject 
*resultobj 
= 0; 
6936   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6939   PyObject 
*swig_obj
[1] ; 
6941   if (!args
) SWIG_fail
; 
6943   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6944   if (!SWIG_IsOK(res1
)) { 
6945     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6947   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6949     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6950     (arg1
)->DiscardEdits(); 
6951     wxPyEndAllowThreads(__tstate
); 
6952     if (PyErr_Occurred()) SWIG_fail
; 
6954   resultobj 
= SWIG_Py_Void(); 
6961 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetMaxLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6962   PyObject 
*resultobj 
= 0; 
6963   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
6964   unsigned long arg2 
; 
6967   unsigned long val2 
; 
6969   PyObject 
* obj0 
= 0 ; 
6970   PyObject 
* obj1 
= 0 ; 
6971   char *  kwnames
[] = { 
6972     (char *) "self",(char *) "len", NULL 
 
6975   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6976   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
6977   if (!SWIG_IsOK(res1
)) { 
6978     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
6980   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
6981   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
6982   if (!SWIG_IsOK(ecode2
)) { 
6983     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'"); 
6985   arg2 
= static_cast< unsigned long >(val2
); 
6987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6988     (arg1
)->SetMaxLength(arg2
); 
6989     wxPyEndAllowThreads(__tstate
); 
6990     if (PyErr_Occurred()) SWIG_fail
; 
6992   resultobj 
= SWIG_Py_Void(); 
6999 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7000   PyObject 
*resultobj 
= 0; 
7001   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7002   wxString 
*arg2 
= 0 ; 
7005   bool temp2 
= false ; 
7006   PyObject 
* obj0 
= 0 ; 
7007   PyObject 
* obj1 
= 0 ; 
7008   char *  kwnames
[] = { 
7009     (char *) "self",(char *) "text", NULL 
 
7012   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7013   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7014   if (!SWIG_IsOK(res1
)) { 
7015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7017   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7019     arg2 
= wxString_in_helper(obj1
); 
7020     if (arg2 
== NULL
) SWIG_fail
; 
7024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7025     (arg1
)->WriteText((wxString 
const &)*arg2
); 
7026     wxPyEndAllowThreads(__tstate
); 
7027     if (PyErr_Occurred()) SWIG_fail
; 
7029   resultobj 
= SWIG_Py_Void(); 
7044 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AppendText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7045   PyObject 
*resultobj 
= 0; 
7046   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7047   wxString 
*arg2 
= 0 ; 
7050   bool temp2 
= false ; 
7051   PyObject 
* obj0 
= 0 ; 
7052   PyObject 
* obj1 
= 0 ; 
7053   char *  kwnames
[] = { 
7054     (char *) "self",(char *) "text", NULL 
 
7057   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7058   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7059   if (!SWIG_IsOK(res1
)) { 
7060     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7062   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7064     arg2 
= wxString_in_helper(obj1
); 
7065     if (arg2 
== NULL
) SWIG_fail
; 
7069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7070     (arg1
)->AppendText((wxString 
const &)*arg2
); 
7071     wxPyEndAllowThreads(__tstate
); 
7072     if (PyErr_Occurred()) SWIG_fail
; 
7074   resultobj 
= SWIG_Py_Void(); 
7089 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7090   PyObject 
*resultobj 
= 0; 
7091   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7092   wxRichTextRange 
*arg2 
= 0 ; 
7093   wxRichTextAttr 
*arg3 
= 0 ; 
7097   wxRichTextRange temp2 
; 
7100   PyObject 
* obj0 
= 0 ; 
7101   PyObject 
* obj1 
= 0 ; 
7102   PyObject 
* obj2 
= 0 ; 
7103   char *  kwnames
[] = { 
7104     (char *) "self",(char *) "range",(char *) "style", NULL 
 
7107   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7108   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7109   if (!SWIG_IsOK(res1
)) { 
7110     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7112   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7115     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
7117   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7118   if (!SWIG_IsOK(res3
)) { 
7119     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7122     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7124   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7126     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7127     result 
= (bool)(arg1
)->SetStyle((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
7128     wxPyEndAllowThreads(__tstate
); 
7129     if (PyErr_Occurred()) SWIG_fail
; 
7132     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7140 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyleEx(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7141   PyObject 
*resultobj 
= 0; 
7142   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7143   wxRichTextRange 
*arg2 
= 0 ; 
7144   wxRichTextAttr 
*arg3 
= 0 ; 
7145   int arg4 
= (int) wxRICHTEXT_SETSTYLE_WITH_UNDO 
; 
7149   wxRichTextRange temp2 
; 
7154   PyObject 
* obj0 
= 0 ; 
7155   PyObject 
* obj1 
= 0 ; 
7156   PyObject 
* obj2 
= 0 ; 
7157   PyObject 
* obj3 
= 0 ; 
7158   char *  kwnames
[] = { 
7159     (char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL 
 
7162   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:RichTextCtrl_SetStyleEx",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7163   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7164   if (!SWIG_IsOK(res1
)) { 
7165     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7167   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7170     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
7172   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7173   if (!SWIG_IsOK(res3
)) { 
7174     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7177     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
7179   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7181     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7182     if (!SWIG_IsOK(ecode4
)) { 
7183       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "4"" of type '" "int""'"); 
7185     arg4 
= static_cast< int >(val4
); 
7188     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7189     result 
= (bool)(arg1
)->SetStyleEx((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
,arg4
); 
7190     wxPyEndAllowThreads(__tstate
); 
7191     if (PyErr_Occurred()) SWIG_fail
; 
7194     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7202 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7203   PyObject 
*resultobj 
= 0; 
7204   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7206   wxRichTextAttr 
*arg3 
= 0 ; 
7214   PyObject 
* obj0 
= 0 ; 
7215   PyObject 
* obj1 
= 0 ; 
7216   PyObject 
* obj2 
= 0 ; 
7217   char *  kwnames
[] = { 
7218     (char *) "self",(char *) "position",(char *) "style", NULL 
 
7221   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7222   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7223   if (!SWIG_IsOK(res1
)) { 
7224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7226   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7227   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7228   if (!SWIG_IsOK(ecode2
)) { 
7229     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'"); 
7231   arg2 
= static_cast< long >(val2
); 
7232   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0 ); 
7233   if (!SWIG_IsOK(res3
)) { 
7234     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7237     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7239   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7241     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7242     result 
= (bool)(arg1
)->GetStyle(arg2
,*arg3
); 
7243     wxPyEndAllowThreads(__tstate
); 
7244     if (PyErr_Occurred()) SWIG_fail
; 
7247     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7255 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetUncombinedStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7256   PyObject 
*resultobj 
= 0; 
7257   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7259   wxRichTextAttr 
*arg3 
= 0 ; 
7267   PyObject 
* obj0 
= 0 ; 
7268   PyObject 
* obj1 
= 0 ; 
7269   PyObject 
* obj2 
= 0 ; 
7270   char *  kwnames
[] = { 
7271     (char *) "self",(char *) "position",(char *) "style", NULL 
 
7274   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetUncombinedStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7275   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7276   if (!SWIG_IsOK(res1
)) { 
7277     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7279   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7280   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7281   if (!SWIG_IsOK(ecode2
)) { 
7282     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'"); 
7284   arg2 
= static_cast< long >(val2
); 
7285   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0 ); 
7286   if (!SWIG_IsOK(res3
)) { 
7287     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7290     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");  
7292   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
7294     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7295     result 
= (bool)(arg1
)->GetUncombinedStyle(arg2
,*arg3
); 
7296     wxPyEndAllowThreads(__tstate
); 
7297     if (PyErr_Occurred()) SWIG_fail
; 
7300     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7308 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7309   PyObject 
*resultobj 
= 0; 
7310   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7311   wxRichTextAttr 
*arg2 
= 0 ; 
7317   PyObject 
* obj0 
= 0 ; 
7318   PyObject 
* obj1 
= 0 ; 
7319   char *  kwnames
[] = { 
7320     (char *) "self",(char *) "style", NULL 
 
7323   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7324   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7325   if (!SWIG_IsOK(res1
)) { 
7326     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7328   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7329   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
7330   if (!SWIG_IsOK(res2
)) { 
7331     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7334     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
7336   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
7338     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7339     result 
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr 
const &)*arg2
); 
7340     wxPyEndAllowThreads(__tstate
); 
7341     if (PyErr_Occurred()) SWIG_fail
; 
7344     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7352 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7353   PyObject 
*resultobj 
= 0; 
7354   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7355   wxRichTextAttr result
; 
7358   PyObject 
*swig_obj
[1] ; 
7360   if (!args
) SWIG_fail
; 
7362   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7363   if (!SWIG_IsOK(res1
)) { 
7364     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7366   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7368     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7369     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetDefaultStyleEx(); 
7370     wxPyEndAllowThreads(__tstate
); 
7371     if (PyErr_Occurred()) SWIG_fail
; 
7373   resultobj 
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN 
|  0 ); 
7380 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_XYToPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7381   PyObject 
*resultobj 
= 0; 
7382   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7392   PyObject 
* obj0 
= 0 ; 
7393   PyObject 
* obj1 
= 0 ; 
7394   PyObject 
* obj2 
= 0 ; 
7395   char *  kwnames
[] = { 
7396     (char *) "self",(char *) "x",(char *) "y", NULL 
 
7399   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7400   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7401   if (!SWIG_IsOK(res1
)) { 
7402     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7404   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7405   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7406   if (!SWIG_IsOK(ecode2
)) { 
7407     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'"); 
7409   arg2 
= static_cast< long >(val2
); 
7410   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
7411   if (!SWIG_IsOK(ecode3
)) { 
7412     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'"); 
7414   arg3 
= static_cast< long >(val3
); 
7416     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7417     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
7418     wxPyEndAllowThreads(__tstate
); 
7419     if (PyErr_Occurred()) SWIG_fail
; 
7421   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
7428 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PositionToXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7429   PyObject 
*resultobj 
= 0; 
7430   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7432   long *arg3 
= (long *) 0 ; 
7433   long *arg4 
= (long *) 0 ; 
7439   int res3 
= SWIG_TMPOBJ 
; 
7441   int res4 
= SWIG_TMPOBJ 
; 
7442   PyObject 
* obj0 
= 0 ; 
7443   PyObject 
* obj1 
= 0 ; 
7444   char *  kwnames
[] = { 
7445     (char *) "self",(char *) "pos", NULL 
 
7450   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7451   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7452   if (!SWIG_IsOK(res1
)) { 
7453     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7455   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7456   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7457   if (!SWIG_IsOK(ecode2
)) { 
7458     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'"); 
7460   arg2 
= static_cast< long >(val2
); 
7462     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7463     ((wxRichTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
7464     wxPyEndAllowThreads(__tstate
); 
7465     if (PyErr_Occurred()) SWIG_fail
; 
7467   resultobj 
= SWIG_Py_Void(); 
7468   if (SWIG_IsTmpObj(res3
)) { 
7469     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7471     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7472     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7474   if (SWIG_IsTmpObj(res4
)) { 
7475     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
))); 
7477     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7478     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
)); 
7486 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ShowPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7487   PyObject 
*resultobj 
= 0; 
7488   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7494   PyObject 
* obj0 
= 0 ; 
7495   PyObject 
* obj1 
= 0 ; 
7496   char *  kwnames
[] = { 
7497     (char *) "self",(char *) "position", NULL 
 
7500   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7501   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7502   if (!SWIG_IsOK(res1
)) { 
7503     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7505   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7506   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7507   if (!SWIG_IsOK(ecode2
)) { 
7508     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'"); 
7510   arg2 
= static_cast< long >(val2
); 
7512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7513     (arg1
)->ShowPosition(arg2
); 
7514     wxPyEndAllowThreads(__tstate
); 
7515     if (PyErr_Occurred()) SWIG_fail
; 
7517   resultobj 
= SWIG_Py_Void(); 
7524 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7525   PyObject 
*resultobj 
= 0; 
7526   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7528   long *arg3 
= (long *) 0 ; 
7529   wxTextCtrlHitTestResult result
; 
7534   int res3 
= SWIG_TMPOBJ 
; 
7535   PyObject 
* obj0 
= 0 ; 
7536   PyObject 
* obj1 
= 0 ; 
7537   char *  kwnames
[] = { 
7538     (char *) "self",(char *) "pt", NULL 
 
7542   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7543   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7544   if (!SWIG_IsOK(res1
)) { 
7545     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7547   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7550     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7554     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
7555     wxPyEndAllowThreads(__tstate
); 
7556     if (PyErr_Occurred()) SWIG_fail
; 
7558   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7559   if (SWIG_IsTmpObj(res3
)) { 
7560     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
))); 
7562     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
7563     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
)); 
7571 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7572   PyObject 
*resultobj 
= 0; 
7573   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7575   wxTextCoord 
*arg3 
= (wxTextCoord 
*) 0 ; 
7576   wxTextCoord 
*arg4 
= (wxTextCoord 
*) 0 ; 
7577   wxTextCtrlHitTestResult result
; 
7585   PyObject 
* obj0 
= 0 ; 
7586   PyObject 
* obj1 
= 0 ; 
7587   PyObject 
* obj2 
= 0 ; 
7588   PyObject 
* obj3 
= 0 ; 
7589   char *  kwnames
[] = { 
7590     (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
7593   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7594   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7595   if (!SWIG_IsOK(res1
)) { 
7596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7598   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7601     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7603   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7604   if (!SWIG_IsOK(res3
)) { 
7605     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");  
7607   arg3 
= reinterpret_cast< wxTextCoord 
* >(argp3
); 
7608   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 |  0 ); 
7609   if (!SWIG_IsOK(res4
)) { 
7610     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");  
7612   arg4 
= reinterpret_cast< wxTextCoord 
* >(argp4
); 
7614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7615     result 
= ((wxRichTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
7616     wxPyEndAllowThreads(__tstate
); 
7617     if (PyErr_Occurred()) SWIG_fail
; 
7619   resultobj 
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN 
|  0 ); 
7626 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Copy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7627   PyObject 
*resultobj 
= 0; 
7628   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7631   PyObject 
*swig_obj
[1] ; 
7633   if (!args
) SWIG_fail
; 
7635   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7636   if (!SWIG_IsOK(res1
)) { 
7637     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7639   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7641     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7643     wxPyEndAllowThreads(__tstate
); 
7644     if (PyErr_Occurred()) SWIG_fail
; 
7646   resultobj 
= SWIG_Py_Void(); 
7653 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Cut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7654   PyObject 
*resultobj 
= 0; 
7655   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7658   PyObject 
*swig_obj
[1] ; 
7660   if (!args
) SWIG_fail
; 
7662   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7663   if (!SWIG_IsOK(res1
)) { 
7664     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7666   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7670     wxPyEndAllowThreads(__tstate
); 
7671     if (PyErr_Occurred()) SWIG_fail
; 
7673   resultobj 
= SWIG_Py_Void(); 
7680 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Paste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7681   PyObject 
*resultobj 
= 0; 
7682   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7685   PyObject 
*swig_obj
[1] ; 
7687   if (!args
) SWIG_fail
; 
7689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7690   if (!SWIG_IsOK(res1
)) { 
7691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7693   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7697     wxPyEndAllowThreads(__tstate
); 
7698     if (PyErr_Occurred()) SWIG_fail
; 
7700   resultobj 
= SWIG_Py_Void(); 
7707 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_DeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7708   PyObject 
*resultobj 
= 0; 
7709   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7712   PyObject 
*swig_obj
[1] ; 
7714   if (!args
) SWIG_fail
; 
7716   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7717   if (!SWIG_IsOK(res1
)) { 
7718     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7720   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7723     (arg1
)->DeleteSelection(); 
7724     wxPyEndAllowThreads(__tstate
); 
7725     if (PyErr_Occurred()) SWIG_fail
; 
7727   resultobj 
= SWIG_Py_Void(); 
7734 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCopy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7735   PyObject 
*resultobj 
= 0; 
7736   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7740   PyObject 
*swig_obj
[1] ; 
7742   if (!args
) SWIG_fail
; 
7744   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7745   if (!SWIG_IsOK(res1
)) { 
7746     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7748   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7751     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCopy(); 
7752     wxPyEndAllowThreads(__tstate
); 
7753     if (PyErr_Occurred()) SWIG_fail
; 
7756     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7764 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanCut(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7765   PyObject 
*resultobj 
= 0; 
7766   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7770   PyObject 
*swig_obj
[1] ; 
7772   if (!args
) SWIG_fail
; 
7774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7775   if (!SWIG_IsOK(res1
)) { 
7776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7778   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7781     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanCut(); 
7782     wxPyEndAllowThreads(__tstate
); 
7783     if (PyErr_Occurred()) SWIG_fail
; 
7786     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7794 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanPaste(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7795   PyObject 
*resultobj 
= 0; 
7796   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7800   PyObject 
*swig_obj
[1] ; 
7802   if (!args
) SWIG_fail
; 
7804   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7805   if (!SWIG_IsOK(res1
)) { 
7806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7808   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7811     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanPaste(); 
7812     wxPyEndAllowThreads(__tstate
); 
7813     if (PyErr_Occurred()) SWIG_fail
; 
7816     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7824 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7825   PyObject 
*resultobj 
= 0; 
7826   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7830   PyObject 
*swig_obj
[1] ; 
7832   if (!args
) SWIG_fail
; 
7834   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7835   if (!SWIG_IsOK(res1
)) { 
7836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7838   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7841     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanDeleteSelection(); 
7842     wxPyEndAllowThreads(__tstate
); 
7843     if (PyErr_Occurred()) SWIG_fail
; 
7846     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7854 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Undo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7855   PyObject 
*resultobj 
= 0; 
7856   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7859   PyObject 
*swig_obj
[1] ; 
7861   if (!args
) SWIG_fail
; 
7863   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7864   if (!SWIG_IsOK(res1
)) { 
7865     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7867   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7869     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7871     wxPyEndAllowThreads(__tstate
); 
7872     if (PyErr_Occurred()) SWIG_fail
; 
7874   resultobj 
= SWIG_Py_Void(); 
7881 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Redo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7882   PyObject 
*resultobj 
= 0; 
7883   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7886   PyObject 
*swig_obj
[1] ; 
7888   if (!args
) SWIG_fail
; 
7890   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7891   if (!SWIG_IsOK(res1
)) { 
7892     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7894   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7896     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7898     wxPyEndAllowThreads(__tstate
); 
7899     if (PyErr_Occurred()) SWIG_fail
; 
7901   resultobj 
= SWIG_Py_Void(); 
7908 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7909   PyObject 
*resultobj 
= 0; 
7910   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7914   PyObject 
*swig_obj
[1] ; 
7916   if (!args
) SWIG_fail
; 
7918   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7919   if (!SWIG_IsOK(res1
)) { 
7920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7922   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7924     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7925     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanUndo(); 
7926     wxPyEndAllowThreads(__tstate
); 
7927     if (PyErr_Occurred()) SWIG_fail
; 
7930     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7938 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_CanRedo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7939   PyObject 
*resultobj 
= 0; 
7940   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7944   PyObject 
*swig_obj
[1] ; 
7946   if (!args
) SWIG_fail
; 
7948   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7949   if (!SWIG_IsOK(res1
)) { 
7950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
7952   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7954     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7955     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->CanRedo(); 
7956     wxPyEndAllowThreads(__tstate
); 
7957     if (PyErr_Occurred()) SWIG_fail
; 
7960     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7968 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7969   PyObject 
*resultobj 
= 0; 
7970   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
7976   PyObject 
* obj0 
= 0 ; 
7977   PyObject 
* obj1 
= 0 ; 
7978   char *  kwnames
[] = { 
7979     (char *) "self",(char *) "pos", NULL 
 
7982   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7983   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
7984   if (!SWIG_IsOK(res1
)) { 
7985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
7987   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
7988   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7989   if (!SWIG_IsOK(ecode2
)) { 
7990     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'"); 
7992   arg2 
= static_cast< long >(val2
); 
7994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7995     (arg1
)->SetInsertionPoint(arg2
); 
7996     wxPyEndAllowThreads(__tstate
); 
7997     if (PyErr_Occurred()) SWIG_fail
; 
7999   resultobj 
= SWIG_Py_Void(); 
8006 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8007   PyObject 
*resultobj 
= 0; 
8008   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8011   PyObject 
*swig_obj
[1] ; 
8013   if (!args
) SWIG_fail
; 
8015   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8016   if (!SWIG_IsOK(res1
)) { 
8017     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8019   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8021     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8022     (arg1
)->SetInsertionPointEnd(); 
8023     wxPyEndAllowThreads(__tstate
); 
8024     if (PyErr_Occurred()) SWIG_fail
; 
8026   resultobj 
= SWIG_Py_Void(); 
8033 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8034   PyObject 
*resultobj 
= 0; 
8035   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8039   PyObject 
*swig_obj
[1] ; 
8041   if (!args
) SWIG_fail
; 
8043   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8044   if (!SWIG_IsOK(res1
)) { 
8045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8047   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8049     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8050     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
8051     wxPyEndAllowThreads(__tstate
); 
8052     if (PyErr_Occurred()) SWIG_fail
; 
8054   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8061 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetLastPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8062   PyObject 
*resultobj 
= 0; 
8063   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8067   PyObject 
*swig_obj
[1] ; 
8069   if (!args
) SWIG_fail
; 
8071   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8072   if (!SWIG_IsOK(res1
)) { 
8073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8075   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8078     result 
= (long)((wxRichTextCtrl 
const *)arg1
)->GetLastPosition(); 
8079     wxPyEndAllowThreads(__tstate
); 
8080     if (PyErr_Occurred()) SWIG_fail
; 
8082   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8089 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8090   PyObject 
*resultobj 
= 0; 
8091   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8100   PyObject 
* obj0 
= 0 ; 
8101   PyObject 
* obj1 
= 0 ; 
8102   PyObject 
* obj2 
= 0 ; 
8103   char *  kwnames
[] = { 
8104     (char *) "self",(char *) "from",(char *) "to", NULL 
 
8107   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8108   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8109   if (!SWIG_IsOK(res1
)) { 
8110     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8112   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8113   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8114   if (!SWIG_IsOK(ecode2
)) { 
8115     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'"); 
8117   arg2 
= static_cast< long >(val2
); 
8118   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8119   if (!SWIG_IsOK(ecode3
)) { 
8120     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'"); 
8122   arg3 
= static_cast< long >(val3
); 
8124     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8125     (arg1
)->SetSelection(arg2
,arg3
); 
8126     wxPyEndAllowThreads(__tstate
); 
8127     if (PyErr_Occurred()) SWIG_fail
; 
8129   resultobj 
= SWIG_Py_Void(); 
8136 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8137   PyObject 
*resultobj 
= 0; 
8138   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8141   PyObject 
*swig_obj
[1] ; 
8143   if (!args
) SWIG_fail
; 
8145   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8146   if (!SWIG_IsOK(res1
)) { 
8147     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8149   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8151     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8152     (arg1
)->SelectAll(); 
8153     wxPyEndAllowThreads(__tstate
); 
8154     if (PyErr_Occurred()) SWIG_fail
; 
8156   resultobj 
= SWIG_Py_Void(); 
8163 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetEditable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8164   PyObject 
*resultobj 
= 0; 
8165   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8171   PyObject 
* obj0 
= 0 ; 
8172   PyObject 
* obj1 
= 0 ; 
8173   char *  kwnames
[] = { 
8174     (char *) "self",(char *) "editable", NULL 
 
8177   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8178   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8179   if (!SWIG_IsOK(res1
)) { 
8180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8182   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8183   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
8184   if (!SWIG_IsOK(ecode2
)) { 
8185     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'"); 
8187   arg2 
= static_cast< bool >(val2
); 
8189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8190     (arg1
)->SetEditable(arg2
); 
8191     wxPyEndAllowThreads(__tstate
); 
8192     if (PyErr_Occurred()) SWIG_fail
; 
8194   resultobj 
= SWIG_Py_Void(); 
8201 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8202   PyObject 
*resultobj 
= 0; 
8203   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8207   PyObject 
*swig_obj
[1] ; 
8209   if (!args
) SWIG_fail
; 
8211   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8212   if (!SWIG_IsOK(res1
)) { 
8213     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
8215   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8218     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasSelection(); 
8219     wxPyEndAllowThreads(__tstate
); 
8220     if (PyErr_Occurred()) SWIG_fail
; 
8223     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8231 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8232   PyObject 
*resultobj 
= 0; 
8233   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8235   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8243   PyObject 
* obj0 
= 0 ; 
8244   PyObject 
* obj1 
= 0 ; 
8245   PyObject 
* obj2 
= 0 ; 
8246   char *  kwnames
[] = { 
8247     (char *) "self",(char *) "image",(char *) "bitmapType", NULL 
 
8250   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8251   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8252   if (!SWIG_IsOK(res1
)) { 
8253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8255   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8256   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
8257   if (!SWIG_IsOK(res2
)) { 
8258     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8261     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
8263   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
8265     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8266     if (!SWIG_IsOK(ecode3
)) { 
8267       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'"); 
8269     arg3 
= static_cast< int >(val3
); 
8272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8273     result 
= (bool)(arg1
)->WriteImage((wxImage 
const &)*arg2
,arg3
); 
8274     wxPyEndAllowThreads(__tstate
); 
8275     if (PyErr_Occurred()) SWIG_fail
; 
8278     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8286 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8287   PyObject 
*resultobj 
= 0; 
8288   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8289   wxBitmap 
*arg2 
= 0 ; 
8290   int arg3 
= (int) wxBITMAP_TYPE_PNG 
; 
8298   PyObject 
* obj0 
= 0 ; 
8299   PyObject 
* obj1 
= 0 ; 
8300   PyObject 
* obj2 
= 0 ; 
8301   char *  kwnames
[] = { 
8302     (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL 
 
8305   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8306   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8307   if (!SWIG_IsOK(res1
)) { 
8308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8310   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8311   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8312   if (!SWIG_IsOK(res2
)) { 
8313     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8316     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8318   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8320     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8321     if (!SWIG_IsOK(ecode3
)) { 
8322       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'"); 
8324     arg3 
= static_cast< int >(val3
); 
8327     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8328     result 
= (bool)(arg1
)->WriteImage((wxBitmap 
const &)*arg2
,arg3
); 
8329     wxPyEndAllowThreads(__tstate
); 
8330     if (PyErr_Occurred()) SWIG_fail
; 
8333     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8341 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8342   PyObject 
*resultobj 
= 0; 
8343   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8344   wxString 
*arg2 
= 0 ; 
8349   bool temp2 
= false ; 
8352   PyObject 
* obj0 
= 0 ; 
8353   PyObject 
* obj1 
= 0 ; 
8354   PyObject 
* obj2 
= 0 ; 
8355   char *  kwnames
[] = { 
8356     (char *) "self",(char *) "filename",(char *) "bitmapType", NULL 
 
8359   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8360   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8361   if (!SWIG_IsOK(res1
)) { 
8362     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8364   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8366     arg2 
= wxString_in_helper(obj1
); 
8367     if (arg2 
== NULL
) SWIG_fail
; 
8370   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8371   if (!SWIG_IsOK(ecode3
)) { 
8372     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'"); 
8374   arg3 
= static_cast< int >(val3
); 
8376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8377     result 
= (bool)(arg1
)->WriteImage((wxString 
const &)*arg2
,arg3
); 
8378     wxPyEndAllowThreads(__tstate
); 
8379     if (PyErr_Occurred()) SWIG_fail
; 
8382     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8398 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WriteImageBlock(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8399   PyObject 
*resultobj 
= 0; 
8400   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8401   wxRichTextImageBlock 
*arg2 
= 0 ; 
8407   PyObject 
* obj0 
= 0 ; 
8408   PyObject 
* obj1 
= 0 ; 
8409   char *  kwnames
[] = { 
8410     (char *) "self",(char *) "imageBlock", NULL 
 
8413   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8414   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8415   if (!SWIG_IsOK(res1
)) { 
8416     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8418   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8419   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
,  0  | 0); 
8420   if (!SWIG_IsOK(res2
)) { 
8421     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8424     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");  
8426   arg2 
= reinterpret_cast< wxRichTextImageBlock 
* >(argp2
); 
8428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8429     result 
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock 
const &)*arg2
); 
8430     wxPyEndAllowThreads(__tstate
); 
8431     if (PyErr_Occurred()) SWIG_fail
; 
8434     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8442 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_Newline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8443   PyObject 
*resultobj 
= 0; 
8444   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8448   PyObject 
*swig_obj
[1] ; 
8450   if (!args
) SWIG_fail
; 
8452   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8453   if (!SWIG_IsOK(res1
)) { 
8454     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8456   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8458     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8459     result 
= (bool)(arg1
)->Newline(); 
8460     wxPyEndAllowThreads(__tstate
); 
8461     if (PyErr_Occurred()) SWIG_fail
; 
8464     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8472 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetBasicStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8473   PyObject 
*resultobj 
= 0; 
8474   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8475   wxRichTextAttr 
*arg2 
= 0 ; 
8480   PyObject 
* obj0 
= 0 ; 
8481   PyObject 
* obj1 
= 0 ; 
8482   char *  kwnames
[] = { 
8483     (char *) "self",(char *) "style", NULL 
 
8486   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8487   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8488   if (!SWIG_IsOK(res1
)) { 
8489     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8491   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8492   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
8493   if (!SWIG_IsOK(res2
)) { 
8494     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8497     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");  
8499   arg2 
= reinterpret_cast< wxRichTextAttr 
* >(argp2
); 
8501     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8502     (arg1
)->SetBasicStyle((wxRichTextAttr 
const &)*arg2
); 
8503     wxPyEndAllowThreads(__tstate
); 
8504     if (PyErr_Occurred()) SWIG_fail
; 
8506   resultobj 
= SWIG_Py_Void(); 
8513 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8514   PyObject 
*resultobj 
= 0; 
8515   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8519   PyObject 
*swig_obj
[1] ; 
8521   if (!args
) SWIG_fail
; 
8523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8524   if (!SWIG_IsOK(res1
)) { 
8525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8527   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8530     result 
= (bool)(arg1
)->EndStyle(); 
8531     wxPyEndAllowThreads(__tstate
); 
8532     if (PyErr_Occurred()) SWIG_fail
; 
8535     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8543 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAllStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8544   PyObject 
*resultobj 
= 0; 
8545   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8549   PyObject 
*swig_obj
[1] ; 
8551   if (!args
) SWIG_fail
; 
8553   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8554   if (!SWIG_IsOK(res1
)) { 
8555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8557   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8560     result 
= (bool)(arg1
)->EndAllStyles(); 
8561     wxPyEndAllowThreads(__tstate
); 
8562     if (PyErr_Occurred()) SWIG_fail
; 
8565     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8573 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8574   PyObject 
*resultobj 
= 0; 
8575   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8579   PyObject 
*swig_obj
[1] ; 
8581   if (!args
) SWIG_fail
; 
8583   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8584   if (!SWIG_IsOK(res1
)) { 
8585     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8587   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8590     result 
= (bool)(arg1
)->BeginBold(); 
8591     wxPyEndAllowThreads(__tstate
); 
8592     if (PyErr_Occurred()) SWIG_fail
; 
8595     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8603 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8604   PyObject 
*resultobj 
= 0; 
8605   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8609   PyObject 
*swig_obj
[1] ; 
8611   if (!args
) SWIG_fail
; 
8613   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8614   if (!SWIG_IsOK(res1
)) { 
8615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8617   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8620     result 
= (bool)(arg1
)->EndBold(); 
8621     wxPyEndAllowThreads(__tstate
); 
8622     if (PyErr_Occurred()) SWIG_fail
; 
8625     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8633 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8634   PyObject 
*resultobj 
= 0; 
8635   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8639   PyObject 
*swig_obj
[1] ; 
8641   if (!args
) SWIG_fail
; 
8643   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8644   if (!SWIG_IsOK(res1
)) { 
8645     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8647   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8650     result 
= (bool)(arg1
)->BeginItalic(); 
8651     wxPyEndAllowThreads(__tstate
); 
8652     if (PyErr_Occurred()) SWIG_fail
; 
8655     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8663 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndItalic(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8664   PyObject 
*resultobj 
= 0; 
8665   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8669   PyObject 
*swig_obj
[1] ; 
8671   if (!args
) SWIG_fail
; 
8673   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8674   if (!SWIG_IsOK(res1
)) { 
8675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8677   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8679     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8680     result 
= (bool)(arg1
)->EndItalic(); 
8681     wxPyEndAllowThreads(__tstate
); 
8682     if (PyErr_Occurred()) SWIG_fail
; 
8685     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8693 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8694   PyObject 
*resultobj 
= 0; 
8695   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8699   PyObject 
*swig_obj
[1] ; 
8701   if (!args
) SWIG_fail
; 
8703   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8704   if (!SWIG_IsOK(res1
)) { 
8705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8707   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8710     result 
= (bool)(arg1
)->BeginUnderline(); 
8711     wxPyEndAllowThreads(__tstate
); 
8712     if (PyErr_Occurred()) SWIG_fail
; 
8715     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8723 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndUnderline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8724   PyObject 
*resultobj 
= 0; 
8725   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8729   PyObject 
*swig_obj
[1] ; 
8731   if (!args
) SWIG_fail
; 
8733   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8734   if (!SWIG_IsOK(res1
)) { 
8735     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8737   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8740     result 
= (bool)(arg1
)->EndUnderline(); 
8741     wxPyEndAllowThreads(__tstate
); 
8742     if (PyErr_Occurred()) SWIG_fail
; 
8745     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8753 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8754   PyObject 
*resultobj 
= 0; 
8755   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8762   PyObject 
* obj0 
= 0 ; 
8763   PyObject 
* obj1 
= 0 ; 
8764   char *  kwnames
[] = { 
8765     (char *) "self",(char *) "pointSize", NULL 
 
8768   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8769   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8770   if (!SWIG_IsOK(res1
)) { 
8771     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8773   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8774   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8775   if (!SWIG_IsOK(ecode2
)) { 
8776     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'"); 
8778   arg2 
= static_cast< int >(val2
); 
8780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8781     result 
= (bool)(arg1
)->BeginFontSize(arg2
); 
8782     wxPyEndAllowThreads(__tstate
); 
8783     if (PyErr_Occurred()) SWIG_fail
; 
8786     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8794 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFontSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8795   PyObject 
*resultobj 
= 0; 
8796   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8800   PyObject 
*swig_obj
[1] ; 
8802   if (!args
) SWIG_fail
; 
8804   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8805   if (!SWIG_IsOK(res1
)) { 
8806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8808   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8811     result 
= (bool)(arg1
)->EndFontSize(); 
8812     wxPyEndAllowThreads(__tstate
); 
8813     if (PyErr_Occurred()) SWIG_fail
; 
8816     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8824 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8825   PyObject 
*resultobj 
= 0; 
8826   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8833   PyObject 
* obj0 
= 0 ; 
8834   PyObject 
* obj1 
= 0 ; 
8835   char *  kwnames
[] = { 
8836     (char *) "self",(char *) "font", NULL 
 
8839   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8840   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8841   if (!SWIG_IsOK(res1
)) { 
8842     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8844   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8845   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
8846   if (!SWIG_IsOK(res2
)) { 
8847     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8850     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
8852   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
8854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8855     result 
= (bool)(arg1
)->BeginFont((wxFont 
const &)*arg2
); 
8856     wxPyEndAllowThreads(__tstate
); 
8857     if (PyErr_Occurred()) SWIG_fail
; 
8860     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8868 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8869   PyObject 
*resultobj 
= 0; 
8870   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8874   PyObject 
*swig_obj
[1] ; 
8876   if (!args
) SWIG_fail
; 
8878   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8879   if (!SWIG_IsOK(res1
)) { 
8880     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8882   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8884     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8885     result 
= (bool)(arg1
)->EndFont(); 
8886     wxPyEndAllowThreads(__tstate
); 
8887     if (PyErr_Occurred()) SWIG_fail
; 
8890     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8898 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8899   PyObject 
*resultobj 
= 0; 
8900   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8901   wxColour 
*arg2 
= 0 ; 
8906   PyObject 
* obj0 
= 0 ; 
8907   PyObject 
* obj1 
= 0 ; 
8908   char *  kwnames
[] = { 
8909     (char *) "self",(char *) "colour", NULL 
 
8912   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8913   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8914   if (!SWIG_IsOK(res1
)) { 
8915     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8917   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8920     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8924     result 
= (bool)(arg1
)->BeginTextColour((wxColour 
const &)*arg2
); 
8925     wxPyEndAllowThreads(__tstate
); 
8926     if (PyErr_Occurred()) SWIG_fail
; 
8929     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8937 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndTextColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8938   PyObject 
*resultobj 
= 0; 
8939   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8943   PyObject 
*swig_obj
[1] ; 
8945   if (!args
) SWIG_fail
; 
8947   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8948   if (!SWIG_IsOK(res1
)) { 
8949     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8951   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8953     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8954     result 
= (bool)(arg1
)->EndTextColour(); 
8955     wxPyEndAllowThreads(__tstate
); 
8956     if (PyErr_Occurred()) SWIG_fail
; 
8959     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8967 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8968   PyObject 
*resultobj 
= 0; 
8969   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
8970   wxTextAttrAlignment arg2 
; 
8976   PyObject 
* obj0 
= 0 ; 
8977   PyObject 
* obj1 
= 0 ; 
8978   char *  kwnames
[] = { 
8979     (char *) "self",(char *) "alignment", NULL 
 
8982   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8983   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
8984   if (!SWIG_IsOK(res1
)) { 
8985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
8987   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
8988   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8989   if (!SWIG_IsOK(ecode2
)) { 
8990     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
8992   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
8994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8995     result 
= (bool)(arg1
)->BeginAlignment(arg2
); 
8996     wxPyEndAllowThreads(__tstate
); 
8997     if (PyErr_Occurred()) SWIG_fail
; 
9000     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9008 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9009   PyObject 
*resultobj 
= 0; 
9010   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9014   PyObject 
*swig_obj
[1] ; 
9016   if (!args
) SWIG_fail
; 
9018   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9019   if (!SWIG_IsOK(res1
)) { 
9020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9022   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9025     result 
= (bool)(arg1
)->EndAlignment(); 
9026     wxPyEndAllowThreads(__tstate
); 
9027     if (PyErr_Occurred()) SWIG_fail
; 
9030     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9038 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9039   PyObject 
*resultobj 
= 0; 
9040   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9042   int arg3 
= (int) 0 ; 
9050   PyObject 
* obj0 
= 0 ; 
9051   PyObject 
* obj1 
= 0 ; 
9052   PyObject 
* obj2 
= 0 ; 
9053   char *  kwnames
[] = { 
9054     (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL 
 
9057   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9058   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9059   if (!SWIG_IsOK(res1
)) { 
9060     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9062   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9063   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9064   if (!SWIG_IsOK(ecode2
)) { 
9065     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'"); 
9067   arg2 
= static_cast< int >(val2
); 
9069     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9070     if (!SWIG_IsOK(ecode3
)) { 
9071       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'"); 
9073     arg3 
= static_cast< int >(val3
); 
9076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9077     result 
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
); 
9078     wxPyEndAllowThreads(__tstate
); 
9079     if (PyErr_Occurred()) SWIG_fail
; 
9082     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9090 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLeftIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9091   PyObject 
*resultobj 
= 0; 
9092   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9096   PyObject 
*swig_obj
[1] ; 
9098   if (!args
) SWIG_fail
; 
9100   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9101   if (!SWIG_IsOK(res1
)) { 
9102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9104   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9107     result 
= (bool)(arg1
)->EndLeftIndent(); 
9108     wxPyEndAllowThreads(__tstate
); 
9109     if (PyErr_Occurred()) SWIG_fail
; 
9112     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9120 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9121   PyObject 
*resultobj 
= 0; 
9122   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9129   PyObject 
* obj0 
= 0 ; 
9130   PyObject 
* obj1 
= 0 ; 
9131   char *  kwnames
[] = { 
9132     (char *) "self",(char *) "rightIndent", NULL 
 
9135   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9136   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9137   if (!SWIG_IsOK(res1
)) { 
9138     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9140   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9141   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9142   if (!SWIG_IsOK(ecode2
)) { 
9143     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'"); 
9145   arg2 
= static_cast< int >(val2
); 
9147     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9148     result 
= (bool)(arg1
)->BeginRightIndent(arg2
); 
9149     wxPyEndAllowThreads(__tstate
); 
9150     if (PyErr_Occurred()) SWIG_fail
; 
9153     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9161 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndRightIndent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9162   PyObject 
*resultobj 
= 0; 
9163   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9167   PyObject 
*swig_obj
[1] ; 
9169   if (!args
) SWIG_fail
; 
9171   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9172   if (!SWIG_IsOK(res1
)) { 
9173     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9175   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9178     result 
= (bool)(arg1
)->EndRightIndent(); 
9179     wxPyEndAllowThreads(__tstate
); 
9180     if (PyErr_Occurred()) SWIG_fail
; 
9183     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9191 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9192   PyObject 
*resultobj 
= 0; 
9193   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9203   PyObject 
* obj0 
= 0 ; 
9204   PyObject 
* obj1 
= 0 ; 
9205   PyObject 
* obj2 
= 0 ; 
9206   char *  kwnames
[] = { 
9207     (char *) "self",(char *) "before",(char *) "after", NULL 
 
9210   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9211   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9212   if (!SWIG_IsOK(res1
)) { 
9213     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9215   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9216   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9217   if (!SWIG_IsOK(ecode2
)) { 
9218     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'"); 
9220   arg2 
= static_cast< int >(val2
); 
9221   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9222   if (!SWIG_IsOK(ecode3
)) { 
9223     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'"); 
9225   arg3 
= static_cast< int >(val3
); 
9227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9228     result 
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
); 
9229     wxPyEndAllowThreads(__tstate
); 
9230     if (PyErr_Occurred()) SWIG_fail
; 
9233     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9241 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9242   PyObject 
*resultobj 
= 0; 
9243   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9247   PyObject 
*swig_obj
[1] ; 
9249   if (!args
) SWIG_fail
; 
9251   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9252   if (!SWIG_IsOK(res1
)) { 
9253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9255   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9257     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9258     result 
= (bool)(arg1
)->EndParagraphSpacing(); 
9259     wxPyEndAllowThreads(__tstate
); 
9260     if (PyErr_Occurred()) SWIG_fail
; 
9263     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9271 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9272   PyObject 
*resultobj 
= 0; 
9273   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9280   PyObject 
* obj0 
= 0 ; 
9281   PyObject 
* obj1 
= 0 ; 
9282   char *  kwnames
[] = { 
9283     (char *) "self",(char *) "lineSpacing", NULL 
 
9286   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9287   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9288   if (!SWIG_IsOK(res1
)) { 
9289     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9291   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9292   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9293   if (!SWIG_IsOK(ecode2
)) { 
9294     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'"); 
9296   arg2 
= static_cast< int >(val2
); 
9298     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9299     result 
= (bool)(arg1
)->BeginLineSpacing(arg2
); 
9300     wxPyEndAllowThreads(__tstate
); 
9301     if (PyErr_Occurred()) SWIG_fail
; 
9304     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9312 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndLineSpacing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9313   PyObject 
*resultobj 
= 0; 
9314   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9318   PyObject 
*swig_obj
[1] ; 
9320   if (!args
) SWIG_fail
; 
9322   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9323   if (!SWIG_IsOK(res1
)) { 
9324     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9326   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9328     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9329     result 
= (bool)(arg1
)->EndLineSpacing(); 
9330     wxPyEndAllowThreads(__tstate
); 
9331     if (PyErr_Occurred()) SWIG_fail
; 
9334     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9342 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9343   PyObject 
*resultobj 
= 0; 
9344   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9348   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD 
; 
9360   PyObject 
* obj0 
= 0 ; 
9361   PyObject 
* obj1 
= 0 ; 
9362   PyObject 
* obj2 
= 0 ; 
9363   PyObject 
* obj3 
= 0 ; 
9364   PyObject 
* obj4 
= 0 ; 
9365   char *  kwnames
[] = { 
9366     (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9369   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9370   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9371   if (!SWIG_IsOK(res1
)) { 
9372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9374   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9375   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9376   if (!SWIG_IsOK(ecode2
)) { 
9377     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'"); 
9379   arg2 
= static_cast< int >(val2
); 
9380   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9381   if (!SWIG_IsOK(ecode3
)) { 
9382     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'"); 
9384   arg3 
= static_cast< int >(val3
); 
9385   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9386   if (!SWIG_IsOK(ecode4
)) { 
9387     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'"); 
9389   arg4 
= static_cast< int >(val4
); 
9391     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9392     if (!SWIG_IsOK(ecode5
)) { 
9393       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'"); 
9395     arg5 
= static_cast< int >(val5
); 
9398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9399     result 
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
); 
9400     wxPyEndAllowThreads(__tstate
); 
9401     if (PyErr_Occurred()) SWIG_fail
; 
9404     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9412 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9413   PyObject 
*resultobj 
= 0; 
9414   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9418   PyObject 
*swig_obj
[1] ; 
9420   if (!args
) SWIG_fail
; 
9422   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9423   if (!SWIG_IsOK(res1
)) { 
9424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9426   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9429     result 
= (bool)(arg1
)->EndNumberedBullet(); 
9430     wxPyEndAllowThreads(__tstate
); 
9431     if (PyErr_Occurred()) SWIG_fail
; 
9434     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9442 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9443   PyObject 
*resultobj 
= 0; 
9444   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9445   wxString 
*arg2 
= 0 ; 
9448   int arg5 
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL 
; 
9452   bool temp2 
= false ; 
9459   PyObject 
* obj0 
= 0 ; 
9460   PyObject 
* obj1 
= 0 ; 
9461   PyObject 
* obj2 
= 0 ; 
9462   PyObject 
* obj3 
= 0 ; 
9463   PyObject 
* obj4 
= 0 ; 
9464   char *  kwnames
[] = { 
9465     (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
9468   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
9469   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9470   if (!SWIG_IsOK(res1
)) { 
9471     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9473   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9475     arg2 
= wxString_in_helper(obj1
); 
9476     if (arg2 
== NULL
) SWIG_fail
; 
9479   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9480   if (!SWIG_IsOK(ecode3
)) { 
9481     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'"); 
9483   arg3 
= static_cast< int >(val3
); 
9484   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9485   if (!SWIG_IsOK(ecode4
)) { 
9486     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'"); 
9488   arg4 
= static_cast< int >(val4
); 
9490     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
9491     if (!SWIG_IsOK(ecode5
)) { 
9492       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'"); 
9494     arg5 
= static_cast< int >(val5
); 
9497     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9498     result 
= (bool)(arg1
)->BeginSymbolBullet((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
9499     wxPyEndAllowThreads(__tstate
); 
9500     if (PyErr_Occurred()) SWIG_fail
; 
9503     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9519 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9520   PyObject 
*resultobj 
= 0; 
9521   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9525   PyObject 
*swig_obj
[1] ; 
9527   if (!args
) SWIG_fail
; 
9529   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9530   if (!SWIG_IsOK(res1
)) { 
9531     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9533   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9535     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9536     result 
= (bool)(arg1
)->EndSymbolBullet(); 
9537     wxPyEndAllowThreads(__tstate
); 
9538     if (PyErr_Occurred()) SWIG_fail
; 
9541     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9549 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9550   PyObject 
*resultobj 
= 0; 
9551   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9552   wxString 
*arg2 
= 0 ; 
9556   bool temp2 
= false ; 
9557   PyObject 
* obj0 
= 0 ; 
9558   PyObject 
* obj1 
= 0 ; 
9559   char *  kwnames
[] = { 
9560     (char *) "self",(char *) "characterStyle", NULL 
 
9563   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9564   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9565   if (!SWIG_IsOK(res1
)) { 
9566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9568   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9570     arg2 
= wxString_in_helper(obj1
); 
9571     if (arg2 
== NULL
) SWIG_fail
; 
9575     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9576     result 
= (bool)(arg1
)->BeginCharacterStyle((wxString 
const &)*arg2
); 
9577     wxPyEndAllowThreads(__tstate
); 
9578     if (PyErr_Occurred()) SWIG_fail
; 
9581     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9597 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9598   PyObject 
*resultobj 
= 0; 
9599   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9603   PyObject 
*swig_obj
[1] ; 
9605   if (!args
) SWIG_fail
; 
9607   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9608   if (!SWIG_IsOK(res1
)) { 
9609     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9611   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9613     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9614     result 
= (bool)(arg1
)->EndCharacterStyle(); 
9615     wxPyEndAllowThreads(__tstate
); 
9616     if (PyErr_Occurred()) SWIG_fail
; 
9619     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9627 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9628   PyObject 
*resultobj 
= 0; 
9629   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9630   wxString 
*arg2 
= 0 ; 
9634   bool temp2 
= false ; 
9635   PyObject 
* obj0 
= 0 ; 
9636   PyObject 
* obj1 
= 0 ; 
9637   char *  kwnames
[] = { 
9638     (char *) "self",(char *) "paragraphStyle", NULL 
 
9641   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9642   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9643   if (!SWIG_IsOK(res1
)) { 
9644     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9646   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9648     arg2 
= wxString_in_helper(obj1
); 
9649     if (arg2 
== NULL
) SWIG_fail
; 
9653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9654     result 
= (bool)(arg1
)->BeginParagraphStyle((wxString 
const &)*arg2
); 
9655     wxPyEndAllowThreads(__tstate
); 
9656     if (PyErr_Occurred()) SWIG_fail
; 
9659     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9675 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9676   PyObject 
*resultobj 
= 0; 
9677   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9681   PyObject 
*swig_obj
[1] ; 
9683   if (!args
) SWIG_fail
; 
9685   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9686   if (!SWIG_IsOK(res1
)) { 
9687     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9689   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9692     result 
= (bool)(arg1
)->EndParagraphStyle(); 
9693     wxPyEndAllowThreads(__tstate
); 
9694     if (PyErr_Occurred()) SWIG_fail
; 
9697     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9705 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginListStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9706   PyObject 
*resultobj 
= 0; 
9707   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9708   wxString 
*arg2 
= 0 ; 
9709   int arg3 
= (int) 1 ; 
9710   int arg4 
= (int) 1 ; 
9714   bool temp2 
= false ; 
9719   PyObject 
* obj0 
= 0 ; 
9720   PyObject 
* obj1 
= 0 ; 
9721   PyObject 
* obj2 
= 0 ; 
9722   PyObject 
* obj3 
= 0 ; 
9723   char *  kwnames
[] = { 
9724     (char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL 
 
9727   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:RichTextCtrl_BeginListStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9728   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9729   if (!SWIG_IsOK(res1
)) { 
9730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9732   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9734     arg2 
= wxString_in_helper(obj1
); 
9735     if (arg2 
== NULL
) SWIG_fail
; 
9739     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9740     if (!SWIG_IsOK(ecode3
)) { 
9741       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "3"" of type '" "int""'"); 
9743     arg3 
= static_cast< int >(val3
); 
9746     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9747     if (!SWIG_IsOK(ecode4
)) { 
9748       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "4"" of type '" "int""'"); 
9750     arg4 
= static_cast< int >(val4
); 
9753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9754     result 
= (bool)(arg1
)->BeginListStyle((wxString 
const &)*arg2
,arg3
,arg4
); 
9755     wxPyEndAllowThreads(__tstate
); 
9756     if (PyErr_Occurred()) SWIG_fail
; 
9759     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9775 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndListStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9776   PyObject 
*resultobj 
= 0; 
9777   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9781   PyObject 
*swig_obj
[1] ; 
9783   if (!args
) SWIG_fail
; 
9785   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9786   if (!SWIG_IsOK(res1
)) { 
9787     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9789   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9791     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9792     result 
= (bool)(arg1
)->EndListStyle(); 
9793     wxPyEndAllowThreads(__tstate
); 
9794     if (PyErr_Occurred()) SWIG_fail
; 
9797     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9805 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginURL(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9806   PyObject 
*resultobj 
= 0; 
9807   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9808   wxString 
*arg2 
= 0 ; 
9809   wxString 
const &arg3_defvalue 
= wxEmptyString 
; 
9810   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9814   bool temp2 
= false ; 
9815   bool temp3 
= false ; 
9816   PyObject 
* obj0 
= 0 ; 
9817   PyObject 
* obj1 
= 0 ; 
9818   PyObject 
* obj2 
= 0 ; 
9819   char *  kwnames
[] = { 
9820     (char *) "self",(char *) "url",(char *) "characterStyle", NULL 
 
9823   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginURL",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9824   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9825   if (!SWIG_IsOK(res1
)) { 
9826     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9828   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9830     arg2 
= wxString_in_helper(obj1
); 
9831     if (arg2 
== NULL
) SWIG_fail
; 
9836       arg3 
= wxString_in_helper(obj2
); 
9837       if (arg3 
== NULL
) SWIG_fail
; 
9842     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9843     result 
= (bool)(arg1
)->BeginURL((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
9844     wxPyEndAllowThreads(__tstate
); 
9845     if (PyErr_Occurred()) SWIG_fail
; 
9848     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9872 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndURL(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9873   PyObject 
*resultobj 
= 0; 
9874   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9878   PyObject 
*swig_obj
[1] ; 
9880   if (!args
) SWIG_fail
; 
9882   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9883   if (!SWIG_IsOK(res1
)) { 
9884     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9886   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9888     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9889     result 
= (bool)(arg1
)->EndURL(); 
9890     wxPyEndAllowThreads(__tstate
); 
9891     if (PyErr_Occurred()) SWIG_fail
; 
9894     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9902 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9903   PyObject 
*resultobj 
= 0; 
9904   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9908   PyObject 
*swig_obj
[1] ; 
9910   if (!args
) SWIG_fail
; 
9912   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9913   if (!SWIG_IsOK(res1
)) { 
9914     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9916   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9918     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9919     result 
= (bool)(arg1
)->SetDefaultStyleToCursorStyle(); 
9920     wxPyEndAllowThreads(__tstate
); 
9921     if (PyErr_Occurred()) SWIG_fail
; 
9924     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9932 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectNone(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9933   PyObject 
*resultobj 
= 0; 
9934   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9937   PyObject 
*swig_obj
[1] ; 
9939   if (!args
) SWIG_fail
; 
9941   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9942   if (!SWIG_IsOK(res1
)) { 
9943     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9945   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9948     (arg1
)->SelectNone(); 
9949     wxPyEndAllowThreads(__tstate
); 
9950     if (PyErr_Occurred()) SWIG_fail
; 
9952   resultobj 
= SWIG_Py_Void(); 
9959 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SelectWord(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9960   PyObject 
*resultobj 
= 0; 
9961   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
9968   PyObject 
* obj0 
= 0 ; 
9969   PyObject 
* obj1 
= 0 ; 
9970   char *  kwnames
[] = { 
9971     (char *) "self",(char *) "position", NULL 
 
9974   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9975   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
9976   if (!SWIG_IsOK(res1
)) { 
9977     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
9979   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
9980   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
9981   if (!SWIG_IsOK(ecode2
)) { 
9982     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "2"" of type '" "long""'"); 
9984   arg2 
= static_cast< long >(val2
); 
9986     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9987     result 
= (bool)(arg1
)->SelectWord(arg2
); 
9988     wxPyEndAllowThreads(__tstate
); 
9989     if (PyErr_Occurred()) SWIG_fail
; 
9992     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10000 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10001   PyObject 
*resultobj 
= 0; 
10002   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10003   wxRichTextRange result
; 
10006   PyObject 
*swig_obj
[1] ; 
10008   if (!args
) SWIG_fail
; 
10009   swig_obj
[0] = args
; 
10010   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10011   if (!SWIG_IsOK(res1
)) { 
10012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10014   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10017     result 
= ((wxRichTextCtrl 
const *)arg1
)->GetSelectionRange(); 
10018     wxPyEndAllowThreads(__tstate
); 
10019     if (PyErr_Occurred()) SWIG_fail
; 
10021   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
10028 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10029   PyObject 
*resultobj 
= 0; 
10030   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10031   wxRichTextRange 
*arg2 
= 0 ; 
10034   wxRichTextRange temp2 
; 
10035   PyObject 
* obj0 
= 0 ; 
10036   PyObject 
* obj1 
= 0 ; 
10037   char *  kwnames
[] = { 
10038     (char *) "self",(char *) "range", NULL 
 
10041   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10042   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10043   if (!SWIG_IsOK(res1
)) { 
10044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10046   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10049     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10053     (arg1
)->SetSelectionRange((wxRichTextRange 
const &)*arg2
); 
10054     wxPyEndAllowThreads(__tstate
); 
10055     if (PyErr_Occurred()) SWIG_fail
; 
10057   resultobj 
= SWIG_Py_Void(); 
10064 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetInternalSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10065   PyObject 
*resultobj 
= 0; 
10066   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10067   wxRichTextRange 
*result 
= 0 ; 
10070   PyObject 
*swig_obj
[1] ; 
10072   if (!args
) SWIG_fail
; 
10073   swig_obj
[0] = args
; 
10074   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10075   if (!SWIG_IsOK(res1
)) { 
10076     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
10078   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10082       wxRichTextRange 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetInternalSelectionRange(); 
10083       result 
= (wxRichTextRange 
*) &_result_ref
; 
10085     wxPyEndAllowThreads(__tstate
); 
10086     if (PyErr_Occurred()) SWIG_fail
; 
10088   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 |  0 ); 
10095 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetInternalSelectionRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10096   PyObject 
*resultobj 
= 0; 
10097   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10098   wxRichTextRange 
*arg2 
= 0 ; 
10101   wxRichTextRange temp2 
; 
10102   PyObject 
* obj0 
= 0 ; 
10103   PyObject 
* obj1 
= 0 ; 
10104   char *  kwnames
[] = { 
10105     (char *) "self",(char *) "range", NULL 
 
10108   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInternalSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10109   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10110   if (!SWIG_IsOK(res1
)) { 
10111     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10113   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10116     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
10119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10120     (arg1
)->SetInternalSelectionRange((wxRichTextRange 
const &)*arg2
); 
10121     wxPyEndAllowThreads(__tstate
); 
10122     if (PyErr_Occurred()) SWIG_fail
; 
10124   resultobj 
= SWIG_Py_Void(); 
10131 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddParagraph(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10132   PyObject 
*resultobj 
= 0; 
10133   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10134   wxString 
*arg2 
= 0 ; 
10135   wxRichTextRange result
; 
10138   bool temp2 
= false ; 
10139   PyObject 
* obj0 
= 0 ; 
10140   PyObject 
* obj1 
= 0 ; 
10141   char *  kwnames
[] = { 
10142     (char *) "self",(char *) "text", NULL 
 
10145   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10146   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10147   if (!SWIG_IsOK(res1
)) { 
10148     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10150   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10152     arg2 
= wxString_in_helper(obj1
); 
10153     if (arg2 
== NULL
) SWIG_fail
; 
10157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10158     result 
= (arg1
)->AddParagraph((wxString 
const &)*arg2
); 
10159     wxPyEndAllowThreads(__tstate
); 
10160     if (PyErr_Occurred()) SWIG_fail
; 
10162   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
10177 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_AddImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10178   PyObject 
*resultobj 
= 0; 
10179   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10180   wxImage 
*arg2 
= 0 ; 
10181   wxRichTextRange result
; 
10186   PyObject 
* obj0 
= 0 ; 
10187   PyObject 
* obj1 
= 0 ; 
10188   char *  kwnames
[] = { 
10189     (char *) "self",(char *) "image", NULL 
 
10192   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10193   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10194   if (!SWIG_IsOK(res1
)) { 
10195     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10197   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10198   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
,  0  | 0); 
10199   if (!SWIG_IsOK(res2
)) { 
10200     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
10203     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");  
10205   arg2 
= reinterpret_cast< wxImage 
* >(argp2
); 
10207     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10208     result 
= (arg1
)->AddImage((wxImage 
const &)*arg2
); 
10209     wxPyEndAllowThreads(__tstate
); 
10210     if (PyErr_Occurred()) SWIG_fail
; 
10212   resultobj 
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN 
|  0 ); 
10219 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_LayoutContent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10220   PyObject 
*resultobj 
= 0; 
10221   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10222   bool arg2 
= (bool) false ; 
10228   PyObject 
* obj0 
= 0 ; 
10229   PyObject 
* obj1 
= 0 ; 
10230   char *  kwnames
[] = { 
10231     (char *) "self",(char *) "onlyVisibleRect", NULL 
 
10234   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10235   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10236   if (!SWIG_IsOK(res1
)) { 
10237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10239   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10241     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
10242     if (!SWIG_IsOK(ecode2
)) { 
10243       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'"); 
10245     arg2 
= static_cast< bool >(val2
); 
10248     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10249     result 
= (bool)(arg1
)->LayoutContent(arg2
); 
10250     wxPyEndAllowThreads(__tstate
); 
10251     if (PyErr_Occurred()) SWIG_fail
; 
10254     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10262 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveCaret(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10263   PyObject 
*resultobj 
= 0; 
10264   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10266   bool arg3 
= (bool) false ; 
10274   PyObject 
* obj0 
= 0 ; 
10275   PyObject 
* obj1 
= 0 ; 
10276   PyObject 
* obj2 
= 0 ; 
10277   char *  kwnames
[] = { 
10278     (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL 
 
10281   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10282   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10283   if (!SWIG_IsOK(res1
)) { 
10284     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10286   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10287   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
10288   if (!SWIG_IsOK(ecode2
)) { 
10289     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'"); 
10291   arg2 
= static_cast< long >(val2
); 
10293     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10294     if (!SWIG_IsOK(ecode3
)) { 
10295       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'"); 
10297     arg3 
= static_cast< bool >(val3
); 
10300     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10301     result 
= (bool)(arg1
)->MoveCaret(arg2
,arg3
); 
10302     wxPyEndAllowThreads(__tstate
); 
10303     if (PyErr_Occurred()) SWIG_fail
; 
10306     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10314 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10315   PyObject 
*resultobj 
= 0; 
10316   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10317   int arg2 
= (int) 1 ; 
10318   int arg3 
= (int) 0 ; 
10326   PyObject 
* obj0 
= 0 ; 
10327   PyObject 
* obj1 
= 0 ; 
10328   PyObject 
* obj2 
= 0 ; 
10329   char *  kwnames
[] = { 
10330     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10333   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10334   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10335   if (!SWIG_IsOK(res1
)) { 
10336     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10338   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10340     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10341     if (!SWIG_IsOK(ecode2
)) { 
10342       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'"); 
10344     arg2 
= static_cast< int >(val2
); 
10347     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10348     if (!SWIG_IsOK(ecode3
)) { 
10349       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'"); 
10351     arg3 
= static_cast< int >(val3
); 
10354     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10355     result 
= (bool)(arg1
)->MoveRight(arg2
,arg3
); 
10356     wxPyEndAllowThreads(__tstate
); 
10357     if (PyErr_Occurred()) SWIG_fail
; 
10360     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10368 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10369   PyObject 
*resultobj 
= 0; 
10370   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10371   int arg2 
= (int) 1 ; 
10372   int arg3 
= (int) 0 ; 
10380   PyObject 
* obj0 
= 0 ; 
10381   PyObject 
* obj1 
= 0 ; 
10382   PyObject 
* obj2 
= 0 ; 
10383   char *  kwnames
[] = { 
10384     (char *) "self",(char *) "noPositions",(char *) "flags", NULL 
 
10387   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10388   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10389   if (!SWIG_IsOK(res1
)) { 
10390     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10392   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10394     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10395     if (!SWIG_IsOK(ecode2
)) { 
10396       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'"); 
10398     arg2 
= static_cast< int >(val2
); 
10401     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10402     if (!SWIG_IsOK(ecode3
)) { 
10403       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'"); 
10405     arg3 
= static_cast< int >(val3
); 
10408     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10409     result 
= (bool)(arg1
)->MoveLeft(arg2
,arg3
); 
10410     wxPyEndAllowThreads(__tstate
); 
10411     if (PyErr_Occurred()) SWIG_fail
; 
10414     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10422 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10423   PyObject 
*resultobj 
= 0; 
10424   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10425   int arg2 
= (int) 1 ; 
10426   int arg3 
= (int) 0 ; 
10434   PyObject 
* obj0 
= 0 ; 
10435   PyObject 
* obj1 
= 0 ; 
10436   PyObject 
* obj2 
= 0 ; 
10437   char *  kwnames
[] = { 
10438     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10441   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10442   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10443   if (!SWIG_IsOK(res1
)) { 
10444     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10446   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10448     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10449     if (!SWIG_IsOK(ecode2
)) { 
10450       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'"); 
10452     arg2 
= static_cast< int >(val2
); 
10455     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10456     if (!SWIG_IsOK(ecode3
)) { 
10457       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'"); 
10459     arg3 
= static_cast< int >(val3
); 
10462     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10463     result 
= (bool)(arg1
)->MoveUp(arg2
,arg3
); 
10464     wxPyEndAllowThreads(__tstate
); 
10465     if (PyErr_Occurred()) SWIG_fail
; 
10468     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10476 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10477   PyObject 
*resultobj 
= 0; 
10478   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10479   int arg2 
= (int) 1 ; 
10480   int arg3 
= (int) 0 ; 
10488   PyObject 
* obj0 
= 0 ; 
10489   PyObject 
* obj1 
= 0 ; 
10490   PyObject 
* obj2 
= 0 ; 
10491   char *  kwnames
[] = { 
10492     (char *) "self",(char *) "noLines",(char *) "flags", NULL 
 
10495   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10496   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10497   if (!SWIG_IsOK(res1
)) { 
10498     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10500   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10502     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10503     if (!SWIG_IsOK(ecode2
)) { 
10504       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'"); 
10506     arg2 
= static_cast< int >(val2
); 
10509     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10510     if (!SWIG_IsOK(ecode3
)) { 
10511       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'"); 
10513     arg3 
= static_cast< int >(val3
); 
10516     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10517     result 
= (bool)(arg1
)->MoveDown(arg2
,arg3
); 
10518     wxPyEndAllowThreads(__tstate
); 
10519     if (PyErr_Occurred()) SWIG_fail
; 
10522     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10530 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10531   PyObject 
*resultobj 
= 0; 
10532   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10533   int arg2 
= (int) 0 ; 
10539   PyObject 
* obj0 
= 0 ; 
10540   PyObject 
* obj1 
= 0 ; 
10541   char *  kwnames
[] = { 
10542     (char *) "self",(char *) "flags", NULL 
 
10545   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10546   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10547   if (!SWIG_IsOK(res1
)) { 
10548     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10550   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10552     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10553     if (!SWIG_IsOK(ecode2
)) { 
10554       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'"); 
10556     arg2 
= static_cast< int >(val2
); 
10559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10560     result 
= (bool)(arg1
)->MoveToLineEnd(arg2
); 
10561     wxPyEndAllowThreads(__tstate
); 
10562     if (PyErr_Occurred()) SWIG_fail
; 
10565     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10573 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToLineStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10574   PyObject 
*resultobj 
= 0; 
10575   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10576   int arg2 
= (int) 0 ; 
10582   PyObject 
* obj0 
= 0 ; 
10583   PyObject 
* obj1 
= 0 ; 
10584   char *  kwnames
[] = { 
10585     (char *) "self",(char *) "flags", NULL 
 
10588   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10589   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10590   if (!SWIG_IsOK(res1
)) { 
10591     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10593   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10595     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10596     if (!SWIG_IsOK(ecode2
)) { 
10597       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'"); 
10599     arg2 
= static_cast< int >(val2
); 
10602     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10603     result 
= (bool)(arg1
)->MoveToLineStart(arg2
); 
10604     wxPyEndAllowThreads(__tstate
); 
10605     if (PyErr_Occurred()) SWIG_fail
; 
10608     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10616 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10617   PyObject 
*resultobj 
= 0; 
10618   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10619   int arg2 
= (int) 0 ; 
10625   PyObject 
* obj0 
= 0 ; 
10626   PyObject 
* obj1 
= 0 ; 
10627   char *  kwnames
[] = { 
10628     (char *) "self",(char *) "flags", NULL 
 
10631   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10632   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10633   if (!SWIG_IsOK(res1
)) { 
10634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10636   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10638     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10639     if (!SWIG_IsOK(ecode2
)) { 
10640       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'"); 
10642     arg2 
= static_cast< int >(val2
); 
10645     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10646     result 
= (bool)(arg1
)->MoveToParagraphEnd(arg2
); 
10647     wxPyEndAllowThreads(__tstate
); 
10648     if (PyErr_Occurred()) SWIG_fail
; 
10651     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10659 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10660   PyObject 
*resultobj 
= 0; 
10661   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10662   int arg2 
= (int) 0 ; 
10668   PyObject 
* obj0 
= 0 ; 
10669   PyObject 
* obj1 
= 0 ; 
10670   char *  kwnames
[] = { 
10671     (char *) "self",(char *) "flags", NULL 
 
10674   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10675   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10676   if (!SWIG_IsOK(res1
)) { 
10677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10679   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10681     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10682     if (!SWIG_IsOK(ecode2
)) { 
10683       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'"); 
10685     arg2 
= static_cast< int >(val2
); 
10688     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10689     result 
= (bool)(arg1
)->MoveToParagraphStart(arg2
); 
10690     wxPyEndAllowThreads(__tstate
); 
10691     if (PyErr_Occurred()) SWIG_fail
; 
10694     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10702 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveHome(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10703   PyObject 
*resultobj 
= 0; 
10704   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10705   int arg2 
= (int) 0 ; 
10711   PyObject 
* obj0 
= 0 ; 
10712   PyObject 
* obj1 
= 0 ; 
10713   char *  kwnames
[] = { 
10714     (char *) "self",(char *) "flags", NULL 
 
10717   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10718   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10719   if (!SWIG_IsOK(res1
)) { 
10720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10722   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10724     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10725     if (!SWIG_IsOK(ecode2
)) { 
10726       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'"); 
10728     arg2 
= static_cast< int >(val2
); 
10731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10732     result 
= (bool)(arg1
)->MoveHome(arg2
); 
10733     wxPyEndAllowThreads(__tstate
); 
10734     if (PyErr_Occurred()) SWIG_fail
; 
10737     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10745 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_MoveEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10746   PyObject 
*resultobj 
= 0; 
10747   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10748   int arg2 
= (int) 0 ; 
10754   PyObject 
* obj0 
= 0 ; 
10755   PyObject 
* obj1 
= 0 ; 
10756   char *  kwnames
[] = { 
10757     (char *) "self",(char *) "flags", NULL 
 
10760   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10761   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10762   if (!SWIG_IsOK(res1
)) { 
10763     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10765   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10767     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10768     if (!SWIG_IsOK(ecode2
)) { 
10769       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'"); 
10771     arg2 
= static_cast< int >(val2
); 
10774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10775     result 
= (bool)(arg1
)->MoveEnd(arg2
); 
10776     wxPyEndAllowThreads(__tstate
); 
10777     if (PyErr_Occurred()) SWIG_fail
; 
10780     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10788 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageUp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10789   PyObject 
*resultobj 
= 0; 
10790   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10791   int arg2 
= (int) 1 ; 
10792   int arg3 
= (int) 0 ; 
10800   PyObject 
* obj0 
= 0 ; 
10801   PyObject 
* obj1 
= 0 ; 
10802   PyObject 
* obj2 
= 0 ; 
10803   char *  kwnames
[] = { 
10804     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10807   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10808   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10809   if (!SWIG_IsOK(res1
)) { 
10810     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10812   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10814     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10815     if (!SWIG_IsOK(ecode2
)) { 
10816       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'"); 
10818     arg2 
= static_cast< int >(val2
); 
10821     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10822     if (!SWIG_IsOK(ecode3
)) { 
10823       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'"); 
10825     arg3 
= static_cast< int >(val3
); 
10828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10829     result 
= (bool)(arg1
)->PageUp(arg2
,arg3
); 
10830     wxPyEndAllowThreads(__tstate
); 
10831     if (PyErr_Occurred()) SWIG_fail
; 
10834     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10842 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_PageDown(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10843   PyObject 
*resultobj 
= 0; 
10844   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10845   int arg2 
= (int) 1 ; 
10846   int arg3 
= (int) 0 ; 
10854   PyObject 
* obj0 
= 0 ; 
10855   PyObject 
* obj1 
= 0 ; 
10856   PyObject 
* obj2 
= 0 ; 
10857   char *  kwnames
[] = { 
10858     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10861   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10862   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10863   if (!SWIG_IsOK(res1
)) { 
10864     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10866   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10868     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10869     if (!SWIG_IsOK(ecode2
)) { 
10870       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'"); 
10872     arg2 
= static_cast< int >(val2
); 
10875     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10876     if (!SWIG_IsOK(ecode3
)) { 
10877       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'"); 
10879     arg3 
= static_cast< int >(val3
); 
10882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10883     result 
= (bool)(arg1
)->PageDown(arg2
,arg3
); 
10884     wxPyEndAllowThreads(__tstate
); 
10885     if (PyErr_Occurred()) SWIG_fail
; 
10888     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10896 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10897   PyObject 
*resultobj 
= 0; 
10898   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10899   int arg2 
= (int) 1 ; 
10900   int arg3 
= (int) 0 ; 
10908   PyObject 
* obj0 
= 0 ; 
10909   PyObject 
* obj1 
= 0 ; 
10910   PyObject 
* obj2 
= 0 ; 
10911   char *  kwnames
[] = { 
10912     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10915   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10916   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10917   if (!SWIG_IsOK(res1
)) { 
10918     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10920   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10922     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10923     if (!SWIG_IsOK(ecode2
)) { 
10924       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'"); 
10926     arg2 
= static_cast< int >(val2
); 
10929     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10930     if (!SWIG_IsOK(ecode3
)) { 
10931       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'"); 
10933     arg3 
= static_cast< int >(val3
); 
10936     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10937     result 
= (bool)(arg1
)->WordLeft(arg2
,arg3
); 
10938     wxPyEndAllowThreads(__tstate
); 
10939     if (PyErr_Occurred()) SWIG_fail
; 
10942     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10950 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_WordRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10951   PyObject 
*resultobj 
= 0; 
10952   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
10953   int arg2 
= (int) 1 ; 
10954   int arg3 
= (int) 0 ; 
10962   PyObject 
* obj0 
= 0 ; 
10963   PyObject 
* obj1 
= 0 ; 
10964   PyObject 
* obj2 
= 0 ; 
10965   char *  kwnames
[] = { 
10966     (char *) "self",(char *) "noPages",(char *) "flags", NULL 
 
10969   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10970   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
10971   if (!SWIG_IsOK(res1
)) { 
10972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
10974   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
10976     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10977     if (!SWIG_IsOK(ecode2
)) { 
10978       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'"); 
10980     arg2 
= static_cast< int >(val2
); 
10983     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10984     if (!SWIG_IsOK(ecode3
)) { 
10985       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'"); 
10987     arg3 
= static_cast< int >(val3
); 
10990     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10991     result 
= (bool)(arg1
)->WordRight(arg2
,arg3
); 
10992     wxPyEndAllowThreads(__tstate
); 
10993     if (PyErr_Occurred()) SWIG_fail
; 
10996     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11004 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetBuffer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11005   PyObject 
*resultobj 
= 0; 
11006   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11007   wxRichTextBuffer 
*result 
= 0 ; 
11010   PyObject 
*swig_obj
[1] ; 
11012   if (!args
) SWIG_fail
; 
11013   swig_obj
[0] = args
; 
11014   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11015   if (!SWIG_IsOK(res1
)) { 
11016     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11018   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11020     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11022       wxRichTextBuffer 
const &_result_ref 
= ((wxRichTextCtrl 
const *)arg1
)->GetBuffer(); 
11023       result 
= (wxRichTextBuffer 
*) &_result_ref
; 
11025     wxPyEndAllowThreads(__tstate
); 
11026     if (PyErr_Occurred()) SWIG_fail
; 
11028   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 |  0 ); 
11035 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11036   PyObject 
*resultobj 
= 0; 
11037   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11038   wxString 
*arg2 
= 0 ; 
11042   bool temp2 
= false ; 
11043   PyObject 
* obj0 
= 0 ; 
11044   PyObject 
* obj1 
= 0 ; 
11045   char *  kwnames
[] = { 
11046     (char *) "self",(char *) "cmdName", NULL 
 
11049   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11050   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11051   if (!SWIG_IsOK(res1
)) { 
11052     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11054   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11056     arg2 
= wxString_in_helper(obj1
); 
11057     if (arg2 
== NULL
) SWIG_fail
; 
11061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11062     result 
= (bool)(arg1
)->BeginBatchUndo((wxString 
const &)*arg2
); 
11063     wxPyEndAllowThreads(__tstate
); 
11064     if (PyErr_Occurred()) SWIG_fail
; 
11067     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11083 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndBatchUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11084   PyObject 
*resultobj 
= 0; 
11085   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11089   PyObject 
*swig_obj
[1] ; 
11091   if (!args
) SWIG_fail
; 
11092   swig_obj
[0] = args
; 
11093   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11094   if (!SWIG_IsOK(res1
)) { 
11095     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11097   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11099     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11100     result 
= (bool)(arg1
)->EndBatchUndo(); 
11101     wxPyEndAllowThreads(__tstate
); 
11102     if (PyErr_Occurred()) SWIG_fail
; 
11105     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11113 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BatchingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11114   PyObject 
*resultobj 
= 0; 
11115   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11119   PyObject 
*swig_obj
[1] ; 
11121   if (!args
) SWIG_fail
; 
11122   swig_obj
[0] = args
; 
11123   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11124   if (!SWIG_IsOK(res1
)) { 
11125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11127   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11130     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->BatchingUndo(); 
11131     wxPyEndAllowThreads(__tstate
); 
11132     if (PyErr_Occurred()) SWIG_fail
; 
11135     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11143 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11144   PyObject 
*resultobj 
= 0; 
11145   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11149   PyObject 
*swig_obj
[1] ; 
11151   if (!args
) SWIG_fail
; 
11152   swig_obj
[0] = args
; 
11153   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11154   if (!SWIG_IsOK(res1
)) { 
11155     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11157   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11159     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11160     result 
= (bool)(arg1
)->BeginSuppressUndo(); 
11161     wxPyEndAllowThreads(__tstate
); 
11162     if (PyErr_Occurred()) SWIG_fail
; 
11165     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11173 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11174   PyObject 
*resultobj 
= 0; 
11175   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11179   PyObject 
*swig_obj
[1] ; 
11181   if (!args
) SWIG_fail
; 
11182   swig_obj
[0] = args
; 
11183   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11184   if (!SWIG_IsOK(res1
)) { 
11185     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11187   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11190     result 
= (bool)(arg1
)->EndSuppressUndo(); 
11191     wxPyEndAllowThreads(__tstate
); 
11192     if (PyErr_Occurred()) SWIG_fail
; 
11195     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11203 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SuppressingUndo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11204   PyObject 
*resultobj 
= 0; 
11205   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11209   PyObject 
*swig_obj
[1] ; 
11211   if (!args
) SWIG_fail
; 
11212   swig_obj
[0] = args
; 
11213   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11214   if (!SWIG_IsOK(res1
)) { 
11215     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11217   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11220     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->SuppressingUndo(); 
11221     wxPyEndAllowThreads(__tstate
); 
11222     if (PyErr_Occurred()) SWIG_fail
; 
11225     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11233 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11234   PyObject 
*resultobj 
= 0; 
11235   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11236   wxRichTextRange 
*arg2 
= 0 ; 
11237   wxRichTextAttr 
*arg3 
= 0 ; 
11241   wxRichTextRange temp2 
; 
11244   PyObject 
* obj0 
= 0 ; 
11245   PyObject 
* obj1 
= 0 ; 
11246   PyObject 
* obj2 
= 0 ; 
11247   char *  kwnames
[] = { 
11248     (char *) "self",(char *) "range",(char *) "style", NULL 
 
11251   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11252   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11253   if (!SWIG_IsOK(res1
)) { 
11254     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11256   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11259     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
11261   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
11262   if (!SWIG_IsOK(res3
)) { 
11263     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
11266     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
11268   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
11270     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11271     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasCharacterAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
11272     wxPyEndAllowThreads(__tstate
); 
11273     if (PyErr_Occurred()) SWIG_fail
; 
11276     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11284 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11285   PyObject 
*resultobj 
= 0; 
11286   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11287   wxRichTextRange 
*arg2 
= 0 ; 
11288   wxRichTextAttr 
*arg3 
= 0 ; 
11292   wxRichTextRange temp2 
; 
11295   PyObject 
* obj0 
= 0 ; 
11296   PyObject 
* obj1 
= 0 ; 
11297   PyObject 
* obj2 
= 0 ; 
11298   char *  kwnames
[] = { 
11299     (char *) "self",(char *) "range",(char *) "style", NULL 
 
11302   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11303   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11304   if (!SWIG_IsOK(res1
)) { 
11305     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11307   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11310     if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
; 
11312   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
,  0  | 0); 
11313   if (!SWIG_IsOK(res3
)) { 
11314     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
11317     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");  
11319   arg3 
= reinterpret_cast< wxRichTextAttr 
* >(argp3
); 
11321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11322     result 
= (bool)((wxRichTextCtrl 
const *)arg1
)->HasParagraphAttributes((wxRichTextRange 
const &)*arg2
,(wxRichTextAttr 
const &)*arg3
); 
11323     wxPyEndAllowThreads(__tstate
); 
11324     if (PyErr_Occurred()) SWIG_fail
; 
11327     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11335 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionBold(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11336   PyObject 
*resultobj 
= 0; 
11337   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11341   PyObject 
*swig_obj
[1] ; 
11343   if (!args
) SWIG_fail
; 
11344   swig_obj
[0] = args
; 
11345   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11346   if (!SWIG_IsOK(res1
)) { 
11347     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11349   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11352     result 
= (bool)(arg1
)->IsSelectionBold(); 
11353     wxPyEndAllowThreads(__tstate
); 
11354     if (PyErr_Occurred()) SWIG_fail
; 
11357     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11365 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11366   PyObject 
*resultobj 
= 0; 
11367   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11371   PyObject 
*swig_obj
[1] ; 
11373   if (!args
) SWIG_fail
; 
11374   swig_obj
[0] = args
; 
11375   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11376   if (!SWIG_IsOK(res1
)) { 
11377     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11379   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11381     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11382     result 
= (bool)(arg1
)->IsSelectionItalics(); 
11383     wxPyEndAllowThreads(__tstate
); 
11384     if (PyErr_Occurred()) SWIG_fail
; 
11387     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11395 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11396   PyObject 
*resultobj 
= 0; 
11397   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11401   PyObject 
*swig_obj
[1] ; 
11403   if (!args
) SWIG_fail
; 
11404   swig_obj
[0] = args
; 
11405   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11406   if (!SWIG_IsOK(res1
)) { 
11407     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11409   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11412     result 
= (bool)(arg1
)->IsSelectionUnderlined(); 
11413     wxPyEndAllowThreads(__tstate
); 
11414     if (PyErr_Occurred()) SWIG_fail
; 
11417     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11425 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11426   PyObject 
*resultobj 
= 0; 
11427   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11428   wxTextAttrAlignment arg2 
; 
11434   PyObject 
* obj0 
= 0 ; 
11435   PyObject 
* obj1 
= 0 ; 
11436   char *  kwnames
[] = { 
11437     (char *) "self",(char *) "alignment", NULL 
 
11440   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11441   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11442   if (!SWIG_IsOK(res1
)) { 
11443     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11445   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11446   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11447   if (!SWIG_IsOK(ecode2
)) { 
11448     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11450   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11452     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11453     result 
= (bool)(arg1
)->IsSelectionAligned(arg2
); 
11454     wxPyEndAllowThreads(__tstate
); 
11455     if (PyErr_Occurred()) SWIG_fail
; 
11458     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11466 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11467   PyObject 
*resultobj 
= 0; 
11468   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11472   PyObject 
*swig_obj
[1] ; 
11474   if (!args
) SWIG_fail
; 
11475   swig_obj
[0] = args
; 
11476   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11477   if (!SWIG_IsOK(res1
)) { 
11478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11480   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11483     result 
= (bool)(arg1
)->ApplyBoldToSelection(); 
11484     wxPyEndAllowThreads(__tstate
); 
11485     if (PyErr_Occurred()) SWIG_fail
; 
11488     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11496 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11497   PyObject 
*resultobj 
= 0; 
11498   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11502   PyObject 
*swig_obj
[1] ; 
11504   if (!args
) SWIG_fail
; 
11505   swig_obj
[0] = args
; 
11506   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11507   if (!SWIG_IsOK(res1
)) { 
11508     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11510   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11513     result 
= (bool)(arg1
)->ApplyItalicToSelection(); 
11514     wxPyEndAllowThreads(__tstate
); 
11515     if (PyErr_Occurred()) SWIG_fail
; 
11518     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11526 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11527   PyObject 
*resultobj 
= 0; 
11528   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11532   PyObject 
*swig_obj
[1] ; 
11534   if (!args
) SWIG_fail
; 
11535   swig_obj
[0] = args
; 
11536   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11537   if (!SWIG_IsOK(res1
)) { 
11538     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11540   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11542     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11543     result 
= (bool)(arg1
)->ApplyUnderlineToSelection(); 
11544     wxPyEndAllowThreads(__tstate
); 
11545     if (PyErr_Occurred()) SWIG_fail
; 
11548     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11556 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11557   PyObject 
*resultobj 
= 0; 
11558   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11559   wxTextAttrAlignment arg2 
; 
11565   PyObject 
* obj0 
= 0 ; 
11566   PyObject 
* obj1 
= 0 ; 
11567   char *  kwnames
[] = { 
11568     (char *) "self",(char *) "alignment", NULL 
 
11571   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11572   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11573   if (!SWIG_IsOK(res1
)) { 
11574     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11576   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11577   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11578   if (!SWIG_IsOK(ecode2
)) { 
11579     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'"); 
11581   arg2 
= static_cast< wxTextAttrAlignment 
>(val2
); 
11583     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11584     result 
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
); 
11585     wxPyEndAllowThreads(__tstate
); 
11586     if (PyErr_Occurred()) SWIG_fail
; 
11589     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11597 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_SetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11598   PyObject 
*resultobj 
= 0; 
11599   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11600   wxRichTextStyleSheet 
*arg2 
= (wxRichTextStyleSheet 
*) 0 ; 
11605   PyObject 
* obj0 
= 0 ; 
11606   PyObject 
* obj1 
= 0 ; 
11607   char *  kwnames
[] = { 
11608     (char *) "self",(char *) "styleSheet", NULL 
 
11611   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11612   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11613   if (!SWIG_IsOK(res1
)) { 
11614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11616   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11617   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11618   if (!SWIG_IsOK(res2
)) { 
11619     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");  
11621   arg2 
= reinterpret_cast< wxRichTextStyleSheet 
* >(argp2
); 
11623     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11624     (arg1
)->SetStyleSheet(arg2
); 
11625     wxPyEndAllowThreads(__tstate
); 
11626     if (PyErr_Occurred()) SWIG_fail
; 
11628   resultobj 
= SWIG_Py_Void(); 
11635 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_GetStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11636   PyObject 
*resultobj 
= 0; 
11637   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11638   wxRichTextStyleSheet 
*result 
= 0 ; 
11641   PyObject 
*swig_obj
[1] ; 
11643   if (!args
) SWIG_fail
; 
11644   swig_obj
[0] = args
; 
11645   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11646   if (!SWIG_IsOK(res1
)) { 
11647     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");  
11649   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11651     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11652     result 
= (wxRichTextStyleSheet 
*)((wxRichTextCtrl 
const *)arg1
)->GetStyleSheet(); 
11653     wxPyEndAllowThreads(__tstate
); 
11654     if (PyErr_Occurred()) SWIG_fail
; 
11656   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11663 SWIGINTERN PyObject 
*_wrap_RichTextCtrl_ApplyStyleSheet(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11664   PyObject 
*resultobj 
= 0; 
11665   wxRichTextCtrl 
*arg1 
= (wxRichTextCtrl 
*) 0 ; 
11666   wxRichTextStyleSheet 
*arg2 
= (wxRichTextStyleSheet 
*) NULL 
; 
11672   PyObject 
* obj0 
= 0 ; 
11673   PyObject 
* obj1 
= 0 ; 
11674   char *  kwnames
[] = { 
11675     (char *) "self",(char *) "styleSheet", NULL 
 
11678   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_ApplyStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11679   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 |  0 ); 
11680   if (!SWIG_IsOK(res1
)) { 
11681     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");  
11683   arg1 
= reinterpret_cast< wxRichTextCtrl 
* >(argp1
); 
11685     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 |  0 ); 
11686     if (!SWIG_IsOK(res2
)) { 
11687       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");  
11689     arg2 
= reinterpret_cast< wxRichTextStyleSheet 
* >(argp2
); 
11692     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11693     result 
= (bool)(arg1
)->ApplyStyleSheet(arg2
); 
11694     wxPyEndAllowThreads(__tstate
); 
11695     if (PyErr_Occurred()) SWIG_fail
; 
11698     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11706 SWIGINTERN PyObject 
*RichTextCtrl_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11708   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11709   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
)); 
11710   return SWIG_Py_Void(); 
11713 SWIGINTERN PyObject 
*RichTextCtrl_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11714   return SWIG_Python_InitShadowInstance(args
); 
11717 SWIGINTERN PyObject 
*_wrap_new_RichTextEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11718   PyObject 
*resultobj 
= 0; 
11719   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11720   int arg2 
= (int) 0 ; 
11721   wxRichTextEvent 
*result 
= 0 ; 
11726   PyObject 
* obj0 
= 0 ; 
11727   PyObject 
* obj1 
= 0 ; 
11728   char *  kwnames
[] = { 
11729     (char *) "commandType",(char *) "winid", NULL 
 
11732   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11734     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11735     if (!SWIG_IsOK(ecode1
)) { 
11736       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
11738     arg1 
= static_cast< wxEventType 
>(val1
); 
11741     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11742     if (!SWIG_IsOK(ecode2
)) { 
11743       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'"); 
11745     arg2 
= static_cast< int >(val2
); 
11748     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11749     result 
= (wxRichTextEvent 
*)new wxRichTextEvent(arg1
,arg2
); 
11750     wxPyEndAllowThreads(__tstate
); 
11751     if (PyErr_Occurred()) SWIG_fail
; 
11753   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW 
|  0 ); 
11760 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11761   PyObject 
*resultobj 
= 0; 
11762   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11766   PyObject 
*swig_obj
[1] ; 
11768   if (!args
) SWIG_fail
; 
11769   swig_obj
[0] = args
; 
11770   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11771   if (!SWIG_IsOK(res1
)) { 
11772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11774   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11776     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11777     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetPosition(); 
11778     wxPyEndAllowThreads(__tstate
); 
11779     if (PyErr_Occurred()) SWIG_fail
; 
11781   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11788 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11789   PyObject 
*resultobj 
= 0; 
11790   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11796   PyObject 
* obj0 
= 0 ; 
11797   PyObject 
* obj1 
= 0 ; 
11798   char *  kwnames
[] = { 
11799     (char *) "self",(char *) "n", NULL 
 
11802   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11803   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11804   if (!SWIG_IsOK(res1
)) { 
11805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11807   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11808   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11809   if (!SWIG_IsOK(ecode2
)) { 
11810     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'"); 
11812   arg2 
= static_cast< int >(val2
); 
11814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11815     (arg1
)->SetPosition(arg2
); 
11816     wxPyEndAllowThreads(__tstate
); 
11817     if (PyErr_Occurred()) SWIG_fail
; 
11819   resultobj 
= SWIG_Py_Void(); 
11826 SWIGINTERN PyObject 
*_wrap_RichTextEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11827   PyObject 
*resultobj 
= 0; 
11828   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11832   PyObject 
*swig_obj
[1] ; 
11834   if (!args
) SWIG_fail
; 
11835   swig_obj
[0] = args
; 
11836   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11837   if (!SWIG_IsOK(res1
)) { 
11838     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");  
11840   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11842     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11843     result 
= (int)((wxRichTextEvent 
const *)arg1
)->GetFlags(); 
11844     wxPyEndAllowThreads(__tstate
); 
11845     if (PyErr_Occurred()) SWIG_fail
; 
11847   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11854 SWIGINTERN PyObject 
*_wrap_RichTextEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11855   PyObject 
*resultobj 
= 0; 
11856   wxRichTextEvent 
*arg1 
= (wxRichTextEvent 
*) 0 ; 
11862   PyObject 
* obj0 
= 0 ; 
11863   PyObject 
* obj1 
= 0 ; 
11864   char *  kwnames
[] = { 
11865     (char *) "self",(char *) "flags", NULL 
 
11868   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11869   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 |  0 ); 
11870   if (!SWIG_IsOK(res1
)) { 
11871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");  
11873   arg1 
= reinterpret_cast< wxRichTextEvent 
* >(argp1
); 
11874   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11875   if (!SWIG_IsOK(ecode2
)) { 
11876     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
11878   arg2 
= static_cast< int >(val2
); 
11880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11881     (arg1
)->SetFlags(arg2
); 
11882     wxPyEndAllowThreads(__tstate
); 
11883     if (PyErr_Occurred()) SWIG_fail
; 
11885   resultobj 
= SWIG_Py_Void(); 
11892 SWIGINTERN PyObject 
*RichTextEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11894   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11895   SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
)); 
11896   return SWIG_Py_Void(); 
11899 SWIGINTERN PyObject 
*RichTextEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11900   return SWIG_Python_InitShadowInstance(args
); 
11903 static PyMethodDef SwigMethods
[] = { 
11904          { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11905          { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
}, 
11906          { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11907          { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11908          { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11909          { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11910          { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11911          { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
}, 
11912          { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11913          { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
}, 
11914          { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11915          { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11916          { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11917          { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11918          { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
}, 
11919          { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
}, 
11920          { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
}, 
11921          { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
}, 
11922          { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
}, 
11923          { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11924          { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
}, 
11925          { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
}, 
11926          { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11927          { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11928          { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11929          { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11930          { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11931          { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11932          { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11933          { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11934          { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11935          { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11936          { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11937          { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11938          { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11939          { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11940          { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11941          { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11942          { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11943          { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11944          { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11945          { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11946          { (char *)"RichTextAttr_SetBulletText", (PyCFunction
) _wrap_RichTextAttr_SetBulletText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11947          { (char *)"RichTextAttr_SetBulletFont", (PyCFunction
) _wrap_RichTextAttr_SetBulletFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11948          { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
}, 
11949          { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
}, 
11950          { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
}, 
11951          { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
}, 
11952          { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
}, 
11953          { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
}, 
11954          { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
}, 
11955          { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
}, 
11956          { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
}, 
11957          { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
}, 
11958          { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
}, 
11959          { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
}, 
11960          { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
}, 
11961          { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
}, 
11962          { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
}, 
11963          { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
}, 
11964          { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
}, 
11965          { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
}, 
11966          { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
}, 
11967          { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
}, 
11968          { (char *)"RichTextAttr_GetBulletText", (PyCFunction
)_wrap_RichTextAttr_GetBulletText
, METH_O
, NULL
}, 
11969          { (char *)"RichTextAttr_GetBulletFont", (PyCFunction
)_wrap_RichTextAttr_GetBulletFont
, METH_O
, NULL
}, 
11970          { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
}, 
11971          { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
}, 
11972          { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
}, 
11973          { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
}, 
11974          { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
}, 
11975          { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
}, 
11976          { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
}, 
11977          { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
}, 
11978          { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
}, 
11979          { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
}, 
11980          { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
}, 
11981          { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
}, 
11982          { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
}, 
11983          { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
}, 
11984          { (char *)"RichTextAttr_HasBulletText", (PyCFunction
)_wrap_RichTextAttr_HasBulletText
, METH_O
, NULL
}, 
11985          { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11986          { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
}, 
11987          { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
}, 
11988          { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
}, 
11989          { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
}, 
11990          { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
}, 
11991          { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11992          { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
}, 
11993          { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11994          { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
}, 
11995          { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11996          { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11997          { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11998          { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
11999          { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
}, 
12000          { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
}, 
12001          { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
}, 
12002          { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
}, 
12003          { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
}, 
12004          { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
}, 
12005          { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
}, 
12006          { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
}, 
12007          { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12008          { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12009          { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
}, 
12010          { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
}, 
12011          { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12012          { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12013          { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12014          { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12015          { (char *)"RichTextCtrl_SetHandlerFlags", (PyCFunction
) _wrap_RichTextCtrl_SetHandlerFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12016          { (char *)"RichTextCtrl_GetHandlerFlags", (PyCFunction
)_wrap_RichTextCtrl_GetHandlerFlags
, METH_O
, NULL
}, 
12017          { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
}, 
12018          { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
}, 
12019          { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12020          { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12021          { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12022          { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12023          { (char *)"RichTextCtrl_SetStyleEx", (PyCFunction
) _wrap_RichTextCtrl_SetStyleEx
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12024          { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12025          { (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction
) _wrap_RichTextCtrl_GetUncombinedStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12026          { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12027          { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
}, 
12028          { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12029          { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12030          { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12031          { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12032          { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12033          { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
}, 
12034          { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
}, 
12035          { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
}, 
12036          { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
}, 
12037          { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
}, 
12038          { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
}, 
12039          { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
}, 
12040          { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
}, 
12041          { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
}, 
12042          { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
}, 
12043          { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
}, 
12044          { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
}, 
12045          { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12046          { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
}, 
12047          { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
}, 
12048          { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
}, 
12049          { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12050          { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
}, 
12051          { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12052          { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
}, 
12053          { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12054          { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12055          { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12056          { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12057          { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
}, 
12058          { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12059          { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
}, 
12060          { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
}, 
12061          { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
}, 
12062          { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
}, 
12063          { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
}, 
12064          { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
}, 
12065          { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
}, 
12066          { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
}, 
12067          { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12068          { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
}, 
12069          { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12070          { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
}, 
12071          { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12072          { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
}, 
12073          { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12074          { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
}, 
12075          { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12076          { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
}, 
12077          { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12078          { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
}, 
12079          { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12080          { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
}, 
12081          { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12082          { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
}, 
12083          { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12084          { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
}, 
12085          { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12086          { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
}, 
12087          { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12088          { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
}, 
12089          { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12090          { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
}, 
12091          { (char *)"RichTextCtrl_BeginListStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginListStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12092          { (char *)"RichTextCtrl_EndListStyle", (PyCFunction
)_wrap_RichTextCtrl_EndListStyle
, METH_O
, NULL
}, 
12093          { (char *)"RichTextCtrl_BeginURL", (PyCFunction
) _wrap_RichTextCtrl_BeginURL
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12094          { (char *)"RichTextCtrl_EndURL", (PyCFunction
)_wrap_RichTextCtrl_EndURL
, METH_O
, NULL
}, 
12095          { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
}, 
12096          { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
}, 
12097          { (char *)"RichTextCtrl_SelectWord", (PyCFunction
) _wrap_RichTextCtrl_SelectWord
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12098          { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
}, 
12099          { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12100          { (char *)"RichTextCtrl_GetInternalSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetInternalSelectionRange
, METH_O
, NULL
}, 
12101          { (char *)"RichTextCtrl_SetInternalSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetInternalSelectionRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12102          { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12103          { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12104          { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12105          { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12106          { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12107          { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12108          { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12109          { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12110          { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12111          { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12112          { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12113          { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12114          { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12115          { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12116          { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12117          { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12118          { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12119          { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12120          { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
}, 
12121          { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12122          { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
}, 
12123          { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
}, 
12124          { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
}, 
12125          { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
}, 
12126          { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
}, 
12127          { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12128          { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12129          { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
}, 
12130          { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
}, 
12131          { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
}, 
12132          { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12133          { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
}, 
12134          { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
}, 
12135          { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
}, 
12136          { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12137          { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12138          { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
}, 
12139          { (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_ApplyStyleSheet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12140          { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
}, 
12141          { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
}, 
12142          { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12143          { (char *)"RichTextEvent_GetPosition", (PyCFunction
)_wrap_RichTextEvent_GetPosition
, METH_O
, NULL
}, 
12144          { (char *)"RichTextEvent_SetPosition", (PyCFunction
) _wrap_RichTextEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12145          { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
}, 
12146          { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
12147          { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
}, 
12148          { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
}, 
12149          { NULL
, NULL
, 0, NULL 
} 
12153 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
12155 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
12156     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
12158 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
12159     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
12161 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
12162     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12164 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
12165     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12167 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
12168     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12170 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) { 
12171     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
12173 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
12174     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
12176 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) { 
12177     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12179 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
12180     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12182 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
12183     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
12185 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
12186     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12188 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) { 
12189     return (void *)((wxNotifyEvent 
*)  ((wxRichTextEvent 
*) x
)); 
12191 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
12192     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
12194 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
12195     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
12197 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) { 
12198     return (void *)((wxScrolledWindow 
*)  ((wxRichTextCtrl 
*) x
)); 
12200 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
12201     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
12203 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
12204     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12206 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
12207     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12209 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
12210     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
12212 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
12213     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
12215 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
12216     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12218 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
12219     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12221 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
12222     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12224 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) { 
12225     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12227 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
12228     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12230 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
12231     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12233 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
12234     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12236 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
12237     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12239 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
12240     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12242 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
12243     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
12245 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
12246     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
12248 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
12249     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12251 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
12252     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12254 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
12255     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12257 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
12258     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
12260 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
12261     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12263 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
12264     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12266 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
12267     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
12269 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
12270     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
12272 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
12273     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
12275 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
12276     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
12278 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
12279     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
12281 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
12282     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12284 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
12285     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
12287 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
12288     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12290 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
12291     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12293 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
12294     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12296 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
12297     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
12299 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
12300     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
12302 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
12303     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12305 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) { 
12306     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
12308 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
12309     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12311 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
12312     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12314 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
12315     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12317 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
12318     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12320 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
12321     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12323 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
12324     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12326 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
12327     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12329 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
12330     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12332 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
12333     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12335 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
12336     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12338 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) { 
12339     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12341 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
12342     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
12344 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
12345     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
12347 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
12348     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
12350 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
12351     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
12353 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
12354     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
12356 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
12357     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
12359 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
12360     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12362 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
12363     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
12365 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
12366     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
12368 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
12369     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
12371 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
12372     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
12374 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) { 
12375     return (void *)((wxEvent 
*)  ((wxMouseCaptureLostEvent 
*) x
)); 
12377 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
12378     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
12380 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
12381     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
12383 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
12384     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
12386 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
12387     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12389 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
12390     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
12392 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
12393     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
12395 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
12396     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
12398 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
12399     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
12401 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
12402     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
12404 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
12405     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
12407 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
12408     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12410 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
12411     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
12413 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
12414     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
12416 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
12417     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12419 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) { 
12420     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12422 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
12423     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12425 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
12426     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
12428 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
12429     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
12431 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
12432     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
12434 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
12435     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
12437 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
12438     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
12440 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
12441     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
12443 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
12444     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12446 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
12447     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12449 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
12450     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
12452 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
12453     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
12455 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
12456     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
12458 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
12459     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12461 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
12462     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12464 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
12465     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
12467 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
12468     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
12470 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
12471     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
12473 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
12474     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
12476 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
12477     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
12479 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
12480     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
12482 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) { 
12483     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxEventBlocker 
*) x
)); 
12485 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
12486     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
12488 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
12489     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
12491 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
12492     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
12494 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
12495     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
12497 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
12498     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
12500 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
12501     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
12503 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
12504     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
12506 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
12507     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
12509 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
12510     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
12512 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
12513     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
12515 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
12516     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
12518 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
12519     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12521 static void *_p_wxEventTo_p_wxObject(void *x
) { 
12522     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
12524 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
12525     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
12527 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
12528     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
12530 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
12531     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
12533 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
12534     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
12536 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
12537     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
12539 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
12540     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
12542 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
12543     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
12545 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
12546     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
12548 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
12549     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
12551 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
12552     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
12554 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
12555     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
12557 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) { 
12558     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
12560 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
12561     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
12563 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
12564     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
12566 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
12567     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
12569 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
12570     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
12572 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
12573     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
12575 static void *_p_wxControlTo_p_wxObject(void *x
) { 
12576     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
12578 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
12579     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
12581 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
12582     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
12584 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
12585     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
12587 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
12588     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
12590 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
12591     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
12593 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
12594     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
12596 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) { 
12597     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
12599 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
12600     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
12602 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
12603     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
12605 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
12606     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
12608 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
12609     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
12611 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
12612     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12614 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
12615     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12617 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
12618     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12620 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
12621     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12623 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
12624     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12626 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
12627     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12629 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) { 
12630     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12632 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
12633     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12635 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
12636     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12638 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
12639     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12641 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
12642     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
12644 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
12645     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
12647 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
12648     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
12650 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
12651     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
12653 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
12654     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
12656 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
12657     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
12659 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
12660     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
12662 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
12663     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
12665 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
12666     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
12668 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
12669     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
12671 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
12672     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
12674 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
12675     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
12677 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
12678     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
12680 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
12681     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
12683 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
12684     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
12686 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
12687     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
12689 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
12690     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
12692 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
12693     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
12695 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
12696     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
12698 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
12699     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
12701 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
12702     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
12704 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
12705     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
12707 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
12708     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
12710 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
12711     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
12713 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
12714     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
12716 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) { 
12717     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTGAHandler 
*) x
)); 
12719 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
12720     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
12722 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) { 
12723     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureLostEvent 
*) x
)); 
12725 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
12726     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
12728 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
12729     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
12731 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
12732     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
12734 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) { 
12735     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
12737 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
12738     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
12740 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
12741     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
12743 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
12744     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12746 static void *_p_wxImageTo_p_wxObject(void *x
) { 
12747     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
12749 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
12750     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
12752 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
12753     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
12755 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
12756     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
12758 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
12759     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
12761 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
12762     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
12764 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
12765     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
12767 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
12768     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
12770 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
12771     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
12773 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
12774     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
12776 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
12777     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
12779 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
12780     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
12782 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
12783     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
12785 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
12786     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12788 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
12789     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12791 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
12792     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12794 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
12795     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12797 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
12798     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
12800 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
12801     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12803 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
12804     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12806 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
12807     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12809 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
12810     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12812 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
12813     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12815 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
12816     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
12818 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
12819     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
12821 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
12822     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
12824 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
12825     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
12827 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
12828     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
12830 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
12831     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
12833 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
12834     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
12836 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
12837     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
12839 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
12840     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
12842 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
12843     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
12845 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
12846     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
12848 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
12849     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
12851 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
12852     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
12854 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
12855     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
12857 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
12858     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
12860 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
12861     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
12863 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
12864     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
12866 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
12867     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
12869 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
12870     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
12872 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
12873     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
12875 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
12876     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
12878 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
12879     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
12881 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
12882     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
12884 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
12885     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
12887 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
12888     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
12890 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
12891     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
12893 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
12894     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
12896 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
12897     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
12899 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
12900     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
12902 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
12903     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
12905 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
12906     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
12908 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
12909     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
12911 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
12912     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
12914 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) { 
12915     return (void *)((wxEvtHandler 
*)  ((wxEventBlocker 
*) x
)); 
12917 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
12918     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
12920 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
12921     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
12923 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
12924     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
12926 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
12927     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
12929 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
12930     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
12932 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12933     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
12935 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
12936     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
12938 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
12939     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
12941 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
12942     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
12944 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
12945     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
12947 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) { 
12948     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
12950 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
12951     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
12953 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
12954     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
12956 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
12957     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
12959 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
12960     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
12962 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
12963     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
12965 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12966     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
12968 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
12969     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxTipWindow 
*) x
)); 
12971 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
12972     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
12974 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
12975     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
12977 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
12978     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
12980 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
12981     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
12983 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
12984     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
12986 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
12987     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
12989 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
12990     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
12992 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
12993     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
12995 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
12996     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
12998 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
12999     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
13001 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
13002     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
13004 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
13005     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
13007 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
13008     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
13010 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
13011     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
13013 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
13014     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
13016 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
13017     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
13019 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
13020     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
13022 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
13023     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
13025 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
13026     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
13028 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
13029     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*)(wxPyHtmlListBox 
*) ((wxSimpleHtmlListBox 
*) x
)); 
13031 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
13032     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
13034 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
13035     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
13037 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
13038     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
13040 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
13041     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
13043 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
13044     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
13046 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
13047     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
13049 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
13050     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
13052 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
13053     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
13055 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
13056     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
13058 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
13059     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
13061 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
13062     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
13064 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) { 
13065     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxRichTextCtrl 
*) x
)); 
13067 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
13068     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
13070 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
13071     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
13073 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
13074     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
13076 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) { 
13077     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxRichTextEvent 
*) x
)); 
13079 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
13080     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
13082 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
13083     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
13085 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
13086     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
13088 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
13089     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
13091 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
13092     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
13094 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
13095     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
13097 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
13098     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
13100 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
13101     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
13103 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
13104     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
13106 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
13107     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
13109 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
13110 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}; 
13111 static swig_type_info _swigt__p_int 
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; 
13112 static swig_type_info _swigt__p_long 
= {"_p_long", "long *", 0, 0, (void*)0, 0}; 
13113 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
13114 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
13115 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
13116 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
13117 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
13118 static swig_type_info _swigt__p_wxChar 
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0}; 
13119 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
13120 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
13121 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", 0, 0, 0, 0, 0}; 
13122 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
13123 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; 
13124 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
13125 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
13126 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
13127 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
13128 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
13129 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
13130 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
13131 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; 
13132 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
13133 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
13134 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
13135 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
13136 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
13137 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
13138 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
13139 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
13140 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
13141 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
13142 static swig_type_info _swigt__p_wxMouseCaptureLostEvent 
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; 
13143 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; 
13144 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
13145 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
13146 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
13147 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
13148 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
13149 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
13150 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
13151 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
13152 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
13153 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
13154 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
13155 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
13156 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
13157 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
13158 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
13159 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; 
13160 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
13161 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
13162 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
13163 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
13164 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; 
13165 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
13166 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; 
13167 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; 
13168 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", 0, 0, 0, 0, 0}; 
13169 static swig_type_info _swigt__p_wxEventBlocker 
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; 
13170 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
13171 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
13172 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
13173 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; 
13174 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; 
13175 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", 0, 0, 0, 0, 0}; 
13176 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; 
13177 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; 
13178 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; 
13179 static swig_type_info _swigt__p_wxNumberEntryDialog 
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; 
13180 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; 
13181 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; 
13182 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", 0, 0, 0, 0, 0}; 
13183 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; 
13184 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", 0, 0, 0, 0, 0}; 
13185 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; 
13186 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; 
13187 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; 
13188 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; 
13189 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; 
13190 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; 
13191 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; 
13192 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; 
13193 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", 0, 0, 0, 0, 0}; 
13194 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; 
13195 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; 
13196 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
13197 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; 
13198 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
13199 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
13200 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; 
13201 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", 0, 0, 0, 0, 0}; 
13202 static swig_type_info _swigt__p_wxSimpleHtmlListBox 
= {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; 
13203 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; 
13204 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; 
13205 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; 
13206 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; 
13207 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; 
13208 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", 0, 0, 0, 0, 0}; 
13209 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", 0, 0, 0, 0, 0}; 
13210 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", 0, 0, 0, 0, 0}; 
13211 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", 0, 0, 0, 0, 0}; 
13212 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", 0, 0, 0, 0, 0}; 
13213 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
13214 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; 
13215 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
13216 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; 
13217 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
13218 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
13219 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
13220 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
13221 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
13222 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
13223 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
13224 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
13225 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
13226 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
13227 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", 0, 0, 0, 0, 0}; 
13228 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", 0, 0, 0, 0, 0}; 
13229 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
13230 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
13231 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; 
13232 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
13233 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; 
13234 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
13235 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", 0, 0, 0, 0, 0}; 
13236 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", 0, 0, 0, 0, 0}; 
13237 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
13238 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
13239 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
13240 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
13241 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
13242 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
13243 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
13244 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
13245 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
13246 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
13247 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
13248 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
13249 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
13250 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
13251 static swig_type_info _swigt__p_wxTGAHandler 
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; 
13252 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
13253 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
13254 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; 
13255 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; 
13256 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; 
13257 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; 
13258 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; 
13259 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
13260 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; 
13261 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; 
13262 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
13263 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
13264 static swig_type_info _swigt__p_wxRichTextAttr 
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0}; 
13265 static swig_type_info _swigt__p_wxRichTextBuffer 
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0}; 
13266 static swig_type_info _swigt__p_wxRichTextCtrl 
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0}; 
13267 static swig_type_info _swigt__p_wxRichTextEvent 
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0}; 
13268 static swig_type_info _swigt__p_wxRichTextImageBlock 
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0}; 
13269 static swig_type_info _swigt__p_wxRichTextRange 
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0}; 
13270 static swig_type_info _swigt__p_wxRichTextStyleSheet 
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0}; 
13271 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
13272 static swig_type_info _swigt__p_wxTextCoord 
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0}; 
13273 static swig_type_info _swigt__p_wxTextCtrlHitTestResult 
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0}; 
13274 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
13276 static swig_type_info 
*swig_type_initial
[] = { 
13278   &_swigt__p_form_ops_t
, 
13281   &_swigt__p_unsigned_char
, 
13282   &_swigt__p_unsigned_int
, 
13283   &_swigt__p_unsigned_long
, 
13284   &_swigt__p_wxANIHandler
, 
13285   &_swigt__p_wxAcceleratorTable
, 
13286   &_swigt__p_wxActivateEvent
, 
13287   &_swigt__p_wxArrayInt
, 
13288   &_swigt__p_wxBMPHandler
, 
13289   &_swigt__p_wxBitmap
, 
13290   &_swigt__p_wxBoxSizer
, 
13291   &_swigt__p_wxCURHandler
, 
13292   &_swigt__p_wxCalculateLayoutEvent
, 
13294   &_swigt__p_wxChildFocusEvent
, 
13295   &_swigt__p_wxClipboardTextEvent
, 
13296   &_swigt__p_wxCloseEvent
, 
13297   &_swigt__p_wxColour
, 
13298   &_swigt__p_wxColourData
, 
13299   &_swigt__p_wxColourDialog
, 
13300   &_swigt__p_wxCommandEvent
, 
13301   &_swigt__p_wxContextMenuEvent
, 
13302   &_swigt__p_wxControl
, 
13303   &_swigt__p_wxControlWithItems
, 
13304   &_swigt__p_wxDateEvent
, 
13305   &_swigt__p_wxDialog
, 
13306   &_swigt__p_wxDirDialog
, 
13307   &_swigt__p_wxDisplayChangedEvent
, 
13308   &_swigt__p_wxDropFilesEvent
, 
13309   &_swigt__p_wxDuplexMode
, 
13310   &_swigt__p_wxEraseEvent
, 
13311   &_swigt__p_wxEvent
, 
13312   &_swigt__p_wxEventBlocker
, 
13313   &_swigt__p_wxEvtHandler
, 
13314   &_swigt__p_wxFSFile
, 
13315   &_swigt__p_wxFileDialog
, 
13316   &_swigt__p_wxFileSystem
, 
13317   &_swigt__p_wxFindDialogEvent
, 
13318   &_swigt__p_wxFindReplaceData
, 
13319   &_swigt__p_wxFindReplaceDialog
, 
13320   &_swigt__p_wxFlexGridSizer
, 
13321   &_swigt__p_wxFocusEvent
, 
13323   &_swigt__p_wxFontData
, 
13324   &_swigt__p_wxFontDialog
, 
13325   &_swigt__p_wxFrame
, 
13326   &_swigt__p_wxGBSizerItem
, 
13327   &_swigt__p_wxGIFHandler
, 
13328   &_swigt__p_wxGridBagSizer
, 
13329   &_swigt__p_wxGridSizer
, 
13330   &_swigt__p_wxICOHandler
, 
13331   &_swigt__p_wxIconizeEvent
, 
13332   &_swigt__p_wxIdleEvent
, 
13333   &_swigt__p_wxImage
, 
13334   &_swigt__p_wxImageHandler
, 
13335   &_swigt__p_wxIndividualLayoutConstraint
, 
13336   &_swigt__p_wxInitDialogEvent
, 
13337   &_swigt__p_wxJPEGHandler
, 
13338   &_swigt__p_wxKeyEvent
, 
13339   &_swigt__p_wxLayoutAlgorithm
, 
13340   &_swigt__p_wxLayoutConstraints
, 
13341   &_swigt__p_wxMDIChildFrame
, 
13342   &_swigt__p_wxMDIClientWindow
, 
13343   &_swigt__p_wxMDIParentFrame
, 
13344   &_swigt__p_wxMaximizeEvent
, 
13346   &_swigt__p_wxMenuBar
, 
13347   &_swigt__p_wxMenuEvent
, 
13348   &_swigt__p_wxMenuItem
, 
13349   &_swigt__p_wxMessageDialog
, 
13350   &_swigt__p_wxMiniFrame
, 
13351   &_swigt__p_wxMouseCaptureChangedEvent
, 
13352   &_swigt__p_wxMouseCaptureLostEvent
, 
13353   &_swigt__p_wxMouseEvent
, 
13354   &_swigt__p_wxMoveEvent
, 
13355   &_swigt__p_wxMultiChoiceDialog
, 
13356   &_swigt__p_wxNavigationKeyEvent
, 
13357   &_swigt__p_wxNcPaintEvent
, 
13358   &_swigt__p_wxNotifyEvent
, 
13359   &_swigt__p_wxNumberEntryDialog
, 
13360   &_swigt__p_wxObject
, 
13361   &_swigt__p_wxPCXHandler
, 
13362   &_swigt__p_wxPNGHandler
, 
13363   &_swigt__p_wxPNMHandler
, 
13364   &_swigt__p_wxPageSetupDialog
, 
13365   &_swigt__p_wxPageSetupDialogData
, 
13366   &_swigt__p_wxPaintEvent
, 
13367   &_swigt__p_wxPaletteChangedEvent
, 
13368   &_swigt__p_wxPanel
, 
13369   &_swigt__p_wxPaperSize
, 
13370   &_swigt__p_wxPasswordEntryDialog
, 
13371   &_swigt__p_wxPopupWindow
, 
13372   &_swigt__p_wxPreviewCanvas
, 
13373   &_swigt__p_wxPreviewControlBar
, 
13374   &_swigt__p_wxPreviewFrame
, 
13375   &_swigt__p_wxPrintData
, 
13376   &_swigt__p_wxPrintDialog
, 
13377   &_swigt__p_wxPrintDialogData
, 
13378   &_swigt__p_wxPrintPreview
, 
13379   &_swigt__p_wxPrinter
, 
13380   &_swigt__p_wxProgressDialog
, 
13381   &_swigt__p_wxPyApp
, 
13382   &_swigt__p_wxPyCommandEvent
, 
13383   &_swigt__p_wxPyEvent
, 
13384   &_swigt__p_wxPyHtmlListBox
, 
13385   &_swigt__p_wxPyImageHandler
, 
13386   &_swigt__p_wxPyPanel
, 
13387   &_swigt__p_wxPyPopupTransientWindow
, 
13388   &_swigt__p_wxPyPreviewControlBar
, 
13389   &_swigt__p_wxPyPreviewFrame
, 
13390   &_swigt__p_wxPyPrintPreview
, 
13391   &_swigt__p_wxPyPrintout
, 
13392   &_swigt__p_wxPyScrolledWindow
, 
13393   &_swigt__p_wxPySizer
, 
13394   &_swigt__p_wxPyTaskBarIcon
, 
13395   &_swigt__p_wxPyVListBox
, 
13396   &_swigt__p_wxPyVScrolledWindow
, 
13397   &_swigt__p_wxPyValidator
, 
13398   &_swigt__p_wxPyWindow
, 
13399   &_swigt__p_wxQueryLayoutInfoEvent
, 
13400   &_swigt__p_wxQueryNewPaletteEvent
, 
13401   &_swigt__p_wxRichTextAttr
, 
13402   &_swigt__p_wxRichTextBuffer
, 
13403   &_swigt__p_wxRichTextCtrl
, 
13404   &_swigt__p_wxRichTextEvent
, 
13405   &_swigt__p_wxRichTextImageBlock
, 
13406   &_swigt__p_wxRichTextRange
, 
13407   &_swigt__p_wxRichTextStyleSheet
, 
13408   &_swigt__p_wxSashEvent
, 
13409   &_swigt__p_wxSashLayoutWindow
, 
13410   &_swigt__p_wxSashWindow
, 
13411   &_swigt__p_wxScrollEvent
, 
13412   &_swigt__p_wxScrollWinEvent
, 
13413   &_swigt__p_wxScrolledWindow
, 
13414   &_swigt__p_wxSetCursorEvent
, 
13415   &_swigt__p_wxShowEvent
, 
13416   &_swigt__p_wxSimpleHtmlListBox
, 
13417   &_swigt__p_wxSingleChoiceDialog
, 
13418   &_swigt__p_wxSizeEvent
, 
13419   &_swigt__p_wxSizer
, 
13420   &_swigt__p_wxSizerItem
, 
13421   &_swigt__p_wxSplashScreen
, 
13422   &_swigt__p_wxSplashScreenWindow
, 
13423   &_swigt__p_wxSplitterEvent
, 
13424   &_swigt__p_wxSplitterWindow
, 
13425   &_swigt__p_wxStaticBoxSizer
, 
13426   &_swigt__p_wxStatusBar
, 
13427   &_swigt__p_wxStdDialogButtonSizer
, 
13428   &_swigt__p_wxSysColourChangedEvent
, 
13429   &_swigt__p_wxTGAHandler
, 
13430   &_swigt__p_wxTIFFHandler
, 
13431   &_swigt__p_wxTaskBarIconEvent
, 
13432   &_swigt__p_wxTextCoord
, 
13433   &_swigt__p_wxTextCtrlHitTestResult
, 
13434   &_swigt__p_wxTextEntryDialog
, 
13435   &_swigt__p_wxTipWindow
, 
13436   &_swigt__p_wxTopLevelWindow
, 
13437   &_swigt__p_wxUpdateUIEvent
, 
13438   &_swigt__p_wxValidator
, 
13439   &_swigt__p_wxWindow
, 
13440   &_swigt__p_wxWindowCreateEvent
, 
13441   &_swigt__p_wxWindowDestroyEvent
, 
13442   &_swigt__p_wxXPMHandler
, 
13445 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13446 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
13447 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13448 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13449 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
13450 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
13451 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
13452 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
13453 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
13454 static swig_cast_info _swigc__p_wxChar
[] = {  {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}}; 
13455 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
13456 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13457 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13458 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13459 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13460 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13461 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13462 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13463 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13464 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13465 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13466 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13467 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13468 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}}; 
13469 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
13470 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13471 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13472 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13473 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13474 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13475 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13476 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13477 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13478 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13479 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13480 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13481 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13482 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13483 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13484 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13485 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13486 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13487 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13488 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13489 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13490 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13491 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13492 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13493 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13494 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13495 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13496 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13497 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13498 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13499 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13500 static swig_cast_info _swigc__p_wxEvent
[] = {  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}}; 
13501 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
13502 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13503 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
13504 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}}; 
13505 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13506 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13507 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
13508 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13509 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13510 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13511 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13512 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13513 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13514 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13515 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13516 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13517 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13518 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13519 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13520 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13521 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13522 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13523 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13524 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13525 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13526 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13527 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13528 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13529 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13530 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13531 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
13532 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13533 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
13534 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
13535 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
13536 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
13537 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = {{&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13538 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13539 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
13540 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13541 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
13542 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
13543 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13544 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13545 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13546 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13547 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13548 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
13549 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
13550 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}}; 
13551 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
13552 static swig_cast_info _swigc__p_wxImage
[] = {  {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
13553 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}}; 
13554 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
13555 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13556 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13557 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
13558 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13559 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13560 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13561 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13562 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
13563 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
13564 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13565 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13566 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
13567 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
13568 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
13569 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13570 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
13571 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
13572 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
13573 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13574 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13575 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13576 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13577 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13578 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13579 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13580 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13581 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13582 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13583 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13584 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13585 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13586 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
13587 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
13588 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
13589 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
13590 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13591 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
13592 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13593 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
13594 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
13595 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13596 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
13597 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_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0},  {&_swigt__p_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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxObject
, 0, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}}; 
13598 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}}; 
13599 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
13600 static swig_cast_info _swigc__p_wxRichTextAttr
[] = {  {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}}; 
13601 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = {  {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}}; 
13602 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = {  {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}}; 
13603 static swig_cast_info _swigc__p_wxRichTextEvent
[] = {  {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
13604 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = {  {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}}; 
13605 static swig_cast_info _swigc__p_wxRichTextRange
[] = {  {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}}; 
13606 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = {  {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}}; 
13607 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}}; 
13608 static swig_cast_info _swigc__p_wxTextCoord
[] = {  {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}}; 
13609 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = {  {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}}; 
13610 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_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_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}}; 
13612 static swig_cast_info 
*swig_cast_initial
[] = { 
13614   _swigc__p_form_ops_t
, 
13617   _swigc__p_unsigned_char
, 
13618   _swigc__p_unsigned_int
, 
13619   _swigc__p_unsigned_long
, 
13620   _swigc__p_wxANIHandler
, 
13621   _swigc__p_wxAcceleratorTable
, 
13622   _swigc__p_wxActivateEvent
, 
13623   _swigc__p_wxArrayInt
, 
13624   _swigc__p_wxBMPHandler
, 
13625   _swigc__p_wxBitmap
, 
13626   _swigc__p_wxBoxSizer
, 
13627   _swigc__p_wxCURHandler
, 
13628   _swigc__p_wxCalculateLayoutEvent
, 
13630   _swigc__p_wxChildFocusEvent
, 
13631   _swigc__p_wxClipboardTextEvent
, 
13632   _swigc__p_wxCloseEvent
, 
13633   _swigc__p_wxColour
, 
13634   _swigc__p_wxColourData
, 
13635   _swigc__p_wxColourDialog
, 
13636   _swigc__p_wxCommandEvent
, 
13637   _swigc__p_wxContextMenuEvent
, 
13638   _swigc__p_wxControl
, 
13639   _swigc__p_wxControlWithItems
, 
13640   _swigc__p_wxDateEvent
, 
13641   _swigc__p_wxDialog
, 
13642   _swigc__p_wxDirDialog
, 
13643   _swigc__p_wxDisplayChangedEvent
, 
13644   _swigc__p_wxDropFilesEvent
, 
13645   _swigc__p_wxDuplexMode
, 
13646   _swigc__p_wxEraseEvent
, 
13648   _swigc__p_wxEventBlocker
, 
13649   _swigc__p_wxEvtHandler
, 
13650   _swigc__p_wxFSFile
, 
13651   _swigc__p_wxFileDialog
, 
13652   _swigc__p_wxFileSystem
, 
13653   _swigc__p_wxFindDialogEvent
, 
13654   _swigc__p_wxFindReplaceData
, 
13655   _swigc__p_wxFindReplaceDialog
, 
13656   _swigc__p_wxFlexGridSizer
, 
13657   _swigc__p_wxFocusEvent
, 
13659   _swigc__p_wxFontData
, 
13660   _swigc__p_wxFontDialog
, 
13662   _swigc__p_wxGBSizerItem
, 
13663   _swigc__p_wxGIFHandler
, 
13664   _swigc__p_wxGridBagSizer
, 
13665   _swigc__p_wxGridSizer
, 
13666   _swigc__p_wxICOHandler
, 
13667   _swigc__p_wxIconizeEvent
, 
13668   _swigc__p_wxIdleEvent
, 
13670   _swigc__p_wxImageHandler
, 
13671   _swigc__p_wxIndividualLayoutConstraint
, 
13672   _swigc__p_wxInitDialogEvent
, 
13673   _swigc__p_wxJPEGHandler
, 
13674   _swigc__p_wxKeyEvent
, 
13675   _swigc__p_wxLayoutAlgorithm
, 
13676   _swigc__p_wxLayoutConstraints
, 
13677   _swigc__p_wxMDIChildFrame
, 
13678   _swigc__p_wxMDIClientWindow
, 
13679   _swigc__p_wxMDIParentFrame
, 
13680   _swigc__p_wxMaximizeEvent
, 
13682   _swigc__p_wxMenuBar
, 
13683   _swigc__p_wxMenuEvent
, 
13684   _swigc__p_wxMenuItem
, 
13685   _swigc__p_wxMessageDialog
, 
13686   _swigc__p_wxMiniFrame
, 
13687   _swigc__p_wxMouseCaptureChangedEvent
, 
13688   _swigc__p_wxMouseCaptureLostEvent
, 
13689   _swigc__p_wxMouseEvent
, 
13690   _swigc__p_wxMoveEvent
, 
13691   _swigc__p_wxMultiChoiceDialog
, 
13692   _swigc__p_wxNavigationKeyEvent
, 
13693   _swigc__p_wxNcPaintEvent
, 
13694   _swigc__p_wxNotifyEvent
, 
13695   _swigc__p_wxNumberEntryDialog
, 
13696   _swigc__p_wxObject
, 
13697   _swigc__p_wxPCXHandler
, 
13698   _swigc__p_wxPNGHandler
, 
13699   _swigc__p_wxPNMHandler
, 
13700   _swigc__p_wxPageSetupDialog
, 
13701   _swigc__p_wxPageSetupDialogData
, 
13702   _swigc__p_wxPaintEvent
, 
13703   _swigc__p_wxPaletteChangedEvent
, 
13705   _swigc__p_wxPaperSize
, 
13706   _swigc__p_wxPasswordEntryDialog
, 
13707   _swigc__p_wxPopupWindow
, 
13708   _swigc__p_wxPreviewCanvas
, 
13709   _swigc__p_wxPreviewControlBar
, 
13710   _swigc__p_wxPreviewFrame
, 
13711   _swigc__p_wxPrintData
, 
13712   _swigc__p_wxPrintDialog
, 
13713   _swigc__p_wxPrintDialogData
, 
13714   _swigc__p_wxPrintPreview
, 
13715   _swigc__p_wxPrinter
, 
13716   _swigc__p_wxProgressDialog
, 
13718   _swigc__p_wxPyCommandEvent
, 
13719   _swigc__p_wxPyEvent
, 
13720   _swigc__p_wxPyHtmlListBox
, 
13721   _swigc__p_wxPyImageHandler
, 
13722   _swigc__p_wxPyPanel
, 
13723   _swigc__p_wxPyPopupTransientWindow
, 
13724   _swigc__p_wxPyPreviewControlBar
, 
13725   _swigc__p_wxPyPreviewFrame
, 
13726   _swigc__p_wxPyPrintPreview
, 
13727   _swigc__p_wxPyPrintout
, 
13728   _swigc__p_wxPyScrolledWindow
, 
13729   _swigc__p_wxPySizer
, 
13730   _swigc__p_wxPyTaskBarIcon
, 
13731   _swigc__p_wxPyVListBox
, 
13732   _swigc__p_wxPyVScrolledWindow
, 
13733   _swigc__p_wxPyValidator
, 
13734   _swigc__p_wxPyWindow
, 
13735   _swigc__p_wxQueryLayoutInfoEvent
, 
13736   _swigc__p_wxQueryNewPaletteEvent
, 
13737   _swigc__p_wxRichTextAttr
, 
13738   _swigc__p_wxRichTextBuffer
, 
13739   _swigc__p_wxRichTextCtrl
, 
13740   _swigc__p_wxRichTextEvent
, 
13741   _swigc__p_wxRichTextImageBlock
, 
13742   _swigc__p_wxRichTextRange
, 
13743   _swigc__p_wxRichTextStyleSheet
, 
13744   _swigc__p_wxSashEvent
, 
13745   _swigc__p_wxSashLayoutWindow
, 
13746   _swigc__p_wxSashWindow
, 
13747   _swigc__p_wxScrollEvent
, 
13748   _swigc__p_wxScrollWinEvent
, 
13749   _swigc__p_wxScrolledWindow
, 
13750   _swigc__p_wxSetCursorEvent
, 
13751   _swigc__p_wxShowEvent
, 
13752   _swigc__p_wxSimpleHtmlListBox
, 
13753   _swigc__p_wxSingleChoiceDialog
, 
13754   _swigc__p_wxSizeEvent
, 
13756   _swigc__p_wxSizerItem
, 
13757   _swigc__p_wxSplashScreen
, 
13758   _swigc__p_wxSplashScreenWindow
, 
13759   _swigc__p_wxSplitterEvent
, 
13760   _swigc__p_wxSplitterWindow
, 
13761   _swigc__p_wxStaticBoxSizer
, 
13762   _swigc__p_wxStatusBar
, 
13763   _swigc__p_wxStdDialogButtonSizer
, 
13764   _swigc__p_wxSysColourChangedEvent
, 
13765   _swigc__p_wxTGAHandler
, 
13766   _swigc__p_wxTIFFHandler
, 
13767   _swigc__p_wxTaskBarIconEvent
, 
13768   _swigc__p_wxTextCoord
, 
13769   _swigc__p_wxTextCtrlHitTestResult
, 
13770   _swigc__p_wxTextEntryDialog
, 
13771   _swigc__p_wxTipWindow
, 
13772   _swigc__p_wxTopLevelWindow
, 
13773   _swigc__p_wxUpdateUIEvent
, 
13774   _swigc__p_wxValidator
, 
13775   _swigc__p_wxWindow
, 
13776   _swigc__p_wxWindowCreateEvent
, 
13777   _swigc__p_wxWindowDestroyEvent
, 
13778   _swigc__p_wxXPMHandler
, 
13782 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
13784 static swig_const_info swig_const_table
[] = { 
13785 {0, 0, 0, 0.0, 0, 0}}; 
13790 /* ----------------------------------------------------------------------------- 
13791  * Type initialization: 
13792  * This problem is tough by the requirement that no dynamic  
13793  * memory is used. Also, since swig_type_info structures store pointers to  
13794  * swig_cast_info structures and swig_cast_info structures store pointers back 
13795  * to swig_type_info structures, we need some lookup code at initialization.  
13796  * The idea is that swig generates all the structures that are needed.  
13797  * The runtime then collects these partially filled structures.  
13798  * The SWIG_InitializeModule function takes these initial arrays out of  
13799  * swig_module, and does all the lookup, filling in the swig_module.types 
13800  * array with the correct data and linking the correct swig_cast_info 
13801  * structures together. 
13803  * The generated swig_type_info structures are assigned staticly to an initial  
13804  * array. We just loop though that array, and handle each type individually. 
13805  * First we lookup if this type has been already loaded, and if so, use the 
13806  * loaded structure instead of the generated one. Then we have to fill in the 
13807  * cast linked list. The cast data is initially stored in something like a 
13808  * two-dimensional array. Each row corresponds to a type (there are the same 
13809  * number of rows as there are in the swig_type_initial array). Each entry in 
13810  * a column is one of the swig_cast_info structures for that type. 
13811  * The cast_initial array is actually an array of arrays, because each row has 
13812  * a variable number of columns. So to actually build the cast linked list, 
13813  * we find the array of casts associated with the type, and loop through it  
13814  * adding the casts to the list. The one last trick we need to do is making 
13815  * sure the type pointer in the swig_cast_info struct is correct. 
13817  * First off, we lookup the cast->type name to see if it is already loaded.  
13818  * There are three cases to handle: 
13819  *  1) If the cast->type has already been loaded AND the type we are adding 
13820  *     casting info to has not been loaded (it is in this module), THEN we 
13821  *     replace the cast->type pointer with the type pointer that has already 
13823  *  2) If BOTH types (the one we are adding casting info to, and the  
13824  *     cast->type) are loaded, THEN the cast info has already been loaded by 
13825  *     the previous module so we just ignore it. 
13826  *  3) Finally, if cast->type has not already been loaded, then we add that 
13827  *     swig_cast_info to the linked list (because the cast->type) pointer will 
13829  * ----------------------------------------------------------------------------- */ 
13839 #define SWIGRUNTIME_DEBUG 
13843 SWIG_InitializeModule(void *clientdata
) { 
13845   swig_module_info 
*module_head
; 
13846   static int init_run 
= 0; 
13848   clientdata 
= clientdata
; 
13850   if (init_run
) return; 
13853   /* Initialize the swig_module */ 
13854   swig_module
.type_initial 
= swig_type_initial
; 
13855   swig_module
.cast_initial 
= swig_cast_initial
; 
13857   /* Try and load any already created modules */ 
13858   module_head 
= SWIG_GetModule(clientdata
); 
13860     swig_module
.next 
= module_head
->next
; 
13861     module_head
->next 
= &swig_module
; 
13863     /* This is the first module loaded */ 
13864     swig_module
.next 
= &swig_module
; 
13865     SWIG_SetModule(clientdata
, &swig_module
); 
13868   /* Now work on filling in swig_module.types */ 
13869 #ifdef SWIGRUNTIME_DEBUG 
13870   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
13872   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13873     swig_type_info 
*type 
= 0; 
13874     swig_type_info 
*ret
; 
13875     swig_cast_info 
*cast
; 
13877 #ifdef SWIGRUNTIME_DEBUG 
13878     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13881     /* if there is another module already loaded */ 
13882     if (swig_module
.next 
!= &swig_module
) { 
13883       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
13886       /* Overwrite clientdata field */ 
13887 #ifdef SWIGRUNTIME_DEBUG 
13888       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
13890       if (swig_module
.type_initial
[i
]->clientdata
) { 
13891         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
13892 #ifdef SWIGRUNTIME_DEBUG 
13893         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
13897       type 
= swig_module
.type_initial
[i
]; 
13900     /* Insert casting types */ 
13901     cast 
= swig_module
.cast_initial
[i
]; 
13902     while (cast
->type
) { 
13903       /* Don't need to add information already in the list */ 
13905 #ifdef SWIGRUNTIME_DEBUG 
13906       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
13908       if (swig_module
.next 
!= &swig_module
) { 
13909         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
13910 #ifdef SWIGRUNTIME_DEBUG 
13911         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
13915         if (type 
== swig_module
.type_initial
[i
]) { 
13916 #ifdef SWIGRUNTIME_DEBUG 
13917           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
13922           /* Check for casting already in the list */ 
13923           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
13924 #ifdef SWIGRUNTIME_DEBUG 
13925           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
13927           if (!ocast
) ret 
= 0; 
13932 #ifdef SWIGRUNTIME_DEBUG 
13933         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
13936           type
->cast
->prev 
= cast
; 
13937           cast
->next 
= type
->cast
; 
13943     /* Set entry in modules->types array equal to the type */ 
13944     swig_module
.types
[i
] = type
; 
13946   swig_module
.types
[i
] = 0; 
13948 #ifdef SWIGRUNTIME_DEBUG 
13949   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13950   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
13952     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
13953     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
13954     while (cast
->type
) { 
13955       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
13959     printf("---- Total casts: %d\n",j
); 
13961   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
13965 /* This function will propagate the clientdata field of type to 
13966 * any new swig_type_info structures that have been added into the list 
13967 * of equivalent types.  It is like calling 
13968 * SWIG_TypeClientData(type, clientdata) a second time. 
13971 SWIG_PropagateClientData(void) { 
13973   swig_cast_info 
*equiv
; 
13974   static int init_run 
= 0; 
13976   if (init_run
) return; 
13979   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
13980     if (swig_module
.types
[i
]->clientdata
) { 
13981       equiv 
= swig_module
.types
[i
]->cast
; 
13983         if (!equiv
->converter
) { 
13984           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
13985           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
13987         equiv 
= equiv
->next
; 
14007   /* Python-specific SWIG API */ 
14008 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
14009 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
14010 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
14012   /* ----------------------------------------------------------------------------- 
14013    * global variable support code. 
14014    * ----------------------------------------------------------------------------- */ 
14016   typedef struct swig_globalvar 
{ 
14017     char       *name
;                  /* Name of global variable */ 
14018     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
14019     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
14020     struct swig_globalvar 
*next
; 
14023   typedef struct swig_varlinkobject 
{ 
14025     swig_globalvar 
*vars
; 
14026   } swig_varlinkobject
; 
14028   SWIGINTERN PyObject 
* 
14029   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
14030     return PyString_FromString("<Swig global variables>"); 
14033   SWIGINTERN PyObject 
* 
14034   swig_varlink_str(swig_varlinkobject 
*v
) { 
14035     PyObject 
*str 
= PyString_FromString("("); 
14036     swig_globalvar  
*var
; 
14037     for (var 
= v
->vars
; var
; var
=var
->next
) { 
14038       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
14039       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
14041     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
14046   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
14047     PyObject 
*str 
= swig_varlink_str(v
); 
14048     fprintf(fp
,"Swig global variables "); 
14049     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
14055   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
14056     swig_globalvar 
*var 
= v
->vars
; 
14058       swig_globalvar 
*n 
= var
->next
; 
14065   SWIGINTERN PyObject 
* 
14066   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
14067     PyObject 
*res 
= NULL
; 
14068     swig_globalvar 
*var 
= v
->vars
; 
14070       if (strcmp(var
->name
,n
) == 0) { 
14071         res 
= (*var
->get_attr
)(); 
14076     if (res 
== NULL 
&& !PyErr_Occurred()) { 
14077       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
14083   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
14085     swig_globalvar 
*var 
= v
->vars
; 
14087       if (strcmp(var
->name
,n
) == 0) { 
14088         res 
= (*var
->set_attr
)(p
); 
14093     if (res 
== 1 && !PyErr_Occurred()) { 
14094       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
14099   SWIGINTERN PyTypeObject
* 
14100   swig_varlink_type(void) { 
14101     static char varlink__doc__
[] = "Swig var link object"; 
14102     static PyTypeObject varlink_type
; 
14103     static int type_init 
= 0;   
14105       const PyTypeObject tmp
 
14107         PyObject_HEAD_INIT(NULL
) 
14108         0,                                  /* Number of items in variable part (ob_size) */ 
14109         (char *)"swigvarlink",              /* Type name (tp_name) */ 
14110         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
14111         0,                                  /* Itemsize (tp_itemsize) */ 
14112         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
14113         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
14114         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
14115         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
14116         0,                                  /* tp_compare */ 
14117         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
14118         0,                                  /* tp_as_number */ 
14119         0,                                  /* tp_as_sequence */ 
14120         0,                                  /* tp_as_mapping */ 
14123         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
14124         0,                                  /* tp_getattro */ 
14125         0,                                  /* tp_setattro */ 
14126         0,                                  /* tp_as_buffer */ 
14128         varlink__doc__
,                     /* tp_doc */ 
14129         0,                                  /* tp_traverse */ 
14131         0,                                  /* tp_richcompare */ 
14132         0,                                  /* tp_weaklistoffset */ 
14133 #if PY_VERSION_HEX >= 0x02020000 
14134         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
14136 #if PY_VERSION_HEX >= 0x02030000 
14139 #ifdef COUNT_ALLOCS 
14140         0,0,0,0                             /* tp_alloc -> tp_next */ 
14143       varlink_type 
= tmp
; 
14144       varlink_type
.ob_type 
= &PyType_Type
; 
14147     return &varlink_type
; 
14150   /* Create a variable linking object for use later */ 
14151   SWIGINTERN PyObject 
* 
14152   SWIG_Python_newvarlink(void) { 
14153     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
14157     return ((PyObject
*) result
); 
14161   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
14162     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
14163     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
14165       size_t size 
= strlen(name
)+1; 
14166       gv
->name 
= (char *)malloc(size
); 
14168         strncpy(gv
->name
,name
,size
); 
14169         gv
->get_attr 
= get_attr
; 
14170         gv
->set_attr 
= set_attr
; 
14171         gv
->next 
= v
->vars
; 
14177   SWIGINTERN PyObject 
* 
14179     static PyObject 
*_SWIG_globals 
= 0;  
14180     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
14181     return _SWIG_globals
; 
14184   /* ----------------------------------------------------------------------------- 
14185    * constants/methods manipulation 
14186    * ----------------------------------------------------------------------------- */ 
14188   /* Install Constants */ 
14190   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
14193     for (i 
= 0; constants
[i
].type
; ++i
) { 
14194       switch(constants
[i
].type
) { 
14195       case SWIG_PY_POINTER
: 
14196         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
14198       case SWIG_PY_BINARY
: 
14199         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
14206         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
14212   /* -----------------------------------------------------------------------------*/ 
14213   /* Fix SwigMethods to carry the callback ptrs when needed */ 
14214   /* -----------------------------------------------------------------------------*/ 
14217   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
14218     swig_const_info 
*const_table
, 
14219     swig_type_info 
**types
, 
14220     swig_type_info 
**types_initial
) { 
14222     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
14223       const char *c 
= methods
[i
].ml_doc
; 
14224       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
14226         swig_const_info 
*ci 
= 0; 
14227         const char *name 
= c 
+ 10; 
14228         for (j 
= 0; const_table
[j
].type
; ++j
) { 
14229           if (strncmp(const_table
[j
].name
, name
,  
14230               strlen(const_table
[j
].name
)) == 0) { 
14231             ci 
= &(const_table
[j
]); 
14236           size_t shift 
= (ci
->ptype
) - types
; 
14237           swig_type_info 
*ty 
= types_initial
[shift
]; 
14238           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
14239           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
14240           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
14243             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
14245               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
14247               strncpy(buff
, "swig_ptr: ", 10); 
14249               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
14250               methods
[i
].ml_doc 
= ndoc
; 
14262 /* -----------------------------------------------------------------------------* 
14263  *  Partial Init method 
14264  * -----------------------------------------------------------------------------*/ 
14269 SWIGEXPORT 
void SWIG_init(void) { 
14272   /* Fix SwigMethods to carry the callback ptrs when needed */ 
14273   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
14275   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
14276   d 
= PyModule_GetDict(m
); 
14278   SWIG_InitializeModule(0); 
14279   SWIG_InstallConstants(d
,swig_const_table
); 
14282   SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0))); 
14283   SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
))); 
14284   SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
))); 
14285   SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
))); 
14286   SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
))); 
14287   SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
))); 
14288   SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
))); 
14289   SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
))); 
14290   SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
))); 
14291   SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
))); 
14292   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
))); 
14293   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
))); 
14294   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
))); 
14295   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
))); 
14296   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
))); 
14297   SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
))); 
14298   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
))); 
14299   SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
))); 
14300   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
))); 
14301   SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
))); 
14302   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
))); 
14303   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
))); 
14304   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
))); 
14305   SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
))); 
14306   SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
))); 
14307   SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
))); 
14308   SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE
))); 
14309   SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_WITH_UNDO",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_WITH_UNDO
))); 
14310   SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE
))); 
14311   SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY
))); 
14312   SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY
))); 
14313   SWIG_Python_SetConstant(d
, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE
))); 
14314   SWIG_Python_SetConstant(d
, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE
))); 
14315   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
))); 
14316   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
))); 
14317   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
))); 
14318   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
))); 
14319   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
))); 
14320   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
))); 
14321   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
))); 
14322   SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
))); 
14323   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
))); 
14324   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
))); 
14325   SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
))); 
14326   SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
))); 
14327   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
))); 
14328   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
))); 
14329   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
))); 
14330   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
))); 
14331   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
))); 
14332   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
))); 
14333   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
))); 
14334   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
))); 
14335   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
))); 
14336   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
))); 
14337   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
))); 
14338   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
))); 
14339   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
))); 
14340   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
))); 
14341   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
))); 
14342   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
))); 
14343   SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
))); 
14344   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
))); 
14345   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
))); 
14346   SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
))); 
14347   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
))); 
14348   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
))); 
14349   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
))); 
14350   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
))); 
14351   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
))); 
14352   SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
))); 
14353   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
14354   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
); 
14355   SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
); 
14356   SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
))); 
14357   SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
))); 
14358   SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
))); 
14359   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
)); 
14360   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
)); 
14361   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
)); 
14362   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
)); 
14363   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
)); 
14364   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING
)); 
14365   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED
)); 
14366   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING
)); 
14367   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED
)); 
14368   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_CHARACTER", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CHARACTER
)); 
14369   PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_DELETE", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_DELETE
)); 
14371   wxRichTextModuleInit();