1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChar swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2521 #define SWIGTYPE_p_wxImage swig_types[55]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2527 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2529 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2530 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2531 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2533 #define SWIGTYPE_p_wxMenu swig_types[67]
2534 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2537 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2538 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2540 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMoveEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[81]
2548 #define SWIGTYPE_p_wxObject swig_types[82]
2549 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2550 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2554 #define SWIGTYPE_p_wxPaintEvent swig_types[88]
2555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPanel swig_types[90]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[91]
2558 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPopupWindow swig_types[93]
2560 #define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
2561 #define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewFrame swig_types[96]
2563 #define SWIGTYPE_p_wxPrintData swig_types[97]
2564 #define SWIGTYPE_p_wxPrintDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPrintDialogData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintPreview swig_types[100]
2567 #define SWIGTYPE_p_wxPrinter swig_types[101]
2568 #define SWIGTYPE_p_wxProgressDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPyApp swig_types[103]
2570 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
2573 #define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPyPanel swig_types[108]
2575 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
2576 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
2577 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
2578 #define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
2579 #define SWIGTYPE_p_wxPyPrintout swig_types[113]
2580 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPySizer swig_types[115]
2582 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
2583 #define SWIGTYPE_p_wxPyVListBox swig_types[117]
2584 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2586 #define SWIGTYPE_p_wxPyWindow swig_types[120]
2587 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
2589 #define SWIGTYPE_p_wxRichTextAttr swig_types[123]
2590 #define SWIGTYPE_p_wxRichTextBuffer swig_types[124]
2591 #define SWIGTYPE_p_wxRichTextCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxRichTextEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[127]
2594 #define SWIGTYPE_p_wxRichTextRange swig_types[128]
2595 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[129]
2596 #define SWIGTYPE_p_wxSashEvent swig_types[130]
2597 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[131]
2598 #define SWIGTYPE_p_wxSashWindow swig_types[132]
2599 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrolledWindow swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTextCoord swig_types[152]
2619 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxWindow swig_types[159]
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629 static swig_type_info
*swig_types
[164];
2630 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634 /* -------- TYPES TABLE (END) -------- */
2636 #if (PY_VERSION_HEX <= 0x02000000)
2637 # if !defined(SWIG_PYTHON_CLASSIC)
2638 # error "This python version requires to use swig with the '-classic' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodern' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 /*-----------------------------------------------
2652 @(target):= _richtext.so
2653 ------------------------------------------------*/
2654 #define SWIG_init init_richtext
2656 #define SWIG_name "_richtext"
2658 #define SWIGVERSION 0x010329
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665 #include <stdexcept>
2669 class PyObject_ptr
{
2674 PyObject_ptr() :_obj(0)
2678 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2683 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2685 if (initial_ref
) Py_XINCREF(_obj
);
2688 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2690 Py_XINCREF(item
._obj
);
2701 operator PyObject
*() const
2706 PyObject
*operator->() const
2715 struct PyObject_var
: PyObject_ptr
{
2716 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2718 PyObject_var
& operator = (PyObject
* obj
)
2728 #include "wx/wxPython/wxPython.h"
2729 #include "wx/wxPython/pyclasses.h"
2730 #include "wx/wxPython/printfw.h"
2731 #include "wx/wxPython/twoitem.h"
2733 #include <wx/richtext/richtextctrl.h>
2738 class wxBufferedPaintDC
;
2745 #define SWIG_From_long PyInt_FromLong
2748 SWIGINTERNINLINE PyObject
*
2749 SWIG_From_int (int value
)
2751 return SWIG_From_long (value
);
2754 static const wxString
wxPyEmptyString(wxEmptyString
);
2757 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
)
2759 if (source
== Py_None
) {
2760 **obj
= wxRICHTEXT_NONE
;
2763 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange"));
2768 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2770 if (PyNumber_Check(obj
)) {
2771 if (val
) *val
= PyInt_AsLong(obj
);
2774 return SWIG_TypeError
;
2777 SWIGINTERN
bool wxRichTextRange___eq__(wxRichTextRange
*self
,PyObject
*other
){
2778 wxRichTextRange temp
, *obj
= &temp
;
2779 if ( other
== Py_None
) return false;
2780 if ( ! wxRichTextRange_helper(other
, &obj
) ) {
2784 return self
->operator==(*obj
);
2786 SWIGINTERN PyObject
*wxRichTextRange_Get(wxRichTextRange
*self
){
2787 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2788 PyObject
* tup
= PyTuple_New(2);
2789 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart()));
2790 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd()));
2791 wxPyEndBlockThreads(blocked
);
2795 wxRichTextRange
wxPy_RTR_ALL(wxRICHTEXT_ALL
);
2796 wxRichTextRange
wxPy_RTR_NONE(wxRICHTEXT_NONE
);
2801 # define LLONG_MIN LONG_LONG_MIN
2804 # define LLONG_MAX LONG_LONG_MAX
2807 # define ULLONG_MAX ULONG_LONG_MAX
2812 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2815 int res
= SWIG_AsVal_long (obj
, &v
);
2816 if (SWIG_IsOK(res
)) {
2817 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2818 return SWIG_OverflowError
;
2820 if (val
) *val
= static_cast< int >(v
);
2828 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2830 if (obj
== Py_True
) {
2831 if (val
) *val
= true;
2833 } else if (obj
== Py_False
) {
2834 if (val
) *val
= false;
2838 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2839 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2846 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2849 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2850 return SWIG_TypeError
;
2853 *val
= (unsigned long)v
;
2858 SWIGINTERN swig_type_info
*
2859 SWIG_pchar_descriptor()
2861 static int init
= 0;
2862 static swig_type_info
* info
= 0;
2864 info
= SWIG_TypeQuery("_p_char");
2872 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
2874 if (PyString_Check(obj
)) {
2875 char *cstr
; Py_ssize_t len
;
2876 PyString_AsStringAndSize(obj
, &cstr
, &len
);
2880 In python the user should not be able to modify the inner
2881 string representation. To warranty that, if you define
2882 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2883 buffer is always returned.
2885 The default behavior is just to return the pointer value,
2888 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2889 if (*alloc
!= SWIG_OLDOBJ
)
2891 if (*alloc
== SWIG_NEWOBJ
)
2894 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
2895 *alloc
= SWIG_NEWOBJ
;
2899 *alloc
= SWIG_OLDOBJ
;
2902 *cptr
= PyString_AsString(obj
);
2905 if (psize
) *psize
= len
+ 1;
2908 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
2909 if (pchar_descriptor
) {
2911 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
2912 if (cptr
) *cptr
= (char *) vptr
;
2913 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
2914 if (alloc
) *alloc
= SWIG_OLDOBJ
;
2919 return SWIG_TypeError
;
2924 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
2926 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
2927 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
2928 if (SWIG_IsOK(res
)) {
2929 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
2930 if (csize
<= size
) {
2932 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
2933 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
2935 if (alloc
== SWIG_NEWOBJ
) {
2937 res
= SWIG_DelNewMask(res
);
2941 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
2943 return SWIG_TypeError
;
2948 SWIG_AsVal_char (PyObject
* obj
, char *val
)
2950 int res
= SWIG_AsCharArray(obj
, val
, 1);
2951 if (!SWIG_IsOK(res
)) {
2953 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
2954 if (SWIG_IsOK(res
)) {
2955 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
2956 if (val
) *val
= static_cast< char >(v
);
2958 res
= SWIG_OverflowError
;
2968 SWIGINTERN PyObject
*_wrap_new_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
= 0;
2970 long arg1
= (long) 0 ;
2971 long arg2
= (long) 0 ;
2972 wxRichTextRange
*result
= 0 ;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2979 char * kwnames
[] = {
2980 (char *) "start",(char *) "end", NULL
2983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2985 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
2986 if (!SWIG_IsOK(ecode1
)) {
2987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2989 arg1
= static_cast< long >(val1
);
2992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
2993 if (!SWIG_IsOK(ecode2
)) {
2994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2996 arg2
= static_cast< long >(val2
);
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= (wxRichTextRange
*)new wxRichTextRange(arg1
,arg2
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW
| 0 );
3011 SWIGINTERN PyObject
*_wrap_delete_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3012 PyObject
*resultobj
= 0;
3013 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3016 PyObject
*swig_obj
[1] ;
3018 if (!args
) SWIG_fail
;
3020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN
| 0 );
3021 if (!SWIG_IsOK(res1
)) {
3022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3024 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= SWIG_Py_Void();
3039 SWIGINTERN PyObject
*_wrap_RichTextRange___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
= 0;
3041 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3042 PyObject
*arg2
= (PyObject
*) 0 ;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3048 char * kwnames
[] = {
3049 (char *) "self",(char *) "other", NULL
3052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3054 if (!SWIG_IsOK(res1
)) {
3055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3057 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3060 result
= (bool)wxRichTextRange___eq__(arg1
,arg2
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3072 SWIGINTERN PyObject
*_wrap_RichTextRange___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
= 0;
3074 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3075 wxRichTextRange
*arg2
= 0 ;
3076 wxRichTextRange result
;
3079 wxRichTextRange temp2
;
3080 PyObject
* obj0
= 0 ;
3081 PyObject
* obj1
= 0 ;
3082 char * kwnames
[] = {
3083 (char *) "self",(char *) "range", NULL
3086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3088 if (!SWIG_IsOK(res1
)) {
3089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3091 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3094 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= ((wxRichTextRange
const *)arg1
)->operator -((wxRichTextRange
const &)*arg2
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3109 SWIGINTERN PyObject
*_wrap_RichTextRange___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
= 0;
3111 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3112 wxRichTextRange
*arg2
= 0 ;
3113 wxRichTextRange result
;
3116 wxRichTextRange temp2
;
3117 PyObject
* obj0
= 0 ;
3118 PyObject
* obj1
= 0 ;
3119 char * kwnames
[] = {
3120 (char *) "self",(char *) "range", NULL
3123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3125 if (!SWIG_IsOK(res1
)) {
3126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3128 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3131 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 result
= ((wxRichTextRange
const *)arg1
)->operator +((wxRichTextRange
const &)*arg2
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3146 SWIGINTERN PyObject
*_wrap_RichTextRange_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
= 0;
3148 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3159 PyObject
* obj2
= 0 ;
3160 char * kwnames
[] = {
3161 (char *) "self",(char *) "start",(char *) "end", NULL
3164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3166 if (!SWIG_IsOK(res1
)) {
3167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3169 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3171 if (!SWIG_IsOK(ecode2
)) {
3172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3174 arg2
= static_cast< long >(val2
);
3175 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
3176 if (!SWIG_IsOK(ecode3
)) {
3177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3179 arg3
= static_cast< long >(val3
);
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 (arg1
)->SetRange(arg2
,arg3
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 resultobj
= SWIG_Py_Void();
3193 SWIGINTERN PyObject
*_wrap_RichTextRange_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
= 0;
3195 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3202 PyObject
* obj1
= 0 ;
3203 char * kwnames
[] = {
3204 (char *) "self",(char *) "start", NULL
3207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3209 if (!SWIG_IsOK(res1
)) {
3210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3212 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3213 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3214 if (!SWIG_IsOK(ecode2
)) {
3215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3217 arg2
= static_cast< long >(val2
);
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 (arg1
)->SetStart(arg2
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= SWIG_Py_Void();
3231 SWIGINTERN PyObject
*_wrap_RichTextRange_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3232 PyObject
*resultobj
= 0;
3233 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3237 PyObject
*swig_obj
[1] ;
3239 if (!args
) SWIG_fail
;
3241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3242 if (!SWIG_IsOK(res1
)) {
3243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3245 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 result
= (long)((wxRichTextRange
const *)arg1
)->GetStart();
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_From_long(static_cast< long >(result
));
3259 SWIGINTERN PyObject
*_wrap_RichTextRange_SetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
= 0;
3261 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3269 char * kwnames
[] = {
3270 (char *) "self",(char *) "end", NULL
3273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3275 if (!SWIG_IsOK(res1
)) {
3276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3278 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3279 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3280 if (!SWIG_IsOK(ecode2
)) {
3281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3283 arg2
= static_cast< long >(val2
);
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 (arg1
)->SetEnd(arg2
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= SWIG_Py_Void();
3297 SWIGINTERN PyObject
*_wrap_RichTextRange_GetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3298 PyObject
*resultobj
= 0;
3299 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3303 PyObject
*swig_obj
[1] ;
3305 if (!args
) SWIG_fail
;
3307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3308 if (!SWIG_IsOK(res1
)) {
3309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3311 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 result
= (long)((wxRichTextRange
const *)arg1
)->GetEnd();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= SWIG_From_long(static_cast< long >(result
));
3325 SWIGINTERN PyObject
*_wrap_RichTextRange_IsOutside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
= 0;
3327 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3328 wxRichTextRange
*arg2
= 0 ;
3332 wxRichTextRange temp2
;
3333 PyObject
* obj0
= 0 ;
3334 PyObject
* obj1
= 0 ;
3335 char * kwnames
[] = {
3336 (char *) "self",(char *) "range", NULL
3339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3341 if (!SWIG_IsOK(res1
)) {
3342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3344 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3347 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 result
= (bool)((wxRichTextRange
const *)arg1
)->IsOutside((wxRichTextRange
const &)*arg2
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3364 SWIGINTERN PyObject
*_wrap_RichTextRange_IsWithin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
= 0;
3366 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3367 wxRichTextRange
*arg2
= 0 ;
3371 wxRichTextRange temp2
;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 char * kwnames
[] = {
3375 (char *) "self",(char *) "range", NULL
3378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3380 if (!SWIG_IsOK(res1
)) {
3381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3383 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3386 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (bool)((wxRichTextRange
const *)arg1
)->IsWithin((wxRichTextRange
const &)*arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3403 SWIGINTERN PyObject
*_wrap_RichTextRange_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
= 0;
3405 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3414 char * kwnames
[] = {
3415 (char *) "self",(char *) "pos", NULL
3418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3420 if (!SWIG_IsOK(res1
)) {
3421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3423 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3425 if (!SWIG_IsOK(ecode2
)) {
3426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3428 arg2
= static_cast< long >(val2
);
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (bool)((wxRichTextRange
const *)arg1
)->Contains(arg2
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3444 SWIGINTERN PyObject
*_wrap_RichTextRange_LimitTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
= 0;
3446 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3447 wxRichTextRange
*arg2
= 0 ;
3451 wxRichTextRange temp2
;
3452 PyObject
* obj0
= 0 ;
3453 PyObject
* obj1
= 0 ;
3454 char * kwnames
[] = {
3455 (char *) "self",(char *) "range", NULL
3458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3460 if (!SWIG_IsOK(res1
)) {
3461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3463 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3466 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (bool)(arg1
)->LimitTo((wxRichTextRange
const &)*arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3483 SWIGINTERN PyObject
*_wrap_RichTextRange_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3484 PyObject
*resultobj
= 0;
3485 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3489 PyObject
*swig_obj
[1] ;
3491 if (!args
) SWIG_fail
;
3493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3494 if (!SWIG_IsOK(res1
)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3497 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (long)((wxRichTextRange
const *)arg1
)->GetLength();
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_From_long(static_cast< long >(result
));
3511 SWIGINTERN PyObject
*_wrap_RichTextRange_Swap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3512 PyObject
*resultobj
= 0;
3513 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3516 PyObject
*swig_obj
[1] ;
3518 if (!args
) SWIG_fail
;
3520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3521 if (!SWIG_IsOK(res1
)) {
3522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3524 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= SWIG_Py_Void();
3538 SWIGINTERN PyObject
*_wrap_RichTextRange_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3539 PyObject
*resultobj
= 0;
3540 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3541 PyObject
*result
= 0 ;
3544 PyObject
*swig_obj
[1] ;
3546 if (!args
) SWIG_fail
;
3548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3549 if (!SWIG_IsOK(res1
)) {
3550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3552 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (PyObject
*)wxRichTextRange_Get(arg1
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3566 SWIGINTERN PyObject
*RichTextRange_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3569 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
));
3570 return SWIG_Py_Void();
3573 SWIGINTERN PyObject
*RichTextRange_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3574 return SWIG_Python_InitShadowInstance(args
);
3577 SWIGINTERN
int RICHTEXT_ALL_set(PyObject
*) {
3578 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only.");
3583 SWIGINTERN PyObject
*RICHTEXT_ALL_get(void) {
3584 PyObject
*pyobj
= 0;
3586 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
, 0 );
3591 SWIGINTERN
int RICHTEXT_NONE_set(PyObject
*) {
3592 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only.");
3597 SWIGINTERN PyObject
*RICHTEXT_NONE_get(void) {
3598 PyObject
*pyobj
= 0;
3600 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
, 0 );
3605 SWIGINTERN PyObject
*_wrap_new_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
= 0;
3607 wxColour
const &arg1_defvalue
= wxNullColour
;
3608 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
3609 wxColour
const &arg2_defvalue
= wxNullColour
;
3610 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3611 wxTextAttrAlignment arg3
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
3612 wxRichTextAttr
*result
= 0 ;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3619 PyObject
* obj2
= 0 ;
3620 char * kwnames
[] = {
3621 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3628 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3639 if (!SWIG_IsOK(ecode3
)) {
3640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3642 arg3
= static_cast< wxTextAttrAlignment
>(val3
);
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (wxRichTextAttr
*)new wxRichTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW
| 0 );
3657 SWIGINTERN PyObject
*_wrap_delete_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3658 PyObject
*resultobj
= 0;
3659 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3662 PyObject
*swig_obj
[1] ;
3664 if (!args
) SWIG_fail
;
3666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN
| 0 );
3667 if (!SWIG_IsOK(res1
)) {
3668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3670 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= SWIG_Py_Void();
3685 SWIGINTERN PyObject
*_wrap_RichTextAttr_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3686 PyObject
*resultobj
= 0;
3687 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3691 PyObject
*swig_obj
[1] ;
3693 if (!args
) SWIG_fail
;
3695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3696 if (!SWIG_IsOK(res1
)) {
3697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3699 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= ((wxRichTextAttr
const *)arg1
)->CreateFont();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
3713 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
= 0;
3715 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3723 PyObject
* obj1
= 0 ;
3724 char * kwnames
[] = {
3725 (char *) "self",(char *) "font", NULL
3728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3730 if (!SWIG_IsOK(res1
)) {
3731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3733 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
3735 if (!SWIG_IsOK(res2
)) {
3736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3741 arg2
= reinterpret_cast< wxFont
* >(argp2
);
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= (bool)(arg1
)->GetFontAttributes((wxFont
const &)*arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3757 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
= 0;
3759 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3760 wxColour
*arg2
= 0 ;
3764 PyObject
* obj0
= 0 ;
3765 PyObject
* obj1
= 0 ;
3766 char * kwnames
[] = {
3767 (char *) "self",(char *) "colText", NULL
3770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3772 if (!SWIG_IsOK(res1
)) {
3773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3775 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_Py_Void();
3793 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
= 0;
3795 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3796 wxColour
*arg2
= 0 ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 char * kwnames
[] = {
3803 (char *) "self",(char *) "colBack", NULL
3806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3808 if (!SWIG_IsOK(res1
)) {
3809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3811 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= SWIG_Py_Void();
3829 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
= 0;
3831 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3832 wxTextAttrAlignment arg2
;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 char * kwnames
[] = {
3840 (char *) "self",(char *) "alignment", NULL
3843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3845 if (!SWIG_IsOK(res1
)) {
3846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3848 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3850 if (!SWIG_IsOK(ecode2
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3853 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 (arg1
)->SetAlignment(arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= SWIG_Py_Void();
3867 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
= 0;
3869 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3870 wxArrayInt
*arg2
= 0 ;
3873 bool temp2
= false ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3876 char * kwnames
[] = {
3877 (char *) "self",(char *) "tabs", NULL
3880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3882 if (!SWIG_IsOK(res1
)) {
3883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3885 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3887 if (! PySequence_Check(obj1
)) {
3888 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
3891 arg2
= new wxArrayInt
;
3893 int i
, len
=PySequence_Length(obj1
);
3894 for (i
=0; i
<len
; i
++) {
3895 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3896 PyObject
* number
= PyNumber_Int(item
);
3897 arg2
->Add(PyInt_AS_LONG(number
));
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_Py_Void();
3910 if (temp2
) delete arg2
;
3915 if (temp2
) delete arg2
;
3921 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
= 0;
3923 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3925 int arg3
= (int) 0 ;
3932 PyObject
* obj0
= 0 ;
3933 PyObject
* obj1
= 0 ;
3934 PyObject
* obj2
= 0 ;
3935 char * kwnames
[] = {
3936 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3941 if (!SWIG_IsOK(res1
)) {
3942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3944 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3946 if (!SWIG_IsOK(ecode2
)) {
3947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3949 arg2
= static_cast< int >(val2
);
3951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3952 if (!SWIG_IsOK(ecode3
)) {
3953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3955 arg3
= static_cast< int >(val3
);
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 (arg1
)->SetLeftIndent(arg2
,arg3
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= SWIG_Py_Void();
3970 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
= 0;
3972 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3980 char * kwnames
[] = {
3981 (char *) "self",(char *) "indent", NULL
3984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3986 if (!SWIG_IsOK(res1
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3989 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3991 if (!SWIG_IsOK(ecode2
)) {
3992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3994 arg2
= static_cast< int >(val2
);
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 (arg1
)->SetRightIndent(arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_Py_Void();
4008 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= 0;
4010 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4018 char * kwnames
[] = {
4019 (char *) "self",(char *) "pointSize", NULL
4022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4024 if (!SWIG_IsOK(res1
)) {
4025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4027 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4029 if (!SWIG_IsOK(ecode2
)) {
4030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4032 arg2
= static_cast< int >(val2
);
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->SetFontSize(arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_Py_Void();
4046 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
= 0;
4048 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 char * kwnames
[] = {
4057 (char *) "self",(char *) "fontStyle", NULL
4060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4062 if (!SWIG_IsOK(res1
)) {
4063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4065 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4067 if (!SWIG_IsOK(ecode2
)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
4070 arg2
= static_cast< int >(val2
);
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 (arg1
)->SetFontStyle(arg2
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= SWIG_Py_Void();
4084 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
= 0;
4086 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4094 char * kwnames
[] = {
4095 (char *) "self",(char *) "fontWeight", NULL
4098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4100 if (!SWIG_IsOK(res1
)) {
4101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4103 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4105 if (!SWIG_IsOK(ecode2
)) {
4106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4108 arg2
= static_cast< int >(val2
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->SetFontWeight(arg2
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_Py_Void();
4122 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
= 0;
4124 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4125 wxString
*arg2
= 0 ;
4128 bool temp2
= false ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "self",(char *) "faceName", NULL
4135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4140 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4142 arg2
= wxString_in_helper(obj1
);
4143 if (arg2
== NULL
) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->SetFontFaceName((wxString
const &)*arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= SWIG_Py_Void();
4167 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "underlined", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4186 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4187 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4188 if (!SWIG_IsOK(ecode2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4191 arg2
= static_cast< bool >(val2
);
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetFontUnderlined(arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_Py_Void();
4205 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
= 0;
4207 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4214 PyObject
* obj1
= 0 ;
4215 char * kwnames
[] = {
4216 (char *) "self",(char *) "flags", NULL
4219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4221 if (!SWIG_IsOK(res1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4224 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4225 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4226 if (!SWIG_IsOK(ecode2
)) {
4227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4229 arg2
= static_cast< long >(val2
);
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 (arg1
)->SetFlags(arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_Py_Void();
4243 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4246 wxString
*arg2
= 0 ;
4249 bool temp2
= false ;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4252 char * kwnames
[] = {
4253 (char *) "self",(char *) "name", NULL
4256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4258 if (!SWIG_IsOK(res1
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4261 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4263 arg2
= wxString_in_helper(obj1
);
4264 if (arg2
== NULL
) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 (arg1
)->SetCharacterStyleName((wxString
const &)*arg2
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_Py_Void();
4288 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
= 0;
4290 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4291 wxString
*arg2
= 0 ;
4294 bool temp2
= false ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4297 char * kwnames
[] = {
4298 (char *) "self",(char *) "name", NULL
4301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4303 if (!SWIG_IsOK(res1
)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4306 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4308 arg2
= wxString_in_helper(obj1
);
4309 if (arg2
== NULL
) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->SetParagraphStyleName((wxString
const &)*arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_Py_Void();
4333 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
= 0;
4335 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4343 char * kwnames
[] = {
4344 (char *) "self",(char *) "spacing", NULL
4347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4349 if (!SWIG_IsOK(res1
)) {
4350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4352 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4354 if (!SWIG_IsOK(ecode2
)) {
4355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4357 arg2
= static_cast< int >(val2
);
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 (arg1
)->SetParagraphSpacingAfter(arg2
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4364 resultobj
= SWIG_Py_Void();
4371 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
= 0;
4373 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4381 char * kwnames
[] = {
4382 (char *) "self",(char *) "spacing", NULL
4385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4387 if (!SWIG_IsOK(res1
)) {
4388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4390 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4392 if (!SWIG_IsOK(ecode2
)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4395 arg2
= static_cast< int >(val2
);
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 (arg1
)->SetParagraphSpacingBefore(arg2
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_Py_Void();
4409 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
= 0;
4411 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4419 char * kwnames
[] = {
4420 (char *) "self",(char *) "spacing", NULL
4423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4425 if (!SWIG_IsOK(res1
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4428 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4430 if (!SWIG_IsOK(ecode2
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4433 arg2
= static_cast< int >(val2
);
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 (arg1
)->SetLineSpacing(arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_Py_Void();
4447 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
= 0;
4449 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4457 char * kwnames
[] = {
4458 (char *) "self",(char *) "style", NULL
4461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4463 if (!SWIG_IsOK(res1
)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4466 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4468 if (!SWIG_IsOK(ecode2
)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4471 arg2
= static_cast< int >(val2
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 (arg1
)->SetBulletStyle(arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_Py_Void();
4485 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
= 0;
4487 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4495 char * kwnames
[] = {
4496 (char *) "self",(char *) "n", NULL
4499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4501 if (!SWIG_IsOK(res1
)) {
4502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4504 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4506 if (!SWIG_IsOK(ecode2
)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4509 arg2
= static_cast< int >(val2
);
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 (arg1
)->SetBulletNumber(arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_Py_Void();
4523 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
= 0;
4525 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4533 char * kwnames
[] = {
4534 (char *) "self",(char *) "symbol", NULL
4537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4539 if (!SWIG_IsOK(res1
)) {
4540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4542 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
, 0 | 0);
4545 if (!SWIG_IsOK(res2
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4551 wxChar
* temp
= reinterpret_cast< wxChar
* >(argp2
);
4553 if (SWIG_IsNewObj(res2
)) delete temp
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 (arg1
)->SetBulletSymbol(arg2
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_Py_Void();
4569 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
= 0;
4571 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4572 wxString
*arg2
= 0 ;
4575 bool temp2
= false ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4578 char * kwnames
[] = {
4579 (char *) "self",(char *) "bulletFont", NULL
4582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4584 if (!SWIG_IsOK(res1
)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4587 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4589 arg2
= wxString_in_helper(obj1
);
4590 if (arg2
== NULL
) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 (arg1
)->SetBulletFont((wxString
const &)*arg2
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_Py_Void();
4614 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4615 PyObject
*resultobj
= 0;
4616 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4617 wxColour
*result
= 0 ;
4620 PyObject
*swig_obj
[1] ;
4622 if (!args
) SWIG_fail
;
4624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4625 if (!SWIG_IsOK(res1
)) {
4626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4628 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTextColour();
4633 result
= (wxColour
*) &_result_ref
;
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4645 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4646 PyObject
*resultobj
= 0;
4647 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4648 wxColour
*result
= 0 ;
4651 PyObject
*swig_obj
[1] ;
4653 if (!args
) SWIG_fail
;
4655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4656 if (!SWIG_IsOK(res1
)) {
4657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4659 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBackgroundColour();
4664 result
= (wxColour
*) &_result_ref
;
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4676 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4677 PyObject
*resultobj
= 0;
4678 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4679 wxTextAttrAlignment result
;
4682 PyObject
*swig_obj
[1] ;
4684 if (!args
) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4690 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (wxTextAttrAlignment
)((wxRichTextAttr
const *)arg1
)->GetAlignment();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_From_int(static_cast< int >(result
));
4704 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4705 PyObject
*resultobj
= 0;
4706 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4707 wxArrayInt
*result
= 0 ;
4710 PyObject
*swig_obj
[1] ;
4712 if (!args
) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4718 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxArrayInt
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTabs();
4723 result
= (wxArrayInt
*) &_result_ref
;
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= wxArrayInt2PyList_helper(*result
);
4737 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 PyObject
*resultobj
= 0;
4739 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4743 PyObject
*swig_obj
[1] ;
4745 if (!args
) SWIG_fail
;
4747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4748 if (!SWIG_IsOK(res1
)) {
4749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4751 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftIndent();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_From_long(static_cast< long >(result
));
4765 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 PyObject
*resultobj
= 0;
4767 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4771 PyObject
*swig_obj
[1] ;
4773 if (!args
) SWIG_fail
;
4775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4776 if (!SWIG_IsOK(res1
)) {
4777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4779 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftSubIndent();
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= SWIG_From_long(static_cast< long >(result
));
4793 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4794 PyObject
*resultobj
= 0;
4795 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4799 PyObject
*swig_obj
[1] ;
4801 if (!args
) SWIG_fail
;
4803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4804 if (!SWIG_IsOK(res1
)) {
4805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4807 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (long)((wxRichTextAttr
const *)arg1
)->GetRightIndent();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_From_long(static_cast< long >(result
));
4821 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4822 PyObject
*resultobj
= 0;
4823 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4827 PyObject
*swig_obj
[1] ;
4829 if (!args
) SWIG_fail
;
4831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4832 if (!SWIG_IsOK(res1
)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4835 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (long)((wxRichTextAttr
const *)arg1
)->GetFlags();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_From_long(static_cast< long >(result
));
4849 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4850 PyObject
*resultobj
= 0;
4851 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4855 PyObject
*swig_obj
[1] ;
4857 if (!args
) SWIG_fail
;
4859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4860 if (!SWIG_IsOK(res1
)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4863 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontSize();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_From_int(static_cast< int >(result
));
4877 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4878 PyObject
*resultobj
= 0;
4879 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4883 PyObject
*swig_obj
[1] ;
4885 if (!args
) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4891 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontStyle();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_From_int(static_cast< int >(result
));
4905 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4906 PyObject
*resultobj
= 0;
4907 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4911 PyObject
*swig_obj
[1] ;
4913 if (!args
) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4919 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontWeight();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_From_int(static_cast< int >(result
));
4933 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4934 PyObject
*resultobj
= 0;
4935 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4939 PyObject
*swig_obj
[1] ;
4941 if (!args
) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4947 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (bool)((wxRichTextAttr
const *)arg1
)->GetFontUnderlined();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4963 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4964 PyObject
*resultobj
= 0;
4965 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4966 wxString
*result
= 0 ;
4969 PyObject
*swig_obj
[1] ;
4971 if (!args
) SWIG_fail
;
4973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4974 if (!SWIG_IsOK(res1
)) {
4975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4977 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetFontFaceName();
4982 result
= (wxString
*) &_result_ref
;
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4991 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5000 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5001 PyObject
*resultobj
= 0;
5002 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5003 wxString
*result
= 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_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5014 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetCharacterStyleName();
5019 result
= (wxString
*) &_result_ref
;
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5037 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5038 PyObject
*resultobj
= 0;
5039 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5040 wxString
*result
= 0 ;
5043 PyObject
*swig_obj
[1] ;
5045 if (!args
) SWIG_fail
;
5047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5048 if (!SWIG_IsOK(res1
)) {
5049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5051 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetParagraphStyleName();
5056 result
= (wxString
*) &_result_ref
;
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5074 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5075 PyObject
*resultobj
= 0;
5076 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5080 PyObject
*swig_obj
[1] ;
5082 if (!args
) SWIG_fail
;
5084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5085 if (!SWIG_IsOK(res1
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5088 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingAfter();
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_From_int(static_cast< int >(result
));
5102 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5103 PyObject
*resultobj
= 0;
5104 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5108 PyObject
*swig_obj
[1] ;
5110 if (!args
) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5116 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingBefore();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_From_int(static_cast< int >(result
));
5130 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5131 PyObject
*resultobj
= 0;
5132 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5136 PyObject
*swig_obj
[1] ;
5138 if (!args
) SWIG_fail
;
5140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5141 if (!SWIG_IsOK(res1
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5144 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= (int)((wxRichTextAttr
const *)arg1
)->GetLineSpacing();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_From_int(static_cast< int >(result
));
5158 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5159 PyObject
*resultobj
= 0;
5160 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5164 PyObject
*swig_obj
[1] ;
5166 if (!args
) SWIG_fail
;
5168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5169 if (!SWIG_IsOK(res1
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5172 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletStyle();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_From_int(static_cast< int >(result
));
5186 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletNumber(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_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5200 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletNumber();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_From_int(static_cast< int >(result
));
5214 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5215 PyObject
*resultobj
= 0;
5216 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5220 PyObject
*swig_obj
[1] ;
5222 if (!args
) SWIG_fail
;
5224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5225 if (!SWIG_IsOK(res1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5228 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= ((wxRichTextAttr
const *)arg1
)->GetBulletSymbol();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN
| 0 );
5242 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5243 PyObject
*resultobj
= 0;
5244 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5245 wxString
*result
= 0 ;
5248 PyObject
*swig_obj
[1] ;
5250 if (!args
) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5256 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBulletFont();
5261 result
= (wxString
*) &_result_ref
;
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5270 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5279 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5281 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5285 PyObject
*swig_obj
[1] ;
5287 if (!args
) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5293 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTextColour();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5309 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5310 PyObject
*resultobj
= 0;
5311 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5315 PyObject
*swig_obj
[1] ;
5317 if (!args
) SWIG_fail
;
5319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5320 if (!SWIG_IsOK(res1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5323 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBackgroundColour();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5339 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5340 PyObject
*resultobj
= 0;
5341 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5345 PyObject
*swig_obj
[1] ;
5347 if (!args
) SWIG_fail
;
5349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5350 if (!SWIG_IsOK(res1
)) {
5351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5353 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasAlignment();
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5369 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5370 PyObject
*resultobj
= 0;
5371 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5375 PyObject
*swig_obj
[1] ;
5377 if (!args
) SWIG_fail
;
5379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5380 if (!SWIG_IsOK(res1
)) {
5381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5383 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTabs();
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5399 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5405 PyObject
*swig_obj
[1] ;
5407 if (!args
) SWIG_fail
;
5409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5410 if (!SWIG_IsOK(res1
)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5413 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLeftIndent();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5430 PyObject
*resultobj
= 0;
5431 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5435 PyObject
*swig_obj
[1] ;
5437 if (!args
) SWIG_fail
;
5439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5440 if (!SWIG_IsOK(res1
)) {
5441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5443 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasRightIndent();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5459 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5460 PyObject
*resultobj
= 0;
5461 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5465 PyObject
*swig_obj
[1] ;
5467 if (!args
) SWIG_fail
;
5469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5470 if (!SWIG_IsOK(res1
)) {
5471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5473 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasWeight();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5489 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5490 PyObject
*resultobj
= 0;
5491 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5495 PyObject
*swig_obj
[1] ;
5497 if (!args
) SWIG_fail
;
5499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5500 if (!SWIG_IsOK(res1
)) {
5501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5503 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasSize();
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5519 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5520 PyObject
*resultobj
= 0;
5521 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5525 PyObject
*swig_obj
[1] ;
5527 if (!args
) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5533 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasItalic();
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5549 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5550 PyObject
*resultobj
= 0;
5551 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5555 PyObject
*swig_obj
[1] ;
5557 if (!args
) SWIG_fail
;
5559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5560 if (!SWIG_IsOK(res1
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5563 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasUnderlined();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5579 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5580 PyObject
*resultobj
= 0;
5581 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5585 PyObject
*swig_obj
[1] ;
5587 if (!args
) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5593 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFaceName();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5610 PyObject
*resultobj
= 0;
5611 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5615 PyObject
*swig_obj
[1] ;
5617 if (!args
) SWIG_fail
;
5619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5620 if (!SWIG_IsOK(res1
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5623 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFont();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5639 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5640 PyObject
*resultobj
= 0;
5641 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5645 PyObject
*swig_obj
[1] ;
5647 if (!args
) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5653 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingAfter();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5670 PyObject
*resultobj
= 0;
5671 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5675 PyObject
*swig_obj
[1] ;
5677 if (!args
) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5683 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingBefore();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5700 PyObject
*resultobj
= 0;
5701 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5705 PyObject
*swig_obj
[1] ;
5707 if (!args
) SWIG_fail
;
5709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5710 if (!SWIG_IsOK(res1
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5713 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLineSpacing();
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5729 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5730 PyObject
*resultobj
= 0;
5731 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5735 PyObject
*swig_obj
[1] ;
5737 if (!args
) SWIG_fail
;
5739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5740 if (!SWIG_IsOK(res1
)) {
5741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5743 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasCharacterStyleName();
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5759 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5760 PyObject
*resultobj
= 0;
5761 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5765 PyObject
*swig_obj
[1] ;
5767 if (!args
) SWIG_fail
;
5769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5770 if (!SWIG_IsOK(res1
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5773 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphStyleName();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5789 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5790 PyObject
*resultobj
= 0;
5791 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5795 PyObject
*swig_obj
[1] ;
5797 if (!args
) SWIG_fail
;
5799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5800 if (!SWIG_IsOK(res1
)) {
5801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5803 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletStyle();
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5819 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5820 PyObject
*resultobj
= 0;
5821 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5825 PyObject
*swig_obj
[1] ;
5827 if (!args
) SWIG_fail
;
5829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5830 if (!SWIG_IsOK(res1
)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5833 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletNumber();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5850 PyObject
*resultobj
= 0;
5851 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5855 PyObject
*swig_obj
[1] ;
5857 if (!args
) SWIG_fail
;
5859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5860 if (!SWIG_IsOK(res1
)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5863 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletSymbol();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5879 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
= 0;
5881 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 char * kwnames
[] = {
5891 (char *) "self",(char *) "flag", NULL
5894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5896 if (!SWIG_IsOK(res1
)) {
5897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5899 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5901 if (!SWIG_IsOK(ecode2
)) {
5902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5904 arg2
= static_cast< long >(val2
);
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFlag(arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5920 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5921 PyObject
*resultobj
= 0;
5922 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5926 PyObject
*swig_obj
[1] ;
5928 if (!args
) SWIG_fail
;
5930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5931 if (!SWIG_IsOK(res1
)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5934 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsCharacterStyle();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5950 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5956 PyObject
*swig_obj
[1] ;
5958 if (!args
) SWIG_fail
;
5960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5961 if (!SWIG_IsOK(res1
)) {
5962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5964 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsParagraphStyle();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5980 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5981 PyObject
*resultobj
= 0;
5982 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5986 PyObject
*swig_obj
[1] ;
5988 if (!args
) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5994 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsDefault();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6010 SWIGINTERN PyObject
*RichTextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6013 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
));
6014 return SWIG_Py_Void();
6017 SWIGINTERN PyObject
*RichTextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6018 return SWIG_Python_InitShadowInstance(args
);
6021 SWIGINTERN PyObject
*_wrap_new_RichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
= 0;
6023 wxWindow
*arg1
= (wxWindow
*) 0 ;
6024 int arg2
= (int) -1 ;
6025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6031 long arg6
= (long) wxRE_MULTILINE
;
6032 wxRichTextCtrl
*result
= 0 ;
6037 bool temp3
= false ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 PyObject
* obj2
= 0 ;
6045 PyObject
* obj3
= 0 ;
6046 PyObject
* obj4
= 0 ;
6047 PyObject
* obj5
= 0 ;
6048 char * kwnames
[] = {
6049 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
6052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
6057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6060 if (!SWIG_IsOK(ecode2
)) {
6061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
6063 arg2
= static_cast< int >(val2
);
6067 arg3
= wxString_in_helper(obj2
);
6068 if (arg3
== NULL
) SWIG_fail
;
6075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6086 if (!SWIG_IsOK(ecode6
)) {
6087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'");
6089 arg6
= static_cast< long >(val6
);
6092 if (!wxPyCheckForApp()) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (wxRichTextCtrl
*)new wxRichTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW
| 0 );
6113 SWIGINTERN PyObject
*_wrap_new_PreRichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6114 PyObject
*resultobj
= 0;
6115 wxRichTextCtrl
*result
= 0 ;
6117 if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
;
6119 if (!wxPyCheckForApp()) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (wxRichTextCtrl
*)new wxRichTextCtrl();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN
| 0 );
6132 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6135 wxWindow
*arg2
= (wxWindow
*) 0 ;
6136 int arg3
= (int) -1 ;
6137 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6138 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6139 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6140 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6141 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6142 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6143 long arg7
= (long) wxRE_MULTILINE
;
6151 bool temp4
= false ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6159 PyObject
* obj3
= 0 ;
6160 PyObject
* obj4
= 0 ;
6161 PyObject
* obj5
= 0 ;
6162 PyObject
* obj6
= 0 ;
6163 char * kwnames
[] = {
6164 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
6167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6169 if (!SWIG_IsOK(res1
)) {
6170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6172 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6174 if (!SWIG_IsOK(res2
)) {
6175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6177 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6180 if (!SWIG_IsOK(ecode3
)) {
6181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6183 arg3
= static_cast< int >(val3
);
6187 arg4
= wxString_in_helper(obj3
);
6188 if (arg4
== NULL
) SWIG_fail
;
6195 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6201 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6205 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6206 if (!SWIG_IsOK(ecode7
)) {
6207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
6209 arg7
= static_cast< long >(val7
);
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6234 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 PyObject
*resultobj
= 0;
6236 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6240 PyObject
*swig_obj
[1] ;
6242 if (!args
) SWIG_fail
;
6244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6245 if (!SWIG_IsOK(res1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6248 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= ((wxRichTextCtrl
const *)arg1
)->GetValue();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6268 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
= 0;
6270 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6271 wxString
*arg2
= 0 ;
6274 bool temp2
= false ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "self",(char *) "value", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6286 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6288 arg2
= wxString_in_helper(obj1
);
6289 if (arg2
== NULL
) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 (arg1
)->SetValue((wxString
const &)*arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_Py_Void();
6313 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= 0;
6315 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 PyObject
* obj2
= 0 ;
6328 char * kwnames
[] = {
6329 (char *) "self",(char *) "from",(char *) "to", NULL
6332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6334 if (!SWIG_IsOK(res1
)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6337 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6338 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6339 if (!SWIG_IsOK(ecode2
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6342 arg2
= static_cast< long >(val2
);
6343 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6344 if (!SWIG_IsOK(ecode3
)) {
6345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6347 arg3
= static_cast< long >(val3
);
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= ((wxRichTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6367 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
= 0;
6369 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 char * kwnames
[] = {
6379 (char *) "self",(char *) "lineNo", NULL
6382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6387 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6389 if (!SWIG_IsOK(ecode2
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6392 arg2
= static_cast< long >(val2
);
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_From_int(static_cast< int >(result
));
6406 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
= 0;
6408 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 char * kwnames
[] = {
6418 (char *) "self",(char *) "lineNo", NULL
6421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6423 if (!SWIG_IsOK(res1
)) {
6424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6426 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6428 if (!SWIG_IsOK(ecode2
)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6431 arg2
= static_cast< long >(val2
);
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= ((wxRichTextCtrl
const *)arg1
)->GetLineText(arg2
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6451 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6452 PyObject
*resultobj
= 0;
6453 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6457 PyObject
*swig_obj
[1] ;
6459 if (!args
) SWIG_fail
;
6461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6462 if (!SWIG_IsOK(res1
)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6465 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetNumberOfLines();
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= SWIG_From_int(static_cast< int >(result
));
6479 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6480 PyObject
*resultobj
= 0;
6481 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6485 PyObject
*swig_obj
[1] ;
6487 if (!args
) SWIG_fail
;
6489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6490 if (!SWIG_IsOK(res1
)) {
6491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6493 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsModified();
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6509 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6515 PyObject
*swig_obj
[1] ;
6517 if (!args
) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6523 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsEditable();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6539 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6540 PyObject
*resultobj
= 0;
6541 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6545 PyObject
*swig_obj
[1] ;
6547 if (!args
) SWIG_fail
;
6549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6550 if (!SWIG_IsOK(res1
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6553 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSingleLine();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6569 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6570 PyObject
*resultobj
= 0;
6571 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6575 PyObject
*swig_obj
[1] ;
6577 if (!args
) SWIG_fail
;
6579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6580 if (!SWIG_IsOK(res1
)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6583 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsMultiLine();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6599 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6600 PyObject
*resultobj
= 0;
6601 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6602 long *arg2
= (long *) 0 ;
6603 long *arg3
= (long *) 0 ;
6607 int res2
= SWIG_TMPOBJ
;
6609 int res3
= SWIG_TMPOBJ
;
6610 PyObject
*swig_obj
[1] ;
6614 if (!args
) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6620 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 ((wxRichTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_Py_Void();
6628 if (SWIG_IsTmpObj(res2
)) {
6629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6631 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6634 if (SWIG_IsTmpObj(res3
)) {
6635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6637 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6646 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6647 PyObject
*resultobj
= 0;
6648 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6652 PyObject
*swig_obj
[1] ;
6654 if (!args
) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6660 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= ((wxRichTextCtrl
const *)arg1
)->GetStringSelection();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6680 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6681 PyObject
*resultobj
= 0;
6682 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6686 PyObject
*swig_obj
[1] ;
6688 if (!args
) SWIG_fail
;
6690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6691 if (!SWIG_IsOK(res1
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6694 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= ((wxRichTextCtrl
const *)arg1
)->GetFilename();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6714 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6717 wxString
*arg2
= 0 ;
6720 bool temp2
= false ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 char * kwnames
[] = {
6724 (char *) "self",(char *) "filename", NULL
6727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6729 if (!SWIG_IsOK(res1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6732 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6734 arg2
= wxString_in_helper(obj1
);
6735 if (arg2
== NULL
) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 (arg1
)->SetFilename((wxString
const &)*arg2
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_Py_Void();
6759 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
= 0;
6761 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 char * kwnames
[] = {
6770 (char *) "self",(char *) "threshold", NULL
6773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6775 if (!SWIG_IsOK(res1
)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6778 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6779 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6780 if (!SWIG_IsOK(ecode2
)) {
6781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6783 arg2
= static_cast< long >(val2
);
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 (arg1
)->SetDelayedLayoutThreshold(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= SWIG_Py_Void();
6797 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6798 PyObject
*resultobj
= 0;
6799 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6803 PyObject
*swig_obj
[1] ;
6805 if (!args
) SWIG_fail
;
6807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6808 if (!SWIG_IsOK(res1
)) {
6809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6811 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetDelayedLayoutThreshold();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_From_long(static_cast< long >(result
));
6825 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 PyObject
*resultobj
= 0;
6827 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6830 PyObject
*swig_obj
[1] ;
6832 if (!args
) SWIG_fail
;
6834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6835 if (!SWIG_IsOK(res1
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6838 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_Py_Void();
6852 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6854 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6857 wxString
*arg4
= 0 ;
6864 bool temp4
= false ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6868 PyObject
* obj3
= 0 ;
6869 char * kwnames
[] = {
6870 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6878 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6880 if (!SWIG_IsOK(ecode2
)) {
6881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6883 arg2
= static_cast< long >(val2
);
6884 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6885 if (!SWIG_IsOK(ecode3
)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6888 arg3
= static_cast< long >(val3
);
6890 arg4
= wxString_in_helper(obj3
);
6891 if (arg4
== NULL
) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_Py_Void();
6915 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
= 0;
6917 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "from",(char *) "to", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6938 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6940 if (!SWIG_IsOK(ecode2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6943 arg2
= static_cast< long >(val2
);
6944 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6945 if (!SWIG_IsOK(ecode3
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6948 arg3
= static_cast< long >(val3
);
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 (arg1
)->Remove(arg2
,arg3
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6965 wxString
*arg2
= 0 ;
6966 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6970 bool temp2
= false ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 PyObject
* obj2
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "file",(char *) "type", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6985 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6987 arg2
= wxString_in_helper(obj1
);
6988 if (arg2
== NULL
) SWIG_fail
;
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7021 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
= 0;
7023 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7024 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7025 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7026 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
7030 bool temp2
= false ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7035 PyObject
* obj2
= 0 ;
7036 char * kwnames
[] = {
7037 (char *) "self",(char *) "file",(char *) "type", NULL
7040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7045 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7048 arg2
= wxString_in_helper(obj1
);
7049 if (arg2
== NULL
) SWIG_fail
;
7054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7055 if (!SWIG_IsOK(ecode3
)) {
7056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
7058 arg3
= static_cast< int >(val3
);
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7083 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7084 PyObject
*resultobj
= 0;
7085 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7088 PyObject
*swig_obj
[1] ;
7090 if (!args
) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7096 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->MarkDirty();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_Py_Void();
7110 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 PyObject
*resultobj
= 0;
7112 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7115 PyObject
*swig_obj
[1] ;
7117 if (!args
) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7123 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 (arg1
)->DiscardEdits();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_Py_Void();
7137 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
= 0;
7139 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7140 unsigned long arg2
;
7143 unsigned long val2
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 char * kwnames
[] = {
7148 (char *) "self",(char *) "len", NULL
7151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7153 if (!SWIG_IsOK(res1
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7156 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7157 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
7158 if (!SWIG_IsOK(ecode2
)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7161 arg2
= static_cast< unsigned long >(val2
);
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->SetMaxLength(arg2
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7178 wxString
*arg2
= 0 ;
7181 bool temp2
= false ;
7182 PyObject
* obj0
= 0 ;
7183 PyObject
* obj1
= 0 ;
7184 char * kwnames
[] = {
7185 (char *) "self",(char *) "text", NULL
7188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7193 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7195 arg2
= wxString_in_helper(obj1
);
7196 if (arg2
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 (arg1
)->WriteText((wxString
const &)*arg2
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_Py_Void();
7220 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
= 0;
7222 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7223 wxString
*arg2
= 0 ;
7226 bool temp2
= false ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "self",(char *) "text", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7235 if (!SWIG_IsOK(res1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7238 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7240 arg2
= wxString_in_helper(obj1
);
7241 if (arg2
== NULL
) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->AppendText((wxString
const &)*arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_Py_Void();
7265 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7267 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7268 wxRichTextRange
*arg2
= 0 ;
7269 wxRichTextAttr
*arg3
= 0 ;
7273 wxRichTextRange temp2
;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 PyObject
* obj2
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "self",(char *) "range",(char *) "style", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7288 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7291 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7293 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7294 if (!SWIG_IsOK(res3
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7300 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (bool)(arg1
)->SetStyle((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7316 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleEx(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
= 0;
7318 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7319 wxRichTextRange
*arg2
= 0 ;
7320 wxRichTextAttr
*arg3
= 0 ;
7321 int arg4
= (int) wxRICHTEXT_SETSTYLE_WITH_UNDO
;
7325 wxRichTextRange temp2
;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 PyObject
* obj2
= 0 ;
7333 PyObject
* obj3
= 0 ;
7334 char * kwnames
[] = {
7335 (char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL
7338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:RichTextCtrl_SetStyleEx",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7343 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7346 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7348 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7349 if (!SWIG_IsOK(res3
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7355 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7358 if (!SWIG_IsOK(ecode4
)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "4"" of type '" "int""'");
7361 arg4
= static_cast< int >(val4
);
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (bool)(arg1
)->SetStyleEx((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
,arg4
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7378 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7382 wxRichTextAttr
*arg3
= 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 PyObject
* obj2
= 0 ;
7393 char * kwnames
[] = {
7394 (char *) "self",(char *) "position",(char *) "style", NULL
7397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7399 if (!SWIG_IsOK(res1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7402 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7403 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7404 if (!SWIG_IsOK(ecode2
)) {
7405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7407 arg2
= static_cast< long >(val2
);
7408 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7409 if (!SWIG_IsOK(res3
)) {
7410 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7415 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7431 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetUncombinedStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= 0;
7433 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7435 wxRichTextAttr
*arg3
= 0 ;
7443 PyObject
* obj0
= 0 ;
7444 PyObject
* obj1
= 0 ;
7445 PyObject
* obj2
= 0 ;
7446 char * kwnames
[] = {
7447 (char *) "self",(char *) "position",(char *) "style", NULL
7450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetUncombinedStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7452 if (!SWIG_IsOK(res1
)) {
7453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7455 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7456 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7457 if (!SWIG_IsOK(ecode2
)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
7460 arg2
= static_cast< long >(val2
);
7461 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7462 if (!SWIG_IsOK(res3
)) {
7463 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7468 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (bool)(arg1
)->GetUncombinedStyle(arg2
,*arg3
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
= 0;
7486 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7487 wxRichTextAttr
*arg2
= 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "style", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",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_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7504 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7506 if (!SWIG_IsOK(res2
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7512 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr
const &)*arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7528 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7529 PyObject
*resultobj
= 0;
7530 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7531 wxRichTextAttr result
;
7534 PyObject
*swig_obj
[1] ;
7536 if (!args
) SWIG_fail
;
7538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7539 if (!SWIG_IsOK(res1
)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7542 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= ((wxRichTextCtrl
const *)arg1
)->GetDefaultStyleEx();
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN
| 0 );
7556 SWIGINTERN PyObject
*_wrap_RichTextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
= 0;
7558 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7570 PyObject
* obj2
= 0 ;
7571 char * kwnames
[] = {
7572 (char *) "self",(char *) "x",(char *) "y", NULL
7575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7580 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7582 if (!SWIG_IsOK(ecode2
)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7585 arg2
= static_cast< long >(val2
);
7586 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7587 if (!SWIG_IsOK(ecode3
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7590 arg3
= static_cast< long >(val3
);
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (long)((wxRichTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_From_long(static_cast< long >(result
));
7604 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
= 0;
7606 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7608 long *arg3
= (long *) 0 ;
7609 long *arg4
= (long *) 0 ;
7615 int res3
= SWIG_TMPOBJ
;
7617 int res4
= SWIG_TMPOBJ
;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7620 char * kwnames
[] = {
7621 (char *) "self",(char *) "pos", NULL
7626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7628 if (!SWIG_IsOK(res1
)) {
7629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7631 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7633 if (!SWIG_IsOK(ecode2
)) {
7634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7636 arg2
= static_cast< long >(val2
);
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 ((wxRichTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_Py_Void();
7644 if (SWIG_IsTmpObj(res3
)) {
7645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7647 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7650 if (SWIG_IsTmpObj(res4
)) {
7651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
7653 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
7662 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
= 0;
7664 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "self",(char *) "position", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7678 if (!SWIG_IsOK(res1
)) {
7679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7681 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7682 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7683 if (!SWIG_IsOK(ecode2
)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7686 arg2
= static_cast< long >(val2
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 (arg1
)->ShowPosition(arg2
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_Py_Void();
7700 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7704 long *arg3
= (long *) 0 ;
7705 wxTextCtrlHitTestResult result
;
7710 int res3
= SWIG_TMPOBJ
;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7713 char * kwnames
[] = {
7714 (char *) "self",(char *) "pt", NULL
7718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7720 if (!SWIG_IsOK(res1
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7723 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7735 if (SWIG_IsTmpObj(res3
)) {
7736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7738 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7747 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= 0;
7749 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7751 wxTextCoord
*arg3
= (wxTextCoord
*) 0 ;
7752 wxTextCoord
*arg4
= (wxTextCoord
*) 0 ;
7753 wxTextCtrlHitTestResult result
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7764 PyObject
* obj3
= 0 ;
7765 char * kwnames
[] = {
7766 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7771 if (!SWIG_IsOK(res1
)) {
7772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7774 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7779 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7780 if (!SWIG_IsOK(res3
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7783 arg3
= reinterpret_cast< wxTextCoord
* >(argp3
);
7784 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7785 if (!SWIG_IsOK(res4
)) {
7786 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7788 arg4
= reinterpret_cast< wxTextCoord
* >(argp4
);
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7802 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7803 PyObject
*resultobj
= 0;
7804 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7807 PyObject
*swig_obj
[1] ;
7809 if (!args
) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7815 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7834 PyObject
*swig_obj
[1] ;
7836 if (!args
) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7842 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= SWIG_Py_Void();
7856 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7857 PyObject
*resultobj
= 0;
7858 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7861 PyObject
*swig_obj
[1] ;
7863 if (!args
) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7869 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_Py_Void();
7883 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7884 PyObject
*resultobj
= 0;
7885 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7888 PyObject
*swig_obj
[1] ;
7890 if (!args
) SWIG_fail
;
7892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7893 if (!SWIG_IsOK(res1
)) {
7894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7896 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->DeleteSelection();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_Py_Void();
7910 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7911 PyObject
*resultobj
= 0;
7912 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7916 PyObject
*swig_obj
[1] ;
7918 if (!args
) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7924 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCopy();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7940 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7941 PyObject
*resultobj
= 0;
7942 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7946 PyObject
*swig_obj
[1] ;
7948 if (!args
) SWIG_fail
;
7950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7951 if (!SWIG_IsOK(res1
)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7954 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCut();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7984 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanPaste();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8002 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8006 PyObject
*swig_obj
[1] ;
8008 if (!args
) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8014 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanDeleteSelection();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8030 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8032 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8035 PyObject
*swig_obj
[1] ;
8037 if (!args
) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8043 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_Py_Void();
8057 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 PyObject
*resultobj
= 0;
8059 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8062 PyObject
*swig_obj
[1] ;
8064 if (!args
) SWIG_fail
;
8066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8067 if (!SWIG_IsOK(res1
)) {
8068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8070 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_Py_Void();
8084 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8085 PyObject
*resultobj
= 0;
8086 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8090 PyObject
*swig_obj
[1] ;
8092 if (!args
) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8098 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanUndo();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8114 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8115 PyObject
*resultobj
= 0;
8116 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8120 PyObject
*swig_obj
[1] ;
8122 if (!args
) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8128 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanRedo();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8144 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 char * kwnames
[] = {
8155 (char *) "self",(char *) "pos", NULL
8158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8160 if (!SWIG_IsOK(res1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8163 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8165 if (!SWIG_IsOK(ecode2
)) {
8166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
8168 arg2
= static_cast< long >(val2
);
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 (arg1
)->SetInsertionPoint(arg2
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_Py_Void();
8182 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8183 PyObject
*resultobj
= 0;
8184 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8187 PyObject
*swig_obj
[1] ;
8189 if (!args
) SWIG_fail
;
8191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8192 if (!SWIG_IsOK(res1
)) {
8193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8195 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 (arg1
)->SetInsertionPointEnd();
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= SWIG_Py_Void();
8209 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8210 PyObject
*resultobj
= 0;
8211 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8215 PyObject
*swig_obj
[1] ;
8217 if (!args
) SWIG_fail
;
8219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8220 if (!SWIG_IsOK(res1
)) {
8221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8223 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetInsertionPoint();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_From_long(static_cast< long >(result
));
8237 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8238 PyObject
*resultobj
= 0;
8239 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8243 PyObject
*swig_obj
[1] ;
8245 if (!args
) SWIG_fail
;
8247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8248 if (!SWIG_IsOK(res1
)) {
8249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8251 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetLastPosition();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_From_long(static_cast< long >(result
));
8265 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= 0;
8267 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8278 PyObject
* obj2
= 0 ;
8279 char * kwnames
[] = {
8280 (char *) "self",(char *) "from",(char *) "to", NULL
8283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8285 if (!SWIG_IsOK(res1
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8288 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8289 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8290 if (!SWIG_IsOK(ecode2
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8293 arg2
= static_cast< long >(val2
);
8294 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8295 if (!SWIG_IsOK(ecode3
)) {
8296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8298 arg3
= static_cast< long >(val3
);
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 (arg1
)->SetSelection(arg2
,arg3
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= SWIG_Py_Void();
8312 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8313 PyObject
*resultobj
= 0;
8314 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8317 PyObject
*swig_obj
[1] ;
8319 if (!args
) SWIG_fail
;
8321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8322 if (!SWIG_IsOK(res1
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8325 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 (arg1
)->SelectAll();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_Py_Void();
8339 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 char * kwnames
[] = {
8350 (char *) "self",(char *) "editable", NULL
8353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8355 if (!SWIG_IsOK(res1
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8358 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8359 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8360 if (!SWIG_IsOK(ecode2
)) {
8361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8363 arg2
= static_cast< bool >(val2
);
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 (arg1
)->SetEditable(arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_Py_Void();
8377 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8378 PyObject
*resultobj
= 0;
8379 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8383 PyObject
*swig_obj
[1] ;
8385 if (!args
) SWIG_fail
;
8387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8388 if (!SWIG_IsOK(res1
)) {
8389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8391 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasSelection();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8407 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= 0;
8409 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8411 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8422 char * kwnames
[] = {
8423 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8431 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
8433 if (!SWIG_IsOK(res2
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8439 arg2
= reinterpret_cast< wxImage
* >(argp2
);
8441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8442 if (!SWIG_IsOK(ecode3
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8445 arg3
= static_cast< int >(val3
);
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (bool)(arg1
)->WriteImage((wxImage
const &)*arg2
,arg3
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8462 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
= 0;
8464 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8465 wxBitmap
*arg2
= 0 ;
8466 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8476 PyObject
* obj2
= 0 ;
8477 char * kwnames
[] = {
8478 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8486 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8488 if (!SWIG_IsOK(res2
)) {
8489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8494 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8497 if (!SWIG_IsOK(ecode3
)) {
8498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8500 arg3
= static_cast< int >(val3
);
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (bool)(arg1
)->WriteImage((wxBitmap
const &)*arg2
,arg3
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8517 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
= 0;
8519 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8520 wxString
*arg2
= 0 ;
8525 bool temp2
= false ;
8528 PyObject
* obj0
= 0 ;
8529 PyObject
* obj1
= 0 ;
8530 PyObject
* obj2
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8540 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8542 arg2
= wxString_in_helper(obj1
);
8543 if (arg2
== NULL
) SWIG_fail
;
8546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8547 if (!SWIG_IsOK(ecode3
)) {
8548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8550 arg3
= static_cast< int >(val3
);
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 result
= (bool)(arg1
)->WriteImage((wxString
const &)*arg2
,arg3
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8574 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= 0;
8576 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8577 wxRichTextImageBlock
*arg2
= 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 char * kwnames
[] = {
8586 (char *) "self",(char *) "imageBlock", NULL
8589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8591 if (!SWIG_IsOK(res1
)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8594 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
, 0 | 0);
8596 if (!SWIG_IsOK(res2
)) {
8597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8602 arg2
= reinterpret_cast< wxRichTextImageBlock
* >(argp2
);
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock
const &)*arg2
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Newline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8632 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (bool)(arg1
)->Newline();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8648 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetBasicStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= 0;
8650 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8651 wxRichTextAttr
*arg2
= 0 ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "self",(char *) "style", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8667 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
8669 if (!SWIG_IsOK(res2
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8675 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->SetBasicStyle((wxRichTextAttr
const &)*arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_Py_Void();
8689 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8690 PyObject
*resultobj
= 0;
8691 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8695 PyObject
*swig_obj
[1] ;
8697 if (!args
) SWIG_fail
;
8699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8700 if (!SWIG_IsOK(res1
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8703 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (bool)(arg1
)->EndStyle();
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8719 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAllStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8720 PyObject
*resultobj
= 0;
8721 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8725 PyObject
*swig_obj
[1] ;
8727 if (!args
) SWIG_fail
;
8729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8730 if (!SWIG_IsOK(res1
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8733 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 result
= (bool)(arg1
)->EndAllStyles();
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8749 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8750 PyObject
*resultobj
= 0;
8751 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8755 PyObject
*swig_obj
[1] ;
8757 if (!args
) SWIG_fail
;
8759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8760 if (!SWIG_IsOK(res1
)) {
8761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8763 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (bool)(arg1
)->BeginBold();
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8779 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8780 PyObject
*resultobj
= 0;
8781 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8785 PyObject
*swig_obj
[1] ;
8787 if (!args
) SWIG_fail
;
8789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8790 if (!SWIG_IsOK(res1
)) {
8791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8793 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (bool)(arg1
)->EndBold();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8809 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8810 PyObject
*resultobj
= 0;
8811 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8815 PyObject
*swig_obj
[1] ;
8817 if (!args
) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8823 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (bool)(arg1
)->BeginItalic();
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8839 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8840 PyObject
*resultobj
= 0;
8841 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8845 PyObject
*swig_obj
[1] ;
8847 if (!args
) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8853 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (bool)(arg1
)->EndItalic();
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8869 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 PyObject
*resultobj
= 0;
8871 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8875 PyObject
*swig_obj
[1] ;
8877 if (!args
) SWIG_fail
;
8879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8880 if (!SWIG_IsOK(res1
)) {
8881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8883 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)(arg1
)->BeginUnderline();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8899 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8900 PyObject
*resultobj
= 0;
8901 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8905 PyObject
*swig_obj
[1] ;
8907 if (!args
) SWIG_fail
;
8909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8910 if (!SWIG_IsOK(res1
)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8913 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (bool)(arg1
)->EndUnderline();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8929 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
= 0;
8931 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 char * kwnames
[] = {
8941 (char *) "self",(char *) "pointSize", NULL
8944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8946 if (!SWIG_IsOK(res1
)) {
8947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8949 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8951 if (!SWIG_IsOK(ecode2
)) {
8952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8954 arg2
= static_cast< int >(val2
);
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (bool)(arg1
)->BeginFontSize(arg2
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8971 PyObject
*resultobj
= 0;
8972 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8976 PyObject
*swig_obj
[1] ;
8978 if (!args
) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8984 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= (bool)(arg1
)->EndFontSize();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= 0;
9002 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 char * kwnames
[] = {
9012 (char *) "self",(char *) "font", NULL
9015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9020 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9022 if (!SWIG_IsOK(res2
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9028 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (bool)(arg1
)->BeginFont((wxFont
const &)*arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9044 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 PyObject
*resultobj
= 0;
9046 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9050 PyObject
*swig_obj
[1] ;
9052 if (!args
) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9058 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (bool)(arg1
)->EndFont();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
= 0;
9076 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9077 wxColour
*arg2
= 0 ;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 char * kwnames
[] = {
9085 (char *) "self",(char *) "colour", NULL
9088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9093 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (bool)(arg1
)->BeginTextColour((wxColour
const &)*arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9113 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 PyObject
*resultobj
= 0;
9115 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9119 PyObject
*swig_obj
[1] ;
9121 if (!args
) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9127 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)(arg1
)->EndTextColour();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9143 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9146 wxTextAttrAlignment arg2
;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 char * kwnames
[] = {
9155 (char *) "self",(char *) "alignment", NULL
9158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9160 if (!SWIG_IsOK(res1
)) {
9161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9163 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9165 if (!SWIG_IsOK(ecode2
)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
9168 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (bool)(arg1
)->BeginAlignment(arg2
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9184 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9185 PyObject
*resultobj
= 0;
9186 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9190 PyObject
*swig_obj
[1] ;
9192 if (!args
) SWIG_fail
;
9194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9195 if (!SWIG_IsOK(res1
)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9198 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (bool)(arg1
)->EndAlignment();
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9214 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9218 int arg3
= (int) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9229 char * kwnames
[] = {
9230 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9235 if (!SWIG_IsOK(res1
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9238 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9240 if (!SWIG_IsOK(ecode2
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9243 arg2
= static_cast< int >(val2
);
9245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9246 if (!SWIG_IsOK(ecode3
)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9249 arg3
= static_cast< int >(val3
);
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9266 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9267 PyObject
*resultobj
= 0;
9268 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9272 PyObject
*swig_obj
[1] ;
9274 if (!args
) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9280 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (bool)(arg1
)->EndLeftIndent();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9296 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
= 0;
9298 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 char * kwnames
[] = {
9308 (char *) "self",(char *) "rightIndent", NULL
9311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9313 if (!SWIG_IsOK(res1
)) {
9314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9316 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9318 if (!SWIG_IsOK(ecode2
)) {
9319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9321 arg2
= static_cast< int >(val2
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->BeginRightIndent(arg2
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9337 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9351 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (bool)(arg1
)->EndRightIndent();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9367 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
= 0;
9369 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 PyObject
* obj2
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "self",(char *) "before",(char *) "after", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9391 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9393 if (!SWIG_IsOK(ecode2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9396 arg2
= static_cast< int >(val2
);
9397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9398 if (!SWIG_IsOK(ecode3
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9401 arg3
= static_cast< int >(val3
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9417 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9418 PyObject
*resultobj
= 0;
9419 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9423 PyObject
*swig_obj
[1] ;
9425 if (!args
) SWIG_fail
;
9427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9428 if (!SWIG_IsOK(res1
)) {
9429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9431 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (bool)(arg1
)->EndParagraphSpacing();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "self",(char *) "lineSpacing", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9467 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9469 if (!SWIG_IsOK(ecode2
)) {
9470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9472 arg2
= static_cast< int >(val2
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (bool)(arg1
)->BeginLineSpacing(arg2
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9488 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9489 PyObject
*resultobj
= 0;
9490 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9494 PyObject
*swig_obj
[1] ;
9496 if (!args
) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9502 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (bool)(arg1
)->EndLineSpacing();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9518 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= 0;
9520 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9524 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD
;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 PyObject
* obj2
= 0 ;
9539 PyObject
* obj3
= 0 ;
9540 PyObject
* obj4
= 0 ;
9541 char * kwnames
[] = {
9542 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9550 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9552 if (!SWIG_IsOK(ecode2
)) {
9553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9555 arg2
= static_cast< int >(val2
);
9556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9557 if (!SWIG_IsOK(ecode3
)) {
9558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9560 arg3
= static_cast< int >(val3
);
9561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9562 if (!SWIG_IsOK(ecode4
)) {
9563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9565 arg4
= static_cast< int >(val4
);
9567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9568 if (!SWIG_IsOK(ecode5
)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9571 arg5
= static_cast< int >(val5
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9588 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9589 PyObject
*resultobj
= 0;
9590 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9594 PyObject
*swig_obj
[1] ;
9596 if (!args
) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9602 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)(arg1
)->EndNumberedBullet();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9618 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= 0;
9620 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9624 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL
;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 PyObject
* obj2
= 0 ;
9639 PyObject
* obj3
= 0 ;
9640 PyObject
* obj4
= 0 ;
9641 char * kwnames
[] = {
9642 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9650 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9651 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9652 if (!SWIG_IsOK(ecode2
)) {
9653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'");
9655 arg2
= static_cast< char >(val2
);
9656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9657 if (!SWIG_IsOK(ecode3
)) {
9658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9660 arg3
= static_cast< int >(val3
);
9661 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9662 if (!SWIG_IsOK(ecode4
)) {
9663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9665 arg4
= static_cast< int >(val4
);
9667 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9668 if (!SWIG_IsOK(ecode5
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9671 arg5
= static_cast< int >(val5
);
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9689 PyObject
*resultobj
= 0;
9690 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9694 PyObject
*swig_obj
[1] ;
9696 if (!args
) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9702 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)(arg1
)->EndSymbolBullet();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9718 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
= 0;
9720 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9721 wxString
*arg2
= 0 ;
9725 bool temp2
= false ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 char * kwnames
[] = {
9729 (char *) "self",(char *) "characterStyle", NULL
9732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9734 if (!SWIG_IsOK(res1
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9737 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9739 arg2
= wxString_in_helper(obj1
);
9740 if (arg2
== NULL
) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (bool)(arg1
)->BeginCharacterStyle((wxString
const &)*arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9766 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9767 PyObject
*resultobj
= 0;
9768 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9772 PyObject
*swig_obj
[1] ;
9774 if (!args
) SWIG_fail
;
9776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9777 if (!SWIG_IsOK(res1
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9780 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)(arg1
)->EndCharacterStyle();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
= 0;
9798 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9799 wxString
*arg2
= 0 ;
9803 bool temp2
= false ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 char * kwnames
[] = {
9807 (char *) "self",(char *) "paragraphStyle", NULL
9810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9815 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9817 arg2
= wxString_in_helper(obj1
);
9818 if (arg2
== NULL
) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (bool)(arg1
)->BeginParagraphStyle((wxString
const &)*arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9844 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9845 PyObject
*resultobj
= 0;
9846 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9850 PyObject
*swig_obj
[1] ;
9852 if (!args
) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9858 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (bool)(arg1
)->EndParagraphStyle();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9874 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9875 PyObject
*resultobj
= 0;
9876 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9880 PyObject
*swig_obj
[1] ;
9882 if (!args
) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9888 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)(arg1
)->SetDefaultStyleToCursorStyle();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9904 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectNone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9905 PyObject
*resultobj
= 0;
9906 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9909 PyObject
*swig_obj
[1] ;
9911 if (!args
) SWIG_fail
;
9913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9914 if (!SWIG_IsOK(res1
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9917 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 (arg1
)->SelectNone();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_Py_Void();
9931 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9941 PyObject
* obj1
= 0 ;
9942 char * kwnames
[] = {
9943 (char *) "self",(char *) "position", NULL
9946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9948 if (!SWIG_IsOK(res1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9951 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9952 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9953 if (!SWIG_IsOK(ecode2
)) {
9954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "2"" of type '" "long""'");
9956 arg2
= static_cast< long >(val2
);
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (bool)(arg1
)->SelectWord(arg2
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9972 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9973 PyObject
*resultobj
= 0;
9974 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9975 wxRichTextRange result
;
9978 PyObject
*swig_obj
[1] ;
9980 if (!args
) SWIG_fail
;
9982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9983 if (!SWIG_IsOK(res1
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
9986 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= ((wxRichTextCtrl
const *)arg1
)->GetSelectionRange();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
10000 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10003 wxRichTextRange
*arg2
= 0 ;
10006 wxRichTextRange temp2
;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char * kwnames
[] = {
10010 (char *) "self",(char *) "range", NULL
10013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10018 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10021 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetSelectionRange((wxRichTextRange
const &)*arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_Py_Void();
10036 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInternalSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10037 PyObject
*resultobj
= 0;
10038 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10039 wxRichTextRange
*result
= 0 ;
10042 PyObject
*swig_obj
[1] ;
10044 if (!args
) SWIG_fail
;
10045 swig_obj
[0] = args
;
10046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10050 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 wxRichTextRange
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetInternalSelectionRange();
10055 result
= (wxRichTextRange
*) &_result_ref
;
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
10067 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInternalSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
= 0;
10069 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10070 wxRichTextRange
*arg2
= 0 ;
10073 wxRichTextRange temp2
;
10074 PyObject
* obj0
= 0 ;
10075 PyObject
* obj1
= 0 ;
10076 char * kwnames
[] = {
10077 (char *) "self",(char *) "range", NULL
10080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInternalSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10085 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10088 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 (arg1
)->SetInternalSelectionRange((wxRichTextRange
const &)*arg2
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_Py_Void();
10103 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddParagraph(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
= 0;
10105 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10106 wxString
*arg2
= 0 ;
10107 wxRichTextRange result
;
10110 bool temp2
= false ;
10111 PyObject
* obj0
= 0 ;
10112 PyObject
* obj1
= 0 ;
10113 char * kwnames
[] = {
10114 (char *) "self",(char *) "text", NULL
10117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10119 if (!SWIG_IsOK(res1
)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10122 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10124 arg2
= wxString_in_helper(obj1
);
10125 if (arg2
== NULL
) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (arg1
)->AddParagraph((wxString
const &)*arg2
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
10149 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
= 0;
10151 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10152 wxImage
*arg2
= 0 ;
10153 wxRichTextRange result
;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 char * kwnames
[] = {
10161 (char *) "self",(char *) "image", NULL
10164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10166 if (!SWIG_IsOK(res1
)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10169 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
10171 if (!SWIG_IsOK(res2
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
10175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
10177 arg2
= reinterpret_cast< wxImage
* >(argp2
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (arg1
)->AddImage((wxImage
const &)*arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
10191 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LayoutContent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
= 0;
10193 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10194 bool arg2
= (bool) false ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 char * kwnames
[] = {
10203 (char *) "self",(char *) "onlyVisibleRect", NULL
10206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10208 if (!SWIG_IsOK(res1
)) {
10209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10211 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10213 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10214 if (!SWIG_IsOK(ecode2
)) {
10215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
10217 arg2
= static_cast< bool >(val2
);
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (bool)(arg1
)->LayoutContent(arg2
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10234 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
= 0;
10236 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10238 bool arg3
= (bool) false ;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 PyObject
* obj2
= 0 ;
10249 char * kwnames
[] = {
10250 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
10253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10258 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10259 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10260 if (!SWIG_IsOK(ecode2
)) {
10261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
10263 arg2
= static_cast< long >(val2
);
10265 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10266 if (!SWIG_IsOK(ecode3
)) {
10267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
10269 arg3
= static_cast< bool >(val3
);
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)(arg1
)->MoveCaret(arg2
,arg3
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10286 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= 0;
10288 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10289 int arg2
= (int) 1 ;
10290 int arg3
= (int) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 char * kwnames
[] = {
10302 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10307 if (!SWIG_IsOK(res1
)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10310 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10313 if (!SWIG_IsOK(ecode2
)) {
10314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
10316 arg2
= static_cast< int >(val2
);
10319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10320 if (!SWIG_IsOK(ecode3
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
10323 arg3
= static_cast< int >(val3
);
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (bool)(arg1
)->MoveRight(arg2
,arg3
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
= 0;
10342 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10343 int arg2
= (int) 1 ;
10344 int arg3
= (int) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 PyObject
* obj2
= 0 ;
10355 char * kwnames
[] = {
10356 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10364 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10367 if (!SWIG_IsOK(ecode2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10370 arg2
= static_cast< int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (bool)(arg1
)->MoveLeft(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10394 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10397 int arg2
= (int) 1 ;
10398 int arg3
= (int) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 PyObject
* obj2
= 0 ;
10409 char * kwnames
[] = {
10410 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10415 if (!SWIG_IsOK(res1
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10418 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10421 if (!SWIG_IsOK(ecode2
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10424 arg2
= static_cast< int >(val2
);
10427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10428 if (!SWIG_IsOK(ecode3
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10431 arg3
= static_cast< int >(val3
);
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->MoveUp(arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10448 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
= 0;
10450 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10451 int arg2
= (int) 1 ;
10452 int arg3
= (int) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 PyObject
* obj2
= 0 ;
10463 char * kwnames
[] = {
10464 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10469 if (!SWIG_IsOK(res1
)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10472 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10475 if (!SWIG_IsOK(ecode2
)) {
10476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10478 arg2
= static_cast< int >(val2
);
10481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10482 if (!SWIG_IsOK(ecode3
)) {
10483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10485 arg3
= static_cast< int >(val3
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (bool)(arg1
)->MoveDown(arg2
,arg3
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10502 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
= 0;
10504 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10505 int arg2
= (int) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char * kwnames
[] = {
10514 (char *) "self",(char *) "flags", NULL
10517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10522 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10525 if (!SWIG_IsOK(ecode2
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10528 arg2
= static_cast< int >(val2
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->MoveToLineEnd(arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10545 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= 0;
10547 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10548 int arg2
= (int) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 char * kwnames
[] = {
10557 (char *) "self",(char *) "flags", NULL
10560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10565 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10568 if (!SWIG_IsOK(ecode2
)) {
10569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10571 arg2
= static_cast< int >(val2
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (bool)(arg1
)->MoveToLineStart(arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10588 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10591 int arg2
= (int) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char * kwnames
[] = {
10600 (char *) "self",(char *) "flags", NULL
10603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10605 if (!SWIG_IsOK(res1
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10608 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10611 if (!SWIG_IsOK(ecode2
)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10614 arg2
= static_cast< int >(val2
);
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)(arg1
)->MoveToParagraphEnd(arg2
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10631 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= 0;
10633 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10634 int arg2
= (int) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char * kwnames
[] = {
10643 (char *) "self",(char *) "flags", NULL
10646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10651 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10654 if (!SWIG_IsOK(ecode2
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10657 arg2
= static_cast< int >(val2
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (bool)(arg1
)->MoveToParagraphStart(arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10674 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
= 0;
10676 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10677 int arg2
= (int) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char * kwnames
[] = {
10686 (char *) "self",(char *) "flags", NULL
10689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10694 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10697 if (!SWIG_IsOK(ecode2
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10700 arg2
= static_cast< int >(val2
);
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)(arg1
)->MoveHome(arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10717 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
= 0;
10719 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10720 int arg2
= (int) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char * kwnames
[] = {
10729 (char *) "self",(char *) "flags", NULL
10732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10734 if (!SWIG_IsOK(res1
)) {
10735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10737 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10740 if (!SWIG_IsOK(ecode2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10743 arg2
= static_cast< int >(val2
);
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (bool)(arg1
)->MoveEnd(arg2
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10760 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= 0;
10762 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10763 int arg2
= (int) 1 ;
10764 int arg3
= (int) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 PyObject
* obj2
= 0 ;
10775 char * kwnames
[] = {
10776 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10781 if (!SWIG_IsOK(res1
)) {
10782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10784 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10787 if (!SWIG_IsOK(ecode2
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10790 arg2
= static_cast< int >(val2
);
10793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10794 if (!SWIG_IsOK(ecode3
)) {
10795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10797 arg3
= static_cast< int >(val3
);
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (bool)(arg1
)->PageUp(arg2
,arg3
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10817 int arg2
= (int) 1 ;
10818 int arg3
= (int) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10838 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10841 if (!SWIG_IsOK(ecode2
)) {
10842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10844 arg2
= static_cast< int >(val2
);
10847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10848 if (!SWIG_IsOK(ecode3
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10851 arg3
= static_cast< int >(val3
);
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (bool)(arg1
)->PageDown(arg2
,arg3
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10868 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
= 0;
10870 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10871 int arg2
= (int) 1 ;
10872 int arg3
= (int) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10892 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10895 if (!SWIG_IsOK(ecode2
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10898 arg2
= static_cast< int >(val2
);
10901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10902 if (!SWIG_IsOK(ecode3
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10905 arg3
= static_cast< int >(val3
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->WordLeft(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
= 0;
10924 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10925 int arg2
= (int) 1 ;
10926 int arg3
= (int) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 PyObject
* obj2
= 0 ;
10937 char * kwnames
[] = {
10938 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10946 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10949 if (!SWIG_IsOK(ecode2
)) {
10950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10952 arg2
= static_cast< int >(val2
);
10955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10956 if (!SWIG_IsOK(ecode3
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10959 arg3
= static_cast< int >(val3
);
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (bool)(arg1
)->WordRight(arg2
,arg3
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10977 PyObject
*resultobj
= 0;
10978 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10979 wxRichTextBuffer
*result
= 0 ;
10982 PyObject
*swig_obj
[1] ;
10984 if (!args
) SWIG_fail
;
10985 swig_obj
[0] = args
;
10986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10987 if (!SWIG_IsOK(res1
)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10990 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 wxRichTextBuffer
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetBuffer();
10995 result
= (wxRichTextBuffer
*) &_result_ref
;
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 | 0 );
11007 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
= 0;
11009 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11010 wxString
*arg2
= 0 ;
11014 bool temp2
= false ;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 char * kwnames
[] = {
11018 (char *) "self",(char *) "cmdName", NULL
11021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11023 if (!SWIG_IsOK(res1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11026 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11028 arg2
= wxString_in_helper(obj1
);
11029 if (arg2
== NULL
) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)(arg1
)->BeginBatchUndo((wxString
const &)*arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11056 PyObject
*resultobj
= 0;
11057 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11061 PyObject
*swig_obj
[1] ;
11063 if (!args
) SWIG_fail
;
11064 swig_obj
[0] = args
;
11065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11066 if (!SWIG_IsOK(res1
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11069 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (bool)(arg1
)->EndBatchUndo();
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11085 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BatchingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11086 PyObject
*resultobj
= 0;
11087 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11091 PyObject
*swig_obj
[1] ;
11093 if (!args
) SWIG_fail
;
11094 swig_obj
[0] = args
;
11095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11096 if (!SWIG_IsOK(res1
)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11099 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)((wxRichTextCtrl
const *)arg1
)->BatchingUndo();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11116 PyObject
*resultobj
= 0;
11117 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11121 PyObject
*swig_obj
[1] ;
11123 if (!args
) SWIG_fail
;
11124 swig_obj
[0] = args
;
11125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11129 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)(arg1
)->BeginSuppressUndo();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11146 PyObject
*resultobj
= 0;
11147 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11151 PyObject
*swig_obj
[1] ;
11153 if (!args
) SWIG_fail
;
11154 swig_obj
[0] = args
;
11155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11159 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)(arg1
)->EndSuppressUndo();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11175 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SuppressingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11176 PyObject
*resultobj
= 0;
11177 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11181 PyObject
*swig_obj
[1] ;
11183 if (!args
) SWIG_fail
;
11184 swig_obj
[0] = args
;
11185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11189 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (bool)((wxRichTextCtrl
const *)arg1
)->SuppressingUndo();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
= 0;
11207 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11208 wxRichTextRange
*arg2
= 0 ;
11209 wxRichTextAttr
*arg3
= 0 ;
11213 wxRichTextRange temp2
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 PyObject
* obj2
= 0 ;
11219 char * kwnames
[] = {
11220 (char *) "self",(char *) "range",(char *) "style", NULL
11223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11228 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11231 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
11233 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
11234 if (!SWIG_IsOK(res3
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11240 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasCharacterAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
= 0;
11258 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11259 wxRichTextRange
*arg2
= 0 ;
11260 wxRichTextAttr
*arg3
= 0 ;
11264 wxRichTextRange temp2
;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 PyObject
* obj2
= 0 ;
11270 char * kwnames
[] = {
11271 (char *) "self",(char *) "range",(char *) "style", NULL
11274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11276 if (!SWIG_IsOK(res1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11279 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11282 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
11284 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
11285 if (!SWIG_IsOK(res3
)) {
11286 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11291 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasParagraphAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11307 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11308 PyObject
*resultobj
= 0;
11309 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11313 PyObject
*swig_obj
[1] ;
11315 if (!args
) SWIG_fail
;
11316 swig_obj
[0] = args
;
11317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11318 if (!SWIG_IsOK(res1
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11321 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->IsSelectionBold();
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11338 PyObject
*resultobj
= 0;
11339 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11343 PyObject
*swig_obj
[1] ;
11345 if (!args
) SWIG_fail
;
11346 swig_obj
[0] = args
;
11347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11351 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)(arg1
)->IsSelectionItalics();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11367 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11368 PyObject
*resultobj
= 0;
11369 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11373 PyObject
*swig_obj
[1] ;
11375 if (!args
) SWIG_fail
;
11376 swig_obj
[0] = args
;
11377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11378 if (!SWIG_IsOK(res1
)) {
11379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11381 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (bool)(arg1
)->IsSelectionUnderlined();
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11397 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
= 0;
11399 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11400 wxTextAttrAlignment arg2
;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char * kwnames
[] = {
11409 (char *) "self",(char *) "alignment", NULL
11412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11417 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11419 if (!SWIG_IsOK(ecode2
)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11422 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (bool)(arg1
)->IsSelectionAligned(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11438 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11439 PyObject
*resultobj
= 0;
11440 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11444 PyObject
*swig_obj
[1] ;
11446 if (!args
) SWIG_fail
;
11447 swig_obj
[0] = args
;
11448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11452 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)(arg1
)->ApplyBoldToSelection();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11468 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11469 PyObject
*resultobj
= 0;
11470 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11474 PyObject
*swig_obj
[1] ;
11476 if (!args
) SWIG_fail
;
11477 swig_obj
[0] = args
;
11478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11482 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (bool)(arg1
)->ApplyItalicToSelection();
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11498 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 PyObject
*resultobj
= 0;
11500 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11504 PyObject
*swig_obj
[1] ;
11506 if (!args
) SWIG_fail
;
11507 swig_obj
[0] = args
;
11508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11512 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (bool)(arg1
)->ApplyUnderlineToSelection();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11528 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11531 wxTextAttrAlignment arg2
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char * kwnames
[] = {
11540 (char *) "self",(char *) "alignment", NULL
11543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11548 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11550 if (!SWIG_IsOK(ecode2
)) {
11551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11553 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11569 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
= 0;
11571 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11572 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char * kwnames
[] = {
11580 (char *) "self",(char *) "styleSheet", NULL
11583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11585 if (!SWIG_IsOK(res1
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11588 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11590 if (!SWIG_IsOK(res2
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11593 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->SetStyleSheet(arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_Py_Void();
11607 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11608 PyObject
*resultobj
= 0;
11609 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11610 wxRichTextStyleSheet
*result
= 0 ;
11613 PyObject
*swig_obj
[1] ;
11615 if (!args
) SWIG_fail
;
11616 swig_obj
[0] = args
;
11617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11621 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (wxRichTextStyleSheet
*)((wxRichTextCtrl
const *)arg1
)->GetStyleSheet();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11635 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
= 0;
11637 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11638 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) NULL
;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char * kwnames
[] = {
11647 (char *) "self",(char *) "styleSheet", NULL
11650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_ApplyStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11652 if (!SWIG_IsOK(res1
)) {
11653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11655 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11658 if (!SWIG_IsOK(res2
)) {
11659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11661 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (bool)(arg1
)->ApplyStyleSheet(arg2
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11678 SWIGINTERN PyObject
*RichTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11681 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
));
11682 return SWIG_Py_Void();
11685 SWIGINTERN PyObject
*RichTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11686 return SWIG_Python_InitShadowInstance(args
);
11689 SWIGINTERN PyObject
*_wrap_new_RichTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
= 0;
11691 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11692 int arg2
= (int) 0 ;
11693 wxRichTextEvent
*result
= 0 ;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 char * kwnames
[] = {
11701 (char *) "commandType",(char *) "winid", NULL
11704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11707 if (!SWIG_IsOK(ecode1
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11710 arg1
= static_cast< wxEventType
>(val1
);
11713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11714 if (!SWIG_IsOK(ecode2
)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11717 arg2
= static_cast< int >(val2
);
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxRichTextEvent
*)new wxRichTextEvent(arg1
,arg2
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW
| 0 );
11732 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 PyObject
*resultobj
= 0;
11734 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11738 PyObject
*swig_obj
[1] ;
11740 if (!args
) SWIG_fail
;
11741 swig_obj
[0] = args
;
11742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11746 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (int)((wxRichTextEvent
const *)arg1
)->GetIndex();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_From_int(static_cast< int >(result
));
11760 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
= 0;
11762 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 char * kwnames
[] = {
11771 (char *) "self",(char *) "n", NULL
11774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11776 if (!SWIG_IsOK(res1
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11779 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11781 if (!SWIG_IsOK(ecode2
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11784 arg2
= static_cast< int >(val2
);
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 (arg1
)->SetIndex(arg2
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_Py_Void();
11798 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11799 PyObject
*resultobj
= 0;
11800 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11804 PyObject
*swig_obj
[1] ;
11806 if (!args
) SWIG_fail
;
11807 swig_obj
[0] = args
;
11808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11812 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)((wxRichTextEvent
const *)arg1
)->GetFlags();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int(static_cast< int >(result
));
11826 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= 0;
11828 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char * kwnames
[] = {
11837 (char *) "self",(char *) "flags", NULL
11840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11845 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11847 if (!SWIG_IsOK(ecode2
)) {
11848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11850 arg2
= static_cast< int >(val2
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetFlags(arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*RichTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11867 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
));
11868 return SWIG_Py_Void();
11871 SWIGINTERN PyObject
*RichTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 return SWIG_Python_InitShadowInstance(args
);
11875 static PyMethodDef SwigMethods
[] = {
11876 { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11877 { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
},
11878 { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11879 { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11880 { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11881 { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11882 { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11883 { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
},
11884 { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11885 { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
},
11886 { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11887 { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11888 { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11889 { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11890 { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
},
11891 { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
},
11892 { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
},
11893 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
},
11894 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
},
11895 { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11896 { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
},
11897 { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
},
11898 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11899 { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11900 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11901 { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11902 { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11903 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11904 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11905 { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11906 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11907 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11908 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11909 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11910 { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11911 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11912 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11913 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11914 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11915 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11916 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11917 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11918 { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11919 { (char *)"RichTextAttr_SetBulletFont", (PyCFunction
) _wrap_RichTextAttr_SetBulletFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11920 { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
},
11921 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
},
11922 { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
},
11923 { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
},
11924 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
},
11925 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
},
11926 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
},
11927 { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
},
11928 { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
},
11929 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
},
11930 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
},
11931 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
},
11932 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
},
11933 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
},
11934 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
},
11935 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
},
11936 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
},
11937 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
},
11938 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
},
11939 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
},
11940 { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
},
11941 { (char *)"RichTextAttr_GetBulletFont", (PyCFunction
)_wrap_RichTextAttr_GetBulletFont
, METH_O
, NULL
},
11942 { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
},
11943 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
},
11944 { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
},
11945 { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
},
11946 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
},
11947 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
},
11948 { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
},
11949 { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
},
11950 { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
},
11951 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
},
11952 { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
},
11953 { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
},
11954 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
},
11955 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
},
11956 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
},
11957 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
},
11958 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
},
11959 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
},
11960 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
},
11961 { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
},
11962 { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11963 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
},
11964 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
},
11965 { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
},
11966 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
},
11967 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
},
11968 { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11969 { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
},
11970 { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11971 { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
},
11972 { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11973 { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11974 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11975 { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11976 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
},
11977 { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
},
11978 { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
},
11979 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
},
11980 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
},
11981 { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
},
11982 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
},
11983 { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
},
11984 { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11985 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11986 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
},
11987 { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
},
11988 { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11989 { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11990 { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11991 { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11992 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
},
11993 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
},
11994 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11995 { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11996 { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11997 { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11998 { (char *)"RichTextCtrl_SetStyleEx", (PyCFunction
) _wrap_RichTextCtrl_SetStyleEx
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11999 { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12000 { (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction
) _wrap_RichTextCtrl_GetUncombinedStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12001 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12002 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
},
12003 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12004 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12005 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12006 { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12007 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12008 { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
},
12009 { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
},
12010 { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
},
12011 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
},
12012 { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
},
12013 { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
},
12014 { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
},
12015 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
},
12016 { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
},
12017 { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
},
12018 { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
},
12019 { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
},
12020 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12021 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
12022 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
},
12023 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
},
12024 { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12025 { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
},
12026 { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12027 { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
},
12028 { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12029 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12030 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12031 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12032 { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
},
12033 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12034 { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
},
12035 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
},
12036 { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
},
12037 { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
},
12038 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
},
12039 { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
},
12040 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
},
12041 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
},
12042 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12043 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
},
12044 { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12045 { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
},
12046 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12047 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
},
12048 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12049 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
},
12050 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12051 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
},
12052 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12053 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
},
12054 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12055 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
},
12056 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12057 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
},
12058 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12059 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
},
12060 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12061 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
},
12062 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12063 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
},
12064 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12065 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
},
12066 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
},
12067 { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
},
12068 { (char *)"RichTextCtrl_SelectWord", (PyCFunction
) _wrap_RichTextCtrl_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12069 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
},
12070 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12071 { (char *)"RichTextCtrl_GetInternalSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetInternalSelectionRange
, METH_O
, NULL
},
12072 { (char *)"RichTextCtrl_SetInternalSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetInternalSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12073 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12074 { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12075 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12076 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12077 { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12078 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12079 { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12080 { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12081 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12082 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12083 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12084 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12085 { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12086 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12087 { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12088 { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12089 { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12090 { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12091 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
},
12092 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12093 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
},
12094 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
},
12095 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
},
12096 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
},
12097 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
},
12098 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12099 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12100 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
},
12101 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
},
12102 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
},
12103 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12104 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
},
12105 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
},
12106 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
},
12107 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12108 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12109 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
},
12110 { (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_ApplyStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12111 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
},
12112 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
},
12113 { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12114 { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
},
12115 { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12116 { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
},
12117 { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12118 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
},
12119 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
},
12120 { NULL
, NULL
, 0, NULL
}
12124 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12126 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
12127 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
12129 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
12130 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12132 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
12133 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12135 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
12136 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12138 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
12139 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12141 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
12142 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
12144 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) {
12145 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12147 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
12148 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12150 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
12151 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
12153 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
12154 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12156 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) {
12157 return (void *)((wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12159 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
12160 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12162 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
12163 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12165 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) {
12166 return (void *)((wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12168 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
12169 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12171 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
12172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12174 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
12175 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12177 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
12178 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
12180 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
12181 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
12183 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
12184 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12186 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
12187 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12189 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
12190 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12192 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
12193 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12195 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
12196 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12198 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
12199 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12201 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
12202 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12204 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
12205 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12207 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
12208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12210 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
12211 return (void *)((wxWindow
*) ((wxPanel
*) x
));
12213 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
12214 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
12216 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
12217 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12219 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
12220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12222 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
12223 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12225 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
12226 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
12228 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
12229 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12231 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
12232 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
12234 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
12235 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
12237 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
12238 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
12240 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
12241 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
12243 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
12244 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
12246 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
12247 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
12249 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
12250 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12252 static void *_p_wxControlTo_p_wxWindow(void *x
) {
12253 return (void *)((wxWindow
*) ((wxControl
*) x
));
12255 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
12256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12258 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
12259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12261 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
12262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12264 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
12265 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
12267 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
12268 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
12270 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
12271 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12273 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
12274 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12276 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
12277 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12279 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
12280 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
12282 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
12283 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12285 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
12286 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
12288 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
12289 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12291 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
12292 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12294 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
12295 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12297 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
12298 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
12300 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
12301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12303 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) {
12304 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12306 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
12307 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12309 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
12310 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
12312 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
12313 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
12315 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
12316 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
12318 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
12319 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
12321 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
12322 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
12324 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
12325 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12327 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
12328 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
12330 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
12331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
12333 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
12334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12336 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
12337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12339 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
12340 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
12342 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
12343 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
12345 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
12346 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12348 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
12349 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
12351 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
12352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12354 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
12355 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12357 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
12358 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
12360 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
12361 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
12363 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
12364 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
12366 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
12367 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
12369 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
12370 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
12372 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
12373 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
12375 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
12376 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
12378 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
12379 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
12381 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
12382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12384 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) {
12385 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12387 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
12388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12390 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
12391 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12393 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
12394 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12396 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
12397 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12399 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
12400 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12402 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
12403 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
12405 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
12406 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
12408 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
12409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12411 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
12412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
12414 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
12415 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12417 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
12418 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
12420 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
12421 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
12423 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
12424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12426 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
12427 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12429 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
12430 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12432 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
12433 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
12435 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
12436 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
12438 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
12439 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12441 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12442 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12444 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12445 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12447 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12450 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12453 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12454 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12456 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12457 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12459 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12462 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12463 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12465 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12466 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12468 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12469 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12471 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12472 return (void *)((wxObject
*) ((wxSizer
*) x
));
12474 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12475 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12477 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12480 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12483 static void *_p_wxEventTo_p_wxObject(void *x
) {
12484 return (void *)((wxObject
*) ((wxEvent
*) x
));
12486 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12487 return (void *)((wxObject
*) ((wxFontData
*) x
));
12489 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12490 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12492 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12493 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12495 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12496 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12498 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12499 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12501 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12502 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12504 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12507 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12510 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
12511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12513 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12514 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12516 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12517 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12519 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) {
12520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12522 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12523 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12525 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12526 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12528 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12529 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12531 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12532 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12534 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12537 static void *_p_wxControlTo_p_wxObject(void *x
) {
12538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12540 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12541 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12543 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12546 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12547 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12549 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12550 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12552 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12553 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12555 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12558 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) {
12559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12561 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12562 return (void *)((wxObject
*) ((wxColourData
*) x
));
12564 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12565 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12567 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12570 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12573 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12576 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12579 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12582 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12585 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12588 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12591 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
12592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12594 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12597 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12600 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12603 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12604 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12606 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12607 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12609 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12610 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12612 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12615 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12616 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12618 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12621 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12622 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12624 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12625 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12627 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12628 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12630 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12631 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12633 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12634 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12636 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12637 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12639 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12642 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12645 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12648 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12651 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12654 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12655 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12657 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12658 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12660 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12661 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12663 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12666 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12669 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12670 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12672 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12675 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12676 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12678 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12679 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12681 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
12682 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
12684 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12685 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12687 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12690 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12693 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12694 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12696 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12697 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12699 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12702 static void *_p_wxImageTo_p_wxObject(void *x
) {
12703 return (void *)((wxObject
*) ((wxImage
*) x
));
12705 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12708 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12709 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12711 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12712 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12714 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12715 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12717 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12720 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12723 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12726 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12727 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12729 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12730 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12732 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12733 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12735 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12736 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12738 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12741 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12744 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12747 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12750 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12753 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12756 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12759 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12762 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12765 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12768 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12771 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12774 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12777 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12780 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12781 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12783 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12784 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12786 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12789 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12792 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12795 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12798 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12801 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12802 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
12804 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12805 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12807 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12808 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12810 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12813 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12814 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12816 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12817 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12819 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12820 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12822 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12823 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12825 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12826 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12828 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12831 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12832 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12834 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12837 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12840 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12841 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12843 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12844 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12846 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12849 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12852 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12853 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12855 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12856 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12858 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12861 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12864 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12867 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12870 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12873 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12874 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12876 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12877 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12879 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12880 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12882 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12883 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12885 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12888 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12891 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12894 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12897 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12900 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
12901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12903 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12906 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12909 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12912 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12915 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12918 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12921 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12924 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12927 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12930 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12933 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12934 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12936 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12937 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12939 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12940 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12942 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12943 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12945 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12948 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12949 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12951 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12954 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12957 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12958 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12960 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12963 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12966 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12969 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12970 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12972 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12975 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12976 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12978 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12981 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12984 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12987 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12990 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12993 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12994 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12996 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12999 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
13000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13002 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
13003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13005 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
13006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13008 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
13009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13011 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
13012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13014 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) {
13015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
13017 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
13018 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
13020 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
13021 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13023 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
13024 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
13026 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) {
13027 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
13029 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
13030 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
13032 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
13033 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
13035 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
13036 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13038 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
13039 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13041 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
13042 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13044 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
13045 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
13047 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
13048 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13050 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
13051 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13053 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
13054 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
13056 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
13057 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
13059 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
13060 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};
13061 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
13062 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
13063 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13064 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13065 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13066 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
13067 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13068 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
13069 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13070 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13071 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13072 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13073 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13074 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13075 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13076 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13077 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13078 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13079 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13080 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13081 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13082 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13083 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13084 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13085 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13086 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13087 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13088 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13089 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13090 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13091 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13092 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13093 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13094 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13095 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13096 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13097 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13098 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13099 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13100 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13101 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13102 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13103 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13104 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13105 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13106 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13107 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13108 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13109 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13110 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13111 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13112 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13113 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13114 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13115 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13116 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13117 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13118 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13119 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13120 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
13121 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13122 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13123 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13124 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13125 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13126 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13127 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13128 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13129 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13130 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13131 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13132 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13133 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13134 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
13135 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13136 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13137 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13138 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13139 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13140 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13141 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13142 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13143 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13144 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13145 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
13146 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13147 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
13148 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13149 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13150 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13151 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13152 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13153 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13154 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13155 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13156 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
13157 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13158 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13159 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13160 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
13161 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
13162 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13163 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13164 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
13165 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
13166 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13167 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13168 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13169 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13170 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13171 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13172 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13173 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
13174 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13175 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
13176 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
13177 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13178 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13179 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13180 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
13181 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13182 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
13183 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
13184 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
13185 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13186 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13187 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13188 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13189 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13190 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13191 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13192 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13193 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13194 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13195 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13196 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13197 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13198 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13199 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13200 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13201 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13202 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13203 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13204 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13205 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13206 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13207 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13208 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13209 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13210 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13211 static swig_type_info _swigt__p_wxRichTextAttr
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
13212 static swig_type_info _swigt__p_wxRichTextBuffer
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
13213 static swig_type_info _swigt__p_wxRichTextCtrl
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
13214 static swig_type_info _swigt__p_wxRichTextEvent
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
13215 static swig_type_info _swigt__p_wxRichTextImageBlock
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
13216 static swig_type_info _swigt__p_wxRichTextRange
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
13217 static swig_type_info _swigt__p_wxRichTextStyleSheet
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
13218 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13219 static swig_type_info _swigt__p_wxTextCoord
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
13220 static swig_type_info _swigt__p_wxTextCtrlHitTestResult
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
13221 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13223 static swig_type_info
*swig_type_initial
[] = {
13225 &_swigt__p_form_ops_t
,
13228 &_swigt__p_unsigned_char
,
13229 &_swigt__p_unsigned_int
,
13230 &_swigt__p_unsigned_long
,
13231 &_swigt__p_wxANIHandler
,
13232 &_swigt__p_wxAcceleratorTable
,
13233 &_swigt__p_wxActivateEvent
,
13234 &_swigt__p_wxArrayInt
,
13235 &_swigt__p_wxBMPHandler
,
13236 &_swigt__p_wxBitmap
,
13237 &_swigt__p_wxBoxSizer
,
13238 &_swigt__p_wxCURHandler
,
13239 &_swigt__p_wxCalculateLayoutEvent
,
13241 &_swigt__p_wxChildFocusEvent
,
13242 &_swigt__p_wxClipboardTextEvent
,
13243 &_swigt__p_wxCloseEvent
,
13244 &_swigt__p_wxColour
,
13245 &_swigt__p_wxColourData
,
13246 &_swigt__p_wxColourDialog
,
13247 &_swigt__p_wxCommandEvent
,
13248 &_swigt__p_wxContextMenuEvent
,
13249 &_swigt__p_wxControl
,
13250 &_swigt__p_wxControlWithItems
,
13251 &_swigt__p_wxDateEvent
,
13252 &_swigt__p_wxDialog
,
13253 &_swigt__p_wxDirDialog
,
13254 &_swigt__p_wxDisplayChangedEvent
,
13255 &_swigt__p_wxDropFilesEvent
,
13256 &_swigt__p_wxDuplexMode
,
13257 &_swigt__p_wxEraseEvent
,
13258 &_swigt__p_wxEvent
,
13259 &_swigt__p_wxEvtHandler
,
13260 &_swigt__p_wxFSFile
,
13261 &_swigt__p_wxFileDialog
,
13262 &_swigt__p_wxFileSystem
,
13263 &_swigt__p_wxFindDialogEvent
,
13264 &_swigt__p_wxFindReplaceData
,
13265 &_swigt__p_wxFindReplaceDialog
,
13266 &_swigt__p_wxFlexGridSizer
,
13267 &_swigt__p_wxFocusEvent
,
13269 &_swigt__p_wxFontData
,
13270 &_swigt__p_wxFontDialog
,
13271 &_swigt__p_wxFrame
,
13272 &_swigt__p_wxGBSizerItem
,
13273 &_swigt__p_wxGIFHandler
,
13274 &_swigt__p_wxGridBagSizer
,
13275 &_swigt__p_wxGridSizer
,
13276 &_swigt__p_wxICOHandler
,
13277 &_swigt__p_wxIconizeEvent
,
13278 &_swigt__p_wxIdleEvent
,
13279 &_swigt__p_wxImage
,
13280 &_swigt__p_wxImageHandler
,
13281 &_swigt__p_wxIndividualLayoutConstraint
,
13282 &_swigt__p_wxInitDialogEvent
,
13283 &_swigt__p_wxJPEGHandler
,
13284 &_swigt__p_wxKeyEvent
,
13285 &_swigt__p_wxLayoutAlgorithm
,
13286 &_swigt__p_wxLayoutConstraints
,
13287 &_swigt__p_wxMDIChildFrame
,
13288 &_swigt__p_wxMDIClientWindow
,
13289 &_swigt__p_wxMDIParentFrame
,
13290 &_swigt__p_wxMaximizeEvent
,
13292 &_swigt__p_wxMenuBar
,
13293 &_swigt__p_wxMenuEvent
,
13294 &_swigt__p_wxMenuItem
,
13295 &_swigt__p_wxMessageDialog
,
13296 &_swigt__p_wxMiniFrame
,
13297 &_swigt__p_wxMouseCaptureChangedEvent
,
13298 &_swigt__p_wxMouseCaptureLostEvent
,
13299 &_swigt__p_wxMouseEvent
,
13300 &_swigt__p_wxMoveEvent
,
13301 &_swigt__p_wxMultiChoiceDialog
,
13302 &_swigt__p_wxNavigationKeyEvent
,
13303 &_swigt__p_wxNcPaintEvent
,
13304 &_swigt__p_wxNotifyEvent
,
13305 &_swigt__p_wxNumberEntryDialog
,
13306 &_swigt__p_wxObject
,
13307 &_swigt__p_wxPCXHandler
,
13308 &_swigt__p_wxPNGHandler
,
13309 &_swigt__p_wxPNMHandler
,
13310 &_swigt__p_wxPageSetupDialog
,
13311 &_swigt__p_wxPageSetupDialogData
,
13312 &_swigt__p_wxPaintEvent
,
13313 &_swigt__p_wxPaletteChangedEvent
,
13314 &_swigt__p_wxPanel
,
13315 &_swigt__p_wxPaperSize
,
13316 &_swigt__p_wxPasswordEntryDialog
,
13317 &_swigt__p_wxPopupWindow
,
13318 &_swigt__p_wxPreviewCanvas
,
13319 &_swigt__p_wxPreviewControlBar
,
13320 &_swigt__p_wxPreviewFrame
,
13321 &_swigt__p_wxPrintData
,
13322 &_swigt__p_wxPrintDialog
,
13323 &_swigt__p_wxPrintDialogData
,
13324 &_swigt__p_wxPrintPreview
,
13325 &_swigt__p_wxPrinter
,
13326 &_swigt__p_wxProgressDialog
,
13327 &_swigt__p_wxPyApp
,
13328 &_swigt__p_wxPyCommandEvent
,
13329 &_swigt__p_wxPyEvent
,
13330 &_swigt__p_wxPyHtmlListBox
,
13331 &_swigt__p_wxPyImageHandler
,
13332 &_swigt__p_wxPyPanel
,
13333 &_swigt__p_wxPyPopupTransientWindow
,
13334 &_swigt__p_wxPyPreviewControlBar
,
13335 &_swigt__p_wxPyPreviewFrame
,
13336 &_swigt__p_wxPyPrintPreview
,
13337 &_swigt__p_wxPyPrintout
,
13338 &_swigt__p_wxPyScrolledWindow
,
13339 &_swigt__p_wxPySizer
,
13340 &_swigt__p_wxPyTaskBarIcon
,
13341 &_swigt__p_wxPyVListBox
,
13342 &_swigt__p_wxPyVScrolledWindow
,
13343 &_swigt__p_wxPyValidator
,
13344 &_swigt__p_wxPyWindow
,
13345 &_swigt__p_wxQueryLayoutInfoEvent
,
13346 &_swigt__p_wxQueryNewPaletteEvent
,
13347 &_swigt__p_wxRichTextAttr
,
13348 &_swigt__p_wxRichTextBuffer
,
13349 &_swigt__p_wxRichTextCtrl
,
13350 &_swigt__p_wxRichTextEvent
,
13351 &_swigt__p_wxRichTextImageBlock
,
13352 &_swigt__p_wxRichTextRange
,
13353 &_swigt__p_wxRichTextStyleSheet
,
13354 &_swigt__p_wxSashEvent
,
13355 &_swigt__p_wxSashLayoutWindow
,
13356 &_swigt__p_wxSashWindow
,
13357 &_swigt__p_wxScrollEvent
,
13358 &_swigt__p_wxScrollWinEvent
,
13359 &_swigt__p_wxScrolledWindow
,
13360 &_swigt__p_wxSetCursorEvent
,
13361 &_swigt__p_wxShowEvent
,
13362 &_swigt__p_wxSingleChoiceDialog
,
13363 &_swigt__p_wxSizeEvent
,
13364 &_swigt__p_wxSizer
,
13365 &_swigt__p_wxSizerItem
,
13366 &_swigt__p_wxSplashScreen
,
13367 &_swigt__p_wxSplashScreenWindow
,
13368 &_swigt__p_wxSplitterEvent
,
13369 &_swigt__p_wxSplitterWindow
,
13370 &_swigt__p_wxStaticBoxSizer
,
13371 &_swigt__p_wxStatusBar
,
13372 &_swigt__p_wxStdDialogButtonSizer
,
13373 &_swigt__p_wxSysColourChangedEvent
,
13374 &_swigt__p_wxTIFFHandler
,
13375 &_swigt__p_wxTaskBarIconEvent
,
13376 &_swigt__p_wxTextCoord
,
13377 &_swigt__p_wxTextCtrlHitTestResult
,
13378 &_swigt__p_wxTextEntryDialog
,
13379 &_swigt__p_wxTipWindow
,
13380 &_swigt__p_wxTopLevelWindow
,
13381 &_swigt__p_wxUpdateUIEvent
,
13382 &_swigt__p_wxValidator
,
13383 &_swigt__p_wxWindow
,
13384 &_swigt__p_wxWindowCreateEvent
,
13385 &_swigt__p_wxWindowDestroyEvent
,
13386 &_swigt__p_wxXPMHandler
,
13389 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
13390 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
13391 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
13392 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
13393 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
13394 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
13395 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
13396 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
13397 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13398 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
13399 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
13400 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
13401 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13402 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
13403 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13404 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
13405 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
13406 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13407 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13408 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13409 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13410 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13411 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13412 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}};
13413 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13414 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13415 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13416 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13417 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13418 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13419 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13420 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13421 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
13422 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13423 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13424 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13425 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13426 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13427 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13428 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13429 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13430 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13431 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13432 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13433 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13434 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13435 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13436 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13437 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13438 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13439 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13440 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13441 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13442 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13443 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13444 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}};
13445 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13446 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13447 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13448 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13449 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
13450 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13451 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13452 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13453 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13454 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13455 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13456 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13457 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13458 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13459 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13460 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13461 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13462 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13463 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
13464 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13465 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13466 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13467 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13468 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13469 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13470 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13471 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13472 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13473 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13474 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
13475 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13476 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13477 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13478 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13479 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13480 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13481 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13482 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13483 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13484 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13485 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13486 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13487 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13488 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13489 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13490 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13491 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13492 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
13493 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13494 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13495 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}};
13496 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13497 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13498 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13499 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13500 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13501 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13502 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13503 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13504 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13505 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13506 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13507 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13508 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13509 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13510 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13511 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13512 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13513 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13514 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13515 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13516 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13517 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13518 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13519 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13520 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13521 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13522 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13523 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13524 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13525 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13526 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13527 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13528 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13529 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13530 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13531 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13532 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13533 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13534 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13535 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13536 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13537 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13538 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
13539 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
13540 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13541 static swig_cast_info _swigc__p_wxRichTextAttr
[] = { {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
13542 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = { {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}};
13543 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = { {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13544 static swig_cast_info _swigc__p_wxRichTextEvent
[] = { {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13545 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = { {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}};
13546 static swig_cast_info _swigc__p_wxRichTextRange
[] = { {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}};
13547 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = { {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}};
13548 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}};
13549 static swig_cast_info _swigc__p_wxTextCoord
[] = { {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}};
13550 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = { {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}};
13551 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
13553 static swig_cast_info
*swig_cast_initial
[] = {
13555 _swigc__p_form_ops_t
,
13558 _swigc__p_unsigned_char
,
13559 _swigc__p_unsigned_int
,
13560 _swigc__p_unsigned_long
,
13561 _swigc__p_wxANIHandler
,
13562 _swigc__p_wxAcceleratorTable
,
13563 _swigc__p_wxActivateEvent
,
13564 _swigc__p_wxArrayInt
,
13565 _swigc__p_wxBMPHandler
,
13566 _swigc__p_wxBitmap
,
13567 _swigc__p_wxBoxSizer
,
13568 _swigc__p_wxCURHandler
,
13569 _swigc__p_wxCalculateLayoutEvent
,
13571 _swigc__p_wxChildFocusEvent
,
13572 _swigc__p_wxClipboardTextEvent
,
13573 _swigc__p_wxCloseEvent
,
13574 _swigc__p_wxColour
,
13575 _swigc__p_wxColourData
,
13576 _swigc__p_wxColourDialog
,
13577 _swigc__p_wxCommandEvent
,
13578 _swigc__p_wxContextMenuEvent
,
13579 _swigc__p_wxControl
,
13580 _swigc__p_wxControlWithItems
,
13581 _swigc__p_wxDateEvent
,
13582 _swigc__p_wxDialog
,
13583 _swigc__p_wxDirDialog
,
13584 _swigc__p_wxDisplayChangedEvent
,
13585 _swigc__p_wxDropFilesEvent
,
13586 _swigc__p_wxDuplexMode
,
13587 _swigc__p_wxEraseEvent
,
13589 _swigc__p_wxEvtHandler
,
13590 _swigc__p_wxFSFile
,
13591 _swigc__p_wxFileDialog
,
13592 _swigc__p_wxFileSystem
,
13593 _swigc__p_wxFindDialogEvent
,
13594 _swigc__p_wxFindReplaceData
,
13595 _swigc__p_wxFindReplaceDialog
,
13596 _swigc__p_wxFlexGridSizer
,
13597 _swigc__p_wxFocusEvent
,
13599 _swigc__p_wxFontData
,
13600 _swigc__p_wxFontDialog
,
13602 _swigc__p_wxGBSizerItem
,
13603 _swigc__p_wxGIFHandler
,
13604 _swigc__p_wxGridBagSizer
,
13605 _swigc__p_wxGridSizer
,
13606 _swigc__p_wxICOHandler
,
13607 _swigc__p_wxIconizeEvent
,
13608 _swigc__p_wxIdleEvent
,
13610 _swigc__p_wxImageHandler
,
13611 _swigc__p_wxIndividualLayoutConstraint
,
13612 _swigc__p_wxInitDialogEvent
,
13613 _swigc__p_wxJPEGHandler
,
13614 _swigc__p_wxKeyEvent
,
13615 _swigc__p_wxLayoutAlgorithm
,
13616 _swigc__p_wxLayoutConstraints
,
13617 _swigc__p_wxMDIChildFrame
,
13618 _swigc__p_wxMDIClientWindow
,
13619 _swigc__p_wxMDIParentFrame
,
13620 _swigc__p_wxMaximizeEvent
,
13622 _swigc__p_wxMenuBar
,
13623 _swigc__p_wxMenuEvent
,
13624 _swigc__p_wxMenuItem
,
13625 _swigc__p_wxMessageDialog
,
13626 _swigc__p_wxMiniFrame
,
13627 _swigc__p_wxMouseCaptureChangedEvent
,
13628 _swigc__p_wxMouseCaptureLostEvent
,
13629 _swigc__p_wxMouseEvent
,
13630 _swigc__p_wxMoveEvent
,
13631 _swigc__p_wxMultiChoiceDialog
,
13632 _swigc__p_wxNavigationKeyEvent
,
13633 _swigc__p_wxNcPaintEvent
,
13634 _swigc__p_wxNotifyEvent
,
13635 _swigc__p_wxNumberEntryDialog
,
13636 _swigc__p_wxObject
,
13637 _swigc__p_wxPCXHandler
,
13638 _swigc__p_wxPNGHandler
,
13639 _swigc__p_wxPNMHandler
,
13640 _swigc__p_wxPageSetupDialog
,
13641 _swigc__p_wxPageSetupDialogData
,
13642 _swigc__p_wxPaintEvent
,
13643 _swigc__p_wxPaletteChangedEvent
,
13645 _swigc__p_wxPaperSize
,
13646 _swigc__p_wxPasswordEntryDialog
,
13647 _swigc__p_wxPopupWindow
,
13648 _swigc__p_wxPreviewCanvas
,
13649 _swigc__p_wxPreviewControlBar
,
13650 _swigc__p_wxPreviewFrame
,
13651 _swigc__p_wxPrintData
,
13652 _swigc__p_wxPrintDialog
,
13653 _swigc__p_wxPrintDialogData
,
13654 _swigc__p_wxPrintPreview
,
13655 _swigc__p_wxPrinter
,
13656 _swigc__p_wxProgressDialog
,
13658 _swigc__p_wxPyCommandEvent
,
13659 _swigc__p_wxPyEvent
,
13660 _swigc__p_wxPyHtmlListBox
,
13661 _swigc__p_wxPyImageHandler
,
13662 _swigc__p_wxPyPanel
,
13663 _swigc__p_wxPyPopupTransientWindow
,
13664 _swigc__p_wxPyPreviewControlBar
,
13665 _swigc__p_wxPyPreviewFrame
,
13666 _swigc__p_wxPyPrintPreview
,
13667 _swigc__p_wxPyPrintout
,
13668 _swigc__p_wxPyScrolledWindow
,
13669 _swigc__p_wxPySizer
,
13670 _swigc__p_wxPyTaskBarIcon
,
13671 _swigc__p_wxPyVListBox
,
13672 _swigc__p_wxPyVScrolledWindow
,
13673 _swigc__p_wxPyValidator
,
13674 _swigc__p_wxPyWindow
,
13675 _swigc__p_wxQueryLayoutInfoEvent
,
13676 _swigc__p_wxQueryNewPaletteEvent
,
13677 _swigc__p_wxRichTextAttr
,
13678 _swigc__p_wxRichTextBuffer
,
13679 _swigc__p_wxRichTextCtrl
,
13680 _swigc__p_wxRichTextEvent
,
13681 _swigc__p_wxRichTextImageBlock
,
13682 _swigc__p_wxRichTextRange
,
13683 _swigc__p_wxRichTextStyleSheet
,
13684 _swigc__p_wxSashEvent
,
13685 _swigc__p_wxSashLayoutWindow
,
13686 _swigc__p_wxSashWindow
,
13687 _swigc__p_wxScrollEvent
,
13688 _swigc__p_wxScrollWinEvent
,
13689 _swigc__p_wxScrolledWindow
,
13690 _swigc__p_wxSetCursorEvent
,
13691 _swigc__p_wxShowEvent
,
13692 _swigc__p_wxSingleChoiceDialog
,
13693 _swigc__p_wxSizeEvent
,
13695 _swigc__p_wxSizerItem
,
13696 _swigc__p_wxSplashScreen
,
13697 _swigc__p_wxSplashScreenWindow
,
13698 _swigc__p_wxSplitterEvent
,
13699 _swigc__p_wxSplitterWindow
,
13700 _swigc__p_wxStaticBoxSizer
,
13701 _swigc__p_wxStatusBar
,
13702 _swigc__p_wxStdDialogButtonSizer
,
13703 _swigc__p_wxSysColourChangedEvent
,
13704 _swigc__p_wxTIFFHandler
,
13705 _swigc__p_wxTaskBarIconEvent
,
13706 _swigc__p_wxTextCoord
,
13707 _swigc__p_wxTextCtrlHitTestResult
,
13708 _swigc__p_wxTextEntryDialog
,
13709 _swigc__p_wxTipWindow
,
13710 _swigc__p_wxTopLevelWindow
,
13711 _swigc__p_wxUpdateUIEvent
,
13712 _swigc__p_wxValidator
,
13713 _swigc__p_wxWindow
,
13714 _swigc__p_wxWindowCreateEvent
,
13715 _swigc__p_wxWindowDestroyEvent
,
13716 _swigc__p_wxXPMHandler
,
13720 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13722 static swig_const_info swig_const_table
[] = {
13723 {0, 0, 0, 0.0, 0, 0}};
13728 /* -----------------------------------------------------------------------------
13729 * Type initialization:
13730 * This problem is tough by the requirement that no dynamic
13731 * memory is used. Also, since swig_type_info structures store pointers to
13732 * swig_cast_info structures and swig_cast_info structures store pointers back
13733 * to swig_type_info structures, we need some lookup code at initialization.
13734 * The idea is that swig generates all the structures that are needed.
13735 * The runtime then collects these partially filled structures.
13736 * The SWIG_InitializeModule function takes these initial arrays out of
13737 * swig_module, and does all the lookup, filling in the swig_module.types
13738 * array with the correct data and linking the correct swig_cast_info
13739 * structures together.
13741 * The generated swig_type_info structures are assigned staticly to an initial
13742 * array. We just loop though that array, and handle each type individually.
13743 * First we lookup if this type has been already loaded, and if so, use the
13744 * loaded structure instead of the generated one. Then we have to fill in the
13745 * cast linked list. The cast data is initially stored in something like a
13746 * two-dimensional array. Each row corresponds to a type (there are the same
13747 * number of rows as there are in the swig_type_initial array). Each entry in
13748 * a column is one of the swig_cast_info structures for that type.
13749 * The cast_initial array is actually an array of arrays, because each row has
13750 * a variable number of columns. So to actually build the cast linked list,
13751 * we find the array of casts associated with the type, and loop through it
13752 * adding the casts to the list. The one last trick we need to do is making
13753 * sure the type pointer in the swig_cast_info struct is correct.
13755 * First off, we lookup the cast->type name to see if it is already loaded.
13756 * There are three cases to handle:
13757 * 1) If the cast->type has already been loaded AND the type we are adding
13758 * casting info to has not been loaded (it is in this module), THEN we
13759 * replace the cast->type pointer with the type pointer that has already
13761 * 2) If BOTH types (the one we are adding casting info to, and the
13762 * cast->type) are loaded, THEN the cast info has already been loaded by
13763 * the previous module so we just ignore it.
13764 * 3) Finally, if cast->type has not already been loaded, then we add that
13765 * swig_cast_info to the linked list (because the cast->type) pointer will
13767 * ----------------------------------------------------------------------------- */
13777 #define SWIGRUNTIME_DEBUG
13781 SWIG_InitializeModule(void *clientdata
) {
13783 swig_module_info
*module_head
;
13784 static int init_run
= 0;
13786 clientdata
= clientdata
;
13788 if (init_run
) return;
13791 /* Initialize the swig_module */
13792 swig_module
.type_initial
= swig_type_initial
;
13793 swig_module
.cast_initial
= swig_cast_initial
;
13795 /* Try and load any already created modules */
13796 module_head
= SWIG_GetModule(clientdata
);
13798 swig_module
.next
= module_head
->next
;
13799 module_head
->next
= &swig_module
;
13801 /* This is the first module loaded */
13802 swig_module
.next
= &swig_module
;
13803 SWIG_SetModule(clientdata
, &swig_module
);
13806 /* Now work on filling in swig_module.types */
13807 #ifdef SWIGRUNTIME_DEBUG
13808 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
13810 for (i
= 0; i
< swig_module
.size
; ++i
) {
13811 swig_type_info
*type
= 0;
13812 swig_type_info
*ret
;
13813 swig_cast_info
*cast
;
13815 #ifdef SWIGRUNTIME_DEBUG
13816 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13819 /* if there is another module already loaded */
13820 if (swig_module
.next
!= &swig_module
) {
13821 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
13824 /* Overwrite clientdata field */
13825 #ifdef SWIGRUNTIME_DEBUG
13826 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
13828 if (swig_module
.type_initial
[i
]->clientdata
) {
13829 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
13830 #ifdef SWIGRUNTIME_DEBUG
13831 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
13835 type
= swig_module
.type_initial
[i
];
13838 /* Insert casting types */
13839 cast
= swig_module
.cast_initial
[i
];
13840 while (cast
->type
) {
13841 /* Don't need to add information already in the list */
13843 #ifdef SWIGRUNTIME_DEBUG
13844 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
13846 if (swig_module
.next
!= &swig_module
) {
13847 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
13848 #ifdef SWIGRUNTIME_DEBUG
13849 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
13853 if (type
== swig_module
.type_initial
[i
]) {
13854 #ifdef SWIGRUNTIME_DEBUG
13855 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
13860 /* Check for casting already in the list */
13861 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
13862 #ifdef SWIGRUNTIME_DEBUG
13863 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
13865 if (!ocast
) ret
= 0;
13870 #ifdef SWIGRUNTIME_DEBUG
13871 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
13874 type
->cast
->prev
= cast
;
13875 cast
->next
= type
->cast
;
13881 /* Set entry in modules->types array equal to the type */
13882 swig_module
.types
[i
] = type
;
13884 swig_module
.types
[i
] = 0;
13886 #ifdef SWIGRUNTIME_DEBUG
13887 printf("**** SWIG_InitializeModule: Cast List ******\n");
13888 for (i
= 0; i
< swig_module
.size
; ++i
) {
13890 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
13891 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13892 while (cast
->type
) {
13893 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
13897 printf("---- Total casts: %d\n",j
);
13899 printf("**** SWIG_InitializeModule: Cast List ******\n");
13903 /* This function will propagate the clientdata field of type to
13904 * any new swig_type_info structures that have been added into the list
13905 * of equivalent types. It is like calling
13906 * SWIG_TypeClientData(type, clientdata) a second time.
13909 SWIG_PropagateClientData(void) {
13911 swig_cast_info
*equiv
;
13912 static int init_run
= 0;
13914 if (init_run
) return;
13917 for (i
= 0; i
< swig_module
.size
; i
++) {
13918 if (swig_module
.types
[i
]->clientdata
) {
13919 equiv
= swig_module
.types
[i
]->cast
;
13921 if (!equiv
->converter
) {
13922 if (equiv
->type
&& !equiv
->type
->clientdata
)
13923 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
13925 equiv
= equiv
->next
;
13945 /* Python-specific SWIG API */
13946 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13947 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13948 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13950 /* -----------------------------------------------------------------------------
13951 * global variable support code.
13952 * ----------------------------------------------------------------------------- */
13954 typedef struct swig_globalvar
{
13955 char *name
; /* Name of global variable */
13956 PyObject
*(*get_attr
)(void); /* Return the current value */
13957 int (*set_attr
)(PyObject
*); /* Set the value */
13958 struct swig_globalvar
*next
;
13961 typedef struct swig_varlinkobject
{
13963 swig_globalvar
*vars
;
13964 } swig_varlinkobject
;
13966 SWIGINTERN PyObject
*
13967 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
13968 return PyString_FromString("<Swig global variables>");
13971 SWIGINTERN PyObject
*
13972 swig_varlink_str(swig_varlinkobject
*v
) {
13973 PyObject
*str
= PyString_FromString("(");
13974 swig_globalvar
*var
;
13975 for (var
= v
->vars
; var
; var
=var
->next
) {
13976 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
13977 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
13979 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
13984 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
13985 PyObject
*str
= swig_varlink_str(v
);
13986 fprintf(fp
,"Swig global variables ");
13987 fprintf(fp
,"%s\n", PyString_AsString(str
));
13993 swig_varlink_dealloc(swig_varlinkobject
*v
) {
13994 swig_globalvar
*var
= v
->vars
;
13996 swig_globalvar
*n
= var
->next
;
14003 SWIGINTERN PyObject
*
14004 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
14005 PyObject
*res
= NULL
;
14006 swig_globalvar
*var
= v
->vars
;
14008 if (strcmp(var
->name
,n
) == 0) {
14009 res
= (*var
->get_attr
)();
14014 if (res
== NULL
&& !PyErr_Occurred()) {
14015 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
14021 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
14023 swig_globalvar
*var
= v
->vars
;
14025 if (strcmp(var
->name
,n
) == 0) {
14026 res
= (*var
->set_attr
)(p
);
14031 if (res
== 1 && !PyErr_Occurred()) {
14032 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
14037 SWIGINTERN PyTypeObject
*
14038 swig_varlink_type(void) {
14039 static char varlink__doc__
[] = "Swig var link object";
14040 static PyTypeObject varlink_type
;
14041 static int type_init
= 0;
14043 const PyTypeObject tmp
14045 PyObject_HEAD_INIT(NULL
)
14046 0, /* Number of items in variable part (ob_size) */
14047 (char *)"swigvarlink", /* Type name (tp_name) */
14048 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
14049 0, /* Itemsize (tp_itemsize) */
14050 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
14051 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
14052 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
14053 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
14054 0, /* tp_compare */
14055 (reprfunc
) swig_varlink_repr
, /* tp_repr */
14056 0, /* tp_as_number */
14057 0, /* tp_as_sequence */
14058 0, /* tp_as_mapping */
14061 (reprfunc
)swig_varlink_str
, /* tp_str */
14062 0, /* tp_getattro */
14063 0, /* tp_setattro */
14064 0, /* tp_as_buffer */
14066 varlink__doc__
, /* tp_doc */
14067 0, /* tp_traverse */
14069 0, /* tp_richcompare */
14070 0, /* tp_weaklistoffset */
14071 #if PY_VERSION_HEX >= 0x02020000
14072 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14074 #if PY_VERSION_HEX >= 0x02030000
14077 #ifdef COUNT_ALLOCS
14078 0,0,0,0 /* tp_alloc -> tp_next */
14081 varlink_type
= tmp
;
14082 varlink_type
.ob_type
= &PyType_Type
;
14085 return &varlink_type
;
14088 /* Create a variable linking object for use later */
14089 SWIGINTERN PyObject
*
14090 SWIG_Python_newvarlink(void) {
14091 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
14095 return ((PyObject
*) result
);
14099 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
14100 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
14101 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
14103 size_t size
= strlen(name
)+1;
14104 gv
->name
= (char *)malloc(size
);
14106 strncpy(gv
->name
,name
,size
);
14107 gv
->get_attr
= get_attr
;
14108 gv
->set_attr
= set_attr
;
14109 gv
->next
= v
->vars
;
14115 SWIGINTERN PyObject
*
14117 static PyObject
*_SWIG_globals
= 0;
14118 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
14119 return _SWIG_globals
;
14122 /* -----------------------------------------------------------------------------
14123 * constants/methods manipulation
14124 * ----------------------------------------------------------------------------- */
14126 /* Install Constants */
14128 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
14131 for (i
= 0; constants
[i
].type
; ++i
) {
14132 switch(constants
[i
].type
) {
14133 case SWIG_PY_POINTER
:
14134 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
14136 case SWIG_PY_BINARY
:
14137 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
14144 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
14150 /* -----------------------------------------------------------------------------*/
14151 /* Fix SwigMethods to carry the callback ptrs when needed */
14152 /* -----------------------------------------------------------------------------*/
14155 SWIG_Python_FixMethods(PyMethodDef
*methods
,
14156 swig_const_info
*const_table
,
14157 swig_type_info
**types
,
14158 swig_type_info
**types_initial
) {
14160 for (i
= 0; methods
[i
].ml_name
; ++i
) {
14161 const char *c
= methods
[i
].ml_doc
;
14162 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
14164 swig_const_info
*ci
= 0;
14165 const char *name
= c
+ 10;
14166 for (j
= 0; const_table
[j
].type
; ++j
) {
14167 if (strncmp(const_table
[j
].name
, name
,
14168 strlen(const_table
[j
].name
)) == 0) {
14169 ci
= &(const_table
[j
]);
14174 size_t shift
= (ci
->ptype
) - types
;
14175 swig_type_info
*ty
= types_initial
[shift
];
14176 size_t ldoc
= (c
- methods
[i
].ml_doc
);
14177 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
14178 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
14181 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
14183 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
14185 strncpy(buff
, "swig_ptr: ", 10);
14187 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
14188 methods
[i
].ml_doc
= ndoc
;
14200 /* -----------------------------------------------------------------------------*
14201 * Partial Init method
14202 * -----------------------------------------------------------------------------*/
14207 SWIGEXPORT
void SWIG_init(void) {
14210 /* Fix SwigMethods to carry the callback ptrs when needed */
14211 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
14213 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
14214 d
= PyModule_GetDict(m
);
14216 SWIG_InitializeModule(0);
14217 SWIG_InstallConstants(d
,swig_const_table
);
14220 SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
14221 SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
)));
14222 SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
)));
14223 SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
)));
14224 SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
)));
14225 SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
)));
14226 SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
)));
14227 SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
)));
14228 SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
)));
14229 SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
)));
14230 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
)));
14231 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
)));
14232 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
)));
14233 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
)));
14234 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
)));
14235 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
)));
14236 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
)));
14237 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
)));
14238 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
)));
14239 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
)));
14240 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
)));
14241 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
)));
14242 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
)));
14243 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
)));
14244 SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
)));
14245 SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
)));
14246 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE
)));
14247 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_WITH_UNDO",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_WITH_UNDO
)));
14248 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE
)));
14249 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY
)));
14250 SWIG_Python_SetConstant(d
, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY
)));
14251 SWIG_Python_SetConstant(d
, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE
)));
14252 SWIG_Python_SetConstant(d
, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE
)));
14253 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
14254 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
14255 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
14256 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
14257 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
14258 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
14259 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
14260 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
14261 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
14262 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
14263 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
14264 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
14265 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
)));
14266 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
)));
14267 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
)));
14268 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
)));
14269 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
)));
14270 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
)));
14271 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
)));
14272 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
)));
14273 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
)));
14274 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
)));
14275 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
)));
14276 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
)));
14277 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
)));
14278 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
)));
14279 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
)));
14280 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
)));
14281 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
)));
14282 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
)));
14283 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
)));
14284 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
)));
14285 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
)));
14286 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
14287 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
14288 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
14289 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
14290 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
14291 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
14292 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
14293 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
);
14294 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
);
14295 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
)));
14296 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
)));
14297 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
)));
14298 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
));
14299 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
));
14300 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
));
14301 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
));
14302 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
));
14303 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
));
14304 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));