1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChar swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2521 #define SWIGTYPE_p_wxImage swig_types[55]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2527 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2529 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2530 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2531 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2533 #define SWIGTYPE_p_wxMenu swig_types[67]
2534 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2537 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2538 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2540 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMoveEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[81]
2548 #define SWIGTYPE_p_wxObject swig_types[82]
2549 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2550 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2554 #define SWIGTYPE_p_wxPaintEvent swig_types[88]
2555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPanel swig_types[90]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[91]
2558 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPopupWindow swig_types[93]
2560 #define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
2561 #define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewFrame swig_types[96]
2563 #define SWIGTYPE_p_wxPrintData swig_types[97]
2564 #define SWIGTYPE_p_wxPrintDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPrintDialogData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintPreview swig_types[100]
2567 #define SWIGTYPE_p_wxPrinter swig_types[101]
2568 #define SWIGTYPE_p_wxProgressDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPyApp swig_types[103]
2570 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
2573 #define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPyPanel swig_types[108]
2575 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
2576 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
2577 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
2578 #define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
2579 #define SWIGTYPE_p_wxPyPrintout swig_types[113]
2580 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPySizer swig_types[115]
2582 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
2583 #define SWIGTYPE_p_wxPyVListBox swig_types[117]
2584 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2586 #define SWIGTYPE_p_wxPyWindow swig_types[120]
2587 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
2589 #define SWIGTYPE_p_wxRichTextAttr swig_types[123]
2590 #define SWIGTYPE_p_wxRichTextBuffer swig_types[124]
2591 #define SWIGTYPE_p_wxRichTextCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxRichTextEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[127]
2594 #define SWIGTYPE_p_wxRichTextRange swig_types[128]
2595 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[129]
2596 #define SWIGTYPE_p_wxSashEvent swig_types[130]
2597 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[131]
2598 #define SWIGTYPE_p_wxSashWindow swig_types[132]
2599 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrolledWindow swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[138]
2605 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreen swig_types[143]
2610 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterEvent swig_types[145]
2612 #define SWIGTYPE_p_wxSplitterWindow swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStatusBar swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextCoord swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[155]
2622 #define SWIGTYPE_p_wxTextEntryDialog swig_types[156]
2623 #define SWIGTYPE_p_wxTipWindow swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _richtext.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_richtext
2658 #define SWIG_name "_richtext"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732 #include "wx/wxPython/printfw.h"
2733 #include "wx/wxPython/twoitem.h"
2735 #include <wx/richtext/richtextctrl.h>
2740 class wxBufferedPaintDC
;
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2756 static const wxString
wxPyEmptyString(wxEmptyString
);
2759 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
)
2761 if (source
== Py_None
) {
2762 **obj
= wxRICHTEXT_NONE
;
2765 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange"));
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2779 SWIGINTERN
bool wxRichTextRange___eq__(wxRichTextRange
*self
,PyObject
*other
){
2780 wxRichTextRange temp
, *obj
= &temp
;
2781 if ( other
== Py_None
) return false;
2782 if ( ! wxRichTextRange_helper(other
, &obj
) ) {
2786 return self
->operator==(*obj
);
2788 SWIGINTERN PyObject
*wxRichTextRange_Get(wxRichTextRange
*self
){
2789 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2790 PyObject
* tup
= PyTuple_New(2);
2791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart()));
2792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd()));
2793 wxPyEndBlockThreads(blocked
);
2797 wxRichTextRange
wxPy_RTR_ALL(wxRICHTEXT_ALL
);
2798 wxRichTextRange
wxPy_RTR_NONE(wxRICHTEXT_NONE
);
2803 # define LLONG_MIN LONG_LONG_MIN
2806 # define LLONG_MAX LONG_LONG_MAX
2809 # define ULLONG_MAX ULONG_LONG_MAX
2814 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2817 int res
= SWIG_AsVal_long (obj
, &v
);
2818 if (SWIG_IsOK(res
)) {
2819 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2820 return SWIG_OverflowError
;
2822 if (val
) *val
= static_cast< int >(v
);
2830 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2832 if (obj
== Py_True
) {
2833 if (val
) *val
= true;
2835 } else if (obj
== Py_False
) {
2836 if (val
) *val
= false;
2840 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2841 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2848 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2851 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2852 return SWIG_TypeError
;
2855 *val
= (unsigned long)v
;
2862 SWIGINTERN PyObject
*_wrap_new_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
= 0;
2864 long arg1
= (long) 0 ;
2865 long arg2
= (long) 0 ;
2866 wxRichTextRange
*result
= 0 ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2873 char * kwnames
[] = {
2874 (char *) "start",(char *) "end", NULL
2877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2879 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
2880 if (!SWIG_IsOK(ecode1
)) {
2881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2883 arg1
= static_cast< long >(val1
);
2886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
2887 if (!SWIG_IsOK(ecode2
)) {
2888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2890 arg2
= static_cast< long >(val2
);
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 result
= (wxRichTextRange
*)new wxRichTextRange(arg1
,arg2
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW
| 0 );
2905 SWIGINTERN PyObject
*_wrap_delete_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
2906 PyObject
*resultobj
= 0;
2907 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
2910 PyObject
*swig_obj
[1] ;
2912 if (!args
) SWIG_fail
;
2914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN
| 0 );
2915 if (!SWIG_IsOK(res1
)) {
2916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
2918 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= SWIG_Py_Void();
2933 SWIGINTERN PyObject
*_wrap_RichTextRange___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
= 0;
2935 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
2936 PyObject
*arg2
= (PyObject
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2941 PyObject
* obj1
= 0 ;
2942 char * kwnames
[] = {
2943 (char *) "self",(char *) "other", NULL
2946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
2948 if (!SWIG_IsOK(res1
)) {
2949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
2951 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
2954 result
= (bool)wxRichTextRange___eq__(arg1
,arg2
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2966 SWIGINTERN PyObject
*_wrap_RichTextRange___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
= 0;
2968 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
2969 wxRichTextRange
*arg2
= 0 ;
2970 wxRichTextRange result
;
2973 wxRichTextRange temp2
;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2976 char * kwnames
[] = {
2977 (char *) "self",(char *) "range", NULL
2980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
2982 if (!SWIG_IsOK(res1
)) {
2983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
2985 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
2988 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= ((wxRichTextRange
const *)arg1
)->operator -((wxRichTextRange
const &)*arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3003 SWIGINTERN PyObject
*_wrap_RichTextRange___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
= 0;
3005 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3006 wxRichTextRange
*arg2
= 0 ;
3007 wxRichTextRange result
;
3010 wxRichTextRange temp2
;
3011 PyObject
* obj0
= 0 ;
3012 PyObject
* obj1
= 0 ;
3013 char * kwnames
[] = {
3014 (char *) "self",(char *) "range", NULL
3017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3019 if (!SWIG_IsOK(res1
)) {
3020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3022 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3025 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= ((wxRichTextRange
const *)arg1
)->operator +((wxRichTextRange
const &)*arg2
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3040 SWIGINTERN PyObject
*_wrap_RichTextRange_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
= 0;
3042 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3053 PyObject
* obj2
= 0 ;
3054 char * kwnames
[] = {
3055 (char *) "self",(char *) "start",(char *) "end", NULL
3058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3060 if (!SWIG_IsOK(res1
)) {
3061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3063 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3065 if (!SWIG_IsOK(ecode2
)) {
3066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3068 arg2
= static_cast< long >(val2
);
3069 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
3070 if (!SWIG_IsOK(ecode3
)) {
3071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3073 arg3
= static_cast< long >(val3
);
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->SetRange(arg2
,arg3
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= SWIG_Py_Void();
3087 SWIGINTERN PyObject
*_wrap_RichTextRange_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
= 0;
3089 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 char * kwnames
[] = {
3098 (char *) "self",(char *) "start", NULL
3101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3103 if (!SWIG_IsOK(res1
)) {
3104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3106 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3107 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3108 if (!SWIG_IsOK(ecode2
)) {
3109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3111 arg2
= static_cast< long >(val2
);
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 (arg1
)->SetStart(arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= SWIG_Py_Void();
3125 SWIGINTERN PyObject
*_wrap_RichTextRange_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3126 PyObject
*resultobj
= 0;
3127 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3131 PyObject
*swig_obj
[1] ;
3133 if (!args
) SWIG_fail
;
3135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3136 if (!SWIG_IsOK(res1
)) {
3137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3139 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (long)((wxRichTextRange
const *)arg1
)->GetStart();
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= SWIG_From_long(static_cast< long >(result
));
3153 SWIGINTERN PyObject
*_wrap_RichTextRange_SetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
= 0;
3155 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3162 PyObject
* obj1
= 0 ;
3163 char * kwnames
[] = {
3164 (char *) "self",(char *) "end", NULL
3167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3169 if (!SWIG_IsOK(res1
)) {
3170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3172 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3174 if (!SWIG_IsOK(ecode2
)) {
3175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3177 arg2
= static_cast< long >(val2
);
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 (arg1
)->SetEnd(arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_Py_Void();
3191 SWIGINTERN PyObject
*_wrap_RichTextRange_GetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3192 PyObject
*resultobj
= 0;
3193 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3197 PyObject
*swig_obj
[1] ;
3199 if (!args
) SWIG_fail
;
3201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3202 if (!SWIG_IsOK(res1
)) {
3203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3205 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= (long)((wxRichTextRange
const *)arg1
)->GetEnd();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= SWIG_From_long(static_cast< long >(result
));
3219 SWIGINTERN PyObject
*_wrap_RichTextRange_IsOutside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
= 0;
3221 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3222 wxRichTextRange
*arg2
= 0 ;
3226 wxRichTextRange temp2
;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3229 char * kwnames
[] = {
3230 (char *) "self",(char *) "range", NULL
3233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3235 if (!SWIG_IsOK(res1
)) {
3236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3238 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3241 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (bool)((wxRichTextRange
const *)arg1
)->IsOutside((wxRichTextRange
const &)*arg2
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3258 SWIGINTERN PyObject
*_wrap_RichTextRange_IsWithin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
= 0;
3260 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3261 wxRichTextRange
*arg2
= 0 ;
3265 wxRichTextRange temp2
;
3266 PyObject
* obj0
= 0 ;
3267 PyObject
* obj1
= 0 ;
3268 char * kwnames
[] = {
3269 (char *) "self",(char *) "range", NULL
3272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3274 if (!SWIG_IsOK(res1
)) {
3275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3277 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3280 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (bool)((wxRichTextRange
const *)arg1
)->IsWithin((wxRichTextRange
const &)*arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3297 SWIGINTERN PyObject
*_wrap_RichTextRange_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
= 0;
3299 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3308 char * kwnames
[] = {
3309 (char *) "self",(char *) "pos", NULL
3312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3314 if (!SWIG_IsOK(res1
)) {
3315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3317 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3318 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3319 if (!SWIG_IsOK(ecode2
)) {
3320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3322 arg2
= static_cast< long >(val2
);
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= (bool)((wxRichTextRange
const *)arg1
)->Contains(arg2
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3338 SWIGINTERN PyObject
*_wrap_RichTextRange_LimitTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
= 0;
3340 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3341 wxRichTextRange
*arg2
= 0 ;
3345 wxRichTextRange temp2
;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3348 char * kwnames
[] = {
3349 (char *) "self",(char *) "range", NULL
3352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3354 if (!SWIG_IsOK(res1
)) {
3355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3357 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3360 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 result
= (bool)(arg1
)->LimitTo((wxRichTextRange
const &)*arg2
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3377 SWIGINTERN PyObject
*_wrap_RichTextRange_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3378 PyObject
*resultobj
= 0;
3379 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3383 PyObject
*swig_obj
[1] ;
3385 if (!args
) SWIG_fail
;
3387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3388 if (!SWIG_IsOK(res1
)) {
3389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3391 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (long)((wxRichTextRange
const *)arg1
)->GetLength();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= SWIG_From_long(static_cast< long >(result
));
3405 SWIGINTERN PyObject
*_wrap_RichTextRange_Swap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3406 PyObject
*resultobj
= 0;
3407 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3410 PyObject
*swig_obj
[1] ;
3412 if (!args
) SWIG_fail
;
3414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3415 if (!SWIG_IsOK(res1
)) {
3416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3418 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= SWIG_Py_Void();
3432 SWIGINTERN PyObject
*_wrap_RichTextRange_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3433 PyObject
*resultobj
= 0;
3434 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3435 PyObject
*result
= 0 ;
3438 PyObject
*swig_obj
[1] ;
3440 if (!args
) SWIG_fail
;
3442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3443 if (!SWIG_IsOK(res1
)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3446 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (PyObject
*)wxRichTextRange_Get(arg1
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3460 SWIGINTERN PyObject
*RichTextRange_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3463 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
));
3464 return SWIG_Py_Void();
3467 SWIGINTERN PyObject
*RichTextRange_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3468 return SWIG_Python_InitShadowInstance(args
);
3471 SWIGINTERN
int RICHTEXT_ALL_set(PyObject
*) {
3472 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only.");
3477 SWIGINTERN PyObject
*RICHTEXT_ALL_get(void) {
3478 PyObject
*pyobj
= 0;
3480 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
, 0 );
3485 SWIGINTERN
int RICHTEXT_NONE_set(PyObject
*) {
3486 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only.");
3491 SWIGINTERN PyObject
*RICHTEXT_NONE_get(void) {
3492 PyObject
*pyobj
= 0;
3494 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
, 0 );
3499 SWIGINTERN PyObject
*_wrap_new_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
= 0;
3501 wxColour
const &arg1_defvalue
= wxNullColour
;
3502 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
3503 wxColour
const &arg2_defvalue
= wxNullColour
;
3504 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3505 wxTextAttrAlignment arg3
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
3506 wxRichTextAttr
*result
= 0 ;
3511 PyObject
* obj0
= 0 ;
3512 PyObject
* obj1
= 0 ;
3513 PyObject
* obj2
= 0 ;
3514 char * kwnames
[] = {
3515 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3522 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3533 if (!SWIG_IsOK(ecode3
)) {
3534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3536 arg3
= static_cast< wxTextAttrAlignment
>(val3
);
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (wxRichTextAttr
*)new wxRichTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW
| 0 );
3551 SWIGINTERN PyObject
*_wrap_delete_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3552 PyObject
*resultobj
= 0;
3553 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3556 PyObject
*swig_obj
[1] ;
3558 if (!args
) SWIG_fail
;
3560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN
| 0 );
3561 if (!SWIG_IsOK(res1
)) {
3562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3564 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= SWIG_Py_Void();
3579 SWIGINTERN PyObject
*_wrap_RichTextAttr_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3580 PyObject
*resultobj
= 0;
3581 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3585 PyObject
*swig_obj
[1] ;
3587 if (!args
) SWIG_fail
;
3589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3590 if (!SWIG_IsOK(res1
)) {
3591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3593 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= ((wxRichTextAttr
const *)arg1
)->CreateFont();
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
3607 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
= 0;
3609 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3618 char * kwnames
[] = {
3619 (char *) "self",(char *) "font", NULL
3622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3624 if (!SWIG_IsOK(res1
)) {
3625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3627 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
3629 if (!SWIG_IsOK(res2
)) {
3630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3635 arg2
= reinterpret_cast< wxFont
* >(argp2
);
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (bool)(arg1
)->GetFontAttributes((wxFont
const &)*arg2
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3651 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
= 0;
3653 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3654 wxColour
*arg2
= 0 ;
3658 PyObject
* obj0
= 0 ;
3659 PyObject
* obj1
= 0 ;
3660 char * kwnames
[] = {
3661 (char *) "self",(char *) "colText", NULL
3664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3666 if (!SWIG_IsOK(res1
)) {
3667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3669 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= SWIG_Py_Void();
3687 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
= 0;
3689 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3690 wxColour
*arg2
= 0 ;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3696 char * kwnames
[] = {
3697 (char *) "self",(char *) "colBack", NULL
3700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3702 if (!SWIG_IsOK(res1
)) {
3703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3705 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3708 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_Py_Void();
3723 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
= 0;
3725 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3726 wxTextAttrAlignment arg2
;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3733 char * kwnames
[] = {
3734 (char *) "self",(char *) "alignment", NULL
3737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3739 if (!SWIG_IsOK(res1
)) {
3740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3742 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3744 if (!SWIG_IsOK(ecode2
)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3747 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->SetAlignment(arg2
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_Py_Void();
3761 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
= 0;
3763 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3764 wxArrayInt
*arg2
= 0 ;
3767 bool temp2
= false ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3770 char * kwnames
[] = {
3771 (char *) "self",(char *) "tabs", NULL
3774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3776 if (!SWIG_IsOK(res1
)) {
3777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3779 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3781 if (! PySequence_Check(obj1
)) {
3782 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
3785 arg2
= new wxArrayInt
;
3787 int i
, len
=PySequence_Length(obj1
);
3788 for (i
=0; i
<len
; i
++) {
3789 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3790 PyObject
* number
= PyNumber_Int(item
);
3792 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
3795 arg2
->Add(PyInt_AS_LONG(number
));
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_Py_Void();
3808 if (temp2
) delete arg2
;
3813 if (temp2
) delete arg2
;
3819 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
= 0;
3821 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3823 int arg3
= (int) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3832 PyObject
* obj2
= 0 ;
3833 char * kwnames
[] = {
3834 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3839 if (!SWIG_IsOK(res1
)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3842 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3844 if (!SWIG_IsOK(ecode2
)) {
3845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3847 arg2
= static_cast< int >(val2
);
3849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3850 if (!SWIG_IsOK(ecode3
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3853 arg3
= static_cast< int >(val3
);
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 (arg1
)->SetLeftIndent(arg2
,arg3
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_Py_Void();
3868 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
= 0;
3870 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 char * kwnames
[] = {
3879 (char *) "self",(char *) "indent", NULL
3882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3884 if (!SWIG_IsOK(res1
)) {
3885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3887 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3889 if (!SWIG_IsOK(ecode2
)) {
3890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3892 arg2
= static_cast< int >(val2
);
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 (arg1
)->SetRightIndent(arg2
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= SWIG_Py_Void();
3906 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
= 0;
3908 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 char * kwnames
[] = {
3917 (char *) "self",(char *) "pointSize", NULL
3920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3922 if (!SWIG_IsOK(res1
)) {
3923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3925 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3927 if (!SWIG_IsOK(ecode2
)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
3930 arg2
= static_cast< int >(val2
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 (arg1
)->SetFontSize(arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_Py_Void();
3944 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
= 0;
3946 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3952 PyObject
* obj0
= 0 ;
3953 PyObject
* obj1
= 0 ;
3954 char * kwnames
[] = {
3955 (char *) "self",(char *) "fontStyle", NULL
3958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3963 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3965 if (!SWIG_IsOK(ecode2
)) {
3966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
3968 arg2
= static_cast< int >(val2
);
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 (arg1
)->SetFontStyle(arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_Py_Void();
3982 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
= 0;
3984 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3990 PyObject
* obj0
= 0 ;
3991 PyObject
* obj1
= 0 ;
3992 char * kwnames
[] = {
3993 (char *) "self",(char *) "fontWeight", NULL
3996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3998 if (!SWIG_IsOK(res1
)) {
3999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4001 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4003 if (!SWIG_IsOK(ecode2
)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4006 arg2
= static_cast< int >(val2
);
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetFontWeight(arg2
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_Py_Void();
4020 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
= 0;
4022 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4023 wxString
*arg2
= 0 ;
4026 bool temp2
= false ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4029 char * kwnames
[] = {
4030 (char *) "self",(char *) "faceName", NULL
4033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4035 if (!SWIG_IsOK(res1
)) {
4036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4038 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4040 arg2
= wxString_in_helper(obj1
);
4041 if (arg2
== NULL
) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 (arg1
)->SetFontFaceName((wxString
const &)*arg2
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= SWIG_Py_Void();
4065 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
= 0;
4067 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4075 char * kwnames
[] = {
4076 (char *) "self",(char *) "underlined", NULL
4079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4084 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4085 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4086 if (!SWIG_IsOK(ecode2
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4089 arg2
= static_cast< bool >(val2
);
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 (arg1
)->SetFontUnderlined(arg2
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_Py_Void();
4103 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
= 0;
4105 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4113 char * kwnames
[] = {
4114 (char *) "self",(char *) "flags", NULL
4117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4119 if (!SWIG_IsOK(res1
)) {
4120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4122 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4124 if (!SWIG_IsOK(ecode2
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4127 arg2
= static_cast< long >(val2
);
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 (arg1
)->SetFlags(arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= SWIG_Py_Void();
4141 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
= 0;
4143 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4144 wxString
*arg2
= 0 ;
4147 bool temp2
= false ;
4148 PyObject
* obj0
= 0 ;
4149 PyObject
* obj1
= 0 ;
4150 char * kwnames
[] = {
4151 (char *) "self",(char *) "name", NULL
4154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4156 if (!SWIG_IsOK(res1
)) {
4157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4159 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4161 arg2
= wxString_in_helper(obj1
);
4162 if (arg2
== NULL
) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 (arg1
)->SetCharacterStyleName((wxString
const &)*arg2
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_Py_Void();
4186 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
= 0;
4188 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4189 wxString
*arg2
= 0 ;
4192 bool temp2
= false ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4195 char * kwnames
[] = {
4196 (char *) "self",(char *) "name", NULL
4199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4201 if (!SWIG_IsOK(res1
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4204 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4206 arg2
= wxString_in_helper(obj1
);
4207 if (arg2
== NULL
) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->SetParagraphStyleName((wxString
const &)*arg2
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= SWIG_Py_Void();
4231 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "spacing", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4250 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4252 if (!SWIG_IsOK(ecode2
)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4255 arg2
= static_cast< int >(val2
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 (arg1
)->SetParagraphSpacingAfter(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_Py_Void();
4269 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= 0;
4271 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "spacing", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4288 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4293 arg2
= static_cast< int >(val2
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetParagraphSpacingBefore(arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_Py_Void();
4307 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= 0;
4309 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 char * kwnames
[] = {
4318 (char *) "self",(char *) "spacing", NULL
4321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4326 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4328 if (!SWIG_IsOK(ecode2
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4331 arg2
= static_cast< int >(val2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetLineSpacing(arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "style", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4364 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4366 if (!SWIG_IsOK(ecode2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4369 arg2
= static_cast< int >(val2
);
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->SetBulletStyle(arg2
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= SWIG_Py_Void();
4383 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
= 0;
4385 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "self",(char *) "n", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4402 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4407 arg2
= static_cast< int >(val2
);
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 (arg1
)->SetBulletNumber(arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_Py_Void();
4421 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 char * kwnames
[] = {
4432 (char *) "self",(char *) "symbol", NULL
4435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4437 if (!SWIG_IsOK(res1
)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4440 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
, 0 | 0);
4443 if (!SWIG_IsOK(res2
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'");
4447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'");
4449 wxChar
* temp
= reinterpret_cast< wxChar
* >(argp2
);
4451 if (SWIG_IsNewObj(res2
)) delete temp
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 (arg1
)->SetBulletText(arg2
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= SWIG_Py_Void();
4467 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
= 0;
4469 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4470 wxString
*arg2
= 0 ;
4473 bool temp2
= false ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4476 char * kwnames
[] = {
4477 (char *) "self",(char *) "bulletFont", NULL
4480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4482 if (!SWIG_IsOK(res1
)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4485 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4487 arg2
= wxString_in_helper(obj1
);
4488 if (arg2
== NULL
) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 (arg1
)->SetBulletFont((wxString
const &)*arg2
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_Py_Void();
4512 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4513 PyObject
*resultobj
= 0;
4514 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4515 wxColour
*result
= 0 ;
4518 PyObject
*swig_obj
[1] ;
4520 if (!args
) SWIG_fail
;
4522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4523 if (!SWIG_IsOK(res1
)) {
4524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4526 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTextColour();
4531 result
= (wxColour
*) &_result_ref
;
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4543 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4544 PyObject
*resultobj
= 0;
4545 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4546 wxColour
*result
= 0 ;
4549 PyObject
*swig_obj
[1] ;
4551 if (!args
) SWIG_fail
;
4553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4554 if (!SWIG_IsOK(res1
)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4557 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBackgroundColour();
4562 result
= (wxColour
*) &_result_ref
;
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4574 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4575 PyObject
*resultobj
= 0;
4576 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4577 wxTextAttrAlignment result
;
4580 PyObject
*swig_obj
[1] ;
4582 if (!args
) SWIG_fail
;
4584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4585 if (!SWIG_IsOK(res1
)) {
4586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4588 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxTextAttrAlignment
)((wxRichTextAttr
const *)arg1
)->GetAlignment();
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= SWIG_From_int(static_cast< int >(result
));
4602 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4603 PyObject
*resultobj
= 0;
4604 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4605 wxArrayInt
*result
= 0 ;
4608 PyObject
*swig_obj
[1] ;
4610 if (!args
) SWIG_fail
;
4612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4613 if (!SWIG_IsOK(res1
)) {
4614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4616 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 wxArrayInt
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTabs();
4621 result
= (wxArrayInt
*) &_result_ref
;
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= wxArrayInt2PyList_helper(*result
);
4635 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4636 PyObject
*resultobj
= 0;
4637 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4641 PyObject
*swig_obj
[1] ;
4643 if (!args
) SWIG_fail
;
4645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4646 if (!SWIG_IsOK(res1
)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4649 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftIndent();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_From_long(static_cast< long >(result
));
4663 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4664 PyObject
*resultobj
= 0;
4665 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4669 PyObject
*swig_obj
[1] ;
4671 if (!args
) SWIG_fail
;
4673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4674 if (!SWIG_IsOK(res1
)) {
4675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4677 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftSubIndent();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_From_long(static_cast< long >(result
));
4691 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4692 PyObject
*resultobj
= 0;
4693 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4697 PyObject
*swig_obj
[1] ;
4699 if (!args
) SWIG_fail
;
4701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4702 if (!SWIG_IsOK(res1
)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4705 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (long)((wxRichTextAttr
const *)arg1
)->GetRightIndent();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_From_long(static_cast< long >(result
));
4719 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4720 PyObject
*resultobj
= 0;
4721 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4725 PyObject
*swig_obj
[1] ;
4727 if (!args
) SWIG_fail
;
4729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4730 if (!SWIG_IsOK(res1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4733 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (long)((wxRichTextAttr
const *)arg1
)->GetFlags();
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_From_long(static_cast< long >(result
));
4747 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4748 PyObject
*resultobj
= 0;
4749 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4753 PyObject
*swig_obj
[1] ;
4755 if (!args
) SWIG_fail
;
4757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4758 if (!SWIG_IsOK(res1
)) {
4759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4761 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontSize();
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4768 resultobj
= SWIG_From_int(static_cast< int >(result
));
4775 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 PyObject
*resultobj
= 0;
4777 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4781 PyObject
*swig_obj
[1] ;
4783 if (!args
) SWIG_fail
;
4785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4786 if (!SWIG_IsOK(res1
)) {
4787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4789 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontStyle();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_From_int(static_cast< int >(result
));
4803 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4804 PyObject
*resultobj
= 0;
4805 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4809 PyObject
*swig_obj
[1] ;
4811 if (!args
) SWIG_fail
;
4813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4814 if (!SWIG_IsOK(res1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4817 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontWeight();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_From_int(static_cast< int >(result
));
4831 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4845 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)((wxRichTextAttr
const *)arg1
)->GetFontUnderlined();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4862 PyObject
*resultobj
= 0;
4863 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4864 wxString
*result
= 0 ;
4867 PyObject
*swig_obj
[1] ;
4869 if (!args
) SWIG_fail
;
4871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4872 if (!SWIG_IsOK(res1
)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4875 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetFontFaceName();
4880 result
= (wxString
*) &_result_ref
;
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4898 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4900 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4901 wxString
*result
= 0 ;
4904 PyObject
*swig_obj
[1] ;
4906 if (!args
) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4912 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetCharacterStyleName();
4917 result
= (wxString
*) &_result_ref
;
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4926 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4935 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4936 PyObject
*resultobj
= 0;
4937 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4938 wxString
*result
= 0 ;
4941 PyObject
*swig_obj
[1] ;
4943 if (!args
) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4949 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetParagraphStyleName();
4954 result
= (wxString
*) &_result_ref
;
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4972 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4974 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4978 PyObject
*swig_obj
[1] ;
4980 if (!args
) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4986 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingAfter();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_From_int(static_cast< int >(result
));
5000 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5001 PyObject
*resultobj
= 0;
5002 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5006 PyObject
*swig_obj
[1] ;
5008 if (!args
) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5014 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingBefore();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_From_int(static_cast< int >(result
));
5028 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5029 PyObject
*resultobj
= 0;
5030 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5034 PyObject
*swig_obj
[1] ;
5036 if (!args
) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5042 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (int)((wxRichTextAttr
const *)arg1
)->GetLineSpacing();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_From_int(static_cast< int >(result
));
5056 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5057 PyObject
*resultobj
= 0;
5058 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5062 PyObject
*swig_obj
[1] ;
5064 if (!args
) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5070 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletStyle();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_From_int(static_cast< int >(result
));
5084 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5085 PyObject
*resultobj
= 0;
5086 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5090 PyObject
*swig_obj
[1] ;
5092 if (!args
) SWIG_fail
;
5094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5095 if (!SWIG_IsOK(res1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5098 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletNumber();
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_From_int(static_cast< int >(result
));
5112 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 PyObject
*resultobj
= 0;
5114 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5115 wxString
*result
= 0 ;
5118 PyObject
*swig_obj
[1] ;
5120 if (!args
) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5126 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBulletText();
5131 result
= (wxString
*) &_result_ref
;
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5149 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5150 PyObject
*resultobj
= 0;
5151 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5152 wxString
*result
= 0 ;
5155 PyObject
*swig_obj
[1] ;
5157 if (!args
) SWIG_fail
;
5159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5160 if (!SWIG_IsOK(res1
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5163 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBulletFont();
5168 result
= (wxString
*) &_result_ref
;
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5177 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5186 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5187 PyObject
*resultobj
= 0;
5188 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5192 PyObject
*swig_obj
[1] ;
5194 if (!args
) SWIG_fail
;
5196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5197 if (!SWIG_IsOK(res1
)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5200 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTextColour();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5216 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5217 PyObject
*resultobj
= 0;
5218 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5222 PyObject
*swig_obj
[1] ;
5224 if (!args
) SWIG_fail
;
5226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5227 if (!SWIG_IsOK(res1
)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5230 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBackgroundColour();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5246 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5247 PyObject
*resultobj
= 0;
5248 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5252 PyObject
*swig_obj
[1] ;
5254 if (!args
) SWIG_fail
;
5256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5257 if (!SWIG_IsOK(res1
)) {
5258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5260 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasAlignment();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5277 PyObject
*resultobj
= 0;
5278 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5282 PyObject
*swig_obj
[1] ;
5284 if (!args
) SWIG_fail
;
5286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5287 if (!SWIG_IsOK(res1
)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5290 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTabs();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5307 PyObject
*resultobj
= 0;
5308 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5312 PyObject
*swig_obj
[1] ;
5314 if (!args
) SWIG_fail
;
5316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5317 if (!SWIG_IsOK(res1
)) {
5318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5320 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLeftIndent();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5336 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5338 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5342 PyObject
*swig_obj
[1] ;
5344 if (!args
) SWIG_fail
;
5346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5347 if (!SWIG_IsOK(res1
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5350 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasRightIndent();
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5366 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5367 PyObject
*resultobj
= 0;
5368 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5372 PyObject
*swig_obj
[1] ;
5374 if (!args
) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5380 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFont();
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5396 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 PyObject
*resultobj
= 0;
5398 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5402 PyObject
*swig_obj
[1] ;
5404 if (!args
) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5410 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingAfter();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5426 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 PyObject
*resultobj
= 0;
5428 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5432 PyObject
*swig_obj
[1] ;
5434 if (!args
) SWIG_fail
;
5436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5437 if (!SWIG_IsOK(res1
)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5440 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingBefore();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5456 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5457 PyObject
*resultobj
= 0;
5458 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5462 PyObject
*swig_obj
[1] ;
5464 if (!args
) SWIG_fail
;
5466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5467 if (!SWIG_IsOK(res1
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5470 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLineSpacing();
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5486 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 PyObject
*resultobj
= 0;
5488 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5492 PyObject
*swig_obj
[1] ;
5494 if (!args
) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5500 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasCharacterStyleName();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5516 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5517 PyObject
*resultobj
= 0;
5518 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5522 PyObject
*swig_obj
[1] ;
5524 if (!args
) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5530 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphStyleName();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5546 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5547 PyObject
*resultobj
= 0;
5548 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5552 PyObject
*swig_obj
[1] ;
5554 if (!args
) SWIG_fail
;
5556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5557 if (!SWIG_IsOK(res1
)) {
5558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5560 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletStyle();
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5576 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5577 PyObject
*resultobj
= 0;
5578 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5582 PyObject
*swig_obj
[1] ;
5584 if (!args
) SWIG_fail
;
5586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5587 if (!SWIG_IsOK(res1
)) {
5588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5590 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletNumber();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5606 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5607 PyObject
*resultobj
= 0;
5608 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5612 PyObject
*swig_obj
[1] ;
5614 if (!args
) SWIG_fail
;
5616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5617 if (!SWIG_IsOK(res1
)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5620 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletText();
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5636 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
= 0;
5638 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 char * kwnames
[] = {
5648 (char *) "self",(char *) "flag", NULL
5651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5653 if (!SWIG_IsOK(res1
)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5656 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5657 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5658 if (!SWIG_IsOK(ecode2
)) {
5659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5661 arg2
= static_cast< long >(val2
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFlag(arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5678 PyObject
*resultobj
= 0;
5679 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5683 PyObject
*swig_obj
[1] ;
5685 if (!args
) SWIG_fail
;
5687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5688 if (!SWIG_IsOK(res1
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5691 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsCharacterStyle();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5721 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsParagraphStyle();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 PyObject
*resultobj
= 0;
5739 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5743 PyObject
*swig_obj
[1] ;
5745 if (!args
) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5751 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsDefault();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 SWIGINTERN PyObject
*RichTextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5770 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
));
5771 return SWIG_Py_Void();
5774 SWIGINTERN PyObject
*RichTextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5775 return SWIG_Python_InitShadowInstance(args
);
5778 SWIGINTERN PyObject
*_wrap_new_RichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
= 0;
5780 wxWindow
*arg1
= (wxWindow
*) 0 ;
5781 int arg2
= (int) -1 ;
5782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5788 long arg6
= (long) wxRE_MULTILINE
;
5789 wxRichTextCtrl
*result
= 0 ;
5794 bool temp3
= false ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 PyObject
* obj2
= 0 ;
5802 PyObject
* obj3
= 0 ;
5803 PyObject
* obj4
= 0 ;
5804 PyObject
* obj5
= 0 ;
5805 char * kwnames
[] = {
5806 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
5809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5817 if (!SWIG_IsOK(ecode2
)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
5820 arg2
= static_cast< int >(val2
);
5824 arg3
= wxString_in_helper(obj2
);
5825 if (arg3
== NULL
) SWIG_fail
;
5832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5842 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5843 if (!SWIG_IsOK(ecode6
)) {
5844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'");
5846 arg6
= static_cast< long >(val6
);
5849 if (!wxPyCheckForApp()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (wxRichTextCtrl
*)new wxRichTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW
| 0 );
5870 SWIGINTERN PyObject
*_wrap_new_PreRichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5871 PyObject
*resultobj
= 0;
5872 wxRichTextCtrl
*result
= 0 ;
5874 if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
;
5876 if (!wxPyCheckForApp()) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxRichTextCtrl
*)new wxRichTextCtrl();
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN
| 0 );
5889 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
= 0;
5891 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
5892 wxWindow
*arg2
= (wxWindow
*) 0 ;
5893 int arg3
= (int) -1 ;
5894 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5900 long arg7
= (long) wxRE_MULTILINE
;
5908 bool temp4
= false ;
5913 PyObject
* obj0
= 0 ;
5914 PyObject
* obj1
= 0 ;
5915 PyObject
* obj2
= 0 ;
5916 PyObject
* obj3
= 0 ;
5917 PyObject
* obj4
= 0 ;
5918 PyObject
* obj5
= 0 ;
5919 PyObject
* obj6
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
5929 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
5930 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5931 if (!SWIG_IsOK(res2
)) {
5932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5934 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5937 if (!SWIG_IsOK(ecode3
)) {
5938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5940 arg3
= static_cast< int >(val3
);
5944 arg4
= wxString_in_helper(obj3
);
5945 if (arg4
== NULL
) SWIG_fail
;
5952 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5958 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5962 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5963 if (!SWIG_IsOK(ecode7
)) {
5964 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
5966 arg7
= static_cast< long >(val7
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5991 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5992 PyObject
*resultobj
= 0;
5993 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
5997 PyObject
*swig_obj
[1] ;
5999 if (!args
) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6005 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= ((wxRichTextCtrl
const *)arg1
)->GetValue();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6025 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
= 0;
6027 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6028 wxString
*arg2
= 0 ;
6031 bool temp2
= false ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6034 char * kwnames
[] = {
6035 (char *) "self",(char *) "value", NULL
6038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6043 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6045 arg2
= wxString_in_helper(obj1
);
6046 if (arg2
== NULL
) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 (arg1
)->SetValue((wxString
const &)*arg2
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_Py_Void();
6070 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
= 0;
6072 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6084 PyObject
* obj2
= 0 ;
6085 char * kwnames
[] = {
6086 (char *) "self",(char *) "from",(char *) "to", NULL
6089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6091 if (!SWIG_IsOK(res1
)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6094 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6096 if (!SWIG_IsOK(ecode2
)) {
6097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6099 arg2
= static_cast< long >(val2
);
6100 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6101 if (!SWIG_IsOK(ecode3
)) {
6102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6104 arg3
= static_cast< long >(val3
);
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= ((wxRichTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6124 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
= 0;
6126 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6135 char * kwnames
[] = {
6136 (char *) "self",(char *) "lineNo", NULL
6139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6141 if (!SWIG_IsOK(res1
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6144 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6146 if (!SWIG_IsOK(ecode2
)) {
6147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6149 arg2
= static_cast< long >(val2
);
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= SWIG_From_int(static_cast< int >(result
));
6163 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
= 0;
6165 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6174 char * kwnames
[] = {
6175 (char *) "self",(char *) "lineNo", NULL
6178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6180 if (!SWIG_IsOK(res1
)) {
6181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6183 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6184 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6185 if (!SWIG_IsOK(ecode2
)) {
6186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6188 arg2
= static_cast< long >(val2
);
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 result
= ((wxRichTextCtrl
const *)arg1
)->GetLineText(arg2
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6208 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6209 PyObject
*resultobj
= 0;
6210 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6214 PyObject
*swig_obj
[1] ;
6216 if (!args
) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6222 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetNumberOfLines();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_From_int(static_cast< int >(result
));
6236 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6237 PyObject
*resultobj
= 0;
6238 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6242 PyObject
*swig_obj
[1] ;
6244 if (!args
) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6250 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsModified();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6266 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6267 PyObject
*resultobj
= 0;
6268 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6272 PyObject
*swig_obj
[1] ;
6274 if (!args
) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6280 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsEditable();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6296 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6297 PyObject
*resultobj
= 0;
6298 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6302 PyObject
*swig_obj
[1] ;
6304 if (!args
) SWIG_fail
;
6306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6307 if (!SWIG_IsOK(res1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6310 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSingleLine();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6326 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6327 PyObject
*resultobj
= 0;
6328 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6332 PyObject
*swig_obj
[1] ;
6334 if (!args
) SWIG_fail
;
6336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6337 if (!SWIG_IsOK(res1
)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6340 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsMultiLine();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6356 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6359 long *arg2
= (long *) 0 ;
6360 long *arg3
= (long *) 0 ;
6364 int res2
= SWIG_TMPOBJ
;
6366 int res3
= SWIG_TMPOBJ
;
6367 PyObject
*swig_obj
[1] ;
6371 if (!args
) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6377 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 ((wxRichTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_Py_Void();
6385 if (SWIG_IsTmpObj(res2
)) {
6386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6388 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6391 if (SWIG_IsTmpObj(res3
)) {
6392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6403 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6404 PyObject
*resultobj
= 0;
6405 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6409 PyObject
*swig_obj
[1] ;
6411 if (!args
) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6417 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= ((wxRichTextCtrl
const *)arg1
)->GetStringSelection();
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6437 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6438 PyObject
*resultobj
= 0;
6439 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6443 PyObject
*swig_obj
[1] ;
6445 if (!args
) SWIG_fail
;
6447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6448 if (!SWIG_IsOK(res1
)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6451 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 result
= ((wxRichTextCtrl
const *)arg1
)->GetFilename();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6471 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
= 0;
6473 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6474 wxString
*arg2
= 0 ;
6477 bool temp2
= false ;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 char * kwnames
[] = {
6481 (char *) "self",(char *) "filename", NULL
6484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6486 if (!SWIG_IsOK(res1
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6489 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6491 arg2
= wxString_in_helper(obj1
);
6492 if (arg2
== NULL
) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 (arg1
)->SetFilename((wxString
const &)*arg2
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_Py_Void();
6516 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
= 0;
6518 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 char * kwnames
[] = {
6527 (char *) "self",(char *) "threshold", NULL
6530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6532 if (!SWIG_IsOK(res1
)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6535 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6536 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6537 if (!SWIG_IsOK(ecode2
)) {
6538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6540 arg2
= static_cast< long >(val2
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetDelayedLayoutThreshold(arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6560 PyObject
*swig_obj
[1] ;
6562 if (!args
) SWIG_fail
;
6564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6565 if (!SWIG_IsOK(res1
)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6568 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetDelayedLayoutThreshold();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_From_long(static_cast< long >(result
));
6582 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6583 PyObject
*resultobj
= 0;
6584 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6587 PyObject
*swig_obj
[1] ;
6589 if (!args
) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6595 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_Py_Void();
6609 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
= 0;
6611 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6614 wxString
*arg4
= 0 ;
6621 bool temp4
= false ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 PyObject
* obj2
= 0 ;
6625 PyObject
* obj3
= 0 ;
6626 char * kwnames
[] = {
6627 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6632 if (!SWIG_IsOK(res1
)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6635 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6636 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6637 if (!SWIG_IsOK(ecode2
)) {
6638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6640 arg2
= static_cast< long >(val2
);
6641 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6642 if (!SWIG_IsOK(ecode3
)) {
6643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6645 arg3
= static_cast< long >(val3
);
6647 arg4
= wxString_in_helper(obj3
);
6648 if (arg4
== NULL
) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_Py_Void();
6672 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 PyObject
* obj2
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "from",(char *) "to", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6695 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6697 if (!SWIG_IsOK(ecode2
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6700 arg2
= static_cast< long >(val2
);
6701 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6702 if (!SWIG_IsOK(ecode3
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6705 arg3
= static_cast< long >(val3
);
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 (arg1
)->Remove(arg2
,arg3
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_Py_Void();
6719 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
= 0;
6721 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6722 wxString
*arg2
= 0 ;
6723 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6727 bool temp2
= false ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6732 PyObject
* obj2
= 0 ;
6733 char * kwnames
[] = {
6734 (char *) "self",(char *) "file",(char *) "type", NULL
6737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6742 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6744 arg2
= wxString_in_helper(obj1
);
6745 if (arg2
== NULL
) SWIG_fail
;
6749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6750 if (!SWIG_IsOK(ecode3
)) {
6751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6753 arg3
= static_cast< int >(val3
);
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6778 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= 0;
6780 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6781 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6782 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6783 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6787 bool temp2
= false ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6792 PyObject
* obj2
= 0 ;
6793 char * kwnames
[] = {
6794 (char *) "self",(char *) "file",(char *) "type", NULL
6797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6799 if (!SWIG_IsOK(res1
)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6802 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6805 arg2
= wxString_in_helper(obj1
);
6806 if (arg2
== NULL
) SWIG_fail
;
6811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6812 if (!SWIG_IsOK(ecode3
)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6815 arg3
= static_cast< int >(val3
);
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6840 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetHandlerFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= 0;
6842 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 char * kwnames
[] = {
6851 (char *) "self",(char *) "flags", NULL
6854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetHandlerFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6856 if (!SWIG_IsOK(res1
)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6859 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6861 if (!SWIG_IsOK(ecode2
)) {
6862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'");
6864 arg2
= static_cast< int >(val2
);
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetHandlerFlags(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_Py_Void();
6878 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetHandlerFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6879 PyObject
*resultobj
= 0;
6880 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6884 PyObject
*swig_obj
[1] ;
6886 if (!args
) SWIG_fail
;
6888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6889 if (!SWIG_IsOK(res1
)) {
6890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6892 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetHandlerFlags();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_From_int(static_cast< int >(result
));
6906 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6907 PyObject
*resultobj
= 0;
6908 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6911 PyObject
*swig_obj
[1] ;
6913 if (!args
) SWIG_fail
;
6915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6916 if (!SWIG_IsOK(res1
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6919 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 (arg1
)->MarkDirty();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_Py_Void();
6933 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6935 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6938 PyObject
*swig_obj
[1] ;
6940 if (!args
) SWIG_fail
;
6942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6943 if (!SWIG_IsOK(res1
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6946 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 (arg1
)->DiscardEdits();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_Py_Void();
6960 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
= 0;
6962 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6963 unsigned long arg2
;
6966 unsigned long val2
;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6970 char * kwnames
[] = {
6971 (char *) "self",(char *) "len", NULL
6974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6976 if (!SWIG_IsOK(res1
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6979 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6980 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
6981 if (!SWIG_IsOK(ecode2
)) {
6982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
6984 arg2
= static_cast< unsigned long >(val2
);
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 (arg1
)->SetMaxLength(arg2
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= SWIG_Py_Void();
6998 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
= 0;
7000 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7001 wxString
*arg2
= 0 ;
7004 bool temp2
= false ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 char * kwnames
[] = {
7008 (char *) "self",(char *) "text", NULL
7011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7016 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7018 arg2
= wxString_in_helper(obj1
);
7019 if (arg2
== NULL
) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 (arg1
)->WriteText((wxString
const &)*arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_Py_Void();
7043 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
= 0;
7045 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7046 wxString
*arg2
= 0 ;
7049 bool temp2
= false ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "text", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7061 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7063 arg2
= wxString_in_helper(obj1
);
7064 if (arg2
== NULL
) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 (arg1
)->AppendText((wxString
const &)*arg2
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_Py_Void();
7088 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
= 0;
7090 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7091 wxRichTextRange
*arg2
= 0 ;
7092 wxRichTextAttr
*arg3
= 0 ;
7096 wxRichTextRange temp2
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7101 PyObject
* obj2
= 0 ;
7102 char * kwnames
[] = {
7103 (char *) "self",(char *) "range",(char *) "style", NULL
7106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7108 if (!SWIG_IsOK(res1
)) {
7109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7111 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7114 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7117 if (!SWIG_IsOK(res3
)) {
7118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7123 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (bool)(arg1
)->SetStyle((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7139 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleEx(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
= 0;
7141 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7142 wxRichTextRange
*arg2
= 0 ;
7143 wxRichTextAttr
*arg3
= 0 ;
7144 int arg4
= (int) wxRICHTEXT_SETSTYLE_WITH_UNDO
;
7148 wxRichTextRange temp2
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7156 PyObject
* obj3
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:RichTextCtrl_SetStyleEx",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7166 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7169 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7171 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7172 if (!SWIG_IsOK(res3
)) {
7173 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7178 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7180 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7181 if (!SWIG_IsOK(ecode4
)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "4"" of type '" "int""'");
7184 arg4
= static_cast< int >(val4
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (bool)(arg1
)->SetStyleEx((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
,arg4
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7201 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
= 0;
7203 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7205 wxRichTextAttr
*arg3
= 0 ;
7213 PyObject
* obj0
= 0 ;
7214 PyObject
* obj1
= 0 ;
7215 PyObject
* obj2
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "position",(char *) "style", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7225 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7226 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7230 arg2
= static_cast< long >(val2
);
7231 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7232 if (!SWIG_IsOK(res3
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7238 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7254 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetUncombinedStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7256 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7258 wxRichTextAttr
*arg3
= 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 PyObject
* obj2
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "self",(char *) "position",(char *) "style", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetUncombinedStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7278 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7279 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7280 if (!SWIG_IsOK(ecode2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
7283 arg2
= static_cast< long >(val2
);
7284 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7285 if (!SWIG_IsOK(res3
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7291 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (bool)(arg1
)->GetUncombinedStyle(arg2
,*arg3
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7307 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
= 0;
7309 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7310 wxRichTextAttr
*arg2
= 0 ;
7316 PyObject
* obj0
= 0 ;
7317 PyObject
* obj1
= 0 ;
7318 char * kwnames
[] = {
7319 (char *) "self",(char *) "style", NULL
7322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7327 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7329 if (!SWIG_IsOK(res2
)) {
7330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7335 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr
const &)*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7351 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7354 wxRichTextAttr result
;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7365 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= ((wxRichTextCtrl
const *)arg1
)->GetDefaultStyleEx();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN
| 0 );
7379 SWIGINTERN PyObject
*_wrap_RichTextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
= 0;
7381 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7393 PyObject
* obj2
= 0 ;
7394 char * kwnames
[] = {
7395 (char *) "self",(char *) "x",(char *) "y", NULL
7398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7400 if (!SWIG_IsOK(res1
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7403 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7405 if (!SWIG_IsOK(ecode2
)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7408 arg2
= static_cast< long >(val2
);
7409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7410 if (!SWIG_IsOK(ecode3
)) {
7411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7413 arg3
= static_cast< long >(val3
);
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (long)((wxRichTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_From_long(static_cast< long >(result
));
7427 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
= 0;
7429 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7431 long *arg3
= (long *) 0 ;
7432 long *arg4
= (long *) 0 ;
7438 int res3
= SWIG_TMPOBJ
;
7440 int res4
= SWIG_TMPOBJ
;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 char * kwnames
[] = {
7444 (char *) "self",(char *) "pos", NULL
7449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7451 if (!SWIG_IsOK(res1
)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7454 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7456 if (!SWIG_IsOK(ecode2
)) {
7457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7459 arg2
= static_cast< long >(val2
);
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 ((wxRichTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= SWIG_Py_Void();
7467 if (SWIG_IsTmpObj(res3
)) {
7468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7470 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7473 if (SWIG_IsTmpObj(res4
)) {
7474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
7476 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
7485 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
= 0;
7487 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "position", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7504 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7505 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7506 if (!SWIG_IsOK(ecode2
)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7509 arg2
= static_cast< long >(val2
);
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->ShowPosition(arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_Py_Void();
7523 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
= 0;
7525 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7527 long *arg3
= (long *) 0 ;
7528 wxTextCtrlHitTestResult result
;
7533 int res3
= SWIG_TMPOBJ
;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7536 char * kwnames
[] = {
7537 (char *) "self",(char *) "pt", NULL
7541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7543 if (!SWIG_IsOK(res1
)) {
7544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7546 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7558 if (SWIG_IsTmpObj(res3
)) {
7559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7570 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7574 wxTextCoord
*arg3
= (wxTextCoord
*) 0 ;
7575 wxTextCoord
*arg4
= (wxTextCoord
*) 0 ;
7576 wxTextCtrlHitTestResult result
;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 PyObject
* obj2
= 0 ;
7587 PyObject
* obj3
= 0 ;
7588 char * kwnames
[] = {
7589 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7597 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7602 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7603 if (!SWIG_IsOK(res3
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7606 arg3
= reinterpret_cast< wxTextCoord
* >(argp3
);
7607 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7608 if (!SWIG_IsOK(res4
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7611 arg4
= reinterpret_cast< wxTextCoord
* >(argp4
);
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7625 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 PyObject
*resultobj
= 0;
7627 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7630 PyObject
*swig_obj
[1] ;
7632 if (!args
) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7638 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_Py_Void();
7652 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7657 PyObject
*swig_obj
[1] ;
7659 if (!args
) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7665 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_Py_Void();
7679 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 PyObject
*resultobj
= 0;
7681 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7684 PyObject
*swig_obj
[1] ;
7686 if (!args
) SWIG_fail
;
7688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7689 if (!SWIG_IsOK(res1
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7692 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_Py_Void();
7706 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7707 PyObject
*resultobj
= 0;
7708 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7711 PyObject
*swig_obj
[1] ;
7713 if (!args
) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7719 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 (arg1
)->DeleteSelection();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_Py_Void();
7733 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 PyObject
*resultobj
= 0;
7735 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7739 PyObject
*swig_obj
[1] ;
7741 if (!args
) SWIG_fail
;
7743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7744 if (!SWIG_IsOK(res1
)) {
7745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7747 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCopy();
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7763 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7764 PyObject
*resultobj
= 0;
7765 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7769 PyObject
*swig_obj
[1] ;
7771 if (!args
) SWIG_fail
;
7773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7774 if (!SWIG_IsOK(res1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7777 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCut();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7793 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7794 PyObject
*resultobj
= 0;
7795 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7799 PyObject
*swig_obj
[1] ;
7801 if (!args
) SWIG_fail
;
7803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7804 if (!SWIG_IsOK(res1
)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7807 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanPaste();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7823 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 PyObject
*resultobj
= 0;
7825 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7829 PyObject
*swig_obj
[1] ;
7831 if (!args
) SWIG_fail
;
7833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7834 if (!SWIG_IsOK(res1
)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7837 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanDeleteSelection();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7853 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7854 PyObject
*resultobj
= 0;
7855 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7858 PyObject
*swig_obj
[1] ;
7860 if (!args
) SWIG_fail
;
7862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7863 if (!SWIG_IsOK(res1
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7866 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_Py_Void();
7880 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7881 PyObject
*resultobj
= 0;
7882 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7885 PyObject
*swig_obj
[1] ;
7887 if (!args
) SWIG_fail
;
7889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7890 if (!SWIG_IsOK(res1
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7893 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_Py_Void();
7907 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7908 PyObject
*resultobj
= 0;
7909 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7913 PyObject
*swig_obj
[1] ;
7915 if (!args
) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7921 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanUndo();
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7937 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7938 PyObject
*resultobj
= 0;
7939 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7943 PyObject
*swig_obj
[1] ;
7945 if (!args
) SWIG_fail
;
7947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7948 if (!SWIG_IsOK(res1
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7951 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanRedo();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7967 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
= 0;
7969 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7975 PyObject
* obj0
= 0 ;
7976 PyObject
* obj1
= 0 ;
7977 char * kwnames
[] = {
7978 (char *) "self",(char *) "pos", NULL
7981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7986 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7988 if (!SWIG_IsOK(ecode2
)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
7991 arg2
= static_cast< long >(val2
);
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 (arg1
)->SetInsertionPoint(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= SWIG_Py_Void();
8005 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 PyObject
*resultobj
= 0;
8007 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8010 PyObject
*swig_obj
[1] ;
8012 if (!args
) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8018 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 (arg1
)->SetInsertionPointEnd();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8038 PyObject
*swig_obj
[1] ;
8040 if (!args
) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8046 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetInsertionPoint();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_From_long(static_cast< long >(result
));
8060 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 PyObject
*resultobj
= 0;
8062 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8066 PyObject
*swig_obj
[1] ;
8068 if (!args
) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8074 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetLastPosition();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_From_long(static_cast< long >(result
));
8088 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
= 0;
8090 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8101 PyObject
* obj2
= 0 ;
8102 char * kwnames
[] = {
8103 (char *) "self",(char *) "from",(char *) "to", NULL
8106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8108 if (!SWIG_IsOK(res1
)) {
8109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8111 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8113 if (!SWIG_IsOK(ecode2
)) {
8114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8116 arg2
= static_cast< long >(val2
);
8117 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8118 if (!SWIG_IsOK(ecode3
)) {
8119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8121 arg3
= static_cast< long >(val3
);
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 (arg1
)->SetSelection(arg2
,arg3
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= SWIG_Py_Void();
8135 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8136 PyObject
*resultobj
= 0;
8137 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8140 PyObject
*swig_obj
[1] ;
8142 if (!args
) SWIG_fail
;
8144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8145 if (!SWIG_IsOK(res1
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8148 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 (arg1
)->SelectAll();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_Py_Void();
8162 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
= 0;
8164 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8171 PyObject
* obj1
= 0 ;
8172 char * kwnames
[] = {
8173 (char *) "self",(char *) "editable", NULL
8176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8178 if (!SWIG_IsOK(res1
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8181 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8182 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8183 if (!SWIG_IsOK(ecode2
)) {
8184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8186 arg2
= static_cast< bool >(val2
);
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 (arg1
)->SetEditable(arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8206 PyObject
*swig_obj
[1] ;
8208 if (!args
) SWIG_fail
;
8210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8211 if (!SWIG_IsOK(res1
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8214 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasSelection();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8230 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
= 0;
8232 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8234 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8244 PyObject
* obj2
= 0 ;
8245 char * kwnames
[] = {
8246 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8251 if (!SWIG_IsOK(res1
)) {
8252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8254 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
8256 if (!SWIG_IsOK(res2
)) {
8257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8262 arg2
= reinterpret_cast< wxImage
* >(argp2
);
8264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8265 if (!SWIG_IsOK(ecode3
)) {
8266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8268 arg3
= static_cast< int >(val3
);
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (bool)(arg1
)->WriteImage((wxImage
const &)*arg2
,arg3
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8285 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
= 0;
8287 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8288 wxBitmap
*arg2
= 0 ;
8289 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8300 char * kwnames
[] = {
8301 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8306 if (!SWIG_IsOK(res1
)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8309 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8311 if (!SWIG_IsOK(res2
)) {
8312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8317 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8320 if (!SWIG_IsOK(ecode3
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8323 arg3
= static_cast< int >(val3
);
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)(arg1
)->WriteImage((wxBitmap
const &)*arg2
,arg3
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8342 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8343 wxString
*arg2
= 0 ;
8348 bool temp2
= false ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8363 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8365 arg2
= wxString_in_helper(obj1
);
8366 if (arg2
== NULL
) SWIG_fail
;
8369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8370 if (!SWIG_IsOK(ecode3
)) {
8371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8373 arg3
= static_cast< int >(val3
);
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (bool)(arg1
)->WriteImage((wxString
const &)*arg2
,arg3
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8397 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= 0;
8399 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8400 wxRichTextImageBlock
*arg2
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 char * kwnames
[] = {
8409 (char *) "self",(char *) "imageBlock", NULL
8412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8417 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
, 0 | 0);
8419 if (!SWIG_IsOK(res2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8425 arg2
= reinterpret_cast< wxRichTextImageBlock
* >(argp2
);
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock
const &)*arg2
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8441 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Newline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8442 PyObject
*resultobj
= 0;
8443 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8447 PyObject
*swig_obj
[1] ;
8449 if (!args
) SWIG_fail
;
8451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8452 if (!SWIG_IsOK(res1
)) {
8453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8455 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (bool)(arg1
)->Newline();
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8471 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetBasicStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
= 0;
8473 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8474 wxRichTextAttr
*arg2
= 0 ;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 char * kwnames
[] = {
8482 (char *) "self",(char *) "style", NULL
8485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8487 if (!SWIG_IsOK(res1
)) {
8488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8490 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
8492 if (!SWIG_IsOK(res2
)) {
8493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8498 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 (arg1
)->SetBasicStyle((wxRichTextAttr
const &)*arg2
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_Py_Void();
8512 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8513 PyObject
*resultobj
= 0;
8514 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8518 PyObject
*swig_obj
[1] ;
8520 if (!args
) SWIG_fail
;
8522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8523 if (!SWIG_IsOK(res1
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8526 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)(arg1
)->EndStyle();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAllStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8543 PyObject
*resultobj
= 0;
8544 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8548 PyObject
*swig_obj
[1] ;
8550 if (!args
) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8556 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (bool)(arg1
)->EndAllStyles();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8572 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 PyObject
*resultobj
= 0;
8574 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8578 PyObject
*swig_obj
[1] ;
8580 if (!args
) SWIG_fail
;
8582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8583 if (!SWIG_IsOK(res1
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8586 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (bool)(arg1
)->BeginBold();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8603 PyObject
*resultobj
= 0;
8604 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8608 PyObject
*swig_obj
[1] ;
8610 if (!args
) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8616 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->EndBold();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8633 PyObject
*resultobj
= 0;
8634 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8638 PyObject
*swig_obj
[1] ;
8640 if (!args
) SWIG_fail
;
8642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8643 if (!SWIG_IsOK(res1
)) {
8644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8646 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (bool)(arg1
)->BeginItalic();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8662 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8663 PyObject
*resultobj
= 0;
8664 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8668 PyObject
*swig_obj
[1] ;
8670 if (!args
) SWIG_fail
;
8672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8673 if (!SWIG_IsOK(res1
)) {
8674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8676 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (bool)(arg1
)->EndItalic();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8692 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8693 PyObject
*resultobj
= 0;
8694 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8698 PyObject
*swig_obj
[1] ;
8700 if (!args
) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8706 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= (bool)(arg1
)->BeginUnderline();
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8722 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8723 PyObject
*resultobj
= 0;
8724 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8728 PyObject
*swig_obj
[1] ;
8730 if (!args
) SWIG_fail
;
8732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8733 if (!SWIG_IsOK(res1
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8736 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (bool)(arg1
)->EndUnderline();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8752 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= 0;
8754 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "pointSize", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8772 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8774 if (!SWIG_IsOK(ecode2
)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8777 arg2
= static_cast< int >(val2
);
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (bool)(arg1
)->BeginFontSize(arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8793 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 PyObject
*resultobj
= 0;
8795 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8799 PyObject
*swig_obj
[1] ;
8801 if (!args
) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8807 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (bool)(arg1
)->EndFontSize();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8823 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8834 char * kwnames
[] = {
8835 (char *) "self",(char *) "font", NULL
8838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8840 if (!SWIG_IsOK(res1
)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8843 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
8845 if (!SWIG_IsOK(res2
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8851 arg2
= reinterpret_cast< wxFont
* >(argp2
);
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)(arg1
)->BeginFont((wxFont
const &)*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8867 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8868 PyObject
*resultobj
= 0;
8869 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8873 PyObject
*swig_obj
[1] ;
8875 if (!args
) SWIG_fail
;
8877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8878 if (!SWIG_IsOK(res1
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8881 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (bool)(arg1
)->EndFont();
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8897 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8900 wxColour
*arg2
= 0 ;
8905 PyObject
* obj0
= 0 ;
8906 PyObject
* obj1
= 0 ;
8907 char * kwnames
[] = {
8908 (char *) "self",(char *) "colour", NULL
8911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8913 if (!SWIG_IsOK(res1
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8916 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (bool)(arg1
)->BeginTextColour((wxColour
const &)*arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8936 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8937 PyObject
*resultobj
= 0;
8938 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8942 PyObject
*swig_obj
[1] ;
8944 if (!args
) SWIG_fail
;
8946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8947 if (!SWIG_IsOK(res1
)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8950 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (bool)(arg1
)->EndTextColour();
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8966 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
= 0;
8968 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8969 wxTextAttrAlignment arg2
;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 char * kwnames
[] = {
8978 (char *) "self",(char *) "alignment", NULL
8981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8983 if (!SWIG_IsOK(res1
)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8986 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8988 if (!SWIG_IsOK(ecode2
)) {
8989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
8991 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (bool)(arg1
)->BeginAlignment(arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9007 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 PyObject
*resultobj
= 0;
9009 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9021 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (bool)(arg1
)->EndAlignment();
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9037 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
= 0;
9039 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9041 int arg3
= (int) 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9052 char * kwnames
[] = {
9053 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9058 if (!SWIG_IsOK(res1
)) {
9059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9061 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9063 if (!SWIG_IsOK(ecode2
)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9066 arg2
= static_cast< int >(val2
);
9068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9069 if (!SWIG_IsOK(ecode3
)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9072 arg3
= static_cast< int >(val3
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9089 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9090 PyObject
*resultobj
= 0;
9091 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9095 PyObject
*swig_obj
[1] ;
9097 if (!args
) SWIG_fail
;
9099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9100 if (!SWIG_IsOK(res1
)) {
9101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9103 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (bool)(arg1
)->EndLeftIndent();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9119 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
= 0;
9121 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9130 char * kwnames
[] = {
9131 (char *) "self",(char *) "rightIndent", NULL
9134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9139 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9141 if (!SWIG_IsOK(ecode2
)) {
9142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9144 arg2
= static_cast< int >(val2
);
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (bool)(arg1
)->BeginRightIndent(arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9160 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9161 PyObject
*resultobj
= 0;
9162 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9166 PyObject
*swig_obj
[1] ;
9168 if (!args
) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9174 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (bool)(arg1
)->EndRightIndent();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9190 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
= 0;
9192 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9205 char * kwnames
[] = {
9206 (char *) "self",(char *) "before",(char *) "after", NULL
9209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9211 if (!SWIG_IsOK(res1
)) {
9212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9214 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9216 if (!SWIG_IsOK(ecode2
)) {
9217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9219 arg2
= static_cast< int >(val2
);
9220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9221 if (!SWIG_IsOK(ecode3
)) {
9222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9224 arg3
= static_cast< int >(val3
);
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9241 PyObject
*resultobj
= 0;
9242 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9246 PyObject
*swig_obj
[1] ;
9248 if (!args
) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9254 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)(arg1
)->EndParagraphSpacing();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9270 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
= 0;
9272 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 char * kwnames
[] = {
9282 (char *) "self",(char *) "lineSpacing", NULL
9285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9287 if (!SWIG_IsOK(res1
)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9290 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9292 if (!SWIG_IsOK(ecode2
)) {
9293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9295 arg2
= static_cast< int >(val2
);
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (bool)(arg1
)->BeginLineSpacing(arg2
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9311 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9325 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->EndLineSpacing();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
= 0;
9343 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9347 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD
;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9361 PyObject
* obj2
= 0 ;
9362 PyObject
* obj3
= 0 ;
9363 PyObject
* obj4
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9373 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9375 if (!SWIG_IsOK(ecode2
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9378 arg2
= static_cast< int >(val2
);
9379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9380 if (!SWIG_IsOK(ecode3
)) {
9381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9383 arg3
= static_cast< int >(val3
);
9384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9385 if (!SWIG_IsOK(ecode4
)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9388 arg4
= static_cast< int >(val4
);
9390 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9391 if (!SWIG_IsOK(ecode5
)) {
9392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9394 arg5
= static_cast< int >(val5
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9411 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9412 PyObject
*resultobj
= 0;
9413 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9417 PyObject
*swig_obj
[1] ;
9419 if (!args
) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9425 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)(arg1
)->EndNumberedBullet();
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9441 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
= 0;
9443 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9444 wxString
*arg2
= 0 ;
9447 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL
;
9451 bool temp2
= false ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9461 PyObject
* obj3
= 0 ;
9462 PyObject
* obj4
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9472 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9474 arg2
= wxString_in_helper(obj1
);
9475 if (arg2
== NULL
) SWIG_fail
;
9478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9479 if (!SWIG_IsOK(ecode3
)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9482 arg3
= static_cast< int >(val3
);
9483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9484 if (!SWIG_IsOK(ecode4
)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9487 arg4
= static_cast< int >(val4
);
9489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9490 if (!SWIG_IsOK(ecode5
)) {
9491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9493 arg5
= static_cast< int >(val5
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (bool)(arg1
)->BeginSymbolBullet((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9518 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9519 PyObject
*resultobj
= 0;
9520 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9524 PyObject
*swig_obj
[1] ;
9526 if (!args
) SWIG_fail
;
9528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9529 if (!SWIG_IsOK(res1
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9532 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->EndSymbolBullet();
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9548 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
= 0;
9550 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9551 wxString
*arg2
= 0 ;
9555 bool temp2
= false ;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9558 char * kwnames
[] = {
9559 (char *) "self",(char *) "characterStyle", NULL
9562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9564 if (!SWIG_IsOK(res1
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9567 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9569 arg2
= wxString_in_helper(obj1
);
9570 if (arg2
== NULL
) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (bool)(arg1
)->BeginCharacterStyle((wxString
const &)*arg2
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9596 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9597 PyObject
*resultobj
= 0;
9598 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9602 PyObject
*swig_obj
[1] ;
9604 if (!args
) SWIG_fail
;
9606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9607 if (!SWIG_IsOK(res1
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9610 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (bool)(arg1
)->EndCharacterStyle();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9626 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
= 0;
9628 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9629 wxString
*arg2
= 0 ;
9633 bool temp2
= false ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9636 char * kwnames
[] = {
9637 (char *) "self",(char *) "paragraphStyle", NULL
9640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9645 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9647 arg2
= wxString_in_helper(obj1
);
9648 if (arg2
== NULL
) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (bool)(arg1
)->BeginParagraphStyle((wxString
const &)*arg2
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9675 PyObject
*resultobj
= 0;
9676 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9680 PyObject
*swig_obj
[1] ;
9682 if (!args
) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9688 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (bool)(arg1
)->EndParagraphStyle();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9704 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginListStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9707 wxString
*arg2
= 0 ;
9708 int arg3
= (int) 1 ;
9709 int arg4
= (int) 1 ;
9713 bool temp2
= false ;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9721 PyObject
* obj3
= 0 ;
9722 char * kwnames
[] = {
9723 (char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL
9726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:RichTextCtrl_BeginListStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9728 if (!SWIG_IsOK(res1
)) {
9729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9731 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9733 arg2
= wxString_in_helper(obj1
);
9734 if (arg2
== NULL
) SWIG_fail
;
9738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9739 if (!SWIG_IsOK(ecode3
)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "3"" of type '" "int""'");
9742 arg3
= static_cast< int >(val3
);
9745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9746 if (!SWIG_IsOK(ecode4
)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "4"" of type '" "int""'");
9749 arg4
= static_cast< int >(val4
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)(arg1
)->BeginListStyle((wxString
const &)*arg2
,arg3
,arg4
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9774 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndListStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9775 PyObject
*resultobj
= 0;
9776 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9780 PyObject
*swig_obj
[1] ;
9782 if (!args
) SWIG_fail
;
9784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9785 if (!SWIG_IsOK(res1
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9788 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (bool)(arg1
)->EndListStyle();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9804 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
= 0;
9806 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9807 wxString
*arg2
= 0 ;
9808 wxString
const &arg3_defvalue
= wxEmptyString
;
9809 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9813 bool temp2
= false ;
9814 bool temp3
= false ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 PyObject
* obj2
= 0 ;
9818 char * kwnames
[] = {
9819 (char *) "self",(char *) "url",(char *) "characterStyle", NULL
9822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginURL",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9824 if (!SWIG_IsOK(res1
)) {
9825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9827 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9829 arg2
= wxString_in_helper(obj1
);
9830 if (arg2
== NULL
) SWIG_fail
;
9835 arg3
= wxString_in_helper(obj2
);
9836 if (arg3
== NULL
) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)(arg1
)->BeginURL((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9871 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9872 PyObject
*resultobj
= 0;
9873 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9877 PyObject
*swig_obj
[1] ;
9879 if (!args
) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9885 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->EndURL();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9901 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9902 PyObject
*resultobj
= 0;
9903 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9907 PyObject
*swig_obj
[1] ;
9909 if (!args
) SWIG_fail
;
9911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9912 if (!SWIG_IsOK(res1
)) {
9913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9915 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (bool)(arg1
)->SetDefaultStyleToCursorStyle();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9931 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectNone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9932 PyObject
*resultobj
= 0;
9933 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9936 PyObject
*swig_obj
[1] ;
9938 if (!args
) SWIG_fail
;
9940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9941 if (!SWIG_IsOK(res1
)) {
9942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9944 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 (arg1
)->SelectNone();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_Py_Void();
9958 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 char * kwnames
[] = {
9970 (char *) "self",(char *) "position", NULL
9973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9975 if (!SWIG_IsOK(res1
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9978 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9979 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9980 if (!SWIG_IsOK(ecode2
)) {
9981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "2"" of type '" "long""'");
9983 arg2
= static_cast< long >(val2
);
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (bool)(arg1
)->SelectWord(arg2
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9999 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10000 PyObject
*resultobj
= 0;
10001 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10002 wxRichTextRange result
;
10005 PyObject
*swig_obj
[1] ;
10007 if (!args
) SWIG_fail
;
10008 swig_obj
[0] = args
;
10009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10013 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= ((wxRichTextCtrl
const *)arg1
)->GetSelectionRange();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
10027 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
= 0;
10029 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10030 wxRichTextRange
*arg2
= 0 ;
10033 wxRichTextRange temp2
;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "self",(char *) "range", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10045 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10048 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 (arg1
)->SetSelectionRange((wxRichTextRange
const &)*arg2
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_Py_Void();
10063 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInternalSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10064 PyObject
*resultobj
= 0;
10065 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10066 wxRichTextRange
*result
= 0 ;
10069 PyObject
*swig_obj
[1] ;
10071 if (!args
) SWIG_fail
;
10072 swig_obj
[0] = args
;
10073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10074 if (!SWIG_IsOK(res1
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10077 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 wxRichTextRange
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetInternalSelectionRange();
10082 result
= (wxRichTextRange
*) &_result_ref
;
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
10094 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInternalSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
= 0;
10096 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10097 wxRichTextRange
*arg2
= 0 ;
10100 wxRichTextRange temp2
;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 char * kwnames
[] = {
10104 (char *) "self",(char *) "range", NULL
10107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInternalSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10109 if (!SWIG_IsOK(res1
)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10112 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10115 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 (arg1
)->SetInternalSelectionRange((wxRichTextRange
const &)*arg2
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_Py_Void();
10130 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddParagraph(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10133 wxString
*arg2
= 0 ;
10134 wxRichTextRange result
;
10137 bool temp2
= false ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 char * kwnames
[] = {
10141 (char *) "self",(char *) "text", NULL
10144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10149 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10151 arg2
= wxString_in_helper(obj1
);
10152 if (arg2
== NULL
) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (arg1
)->AddParagraph((wxString
const &)*arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
10176 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
= 0;
10178 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10179 wxImage
*arg2
= 0 ;
10180 wxRichTextRange result
;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 char * kwnames
[] = {
10188 (char *) "self",(char *) "image", NULL
10191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10196 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
10198 if (!SWIG_IsOK(res2
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
10202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
10204 arg2
= reinterpret_cast< wxImage
* >(argp2
);
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (arg1
)->AddImage((wxImage
const &)*arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
10218 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LayoutContent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10220 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10221 bool arg2
= (bool) false ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "onlyVisibleRect", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10238 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10240 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
10244 arg2
= static_cast< bool >(val2
);
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->LayoutContent(arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10261 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
= 0;
10263 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10265 bool arg3
= (bool) false ;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 PyObject
* obj2
= 0 ;
10276 char * kwnames
[] = {
10277 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
10280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10285 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10287 if (!SWIG_IsOK(ecode2
)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
10290 arg2
= static_cast< long >(val2
);
10292 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10293 if (!SWIG_IsOK(ecode3
)) {
10294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
10296 arg3
= static_cast< bool >(val3
);
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (bool)(arg1
)->MoveCaret(arg2
,arg3
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10313 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
= 0;
10315 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10316 int arg2
= (int) 1 ;
10317 int arg3
= (int) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 char * kwnames
[] = {
10329 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10334 if (!SWIG_IsOK(res1
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10337 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10340 if (!SWIG_IsOK(ecode2
)) {
10341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
10343 arg2
= static_cast< int >(val2
);
10346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10347 if (!SWIG_IsOK(ecode3
)) {
10348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
10350 arg3
= static_cast< int >(val3
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)(arg1
)->MoveRight(arg2
,arg3
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10367 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
= 0;
10369 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10370 int arg2
= (int) 1 ;
10371 int arg3
= (int) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 PyObject
* obj2
= 0 ;
10382 char * kwnames
[] = {
10383 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10388 if (!SWIG_IsOK(res1
)) {
10389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10391 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10394 if (!SWIG_IsOK(ecode2
)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10397 arg2
= static_cast< int >(val2
);
10400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10401 if (!SWIG_IsOK(ecode3
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10404 arg3
= static_cast< int >(val3
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (bool)(arg1
)->MoveLeft(arg2
,arg3
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10421 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
= 0;
10423 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10424 int arg2
= (int) 1 ;
10425 int arg3
= (int) 0 ;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 PyObject
* obj2
= 0 ;
10436 char * kwnames
[] = {
10437 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10442 if (!SWIG_IsOK(res1
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10445 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10448 if (!SWIG_IsOK(ecode2
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10451 arg2
= static_cast< int >(val2
);
10454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10455 if (!SWIG_IsOK(ecode3
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10458 arg3
= static_cast< int >(val3
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)(arg1
)->MoveUp(arg2
,arg3
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10475 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
= 0;
10477 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10478 int arg2
= (int) 1 ;
10479 int arg3
= (int) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 char * kwnames
[] = {
10491 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10499 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10502 if (!SWIG_IsOK(ecode2
)) {
10503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10505 arg2
= static_cast< int >(val2
);
10508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10509 if (!SWIG_IsOK(ecode3
)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10512 arg3
= static_cast< int >(val3
);
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (bool)(arg1
)->MoveDown(arg2
,arg3
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10529 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
= 0;
10531 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10532 int arg2
= (int) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char * kwnames
[] = {
10541 (char *) "self",(char *) "flags", NULL
10544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10546 if (!SWIG_IsOK(res1
)) {
10547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10549 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10552 if (!SWIG_IsOK(ecode2
)) {
10553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10555 arg2
= static_cast< int >(val2
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (bool)(arg1
)->MoveToLineEnd(arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10572 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10575 int arg2
= (int) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char * kwnames
[] = {
10584 (char *) "self",(char *) "flags", NULL
10587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10592 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10595 if (!SWIG_IsOK(ecode2
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10598 arg2
= static_cast< int >(val2
);
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= (bool)(arg1
)->MoveToLineStart(arg2
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10618 int arg2
= (int) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "self",(char *) "flags", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10635 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10638 if (!SWIG_IsOK(ecode2
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10641 arg2
= static_cast< int >(val2
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (bool)(arg1
)->MoveToParagraphEnd(arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10658 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
= 0;
10660 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10661 int arg2
= (int) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 char * kwnames
[] = {
10670 (char *) "self",(char *) "flags", NULL
10673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10675 if (!SWIG_IsOK(res1
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10678 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10681 if (!SWIG_IsOK(ecode2
)) {
10682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10684 arg2
= static_cast< int >(val2
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (bool)(arg1
)->MoveToParagraphStart(arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10704 int arg2
= (int) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 char * kwnames
[] = {
10713 (char *) "self",(char *) "flags", NULL
10716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10718 if (!SWIG_IsOK(res1
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10721 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10724 if (!SWIG_IsOK(ecode2
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10727 arg2
= static_cast< int >(val2
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (bool)(arg1
)->MoveHome(arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10744 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
= 0;
10746 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10747 int arg2
= (int) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char * kwnames
[] = {
10756 (char *) "self",(char *) "flags", NULL
10759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10761 if (!SWIG_IsOK(res1
)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10764 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10767 if (!SWIG_IsOK(ecode2
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10770 arg2
= static_cast< int >(val2
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (bool)(arg1
)->MoveEnd(arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
= 0;
10789 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10790 int arg2
= (int) 1 ;
10791 int arg3
= (int) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 PyObject
* obj2
= 0 ;
10802 char * kwnames
[] = {
10803 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10808 if (!SWIG_IsOK(res1
)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10811 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10814 if (!SWIG_IsOK(ecode2
)) {
10815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10817 arg2
= static_cast< int >(val2
);
10820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10821 if (!SWIG_IsOK(ecode3
)) {
10822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10824 arg3
= static_cast< int >(val3
);
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (bool)(arg1
)->PageUp(arg2
,arg3
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10841 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
= 0;
10843 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10844 int arg2
= (int) 1 ;
10845 int arg3
= (int) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10865 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10868 if (!SWIG_IsOK(ecode2
)) {
10869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10871 arg2
= static_cast< int >(val2
);
10874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10875 if (!SWIG_IsOK(ecode3
)) {
10876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10878 arg3
= static_cast< int >(val3
);
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 result
= (bool)(arg1
)->PageDown(arg2
,arg3
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10895 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10898 int arg2
= (int) 1 ;
10899 int arg3
= (int) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 char * kwnames
[] = {
10911 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10916 if (!SWIG_IsOK(res1
)) {
10917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10919 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10925 arg2
= static_cast< int >(val2
);
10928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10929 if (!SWIG_IsOK(ecode3
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10932 arg3
= static_cast< int >(val3
);
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)(arg1
)->WordLeft(arg2
,arg3
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10949 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
= 0;
10951 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10952 int arg2
= (int) 1 ;
10953 int arg3
= (int) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 PyObject
* obj2
= 0 ;
10964 char * kwnames
[] = {
10965 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10970 if (!SWIG_IsOK(res1
)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10973 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10976 if (!SWIG_IsOK(ecode2
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10979 arg2
= static_cast< int >(val2
);
10982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10983 if (!SWIG_IsOK(ecode3
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10986 arg3
= static_cast< int >(val3
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->WordRight(arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11005 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11006 wxRichTextBuffer
*result
= 0 ;
11009 PyObject
*swig_obj
[1] ;
11011 if (!args
) SWIG_fail
;
11012 swig_obj
[0] = args
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11017 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 wxRichTextBuffer
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetBuffer();
11022 result
= (wxRichTextBuffer
*) &_result_ref
;
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 | 0 );
11034 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
= 0;
11036 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11037 wxString
*arg2
= 0 ;
11041 bool temp2
= false ;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 char * kwnames
[] = {
11045 (char *) "self",(char *) "cmdName", NULL
11048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11053 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11055 arg2
= wxString_in_helper(obj1
);
11056 if (arg2
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)(arg1
)->BeginBatchUndo((wxString
const &)*arg2
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11083 PyObject
*resultobj
= 0;
11084 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11088 PyObject
*swig_obj
[1] ;
11090 if (!args
) SWIG_fail
;
11091 swig_obj
[0] = args
;
11092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11096 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)(arg1
)->EndBatchUndo();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BatchingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11113 PyObject
*resultobj
= 0;
11114 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11118 PyObject
*swig_obj
[1] ;
11120 if (!args
) SWIG_fail
;
11121 swig_obj
[0] = args
;
11122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11126 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)((wxRichTextCtrl
const *)arg1
)->BatchingUndo();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11143 PyObject
*resultobj
= 0;
11144 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11148 PyObject
*swig_obj
[1] ;
11150 if (!args
) SWIG_fail
;
11151 swig_obj
[0] = args
;
11152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11153 if (!SWIG_IsOK(res1
)) {
11154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11156 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)(arg1
)->BeginSuppressUndo();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11173 PyObject
*resultobj
= 0;
11174 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11178 PyObject
*swig_obj
[1] ;
11180 if (!args
) SWIG_fail
;
11181 swig_obj
[0] = args
;
11182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11186 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (bool)(arg1
)->EndSuppressUndo();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SuppressingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11203 PyObject
*resultobj
= 0;
11204 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11208 PyObject
*swig_obj
[1] ;
11210 if (!args
) SWIG_fail
;
11211 swig_obj
[0] = args
;
11212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11216 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)((wxRichTextCtrl
const *)arg1
)->SuppressingUndo();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11235 wxRichTextRange
*arg2
= 0 ;
11236 wxRichTextAttr
*arg3
= 0 ;
11240 wxRichTextRange temp2
;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 char * kwnames
[] = {
11247 (char *) "self",(char *) "range",(char *) "style", NULL
11250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11255 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11258 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
11260 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
11261 if (!SWIG_IsOK(res3
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11267 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasCharacterAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11283 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= 0;
11285 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11286 wxRichTextRange
*arg2
= 0 ;
11287 wxRichTextAttr
*arg3
= 0 ;
11291 wxRichTextRange temp2
;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "self",(char *) "range",(char *) "style", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11306 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11309 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
11311 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
11312 if (!SWIG_IsOK(res3
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11318 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasParagraphAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11334 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11335 PyObject
*resultobj
= 0;
11336 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11340 PyObject
*swig_obj
[1] ;
11342 if (!args
) SWIG_fail
;
11343 swig_obj
[0] = args
;
11344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11345 if (!SWIG_IsOK(res1
)) {
11346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11348 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (bool)(arg1
)->IsSelectionBold();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11364 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11365 PyObject
*resultobj
= 0;
11366 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11370 PyObject
*swig_obj
[1] ;
11372 if (!args
) SWIG_fail
;
11373 swig_obj
[0] = args
;
11374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11375 if (!SWIG_IsOK(res1
)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11378 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (bool)(arg1
)->IsSelectionItalics();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11394 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11395 PyObject
*resultobj
= 0;
11396 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11400 PyObject
*swig_obj
[1] ;
11402 if (!args
) SWIG_fail
;
11403 swig_obj
[0] = args
;
11404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11408 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (bool)(arg1
)->IsSelectionUnderlined();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11424 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11427 wxTextAttrAlignment arg2
;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "self",(char *) "alignment", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11444 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11446 if (!SWIG_IsOK(ecode2
)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11449 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (bool)(arg1
)->IsSelectionAligned(arg2
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11465 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11479 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (bool)(arg1
)->ApplyBoldToSelection();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11495 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 PyObject
*resultobj
= 0;
11497 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11501 PyObject
*swig_obj
[1] ;
11503 if (!args
) SWIG_fail
;
11504 swig_obj
[0] = args
;
11505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11509 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (bool)(arg1
)->ApplyItalicToSelection();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11525 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11531 PyObject
*swig_obj
[1] ;
11533 if (!args
) SWIG_fail
;
11534 swig_obj
[0] = args
;
11535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11539 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (bool)(arg1
)->ApplyUnderlineToSelection();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11555 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= 0;
11557 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11558 wxTextAttrAlignment arg2
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char * kwnames
[] = {
11567 (char *) "self",(char *) "alignment", NULL
11570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11575 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11577 if (!SWIG_IsOK(ecode2
)) {
11578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11580 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11596 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
= 0;
11598 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11599 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) 0 ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 char * kwnames
[] = {
11607 (char *) "self",(char *) "styleSheet", NULL
11610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11615 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11617 if (!SWIG_IsOK(res2
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11620 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 (arg1
)->SetStyleSheet(arg2
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_Py_Void();
11634 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11637 wxRichTextStyleSheet
*result
= 0 ;
11640 PyObject
*swig_obj
[1] ;
11642 if (!args
) SWIG_fail
;
11643 swig_obj
[0] = args
;
11644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11645 if (!SWIG_IsOK(res1
)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11648 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (wxRichTextStyleSheet
*)((wxRichTextCtrl
const *)arg1
)->GetStyleSheet();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11662 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
= 0;
11664 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11665 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) NULL
;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 char * kwnames
[] = {
11674 (char *) "self",(char *) "styleSheet", NULL
11677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_ApplyStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11682 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11685 if (!SWIG_IsOK(res2
)) {
11686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11688 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (bool)(arg1
)->ApplyStyleSheet(arg2
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11705 SWIGINTERN PyObject
*RichTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11708 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
));
11709 return SWIG_Py_Void();
11712 SWIGINTERN PyObject
*RichTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 return SWIG_Python_InitShadowInstance(args
);
11716 SWIGINTERN PyObject
*_wrap_new_RichTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= 0;
11718 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11719 int arg2
= (int) 0 ;
11720 wxRichTextEvent
*result
= 0 ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 char * kwnames
[] = {
11728 (char *) "commandType",(char *) "winid", NULL
11731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11734 if (!SWIG_IsOK(ecode1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11737 arg1
= static_cast< wxEventType
>(val1
);
11740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11741 if (!SWIG_IsOK(ecode2
)) {
11742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11744 arg2
= static_cast< int >(val2
);
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxRichTextEvent
*)new wxRichTextEvent(arg1
,arg2
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW
| 0 );
11759 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11760 PyObject
*resultobj
= 0;
11761 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11765 PyObject
*swig_obj
[1] ;
11767 if (!args
) SWIG_fail
;
11768 swig_obj
[0] = args
;
11769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11770 if (!SWIG_IsOK(res1
)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11773 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (int)((wxRichTextEvent
const *)arg1
)->GetPosition();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= SWIG_From_int(static_cast< int >(result
));
11787 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
= 0;
11789 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char * kwnames
[] = {
11798 (char *) "self",(char *) "n", NULL
11801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11806 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11808 if (!SWIG_IsOK(ecode2
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
11811 arg2
= static_cast< int >(val2
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 (arg1
)->SetPosition(arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_Py_Void();
11825 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11826 PyObject
*resultobj
= 0;
11827 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11831 PyObject
*swig_obj
[1] ;
11833 if (!args
) SWIG_fail
;
11834 swig_obj
[0] = args
;
11835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11836 if (!SWIG_IsOK(res1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11839 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (int)((wxRichTextEvent
const *)arg1
)->GetFlags();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_From_int(static_cast< int >(result
));
11853 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
= 0;
11855 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char * kwnames
[] = {
11864 (char *) "self",(char *) "flags", NULL
11867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11869 if (!SWIG_IsOK(res1
)) {
11870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11872 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11874 if (!SWIG_IsOK(ecode2
)) {
11875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11877 arg2
= static_cast< int >(val2
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 (arg1
)->SetFlags(arg2
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_Py_Void();
11891 SWIGINTERN PyObject
*RichTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11894 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
));
11895 return SWIG_Py_Void();
11898 SWIGINTERN PyObject
*RichTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11899 return SWIG_Python_InitShadowInstance(args
);
11902 static PyMethodDef SwigMethods
[] = {
11903 { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11904 { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
},
11905 { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11906 { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11907 { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11908 { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11909 { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11910 { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
},
11911 { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11912 { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
},
11913 { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11914 { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11915 { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11916 { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11917 { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
},
11918 { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
},
11919 { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
},
11920 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
},
11921 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
},
11922 { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11923 { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
},
11924 { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
},
11925 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11926 { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11927 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11928 { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11929 { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11930 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11931 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11932 { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11933 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11934 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11935 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11936 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11937 { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11938 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11939 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11940 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11941 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11942 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11943 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11944 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11945 { (char *)"RichTextAttr_SetBulletText", (PyCFunction
) _wrap_RichTextAttr_SetBulletText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11946 { (char *)"RichTextAttr_SetBulletFont", (PyCFunction
) _wrap_RichTextAttr_SetBulletFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11947 { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
},
11948 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
},
11949 { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
},
11950 { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
},
11951 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
},
11952 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
},
11953 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
},
11954 { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
},
11955 { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
},
11956 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
},
11957 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
},
11958 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
},
11959 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
},
11960 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
},
11961 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
},
11962 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
},
11963 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
},
11964 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
},
11965 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
},
11966 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
},
11967 { (char *)"RichTextAttr_GetBulletText", (PyCFunction
)_wrap_RichTextAttr_GetBulletText
, METH_O
, NULL
},
11968 { (char *)"RichTextAttr_GetBulletFont", (PyCFunction
)_wrap_RichTextAttr_GetBulletFont
, METH_O
, NULL
},
11969 { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
},
11970 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
},
11971 { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
},
11972 { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
},
11973 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
},
11974 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
},
11975 { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
},
11976 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
},
11977 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
},
11978 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
},
11979 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
},
11980 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
},
11981 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
},
11982 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
},
11983 { (char *)"RichTextAttr_HasBulletText", (PyCFunction
)_wrap_RichTextAttr_HasBulletText
, METH_O
, NULL
},
11984 { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11985 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
},
11986 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
},
11987 { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
},
11988 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
},
11989 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
},
11990 { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11991 { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
},
11992 { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11993 { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
},
11994 { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11995 { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11996 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11997 { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11998 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
},
11999 { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
},
12000 { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
},
12001 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
},
12002 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
},
12003 { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
},
12004 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
},
12005 { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
},
12006 { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12007 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12008 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
},
12009 { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
},
12010 { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12011 { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12012 { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12013 { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12014 { (char *)"RichTextCtrl_SetHandlerFlags", (PyCFunction
) _wrap_RichTextCtrl_SetHandlerFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12015 { (char *)"RichTextCtrl_GetHandlerFlags", (PyCFunction
)_wrap_RichTextCtrl_GetHandlerFlags
, METH_O
, NULL
},
12016 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
},
12017 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
},
12018 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12019 { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12020 { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12021 { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12022 { (char *)"RichTextCtrl_SetStyleEx", (PyCFunction
) _wrap_RichTextCtrl_SetStyleEx
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12023 { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12024 { (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction
) _wrap_RichTextCtrl_GetUncombinedStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12025 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12026 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
},
12027 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12028 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12029 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12030 { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12031 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12032 { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
},
12033 { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
},
12034 { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
},
12035 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
},
12036 { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
},
12037 { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
},
12038 { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
},
12039 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
},
12040 { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
},
12041 { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
},
12042 { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
},
12043 { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
},
12044 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12045 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
12046 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
},
12047 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
},
12048 { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12049 { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
},
12050 { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12051 { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
},
12052 { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12053 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12054 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12055 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12056 { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
},
12057 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12058 { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
},
12059 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
},
12060 { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
},
12061 { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
},
12062 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
},
12063 { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
},
12064 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
},
12065 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
},
12066 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12067 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
},
12068 { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12069 { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
},
12070 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12071 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
},
12072 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12073 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
},
12074 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12075 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
},
12076 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12077 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
},
12078 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12079 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
},
12080 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12081 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
},
12082 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12083 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
},
12084 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12085 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
},
12086 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12087 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
},
12088 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12089 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
},
12090 { (char *)"RichTextCtrl_BeginListStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginListStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12091 { (char *)"RichTextCtrl_EndListStyle", (PyCFunction
)_wrap_RichTextCtrl_EndListStyle
, METH_O
, NULL
},
12092 { (char *)"RichTextCtrl_BeginURL", (PyCFunction
) _wrap_RichTextCtrl_BeginURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12093 { (char *)"RichTextCtrl_EndURL", (PyCFunction
)_wrap_RichTextCtrl_EndURL
, METH_O
, NULL
},
12094 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
},
12095 { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
},
12096 { (char *)"RichTextCtrl_SelectWord", (PyCFunction
) _wrap_RichTextCtrl_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12097 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
},
12098 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12099 { (char *)"RichTextCtrl_GetInternalSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetInternalSelectionRange
, METH_O
, NULL
},
12100 { (char *)"RichTextCtrl_SetInternalSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetInternalSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12101 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12102 { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12103 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12104 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12105 { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12106 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12107 { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12108 { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12109 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12110 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12111 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12112 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12113 { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12114 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12115 { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12116 { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12117 { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12118 { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12119 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
},
12120 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12121 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
},
12122 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
},
12123 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
},
12124 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
},
12125 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
},
12126 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12127 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12128 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
},
12129 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
},
12130 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
},
12131 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12132 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
},
12133 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
},
12134 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
},
12135 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12136 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12137 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
},
12138 { (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_ApplyStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12139 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
},
12140 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
},
12141 { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12142 { (char *)"RichTextEvent_GetPosition", (PyCFunction
)_wrap_RichTextEvent_GetPosition
, METH_O
, NULL
},
12143 { (char *)"RichTextEvent_SetPosition", (PyCFunction
) _wrap_RichTextEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12144 { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
},
12145 { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12146 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
},
12147 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
},
12148 { NULL
, NULL
, 0, NULL
}
12152 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12154 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
12155 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
12157 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
12158 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12160 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
12161 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12163 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
12164 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12166 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
12167 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12169 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
12170 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
12172 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
12173 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
12175 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) {
12176 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12178 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
12179 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12181 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
12182 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
12184 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
12185 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12187 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) {
12188 return (void *)((wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12190 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
12191 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12193 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
12194 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12196 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) {
12197 return (void *)((wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12199 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
12200 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12202 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
12203 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12205 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
12206 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12208 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
12209 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
12211 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
12212 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
12214 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
12215 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12217 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
12218 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12220 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
12221 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12223 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
12224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12226 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
12227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12229 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
12230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12232 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
12233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12235 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
12236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12238 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
12239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12241 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
12242 return (void *)((wxWindow
*) ((wxPanel
*) x
));
12244 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
12245 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
12247 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
12248 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12250 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
12251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12253 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
12254 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12256 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
12257 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
12259 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
12260 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12262 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
12263 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
12265 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
12266 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
12268 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
12269 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
12271 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
12272 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
12274 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
12275 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
12277 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
12278 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
12280 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
12281 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12283 static void *_p_wxControlTo_p_wxWindow(void *x
) {
12284 return (void *)((wxWindow
*) ((wxControl
*) x
));
12286 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
12287 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12289 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
12290 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12292 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
12293 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12295 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
12296 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
12298 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
12299 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
12301 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
12302 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12304 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
12305 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
12307 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
12308 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12310 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
12311 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12313 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
12314 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
12316 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
12317 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12319 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
12320 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
12322 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
12323 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12325 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
12326 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12328 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
12329 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12331 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
12332 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
12334 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
12335 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12337 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) {
12338 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12340 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
12341 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12343 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
12344 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
12346 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
12347 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
12349 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
12350 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
12352 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
12353 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
12355 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
12356 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
12358 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
12359 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12361 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
12362 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
12364 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
12365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
12367 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
12368 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12370 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
12371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12373 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
12374 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
12376 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
12377 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
12379 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
12380 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12382 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
12383 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
12385 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
12386 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12388 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
12389 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12391 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
12392 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
12394 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
12395 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
12397 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
12398 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
12400 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
12401 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
12403 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
12404 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
12406 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
12407 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
12409 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
12410 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
12412 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
12413 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
12415 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
12416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12418 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) {
12419 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12421 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
12422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12424 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
12425 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12427 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
12428 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12430 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
12431 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12433 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
12434 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12436 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
12437 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
12439 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
12440 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
12442 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
12443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12445 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
12446 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
12448 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
12449 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12451 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
12452 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
12454 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
12455 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
12457 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
12458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12460 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
12461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12463 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
12464 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12466 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
12467 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
12469 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
12470 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
12472 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
12473 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12475 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12476 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12478 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12479 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12481 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12484 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12487 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12488 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12490 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12491 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12493 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12496 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12497 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12499 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12500 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12502 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12503 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12505 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12506 return (void *)((wxObject
*) ((wxSizer
*) x
));
12508 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12509 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12511 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12514 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12517 static void *_p_wxEventTo_p_wxObject(void *x
) {
12518 return (void *)((wxObject
*) ((wxEvent
*) x
));
12520 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12521 return (void *)((wxObject
*) ((wxFontData
*) x
));
12523 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12524 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12526 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12527 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12529 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12530 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12532 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12533 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12535 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12536 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12538 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12539 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12541 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12544 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
12545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12547 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12550 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12551 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12553 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) {
12554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12557 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12560 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12562 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12563 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12565 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12566 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12568 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12571 static void *_p_wxControlTo_p_wxObject(void *x
) {
12572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12574 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12575 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12577 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12580 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12581 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12583 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12584 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12586 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12587 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12589 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12592 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) {
12593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12595 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12596 return (void *)((wxObject
*) ((wxColourData
*) x
));
12598 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12599 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12601 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12604 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12607 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12610 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12613 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12616 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12619 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12622 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12625 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
12626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12628 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12631 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12634 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12637 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12638 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12640 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12641 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12643 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12644 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12646 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12649 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12650 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12652 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12655 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12656 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12658 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12659 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12661 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12662 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12664 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12665 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12667 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12668 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12670 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12671 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12673 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12676 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12679 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12682 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12685 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12688 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12689 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12691 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12692 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12694 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12695 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12697 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12700 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12703 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12704 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12706 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12709 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12712 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
12713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
12715 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12716 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12718 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
12719 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
12721 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12722 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12724 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12727 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12730 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
12731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
12733 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12734 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12736 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12737 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12739 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12742 static void *_p_wxImageTo_p_wxObject(void *x
) {
12743 return (void *)((wxObject
*) ((wxImage
*) x
));
12745 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12748 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12749 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12751 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12752 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12754 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12755 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12757 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12760 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12763 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12766 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12767 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12769 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12770 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12772 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12773 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12775 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12776 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12778 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12781 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12784 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12787 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12790 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12793 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12796 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12799 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12802 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12805 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12808 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12811 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12814 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12817 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12820 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12821 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12823 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12824 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12826 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12829 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12832 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12835 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12838 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12841 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12842 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
12844 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12845 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12847 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12848 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12850 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12853 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12854 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12856 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12857 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12859 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12860 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12862 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12863 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12865 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12866 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12868 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12871 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12872 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12874 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12877 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12880 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12881 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12883 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12884 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12886 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12889 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12892 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12893 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12895 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12896 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12898 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12901 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12902 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12904 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12907 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12910 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12913 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12914 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12916 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12917 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12919 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12920 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12922 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12923 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12925 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12928 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12931 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12934 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12937 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12940 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
12941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12943 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12946 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12949 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12952 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12953 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12955 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12956 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12958 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12961 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12964 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12967 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12968 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12970 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12973 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12974 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12976 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12977 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12979 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12980 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12982 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12983 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12985 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12988 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12989 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12991 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12992 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12994 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12997 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12998 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
13000 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
13001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
13003 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
13004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13006 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
13007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
13009 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
13010 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
13012 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
13013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13015 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
13016 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
13018 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
13019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13021 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
13022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
13024 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
13025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13027 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
13028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13030 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
13031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
13033 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
13034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13036 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
13037 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
13039 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
13040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
13042 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
13043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13045 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
13046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13048 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
13049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13051 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
13052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13054 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
13055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13057 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) {
13058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
13060 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
13061 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
13063 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
13064 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13066 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
13067 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
13069 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) {
13070 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
13072 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
13073 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
13075 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
13076 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
13078 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
13079 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13081 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
13082 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13084 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
13085 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13087 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
13088 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
13090 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
13091 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13093 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
13094 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13096 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
13097 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
13099 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
13100 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
13102 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
13103 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};
13104 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
13105 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
13106 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13107 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13108 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13109 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
13110 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13111 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
13112 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13113 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13114 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13115 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13116 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13117 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13118 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13119 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13120 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13121 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13122 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13123 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13124 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13125 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13126 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13127 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13128 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13129 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13130 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13131 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13132 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13133 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13134 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13135 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13136 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13137 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13138 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13139 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13140 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13141 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13142 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13143 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13144 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13145 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13146 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13147 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13148 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13149 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13150 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13151 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13152 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13153 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13154 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13155 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13156 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13157 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13158 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13159 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13160 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13161 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13162 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13163 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
13164 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13165 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13166 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13167 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13168 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13169 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13170 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13171 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13172 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13173 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13174 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13175 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13176 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
13177 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13178 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13179 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13180 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13181 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13182 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13183 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13184 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13185 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13186 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13187 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13188 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
13189 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13190 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
13191 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13192 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13193 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13194 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
13195 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13196 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13197 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13198 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13199 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13200 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
13201 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13202 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13203 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13204 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
13205 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
13206 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13207 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13208 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
13209 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
13210 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13211 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13212 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13213 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13214 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13215 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13216 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13217 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
13218 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13219 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
13220 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
13221 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13222 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13223 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13224 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
13225 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13226 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
13227 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
13228 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
13229 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13230 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13231 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13232 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13233 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13234 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13235 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13236 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13237 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13238 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13239 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13240 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13241 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13242 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13243 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
13244 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13245 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13246 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13247 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13248 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13249 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13250 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13251 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13252 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13253 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13254 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13255 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13256 static swig_type_info _swigt__p_wxRichTextAttr
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
13257 static swig_type_info _swigt__p_wxRichTextBuffer
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
13258 static swig_type_info _swigt__p_wxRichTextCtrl
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
13259 static swig_type_info _swigt__p_wxRichTextEvent
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
13260 static swig_type_info _swigt__p_wxRichTextImageBlock
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
13261 static swig_type_info _swigt__p_wxRichTextRange
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
13262 static swig_type_info _swigt__p_wxRichTextStyleSheet
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
13263 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13264 static swig_type_info _swigt__p_wxTextCoord
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
13265 static swig_type_info _swigt__p_wxTextCtrlHitTestResult
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
13266 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13268 static swig_type_info
*swig_type_initial
[] = {
13270 &_swigt__p_form_ops_t
,
13273 &_swigt__p_unsigned_char
,
13274 &_swigt__p_unsigned_int
,
13275 &_swigt__p_unsigned_long
,
13276 &_swigt__p_wxANIHandler
,
13277 &_swigt__p_wxAcceleratorTable
,
13278 &_swigt__p_wxActivateEvent
,
13279 &_swigt__p_wxArrayInt
,
13280 &_swigt__p_wxBMPHandler
,
13281 &_swigt__p_wxBitmap
,
13282 &_swigt__p_wxBoxSizer
,
13283 &_swigt__p_wxCURHandler
,
13284 &_swigt__p_wxCalculateLayoutEvent
,
13286 &_swigt__p_wxChildFocusEvent
,
13287 &_swigt__p_wxClipboardTextEvent
,
13288 &_swigt__p_wxCloseEvent
,
13289 &_swigt__p_wxColour
,
13290 &_swigt__p_wxColourData
,
13291 &_swigt__p_wxColourDialog
,
13292 &_swigt__p_wxCommandEvent
,
13293 &_swigt__p_wxContextMenuEvent
,
13294 &_swigt__p_wxControl
,
13295 &_swigt__p_wxControlWithItems
,
13296 &_swigt__p_wxDateEvent
,
13297 &_swigt__p_wxDialog
,
13298 &_swigt__p_wxDirDialog
,
13299 &_swigt__p_wxDisplayChangedEvent
,
13300 &_swigt__p_wxDropFilesEvent
,
13301 &_swigt__p_wxDuplexMode
,
13302 &_swigt__p_wxEraseEvent
,
13303 &_swigt__p_wxEvent
,
13304 &_swigt__p_wxEvtHandler
,
13305 &_swigt__p_wxFSFile
,
13306 &_swigt__p_wxFileDialog
,
13307 &_swigt__p_wxFileSystem
,
13308 &_swigt__p_wxFindDialogEvent
,
13309 &_swigt__p_wxFindReplaceData
,
13310 &_swigt__p_wxFindReplaceDialog
,
13311 &_swigt__p_wxFlexGridSizer
,
13312 &_swigt__p_wxFocusEvent
,
13314 &_swigt__p_wxFontData
,
13315 &_swigt__p_wxFontDialog
,
13316 &_swigt__p_wxFrame
,
13317 &_swigt__p_wxGBSizerItem
,
13318 &_swigt__p_wxGIFHandler
,
13319 &_swigt__p_wxGridBagSizer
,
13320 &_swigt__p_wxGridSizer
,
13321 &_swigt__p_wxICOHandler
,
13322 &_swigt__p_wxIconizeEvent
,
13323 &_swigt__p_wxIdleEvent
,
13324 &_swigt__p_wxImage
,
13325 &_swigt__p_wxImageHandler
,
13326 &_swigt__p_wxIndividualLayoutConstraint
,
13327 &_swigt__p_wxInitDialogEvent
,
13328 &_swigt__p_wxJPEGHandler
,
13329 &_swigt__p_wxKeyEvent
,
13330 &_swigt__p_wxLayoutAlgorithm
,
13331 &_swigt__p_wxLayoutConstraints
,
13332 &_swigt__p_wxMDIChildFrame
,
13333 &_swigt__p_wxMDIClientWindow
,
13334 &_swigt__p_wxMDIParentFrame
,
13335 &_swigt__p_wxMaximizeEvent
,
13337 &_swigt__p_wxMenuBar
,
13338 &_swigt__p_wxMenuEvent
,
13339 &_swigt__p_wxMenuItem
,
13340 &_swigt__p_wxMessageDialog
,
13341 &_swigt__p_wxMiniFrame
,
13342 &_swigt__p_wxMouseCaptureChangedEvent
,
13343 &_swigt__p_wxMouseCaptureLostEvent
,
13344 &_swigt__p_wxMouseEvent
,
13345 &_swigt__p_wxMoveEvent
,
13346 &_swigt__p_wxMultiChoiceDialog
,
13347 &_swigt__p_wxNavigationKeyEvent
,
13348 &_swigt__p_wxNcPaintEvent
,
13349 &_swigt__p_wxNotifyEvent
,
13350 &_swigt__p_wxNumberEntryDialog
,
13351 &_swigt__p_wxObject
,
13352 &_swigt__p_wxPCXHandler
,
13353 &_swigt__p_wxPNGHandler
,
13354 &_swigt__p_wxPNMHandler
,
13355 &_swigt__p_wxPageSetupDialog
,
13356 &_swigt__p_wxPageSetupDialogData
,
13357 &_swigt__p_wxPaintEvent
,
13358 &_swigt__p_wxPaletteChangedEvent
,
13359 &_swigt__p_wxPanel
,
13360 &_swigt__p_wxPaperSize
,
13361 &_swigt__p_wxPasswordEntryDialog
,
13362 &_swigt__p_wxPopupWindow
,
13363 &_swigt__p_wxPreviewCanvas
,
13364 &_swigt__p_wxPreviewControlBar
,
13365 &_swigt__p_wxPreviewFrame
,
13366 &_swigt__p_wxPrintData
,
13367 &_swigt__p_wxPrintDialog
,
13368 &_swigt__p_wxPrintDialogData
,
13369 &_swigt__p_wxPrintPreview
,
13370 &_swigt__p_wxPrinter
,
13371 &_swigt__p_wxProgressDialog
,
13372 &_swigt__p_wxPyApp
,
13373 &_swigt__p_wxPyCommandEvent
,
13374 &_swigt__p_wxPyEvent
,
13375 &_swigt__p_wxPyHtmlListBox
,
13376 &_swigt__p_wxPyImageHandler
,
13377 &_swigt__p_wxPyPanel
,
13378 &_swigt__p_wxPyPopupTransientWindow
,
13379 &_swigt__p_wxPyPreviewControlBar
,
13380 &_swigt__p_wxPyPreviewFrame
,
13381 &_swigt__p_wxPyPrintPreview
,
13382 &_swigt__p_wxPyPrintout
,
13383 &_swigt__p_wxPyScrolledWindow
,
13384 &_swigt__p_wxPySizer
,
13385 &_swigt__p_wxPyTaskBarIcon
,
13386 &_swigt__p_wxPyVListBox
,
13387 &_swigt__p_wxPyVScrolledWindow
,
13388 &_swigt__p_wxPyValidator
,
13389 &_swigt__p_wxPyWindow
,
13390 &_swigt__p_wxQueryLayoutInfoEvent
,
13391 &_swigt__p_wxQueryNewPaletteEvent
,
13392 &_swigt__p_wxRichTextAttr
,
13393 &_swigt__p_wxRichTextBuffer
,
13394 &_swigt__p_wxRichTextCtrl
,
13395 &_swigt__p_wxRichTextEvent
,
13396 &_swigt__p_wxRichTextImageBlock
,
13397 &_swigt__p_wxRichTextRange
,
13398 &_swigt__p_wxRichTextStyleSheet
,
13399 &_swigt__p_wxSashEvent
,
13400 &_swigt__p_wxSashLayoutWindow
,
13401 &_swigt__p_wxSashWindow
,
13402 &_swigt__p_wxScrollEvent
,
13403 &_swigt__p_wxScrollWinEvent
,
13404 &_swigt__p_wxScrolledWindow
,
13405 &_swigt__p_wxSetCursorEvent
,
13406 &_swigt__p_wxShowEvent
,
13407 &_swigt__p_wxSimpleHtmlListBox
,
13408 &_swigt__p_wxSingleChoiceDialog
,
13409 &_swigt__p_wxSizeEvent
,
13410 &_swigt__p_wxSizer
,
13411 &_swigt__p_wxSizerItem
,
13412 &_swigt__p_wxSplashScreen
,
13413 &_swigt__p_wxSplashScreenWindow
,
13414 &_swigt__p_wxSplitterEvent
,
13415 &_swigt__p_wxSplitterWindow
,
13416 &_swigt__p_wxStaticBoxSizer
,
13417 &_swigt__p_wxStatusBar
,
13418 &_swigt__p_wxStdDialogButtonSizer
,
13419 &_swigt__p_wxSysColourChangedEvent
,
13420 &_swigt__p_wxTGAHandler
,
13421 &_swigt__p_wxTIFFHandler
,
13422 &_swigt__p_wxTaskBarIconEvent
,
13423 &_swigt__p_wxTextCoord
,
13424 &_swigt__p_wxTextCtrlHitTestResult
,
13425 &_swigt__p_wxTextEntryDialog
,
13426 &_swigt__p_wxTipWindow
,
13427 &_swigt__p_wxTopLevelWindow
,
13428 &_swigt__p_wxUpdateUIEvent
,
13429 &_swigt__p_wxValidator
,
13430 &_swigt__p_wxWindow
,
13431 &_swigt__p_wxWindowCreateEvent
,
13432 &_swigt__p_wxWindowDestroyEvent
,
13433 &_swigt__p_wxXPMHandler
,
13436 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
13437 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
13438 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
13439 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
13440 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
13441 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
13442 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
13443 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
13444 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13445 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
13446 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
13447 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
13448 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13449 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
13450 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13451 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
13452 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
13453 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13454 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13455 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13456 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13457 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13458 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13459 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}};
13460 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13461 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13462 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13463 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13464 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13465 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13466 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13467 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13468 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
13469 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13470 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13471 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13472 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13473 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13474 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13475 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13476 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13477 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13478 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13479 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13480 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13481 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13482 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13483 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13484 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13485 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13486 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13487 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13488 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13489 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13490 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13491 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}};
13492 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13493 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13494 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13495 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13496 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
13497 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13498 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13499 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13500 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13501 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13502 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13503 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13504 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13505 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13506 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13507 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13508 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13509 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
13510 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13511 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13512 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13513 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13514 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13515 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13516 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13517 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13518 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13519 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13520 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13521 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
13522 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13523 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13524 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13525 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13526 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13527 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = {{&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13528 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13529 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13530 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13531 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13532 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13533 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13534 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13535 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13536 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13537 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13538 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13539 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13540 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_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_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
13541 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13542 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13543 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}};
13544 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13545 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13546 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13547 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13548 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13549 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13550 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13551 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13552 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13553 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13554 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13555 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13556 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13557 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13558 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13559 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13560 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13561 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13562 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13563 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13564 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13565 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13566 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13567 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13568 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13569 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13570 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13571 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13572 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13573 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13574 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13575 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13576 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
13577 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13578 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13579 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13580 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13581 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13582 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13583 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13584 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13585 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13586 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13587 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
13588 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}};
13589 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13590 static swig_cast_info _swigc__p_wxRichTextAttr
[] = { {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
13591 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = { {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}};
13592 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = { {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13593 static swig_cast_info _swigc__p_wxRichTextEvent
[] = { {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13594 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = { {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}};
13595 static swig_cast_info _swigc__p_wxRichTextRange
[] = { {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}};
13596 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = { {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}};
13597 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}};
13598 static swig_cast_info _swigc__p_wxTextCoord
[] = { {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}};
13599 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = { {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}};
13600 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}};
13602 static swig_cast_info
*swig_cast_initial
[] = {
13604 _swigc__p_form_ops_t
,
13607 _swigc__p_unsigned_char
,
13608 _swigc__p_unsigned_int
,
13609 _swigc__p_unsigned_long
,
13610 _swigc__p_wxANIHandler
,
13611 _swigc__p_wxAcceleratorTable
,
13612 _swigc__p_wxActivateEvent
,
13613 _swigc__p_wxArrayInt
,
13614 _swigc__p_wxBMPHandler
,
13615 _swigc__p_wxBitmap
,
13616 _swigc__p_wxBoxSizer
,
13617 _swigc__p_wxCURHandler
,
13618 _swigc__p_wxCalculateLayoutEvent
,
13620 _swigc__p_wxChildFocusEvent
,
13621 _swigc__p_wxClipboardTextEvent
,
13622 _swigc__p_wxCloseEvent
,
13623 _swigc__p_wxColour
,
13624 _swigc__p_wxColourData
,
13625 _swigc__p_wxColourDialog
,
13626 _swigc__p_wxCommandEvent
,
13627 _swigc__p_wxContextMenuEvent
,
13628 _swigc__p_wxControl
,
13629 _swigc__p_wxControlWithItems
,
13630 _swigc__p_wxDateEvent
,
13631 _swigc__p_wxDialog
,
13632 _swigc__p_wxDirDialog
,
13633 _swigc__p_wxDisplayChangedEvent
,
13634 _swigc__p_wxDropFilesEvent
,
13635 _swigc__p_wxDuplexMode
,
13636 _swigc__p_wxEraseEvent
,
13638 _swigc__p_wxEvtHandler
,
13639 _swigc__p_wxFSFile
,
13640 _swigc__p_wxFileDialog
,
13641 _swigc__p_wxFileSystem
,
13642 _swigc__p_wxFindDialogEvent
,
13643 _swigc__p_wxFindReplaceData
,
13644 _swigc__p_wxFindReplaceDialog
,
13645 _swigc__p_wxFlexGridSizer
,
13646 _swigc__p_wxFocusEvent
,
13648 _swigc__p_wxFontData
,
13649 _swigc__p_wxFontDialog
,
13651 _swigc__p_wxGBSizerItem
,
13652 _swigc__p_wxGIFHandler
,
13653 _swigc__p_wxGridBagSizer
,
13654 _swigc__p_wxGridSizer
,
13655 _swigc__p_wxICOHandler
,
13656 _swigc__p_wxIconizeEvent
,
13657 _swigc__p_wxIdleEvent
,
13659 _swigc__p_wxImageHandler
,
13660 _swigc__p_wxIndividualLayoutConstraint
,
13661 _swigc__p_wxInitDialogEvent
,
13662 _swigc__p_wxJPEGHandler
,
13663 _swigc__p_wxKeyEvent
,
13664 _swigc__p_wxLayoutAlgorithm
,
13665 _swigc__p_wxLayoutConstraints
,
13666 _swigc__p_wxMDIChildFrame
,
13667 _swigc__p_wxMDIClientWindow
,
13668 _swigc__p_wxMDIParentFrame
,
13669 _swigc__p_wxMaximizeEvent
,
13671 _swigc__p_wxMenuBar
,
13672 _swigc__p_wxMenuEvent
,
13673 _swigc__p_wxMenuItem
,
13674 _swigc__p_wxMessageDialog
,
13675 _swigc__p_wxMiniFrame
,
13676 _swigc__p_wxMouseCaptureChangedEvent
,
13677 _swigc__p_wxMouseCaptureLostEvent
,
13678 _swigc__p_wxMouseEvent
,
13679 _swigc__p_wxMoveEvent
,
13680 _swigc__p_wxMultiChoiceDialog
,
13681 _swigc__p_wxNavigationKeyEvent
,
13682 _swigc__p_wxNcPaintEvent
,
13683 _swigc__p_wxNotifyEvent
,
13684 _swigc__p_wxNumberEntryDialog
,
13685 _swigc__p_wxObject
,
13686 _swigc__p_wxPCXHandler
,
13687 _swigc__p_wxPNGHandler
,
13688 _swigc__p_wxPNMHandler
,
13689 _swigc__p_wxPageSetupDialog
,
13690 _swigc__p_wxPageSetupDialogData
,
13691 _swigc__p_wxPaintEvent
,
13692 _swigc__p_wxPaletteChangedEvent
,
13694 _swigc__p_wxPaperSize
,
13695 _swigc__p_wxPasswordEntryDialog
,
13696 _swigc__p_wxPopupWindow
,
13697 _swigc__p_wxPreviewCanvas
,
13698 _swigc__p_wxPreviewControlBar
,
13699 _swigc__p_wxPreviewFrame
,
13700 _swigc__p_wxPrintData
,
13701 _swigc__p_wxPrintDialog
,
13702 _swigc__p_wxPrintDialogData
,
13703 _swigc__p_wxPrintPreview
,
13704 _swigc__p_wxPrinter
,
13705 _swigc__p_wxProgressDialog
,
13707 _swigc__p_wxPyCommandEvent
,
13708 _swigc__p_wxPyEvent
,
13709 _swigc__p_wxPyHtmlListBox
,
13710 _swigc__p_wxPyImageHandler
,
13711 _swigc__p_wxPyPanel
,
13712 _swigc__p_wxPyPopupTransientWindow
,
13713 _swigc__p_wxPyPreviewControlBar
,
13714 _swigc__p_wxPyPreviewFrame
,
13715 _swigc__p_wxPyPrintPreview
,
13716 _swigc__p_wxPyPrintout
,
13717 _swigc__p_wxPyScrolledWindow
,
13718 _swigc__p_wxPySizer
,
13719 _swigc__p_wxPyTaskBarIcon
,
13720 _swigc__p_wxPyVListBox
,
13721 _swigc__p_wxPyVScrolledWindow
,
13722 _swigc__p_wxPyValidator
,
13723 _swigc__p_wxPyWindow
,
13724 _swigc__p_wxQueryLayoutInfoEvent
,
13725 _swigc__p_wxQueryNewPaletteEvent
,
13726 _swigc__p_wxRichTextAttr
,
13727 _swigc__p_wxRichTextBuffer
,
13728 _swigc__p_wxRichTextCtrl
,
13729 _swigc__p_wxRichTextEvent
,
13730 _swigc__p_wxRichTextImageBlock
,
13731 _swigc__p_wxRichTextRange
,
13732 _swigc__p_wxRichTextStyleSheet
,
13733 _swigc__p_wxSashEvent
,
13734 _swigc__p_wxSashLayoutWindow
,
13735 _swigc__p_wxSashWindow
,
13736 _swigc__p_wxScrollEvent
,
13737 _swigc__p_wxScrollWinEvent
,
13738 _swigc__p_wxScrolledWindow
,
13739 _swigc__p_wxSetCursorEvent
,
13740 _swigc__p_wxShowEvent
,
13741 _swigc__p_wxSimpleHtmlListBox
,
13742 _swigc__p_wxSingleChoiceDialog
,
13743 _swigc__p_wxSizeEvent
,
13745 _swigc__p_wxSizerItem
,
13746 _swigc__p_wxSplashScreen
,
13747 _swigc__p_wxSplashScreenWindow
,
13748 _swigc__p_wxSplitterEvent
,
13749 _swigc__p_wxSplitterWindow
,
13750 _swigc__p_wxStaticBoxSizer
,
13751 _swigc__p_wxStatusBar
,
13752 _swigc__p_wxStdDialogButtonSizer
,
13753 _swigc__p_wxSysColourChangedEvent
,
13754 _swigc__p_wxTGAHandler
,
13755 _swigc__p_wxTIFFHandler
,
13756 _swigc__p_wxTaskBarIconEvent
,
13757 _swigc__p_wxTextCoord
,
13758 _swigc__p_wxTextCtrlHitTestResult
,
13759 _swigc__p_wxTextEntryDialog
,
13760 _swigc__p_wxTipWindow
,
13761 _swigc__p_wxTopLevelWindow
,
13762 _swigc__p_wxUpdateUIEvent
,
13763 _swigc__p_wxValidator
,
13764 _swigc__p_wxWindow
,
13765 _swigc__p_wxWindowCreateEvent
,
13766 _swigc__p_wxWindowDestroyEvent
,
13767 _swigc__p_wxXPMHandler
,
13771 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13773 static swig_const_info swig_const_table
[] = {
13774 {0, 0, 0, 0.0, 0, 0}};
13779 /* -----------------------------------------------------------------------------
13780 * Type initialization:
13781 * This problem is tough by the requirement that no dynamic
13782 * memory is used. Also, since swig_type_info structures store pointers to
13783 * swig_cast_info structures and swig_cast_info structures store pointers back
13784 * to swig_type_info structures, we need some lookup code at initialization.
13785 * The idea is that swig generates all the structures that are needed.
13786 * The runtime then collects these partially filled structures.
13787 * The SWIG_InitializeModule function takes these initial arrays out of
13788 * swig_module, and does all the lookup, filling in the swig_module.types
13789 * array with the correct data and linking the correct swig_cast_info
13790 * structures together.
13792 * The generated swig_type_info structures are assigned staticly to an initial
13793 * array. We just loop though that array, and handle each type individually.
13794 * First we lookup if this type has been already loaded, and if so, use the
13795 * loaded structure instead of the generated one. Then we have to fill in the
13796 * cast linked list. The cast data is initially stored in something like a
13797 * two-dimensional array. Each row corresponds to a type (there are the same
13798 * number of rows as there are in the swig_type_initial array). Each entry in
13799 * a column is one of the swig_cast_info structures for that type.
13800 * The cast_initial array is actually an array of arrays, because each row has
13801 * a variable number of columns. So to actually build the cast linked list,
13802 * we find the array of casts associated with the type, and loop through it
13803 * adding the casts to the list. The one last trick we need to do is making
13804 * sure the type pointer in the swig_cast_info struct is correct.
13806 * First off, we lookup the cast->type name to see if it is already loaded.
13807 * There are three cases to handle:
13808 * 1) If the cast->type has already been loaded AND the type we are adding
13809 * casting info to has not been loaded (it is in this module), THEN we
13810 * replace the cast->type pointer with the type pointer that has already
13812 * 2) If BOTH types (the one we are adding casting info to, and the
13813 * cast->type) are loaded, THEN the cast info has already been loaded by
13814 * the previous module so we just ignore it.
13815 * 3) Finally, if cast->type has not already been loaded, then we add that
13816 * swig_cast_info to the linked list (because the cast->type) pointer will
13818 * ----------------------------------------------------------------------------- */
13828 #define SWIGRUNTIME_DEBUG
13832 SWIG_InitializeModule(void *clientdata
) {
13834 swig_module_info
*module_head
;
13835 static int init_run
= 0;
13837 clientdata
= clientdata
;
13839 if (init_run
) return;
13842 /* Initialize the swig_module */
13843 swig_module
.type_initial
= swig_type_initial
;
13844 swig_module
.cast_initial
= swig_cast_initial
;
13846 /* Try and load any already created modules */
13847 module_head
= SWIG_GetModule(clientdata
);
13849 swig_module
.next
= module_head
->next
;
13850 module_head
->next
= &swig_module
;
13852 /* This is the first module loaded */
13853 swig_module
.next
= &swig_module
;
13854 SWIG_SetModule(clientdata
, &swig_module
);
13857 /* Now work on filling in swig_module.types */
13858 #ifdef SWIGRUNTIME_DEBUG
13859 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
13861 for (i
= 0; i
< swig_module
.size
; ++i
) {
13862 swig_type_info
*type
= 0;
13863 swig_type_info
*ret
;
13864 swig_cast_info
*cast
;
13866 #ifdef SWIGRUNTIME_DEBUG
13867 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13870 /* if there is another module already loaded */
13871 if (swig_module
.next
!= &swig_module
) {
13872 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
13875 /* Overwrite clientdata field */
13876 #ifdef SWIGRUNTIME_DEBUG
13877 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
13879 if (swig_module
.type_initial
[i
]->clientdata
) {
13880 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
13881 #ifdef SWIGRUNTIME_DEBUG
13882 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
13886 type
= swig_module
.type_initial
[i
];
13889 /* Insert casting types */
13890 cast
= swig_module
.cast_initial
[i
];
13891 while (cast
->type
) {
13892 /* Don't need to add information already in the list */
13894 #ifdef SWIGRUNTIME_DEBUG
13895 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
13897 if (swig_module
.next
!= &swig_module
) {
13898 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
13899 #ifdef SWIGRUNTIME_DEBUG
13900 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
13904 if (type
== swig_module
.type_initial
[i
]) {
13905 #ifdef SWIGRUNTIME_DEBUG
13906 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
13911 /* Check for casting already in the list */
13912 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
13913 #ifdef SWIGRUNTIME_DEBUG
13914 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
13916 if (!ocast
) ret
= 0;
13921 #ifdef SWIGRUNTIME_DEBUG
13922 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
13925 type
->cast
->prev
= cast
;
13926 cast
->next
= type
->cast
;
13932 /* Set entry in modules->types array equal to the type */
13933 swig_module
.types
[i
] = type
;
13935 swig_module
.types
[i
] = 0;
13937 #ifdef SWIGRUNTIME_DEBUG
13938 printf("**** SWIG_InitializeModule: Cast List ******\n");
13939 for (i
= 0; i
< swig_module
.size
; ++i
) {
13941 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
13942 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13943 while (cast
->type
) {
13944 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
13948 printf("---- Total casts: %d\n",j
);
13950 printf("**** SWIG_InitializeModule: Cast List ******\n");
13954 /* This function will propagate the clientdata field of type to
13955 * any new swig_type_info structures that have been added into the list
13956 * of equivalent types. It is like calling
13957 * SWIG_TypeClientData(type, clientdata) a second time.
13960 SWIG_PropagateClientData(void) {
13962 swig_cast_info
*equiv
;
13963 static int init_run
= 0;
13965 if (init_run
) return;
13968 for (i
= 0; i
< swig_module
.size
; i
++) {
13969 if (swig_module
.types
[i
]->clientdata
) {
13970 equiv
= swig_module
.types
[i
]->cast
;
13972 if (!equiv
->converter
) {
13973 if (equiv
->type
&& !equiv
->type
->clientdata
)
13974 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
13976 equiv
= equiv
->next
;
13996 /* Python-specific SWIG API */
13997 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13998 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13999 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14001 /* -----------------------------------------------------------------------------
14002 * global variable support code.
14003 * ----------------------------------------------------------------------------- */
14005 typedef struct swig_globalvar
{
14006 char *name
; /* Name of global variable */
14007 PyObject
*(*get_attr
)(void); /* Return the current value */
14008 int (*set_attr
)(PyObject
*); /* Set the value */
14009 struct swig_globalvar
*next
;
14012 typedef struct swig_varlinkobject
{
14014 swig_globalvar
*vars
;
14015 } swig_varlinkobject
;
14017 SWIGINTERN PyObject
*
14018 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
14019 return PyString_FromString("<Swig global variables>");
14022 SWIGINTERN PyObject
*
14023 swig_varlink_str(swig_varlinkobject
*v
) {
14024 PyObject
*str
= PyString_FromString("(");
14025 swig_globalvar
*var
;
14026 for (var
= v
->vars
; var
; var
=var
->next
) {
14027 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
14028 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
14030 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
14035 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
14036 PyObject
*str
= swig_varlink_str(v
);
14037 fprintf(fp
,"Swig global variables ");
14038 fprintf(fp
,"%s\n", PyString_AsString(str
));
14044 swig_varlink_dealloc(swig_varlinkobject
*v
) {
14045 swig_globalvar
*var
= v
->vars
;
14047 swig_globalvar
*n
= var
->next
;
14054 SWIGINTERN PyObject
*
14055 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
14056 PyObject
*res
= NULL
;
14057 swig_globalvar
*var
= v
->vars
;
14059 if (strcmp(var
->name
,n
) == 0) {
14060 res
= (*var
->get_attr
)();
14065 if (res
== NULL
&& !PyErr_Occurred()) {
14066 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
14072 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
14074 swig_globalvar
*var
= v
->vars
;
14076 if (strcmp(var
->name
,n
) == 0) {
14077 res
= (*var
->set_attr
)(p
);
14082 if (res
== 1 && !PyErr_Occurred()) {
14083 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
14088 SWIGINTERN PyTypeObject
*
14089 swig_varlink_type(void) {
14090 static char varlink__doc__
[] = "Swig var link object";
14091 static PyTypeObject varlink_type
;
14092 static int type_init
= 0;
14094 const PyTypeObject tmp
14096 PyObject_HEAD_INIT(NULL
)
14097 0, /* Number of items in variable part (ob_size) */
14098 (char *)"swigvarlink", /* Type name (tp_name) */
14099 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
14100 0, /* Itemsize (tp_itemsize) */
14101 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
14102 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
14103 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
14104 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
14105 0, /* tp_compare */
14106 (reprfunc
) swig_varlink_repr
, /* tp_repr */
14107 0, /* tp_as_number */
14108 0, /* tp_as_sequence */
14109 0, /* tp_as_mapping */
14112 (reprfunc
)swig_varlink_str
, /* tp_str */
14113 0, /* tp_getattro */
14114 0, /* tp_setattro */
14115 0, /* tp_as_buffer */
14117 varlink__doc__
, /* tp_doc */
14118 0, /* tp_traverse */
14120 0, /* tp_richcompare */
14121 0, /* tp_weaklistoffset */
14122 #if PY_VERSION_HEX >= 0x02020000
14123 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14125 #if PY_VERSION_HEX >= 0x02030000
14128 #ifdef COUNT_ALLOCS
14129 0,0,0,0 /* tp_alloc -> tp_next */
14132 varlink_type
= tmp
;
14133 varlink_type
.ob_type
= &PyType_Type
;
14136 return &varlink_type
;
14139 /* Create a variable linking object for use later */
14140 SWIGINTERN PyObject
*
14141 SWIG_Python_newvarlink(void) {
14142 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
14146 return ((PyObject
*) result
);
14150 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
14151 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
14152 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
14154 size_t size
= strlen(name
)+1;
14155 gv
->name
= (char *)malloc(size
);
14157 strncpy(gv
->name
,name
,size
);
14158 gv
->get_attr
= get_attr
;
14159 gv
->set_attr
= set_attr
;
14160 gv
->next
= v
->vars
;
14166 SWIGINTERN PyObject
*
14168 static PyObject
*_SWIG_globals
= 0;
14169 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
14170 return _SWIG_globals
;
14173 /* -----------------------------------------------------------------------------
14174 * constants/methods manipulation
14175 * ----------------------------------------------------------------------------- */
14177 /* Install Constants */
14179 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
14182 for (i
= 0; constants
[i
].type
; ++i
) {
14183 switch(constants
[i
].type
) {
14184 case SWIG_PY_POINTER
:
14185 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
14187 case SWIG_PY_BINARY
:
14188 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
14195 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
14201 /* -----------------------------------------------------------------------------*/
14202 /* Fix SwigMethods to carry the callback ptrs when needed */
14203 /* -----------------------------------------------------------------------------*/
14206 SWIG_Python_FixMethods(PyMethodDef
*methods
,
14207 swig_const_info
*const_table
,
14208 swig_type_info
**types
,
14209 swig_type_info
**types_initial
) {
14211 for (i
= 0; methods
[i
].ml_name
; ++i
) {
14212 const char *c
= methods
[i
].ml_doc
;
14213 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
14215 swig_const_info
*ci
= 0;
14216 const char *name
= c
+ 10;
14217 for (j
= 0; const_table
[j
].type
; ++j
) {
14218 if (strncmp(const_table
[j
].name
, name
,
14219 strlen(const_table
[j
].name
)) == 0) {
14220 ci
= &(const_table
[j
]);
14225 size_t shift
= (ci
->ptype
) - types
;
14226 swig_type_info
*ty
= types_initial
[shift
];
14227 size_t ldoc
= (c
- methods
[i
].ml_doc
);
14228 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
14229 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
14232 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
14234 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
14236 strncpy(buff
, "swig_ptr: ", 10);
14238 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
14239 methods
[i
].ml_doc
= ndoc
;
14251 /* -----------------------------------------------------------------------------*
14252 * Partial Init method
14253 * -----------------------------------------------------------------------------*/
14258 SWIGEXPORT
void SWIG_init(void) {
14261 /* Fix SwigMethods to carry the callback ptrs when needed */
14262 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
14264 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
14265 d
= PyModule_GetDict(m
);
14267 SWIG_InitializeModule(0);
14268 SWIG_InstallConstants(d
,swig_const_table
);
14271 SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
14272 SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
)));
14273 SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
)));
14274 SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
)));
14275 SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
)));
14276 SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
)));
14277 SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
)));
14278 SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
)));
14279 SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
)));
14280 SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
)));
14281 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
)));
14282 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
)));
14283 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
)));
14284 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
)));
14285 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
)));
14286 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
)));
14287 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
)));
14288 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
)));
14289 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
)));
14290 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
)));
14291 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
)));
14292 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
)));
14293 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
)));
14294 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
)));
14295 SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
)));
14296 SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
)));
14297 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE
)));
14298 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_WITH_UNDO",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_WITH_UNDO
)));
14299 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE
)));
14300 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY
)));
14301 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY
)));
14302 SWIG_Python_SetConstant(d
, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE
)));
14303 SWIG_Python_SetConstant(d
, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE
)));
14304 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
14305 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
14306 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
14307 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
14308 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
14309 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
14310 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
14311 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
14312 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
14313 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
14314 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
14315 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
14316 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
)));
14317 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
)));
14318 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
)));
14319 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
)));
14320 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
)));
14321 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
)));
14322 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
)));
14323 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
)));
14324 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
)));
14325 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
)));
14326 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
)));
14327 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
)));
14328 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
)));
14329 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
)));
14330 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
)));
14331 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
)));
14332 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
)));
14333 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
)));
14334 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
)));
14335 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
)));
14336 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
14337 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
14338 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
14339 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
14340 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
14341 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
14342 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
14343 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
);
14344 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
);
14345 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
)));
14346 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
)));
14347 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
)));
14348 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
));
14349 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
));
14350 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
));
14351 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
));
14352 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));
14353 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING
));
14354 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED
));
14355 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING
));
14356 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED
));
14357 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_CHARACTER", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CHARACTER
));
14358 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_DELETE", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_DELETE
));
14360 wxRichTextModuleInit();