1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChar swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2521 #define SWIGTYPE_p_wxImage swig_types[55]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2527 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2529 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2530 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2531 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2533 #define SWIGTYPE_p_wxMenu swig_types[67]
2534 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2537 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2538 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2543 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2545 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxObject swig_types[80]
2547 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2548 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2549 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2550 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2551 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2552 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2553 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2554 #define SWIGTYPE_p_wxPanel swig_types[88]
2555 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2556 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[91]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[92]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[93]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[94]
2561 #define SWIGTYPE_p_wxPrintData swig_types[95]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[96]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[97]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[98]
2565 #define SWIGTYPE_p_wxPrinter swig_types[99]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPyApp swig_types[101]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[102]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[104]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[106]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[107]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[108]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[109]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[110]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[111]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPySizer swig_types[113]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[114]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[115]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[117]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[118]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[119]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
2587 #define SWIGTYPE_p_wxRichTextAttr swig_types[121]
2588 #define SWIGTYPE_p_wxRichTextBuffer swig_types[122]
2589 #define SWIGTYPE_p_wxRichTextCtrl swig_types[123]
2590 #define SWIGTYPE_p_wxRichTextEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[125]
2592 #define SWIGTYPE_p_wxRichTextRange swig_types[126]
2593 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2615 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTextCoord swig_types[150]
2617 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
2621 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
2622 #define SWIGTYPE_p_wxValidator swig_types[156]
2623 #define SWIGTYPE_p_wxWindow swig_types[157]
2624 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[158]
2625 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159]
2626 #define SWIGTYPE_p_wxXPMHandler swig_types[160]
2627 static swig_type_info
*swig_types
[162];
2628 static swig_module_info swig_module
= {swig_types
, 161, 0, 0, 0, 0};
2629 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2630 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2632 /* -------- TYPES TABLE (END) -------- */
2634 #if (PY_VERSION_HEX <= 0x02000000)
2635 # if !defined(SWIG_PYTHON_CLASSIC)
2636 # error "This python version requires to use swig with the '-classic' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodern' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodernargs' option"
2646 # error "This python version requires to use swig with the '-nofastunpack' option"
2649 /*-----------------------------------------------
2650 @(target):= _richtext.so
2651 ------------------------------------------------*/
2652 #define SWIG_init init_richtext
2654 #define SWIG_name "_richtext"
2656 #define SWIGVERSION 0x010329
2659 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2660 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2663 #include <stdexcept>
2667 class PyObject_ptr
{
2672 PyObject_ptr() :_obj(0)
2676 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2681 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2683 if (initial_ref
) Py_XINCREF(_obj
);
2686 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2688 Py_XINCREF(item
._obj
);
2699 operator PyObject
*() const
2704 PyObject
*operator->() const
2713 struct PyObject_var
: PyObject_ptr
{
2714 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2716 PyObject_var
& operator = (PyObject
* obj
)
2726 #include "wx/wxPython/wxPython.h"
2727 #include "wx/wxPython/pyclasses.h"
2728 #include "wx/wxPython/printfw.h"
2729 #include "wx/wxPython/twoitem.h"
2731 #include <wx/richtext/richtextctrl.h>
2736 class wxBufferedPaintDC
;
2743 #define SWIG_From_long PyInt_FromLong
2746 SWIGINTERNINLINE PyObject
*
2747 SWIG_From_int (int value
)
2749 return SWIG_From_long (value
);
2752 static const wxString
wxPyEmptyString(wxEmptyString
);
2755 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
)
2757 if (source
== Py_None
) {
2758 **obj
= wxRICHTEXT_NONE
;
2761 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange"));
2766 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2768 if (PyNumber_Check(obj
)) {
2769 if (val
) *val
= PyInt_AsLong(obj
);
2772 return SWIG_TypeError
;
2775 SWIGINTERN
bool wxRichTextRange___eq__(wxRichTextRange
*self
,PyObject
*other
){
2776 wxRichTextRange temp
, *obj
= &temp
;
2777 if ( other
== Py_None
) return false;
2778 if ( ! wxRichTextRange_helper(other
, &obj
) ) {
2782 return self
->operator==(*obj
);
2784 SWIGINTERN PyObject
*wxRichTextRange_Get(wxRichTextRange
*self
){
2785 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2786 PyObject
* tup
= PyTuple_New(2);
2787 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart()));
2788 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd()));
2789 wxPyEndBlockThreads(blocked
);
2793 wxRichTextRange
wxPy_RTR_ALL(wxRICHTEXT_ALL
);
2794 wxRichTextRange
wxPy_RTR_NONE(wxRICHTEXT_NONE
);
2799 # define LLONG_MIN LONG_LONG_MIN
2802 # define LLONG_MAX LONG_LONG_MAX
2805 # define ULLONG_MAX ULONG_LONG_MAX
2810 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2813 int res
= SWIG_AsVal_long (obj
, &v
);
2814 if (SWIG_IsOK(res
)) {
2815 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2816 return SWIG_OverflowError
;
2818 if (val
) *val
= static_cast< int >(v
);
2826 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2828 if (obj
== Py_True
) {
2829 if (val
) *val
= true;
2831 } else if (obj
== Py_False
) {
2832 if (val
) *val
= false;
2836 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2837 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2856 SWIGINTERN swig_type_info
*
2857 SWIG_pchar_descriptor()
2859 static int init
= 0;
2860 static swig_type_info
* info
= 0;
2862 info
= SWIG_TypeQuery("_p_char");
2870 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
2872 if (PyString_Check(obj
)) {
2873 char *cstr
; Py_ssize_t len
;
2874 PyString_AsStringAndSize(obj
, &cstr
, &len
);
2878 In python the user should not be able to modify the inner
2879 string representation. To warranty that, if you define
2880 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2881 buffer is always returned.
2883 The default behavior is just to return the pointer value,
2886 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2887 if (*alloc
!= SWIG_OLDOBJ
)
2889 if (*alloc
== SWIG_NEWOBJ
)
2892 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
2893 *alloc
= SWIG_NEWOBJ
;
2897 *alloc
= SWIG_OLDOBJ
;
2900 *cptr
= PyString_AsString(obj
);
2903 if (psize
) *psize
= len
+ 1;
2906 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
2907 if (pchar_descriptor
) {
2909 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
2910 if (cptr
) *cptr
= (char *) vptr
;
2911 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
2912 if (alloc
) *alloc
= SWIG_OLDOBJ
;
2917 return SWIG_TypeError
;
2922 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
2924 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
2925 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
2926 if (SWIG_IsOK(res
)) {
2927 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
2928 if (csize
<= size
) {
2930 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
2931 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
2933 if (alloc
== SWIG_NEWOBJ
) {
2935 res
= SWIG_DelNewMask(res
);
2939 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
2941 return SWIG_TypeError
;
2946 SWIG_AsVal_char (PyObject
* obj
, char *val
)
2948 int res
= SWIG_AsCharArray(obj
, val
, 1);
2949 if (!SWIG_IsOK(res
)) {
2951 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
2952 if (SWIG_IsOK(res
)) {
2953 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
2954 if (val
) *val
= static_cast< char >(v
);
2956 res
= SWIG_OverflowError
;
2966 SWIGINTERN PyObject
*_wrap_new_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
= 0;
2968 long arg1
= (long) 0 ;
2969 long arg2
= (long) 0 ;
2970 wxRichTextRange
*result
= 0 ;
2975 PyObject
* obj0
= 0 ;
2976 PyObject
* obj1
= 0 ;
2977 char * kwnames
[] = {
2978 (char *) "start",(char *) "end", NULL
2981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2983 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
2984 if (!SWIG_IsOK(ecode1
)) {
2985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2987 arg1
= static_cast< long >(val1
);
2990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
2991 if (!SWIG_IsOK(ecode2
)) {
2992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2994 arg2
= static_cast< long >(val2
);
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (wxRichTextRange
*)new wxRichTextRange(arg1
,arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW
| 0 );
3009 SWIGINTERN PyObject
*_wrap_delete_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3010 PyObject
*resultobj
= 0;
3011 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3014 PyObject
*swig_obj
[1] ;
3016 if (!args
) SWIG_fail
;
3018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN
| 0 );
3019 if (!SWIG_IsOK(res1
)) {
3020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3022 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= SWIG_Py_Void();
3037 SWIGINTERN PyObject
*_wrap_RichTextRange___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
= 0;
3039 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3040 PyObject
*arg2
= (PyObject
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 char * kwnames
[] = {
3047 (char *) "self",(char *) "other", NULL
3050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3052 if (!SWIG_IsOK(res1
)) {
3053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3055 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3058 result
= (bool)wxRichTextRange___eq__(arg1
,arg2
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3070 SWIGINTERN PyObject
*_wrap_RichTextRange___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
= 0;
3072 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3073 wxRichTextRange
*arg2
= 0 ;
3074 wxRichTextRange result
;
3077 wxRichTextRange temp2
;
3078 PyObject
* obj0
= 0 ;
3079 PyObject
* obj1
= 0 ;
3080 char * kwnames
[] = {
3081 (char *) "self",(char *) "range", NULL
3084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3086 if (!SWIG_IsOK(res1
)) {
3087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3089 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3092 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= ((wxRichTextRange
const *)arg1
)->operator -((wxRichTextRange
const &)*arg2
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3107 SWIGINTERN PyObject
*_wrap_RichTextRange___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
= 0;
3109 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3110 wxRichTextRange
*arg2
= 0 ;
3111 wxRichTextRange result
;
3114 wxRichTextRange temp2
;
3115 PyObject
* obj0
= 0 ;
3116 PyObject
* obj1
= 0 ;
3117 char * kwnames
[] = {
3118 (char *) "self",(char *) "range", NULL
3121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3123 if (!SWIG_IsOK(res1
)) {
3124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3126 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3129 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= ((wxRichTextRange
const *)arg1
)->operator +((wxRichTextRange
const &)*arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3144 SWIGINTERN PyObject
*_wrap_RichTextRange_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
= 0;
3146 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3156 PyObject
* obj1
= 0 ;
3157 PyObject
* obj2
= 0 ;
3158 char * kwnames
[] = {
3159 (char *) "self",(char *) "start",(char *) "end", NULL
3162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3164 if (!SWIG_IsOK(res1
)) {
3165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3167 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3169 if (!SWIG_IsOK(ecode2
)) {
3170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3172 arg2
= static_cast< long >(val2
);
3173 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
3174 if (!SWIG_IsOK(ecode3
)) {
3175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3177 arg3
= static_cast< long >(val3
);
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 (arg1
)->SetRange(arg2
,arg3
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_Py_Void();
3191 SWIGINTERN PyObject
*_wrap_RichTextRange_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
= 0;
3193 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3201 char * kwnames
[] = {
3202 (char *) "self",(char *) "start", NULL
3205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3207 if (!SWIG_IsOK(res1
)) {
3208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3210 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3211 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3212 if (!SWIG_IsOK(ecode2
)) {
3213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3215 arg2
= static_cast< long >(val2
);
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 (arg1
)->SetStart(arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= SWIG_Py_Void();
3229 SWIGINTERN PyObject
*_wrap_RichTextRange_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3230 PyObject
*resultobj
= 0;
3231 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3235 PyObject
*swig_obj
[1] ;
3237 if (!args
) SWIG_fail
;
3239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3240 if (!SWIG_IsOK(res1
)) {
3241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3243 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (long)((wxRichTextRange
const *)arg1
)->GetStart();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_From_long(static_cast< long >(result
));
3257 SWIGINTERN PyObject
*_wrap_RichTextRange_SetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
= 0;
3259 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3267 char * kwnames
[] = {
3268 (char *) "self",(char *) "end", NULL
3271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3273 if (!SWIG_IsOK(res1
)) {
3274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3276 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3277 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3278 if (!SWIG_IsOK(ecode2
)) {
3279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3281 arg2
= static_cast< long >(val2
);
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 (arg1
)->SetEnd(arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= SWIG_Py_Void();
3295 SWIGINTERN PyObject
*_wrap_RichTextRange_GetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3296 PyObject
*resultobj
= 0;
3297 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3301 PyObject
*swig_obj
[1] ;
3303 if (!args
) SWIG_fail
;
3305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3306 if (!SWIG_IsOK(res1
)) {
3307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3309 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= (long)((wxRichTextRange
const *)arg1
)->GetEnd();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= SWIG_From_long(static_cast< long >(result
));
3323 SWIGINTERN PyObject
*_wrap_RichTextRange_IsOutside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
= 0;
3325 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3326 wxRichTextRange
*arg2
= 0 ;
3330 wxRichTextRange temp2
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3333 char * kwnames
[] = {
3334 (char *) "self",(char *) "range", NULL
3337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3339 if (!SWIG_IsOK(res1
)) {
3340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3342 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3345 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 result
= (bool)((wxRichTextRange
const *)arg1
)->IsOutside((wxRichTextRange
const &)*arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3362 SWIGINTERN PyObject
*_wrap_RichTextRange_IsWithin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
= 0;
3364 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3365 wxRichTextRange
*arg2
= 0 ;
3369 wxRichTextRange temp2
;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3372 char * kwnames
[] = {
3373 (char *) "self",(char *) "range", NULL
3376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3378 if (!SWIG_IsOK(res1
)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3381 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3384 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (bool)((wxRichTextRange
const *)arg1
)->IsWithin((wxRichTextRange
const &)*arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3401 SWIGINTERN PyObject
*_wrap_RichTextRange_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
= 0;
3403 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3412 char * kwnames
[] = {
3413 (char *) "self",(char *) "pos", NULL
3416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3418 if (!SWIG_IsOK(res1
)) {
3419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3421 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3422 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3423 if (!SWIG_IsOK(ecode2
)) {
3424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3426 arg2
= static_cast< long >(val2
);
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (bool)((wxRichTextRange
const *)arg1
)->Contains(arg2
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3442 SWIGINTERN PyObject
*_wrap_RichTextRange_LimitTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
= 0;
3444 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3445 wxRichTextRange
*arg2
= 0 ;
3449 wxRichTextRange temp2
;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3452 char * kwnames
[] = {
3453 (char *) "self",(char *) "range", NULL
3456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3458 if (!SWIG_IsOK(res1
)) {
3459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3461 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3464 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (bool)(arg1
)->LimitTo((wxRichTextRange
const &)*arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3481 SWIGINTERN PyObject
*_wrap_RichTextRange_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3482 PyObject
*resultobj
= 0;
3483 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3487 PyObject
*swig_obj
[1] ;
3489 if (!args
) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3495 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (long)((wxRichTextRange
const *)arg1
)->GetLength();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_From_long(static_cast< long >(result
));
3509 SWIGINTERN PyObject
*_wrap_RichTextRange_Swap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3510 PyObject
*resultobj
= 0;
3511 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3514 PyObject
*swig_obj
[1] ;
3516 if (!args
) SWIG_fail
;
3518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3519 if (!SWIG_IsOK(res1
)) {
3520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3522 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= SWIG_Py_Void();
3536 SWIGINTERN PyObject
*_wrap_RichTextRange_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3537 PyObject
*resultobj
= 0;
3538 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3539 PyObject
*result
= 0 ;
3542 PyObject
*swig_obj
[1] ;
3544 if (!args
) SWIG_fail
;
3546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3547 if (!SWIG_IsOK(res1
)) {
3548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3550 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (PyObject
*)wxRichTextRange_Get(arg1
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3564 SWIGINTERN PyObject
*RichTextRange_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3567 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
));
3568 return SWIG_Py_Void();
3571 SWIGINTERN PyObject
*RichTextRange_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3572 return SWIG_Python_InitShadowInstance(args
);
3575 SWIGINTERN
int RICHTEXT_ALL_set(PyObject
*) {
3576 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only.");
3581 SWIGINTERN PyObject
*RICHTEXT_ALL_get(void) {
3582 PyObject
*pyobj
= 0;
3584 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
, 0 );
3589 SWIGINTERN
int RICHTEXT_NONE_set(PyObject
*) {
3590 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only.");
3595 SWIGINTERN PyObject
*RICHTEXT_NONE_get(void) {
3596 PyObject
*pyobj
= 0;
3598 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
, 0 );
3603 SWIGINTERN PyObject
*_wrap_new_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
= 0;
3605 wxColour
const &arg1_defvalue
= wxNullColour
;
3606 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
3607 wxColour
const &arg2_defvalue
= wxNullColour
;
3608 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3609 wxTextAttrAlignment arg3
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
3610 wxRichTextAttr
*result
= 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3617 PyObject
* obj2
= 0 ;
3618 char * kwnames
[] = {
3619 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3626 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3637 if (!SWIG_IsOK(ecode3
)) {
3638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3640 arg3
= static_cast< wxTextAttrAlignment
>(val3
);
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (wxRichTextAttr
*)new wxRichTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW
| 0 );
3655 SWIGINTERN PyObject
*_wrap_delete_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3656 PyObject
*resultobj
= 0;
3657 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3660 PyObject
*swig_obj
[1] ;
3662 if (!args
) SWIG_fail
;
3664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN
| 0 );
3665 if (!SWIG_IsOK(res1
)) {
3666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3668 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_Py_Void();
3683 SWIGINTERN PyObject
*_wrap_RichTextAttr_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3684 PyObject
*resultobj
= 0;
3685 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3689 PyObject
*swig_obj
[1] ;
3691 if (!args
) SWIG_fail
;
3693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3694 if (!SWIG_IsOK(res1
)) {
3695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3697 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= ((wxRichTextAttr
const *)arg1
)->CreateFont();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
3711 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
= 0;
3713 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 char * kwnames
[] = {
3723 (char *) "self",(char *) "font", NULL
3726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3728 if (!SWIG_IsOK(res1
)) {
3729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3731 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
3733 if (!SWIG_IsOK(res2
)) {
3734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3739 arg2
= reinterpret_cast< wxFont
* >(argp2
);
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (bool)(arg1
)->GetFontAttributes((wxFont
const &)*arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3755 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
= 0;
3757 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3758 wxColour
*arg2
= 0 ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3764 char * kwnames
[] = {
3765 (char *) "self",(char *) "colText", NULL
3768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3770 if (!SWIG_IsOK(res1
)) {
3771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3773 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_Py_Void();
3791 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
= 0;
3793 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3794 wxColour
*arg2
= 0 ;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3800 char * kwnames
[] = {
3801 (char *) "self",(char *) "colBack", NULL
3804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3806 if (!SWIG_IsOK(res1
)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3809 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_Py_Void();
3827 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
= 0;
3829 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3830 wxTextAttrAlignment arg2
;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3837 char * kwnames
[] = {
3838 (char *) "self",(char *) "alignment", NULL
3841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3843 if (!SWIG_IsOK(res1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3846 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3848 if (!SWIG_IsOK(ecode2
)) {
3849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3851 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 (arg1
)->SetAlignment(arg2
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= SWIG_Py_Void();
3865 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
= 0;
3867 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3868 wxArrayInt
*arg2
= 0 ;
3871 bool temp2
= false ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3874 char * kwnames
[] = {
3875 (char *) "self",(char *) "tabs", NULL
3878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3880 if (!SWIG_IsOK(res1
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3883 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3885 if (! PySequence_Check(obj1
)) {
3886 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
3889 arg2
= new wxArrayInt
;
3891 int i
, len
=PySequence_Length(obj1
);
3892 for (i
=0; i
<len
; i
++) {
3893 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3894 PyObject
* number
= PyNumber_Int(item
);
3895 arg2
->Add(PyInt_AS_LONG(number
));
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_Py_Void();
3908 if (temp2
) delete arg2
;
3913 if (temp2
) delete arg2
;
3919 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
= 0;
3921 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3923 int arg3
= (int) 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 PyObject
* obj2
= 0 ;
3933 char * kwnames
[] = {
3934 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3939 if (!SWIG_IsOK(res1
)) {
3940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3942 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3944 if (!SWIG_IsOK(ecode2
)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3947 arg2
= static_cast< int >(val2
);
3949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3950 if (!SWIG_IsOK(ecode3
)) {
3951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3953 arg3
= static_cast< int >(val3
);
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->SetLeftIndent(arg2
,arg3
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_Py_Void();
3968 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
= 0;
3970 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3977 PyObject
* obj1
= 0 ;
3978 char * kwnames
[] = {
3979 (char *) "self",(char *) "indent", NULL
3982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3987 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3989 if (!SWIG_IsOK(ecode2
)) {
3990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3992 arg2
= static_cast< int >(val2
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->SetRightIndent(arg2
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_Py_Void();
4006 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
= 0;
4008 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4015 PyObject
* obj1
= 0 ;
4016 char * kwnames
[] = {
4017 (char *) "self",(char *) "pointSize", NULL
4020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4022 if (!SWIG_IsOK(res1
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4025 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4027 if (!SWIG_IsOK(ecode2
)) {
4028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4030 arg2
= static_cast< int >(val2
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->SetFontSize(arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_Py_Void();
4044 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= 0;
4046 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4054 char * kwnames
[] = {
4055 (char *) "self",(char *) "fontStyle", NULL
4058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4063 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4065 if (!SWIG_IsOK(ecode2
)) {
4066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
4068 arg2
= static_cast< int >(val2
);
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 (arg1
)->SetFontStyle(arg2
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_Py_Void();
4082 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
= 0;
4084 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4091 PyObject
* obj1
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "self",(char *) "fontWeight", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4098 if (!SWIG_IsOK(res1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4101 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4103 if (!SWIG_IsOK(ecode2
)) {
4104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4106 arg2
= static_cast< int >(val2
);
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->SetFontWeight(arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_Py_Void();
4120 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4123 wxString
*arg2
= 0 ;
4126 bool temp2
= false ;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4129 char * kwnames
[] = {
4130 (char *) "self",(char *) "faceName", NULL
4133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4138 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4140 arg2
= wxString_in_helper(obj1
);
4141 if (arg2
== NULL
) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 (arg1
)->SetFontFaceName((wxString
const &)*arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_Py_Void();
4165 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
= 0;
4167 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "underlined", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4184 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4186 if (!SWIG_IsOK(ecode2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4189 arg2
= static_cast< bool >(val2
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->SetFontUnderlined(arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_Py_Void();
4203 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4211 PyObject
* obj0
= 0 ;
4212 PyObject
* obj1
= 0 ;
4213 char * kwnames
[] = {
4214 (char *) "self",(char *) "flags", NULL
4217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4219 if (!SWIG_IsOK(res1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4222 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4223 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4224 if (!SWIG_IsOK(ecode2
)) {
4225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4227 arg2
= static_cast< long >(val2
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 (arg1
)->SetFlags(arg2
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_Py_Void();
4241 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4244 wxString
*arg2
= 0 ;
4247 bool temp2
= false ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "name", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4259 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4261 arg2
= wxString_in_helper(obj1
);
4262 if (arg2
== NULL
) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetCharacterStyleName((wxString
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4286 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
= 0;
4288 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4289 wxString
*arg2
= 0 ;
4292 bool temp2
= false ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 char * kwnames
[] = {
4296 (char *) "self",(char *) "name", NULL
4299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4304 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4306 arg2
= wxString_in_helper(obj1
);
4307 if (arg2
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 (arg1
)->SetParagraphStyleName((wxString
const &)*arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_Py_Void();
4331 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
= 0;
4333 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4341 char * kwnames
[] = {
4342 (char *) "self",(char *) "spacing", NULL
4345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4350 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4352 if (!SWIG_IsOK(ecode2
)) {
4353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4355 arg2
= static_cast< int >(val2
);
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 (arg1
)->SetParagraphSpacingAfter(arg2
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= SWIG_Py_Void();
4369 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
= 0;
4371 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 char * kwnames
[] = {
4380 (char *) "self",(char *) "spacing", NULL
4383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4388 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4390 if (!SWIG_IsOK(ecode2
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4393 arg2
= static_cast< int >(val2
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->SetParagraphSpacingBefore(arg2
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4417 char * kwnames
[] = {
4418 (char *) "self",(char *) "spacing", NULL
4421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4423 if (!SWIG_IsOK(res1
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4426 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4428 if (!SWIG_IsOK(ecode2
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4431 arg2
= static_cast< int >(val2
);
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 (arg1
)->SetLineSpacing(arg2
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= SWIG_Py_Void();
4445 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
= 0;
4447 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4455 char * kwnames
[] = {
4456 (char *) "self",(char *) "style", NULL
4459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4464 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4466 if (!SWIG_IsOK(ecode2
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4469 arg2
= static_cast< int >(val2
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->SetBulletStyle(arg2
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_Py_Void();
4483 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4485 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "n", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4502 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 (arg1
)->SetBulletNumber(arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_Py_Void();
4521 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4531 char * kwnames
[] = {
4532 (char *) "self",(char *) "symbol", NULL
4535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4540 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
, 0 | 0);
4543 if (!SWIG_IsOK(res2
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4549 wxChar
* temp
= reinterpret_cast< wxChar
* >(argp2
);
4551 if (SWIG_IsNewObj(res2
)) delete temp
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 (arg1
)->SetBulletSymbol(arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= SWIG_Py_Void();
4567 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4568 PyObject
*resultobj
= 0;
4569 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4570 wxColour
*result
= 0 ;
4573 PyObject
*swig_obj
[1] ;
4575 if (!args
) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4581 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTextColour();
4586 result
= (wxColour
*) &_result_ref
;
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4598 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4599 PyObject
*resultobj
= 0;
4600 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4601 wxColour
*result
= 0 ;
4604 PyObject
*swig_obj
[1] ;
4606 if (!args
) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4612 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBackgroundColour();
4617 result
= (wxColour
*) &_result_ref
;
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4629 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4630 PyObject
*resultobj
= 0;
4631 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4632 wxTextAttrAlignment result
;
4635 PyObject
*swig_obj
[1] ;
4637 if (!args
) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4643 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (wxTextAttrAlignment
)((wxRichTextAttr
const *)arg1
)->GetAlignment();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_From_int(static_cast< int >(result
));
4657 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4658 PyObject
*resultobj
= 0;
4659 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4660 wxArrayInt
*result
= 0 ;
4663 PyObject
*swig_obj
[1] ;
4665 if (!args
) SWIG_fail
;
4667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4668 if (!SWIG_IsOK(res1
)) {
4669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4671 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxArrayInt
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTabs();
4676 result
= (wxArrayInt
*) &_result_ref
;
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= PyList_New(0);
4684 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
4685 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
4686 PyList_Append(resultobj
, val
);
4696 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4702 PyObject
*swig_obj
[1] ;
4704 if (!args
) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4710 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftIndent();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_From_long(static_cast< long >(result
));
4724 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 PyObject
*resultobj
= 0;
4726 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4730 PyObject
*swig_obj
[1] ;
4732 if (!args
) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4738 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftSubIndent();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= SWIG_From_long(static_cast< long >(result
));
4752 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4753 PyObject
*resultobj
= 0;
4754 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4758 PyObject
*swig_obj
[1] ;
4760 if (!args
) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4766 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (long)((wxRichTextAttr
const *)arg1
)->GetRightIndent();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_From_long(static_cast< long >(result
));
4780 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4781 PyObject
*resultobj
= 0;
4782 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4786 PyObject
*swig_obj
[1] ;
4788 if (!args
) SWIG_fail
;
4790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4791 if (!SWIG_IsOK(res1
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4794 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (long)((wxRichTextAttr
const *)arg1
)->GetFlags();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_From_long(static_cast< long >(result
));
4808 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4814 PyObject
*swig_obj
[1] ;
4816 if (!args
) SWIG_fail
;
4818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4819 if (!SWIG_IsOK(res1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4822 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontSize();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_From_int(static_cast< int >(result
));
4836 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4837 PyObject
*resultobj
= 0;
4838 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4842 PyObject
*swig_obj
[1] ;
4844 if (!args
) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4850 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontStyle();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_From_int(static_cast< int >(result
));
4864 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4865 PyObject
*resultobj
= 0;
4866 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4870 PyObject
*swig_obj
[1] ;
4872 if (!args
) SWIG_fail
;
4874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4875 if (!SWIG_IsOK(res1
)) {
4876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4878 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontWeight();
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_From_int(static_cast< int >(result
));
4892 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4893 PyObject
*resultobj
= 0;
4894 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4898 PyObject
*swig_obj
[1] ;
4900 if (!args
) SWIG_fail
;
4902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4903 if (!SWIG_IsOK(res1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4906 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (bool)((wxRichTextAttr
const *)arg1
)->GetFontUnderlined();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4922 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4923 PyObject
*resultobj
= 0;
4924 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4925 wxString
*result
= 0 ;
4928 PyObject
*swig_obj
[1] ;
4930 if (!args
) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4936 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetFontFaceName();
4941 result
= (wxString
*) &_result_ref
;
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4950 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4959 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4960 PyObject
*resultobj
= 0;
4961 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4962 wxString
*result
= 0 ;
4965 PyObject
*swig_obj
[1] ;
4967 if (!args
) SWIG_fail
;
4969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4970 if (!SWIG_IsOK(res1
)) {
4971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4973 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetCharacterStyleName();
4978 result
= (wxString
*) &_result_ref
;
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4996 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4997 PyObject
*resultobj
= 0;
4998 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4999 wxString
*result
= 0 ;
5002 PyObject
*swig_obj
[1] ;
5004 if (!args
) SWIG_fail
;
5006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5007 if (!SWIG_IsOK(res1
)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5010 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetParagraphStyleName();
5015 result
= (wxString
*) &_result_ref
;
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5033 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 PyObject
*resultobj
= 0;
5035 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5039 PyObject
*swig_obj
[1] ;
5041 if (!args
) SWIG_fail
;
5043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5044 if (!SWIG_IsOK(res1
)) {
5045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5047 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingAfter();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_From_int(static_cast< int >(result
));
5061 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 PyObject
*resultobj
= 0;
5063 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5067 PyObject
*swig_obj
[1] ;
5069 if (!args
) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5075 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingBefore();
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_From_int(static_cast< int >(result
));
5089 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 PyObject
*resultobj
= 0;
5091 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5103 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (int)((wxRichTextAttr
const *)arg1
)->GetLineSpacing();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_From_int(static_cast< int >(result
));
5117 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 PyObject
*resultobj
= 0;
5119 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5123 PyObject
*swig_obj
[1] ;
5125 if (!args
) SWIG_fail
;
5127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5128 if (!SWIG_IsOK(res1
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5131 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletStyle();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_From_int(static_cast< int >(result
));
5145 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5146 PyObject
*resultobj
= 0;
5147 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5151 PyObject
*swig_obj
[1] ;
5153 if (!args
) SWIG_fail
;
5155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5156 if (!SWIG_IsOK(res1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5159 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletNumber();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_From_int(static_cast< int >(result
));
5173 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5174 PyObject
*resultobj
= 0;
5175 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5179 PyObject
*swig_obj
[1] ;
5181 if (!args
) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5187 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= ((wxRichTextAttr
const *)arg1
)->GetBulletSymbol();
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN
| 0 );
5201 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 PyObject
*resultobj
= 0;
5203 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5207 PyObject
*swig_obj
[1] ;
5209 if (!args
) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5215 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTextColour();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5231 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5237 PyObject
*swig_obj
[1] ;
5239 if (!args
) SWIG_fail
;
5241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5242 if (!SWIG_IsOK(res1
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5245 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBackgroundColour();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5261 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5262 PyObject
*resultobj
= 0;
5263 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5267 PyObject
*swig_obj
[1] ;
5269 if (!args
) SWIG_fail
;
5271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5272 if (!SWIG_IsOK(res1
)) {
5273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5275 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasAlignment();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5291 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5292 PyObject
*resultobj
= 0;
5293 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5297 PyObject
*swig_obj
[1] ;
5299 if (!args
) SWIG_fail
;
5301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5302 if (!SWIG_IsOK(res1
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5305 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTabs();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5321 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5322 PyObject
*resultobj
= 0;
5323 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5327 PyObject
*swig_obj
[1] ;
5329 if (!args
) SWIG_fail
;
5331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5332 if (!SWIG_IsOK(res1
)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5335 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLeftIndent();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5351 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5352 PyObject
*resultobj
= 0;
5353 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5357 PyObject
*swig_obj
[1] ;
5359 if (!args
) SWIG_fail
;
5361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5362 if (!SWIG_IsOK(res1
)) {
5363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5365 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasRightIndent();
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5381 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5382 PyObject
*resultobj
= 0;
5383 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5387 PyObject
*swig_obj
[1] ;
5389 if (!args
) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5395 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasWeight();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5411 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5412 PyObject
*resultobj
= 0;
5413 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5417 PyObject
*swig_obj
[1] ;
5419 if (!args
) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5425 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasSize();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5441 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5442 PyObject
*resultobj
= 0;
5443 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5447 PyObject
*swig_obj
[1] ;
5449 if (!args
) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5455 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasItalic();
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5471 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5472 PyObject
*resultobj
= 0;
5473 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5477 PyObject
*swig_obj
[1] ;
5479 if (!args
) SWIG_fail
;
5481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5482 if (!SWIG_IsOK(res1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5485 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasUnderlined();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5501 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5503 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5507 PyObject
*swig_obj
[1] ;
5509 if (!args
) SWIG_fail
;
5511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5512 if (!SWIG_IsOK(res1
)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5515 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFaceName();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5531 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5532 PyObject
*resultobj
= 0;
5533 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5537 PyObject
*swig_obj
[1] ;
5539 if (!args
) SWIG_fail
;
5541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5542 if (!SWIG_IsOK(res1
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5545 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFont();
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5561 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5562 PyObject
*resultobj
= 0;
5563 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5567 PyObject
*swig_obj
[1] ;
5569 if (!args
) SWIG_fail
;
5571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5572 if (!SWIG_IsOK(res1
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5575 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingAfter();
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5591 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5592 PyObject
*resultobj
= 0;
5593 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5597 PyObject
*swig_obj
[1] ;
5599 if (!args
) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5605 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingBefore();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5621 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5622 PyObject
*resultobj
= 0;
5623 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5627 PyObject
*swig_obj
[1] ;
5629 if (!args
) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5635 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLineSpacing();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5651 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5652 PyObject
*resultobj
= 0;
5653 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5657 PyObject
*swig_obj
[1] ;
5659 if (!args
) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5665 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasCharacterStyleName();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5681 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5682 PyObject
*resultobj
= 0;
5683 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5687 PyObject
*swig_obj
[1] ;
5689 if (!args
) SWIG_fail
;
5691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5692 if (!SWIG_IsOK(res1
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5695 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphStyleName();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5717 PyObject
*swig_obj
[1] ;
5719 if (!args
) SWIG_fail
;
5721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5722 if (!SWIG_IsOK(res1
)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5725 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletStyle();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5741 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5742 PyObject
*resultobj
= 0;
5743 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5747 PyObject
*swig_obj
[1] ;
5749 if (!args
) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5755 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletNumber();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5777 PyObject
*swig_obj
[1] ;
5779 if (!args
) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5785 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletSymbol();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
= 0;
5803 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 char * kwnames
[] = {
5813 (char *) "self",(char *) "flag", NULL
5816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5818 if (!SWIG_IsOK(res1
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5821 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5822 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5823 if (!SWIG_IsOK(ecode2
)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5826 arg2
= static_cast< long >(val2
);
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFlag(arg2
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5842 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 PyObject
*resultobj
= 0;
5844 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5848 PyObject
*swig_obj
[1] ;
5850 if (!args
) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5856 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsCharacterStyle();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5872 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5873 PyObject
*resultobj
= 0;
5874 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5886 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsParagraphStyle();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5902 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5916 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsDefault();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5932 SWIGINTERN PyObject
*RichTextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5935 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
));
5936 return SWIG_Py_Void();
5939 SWIGINTERN PyObject
*RichTextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 return SWIG_Python_InitShadowInstance(args
);
5943 SWIGINTERN PyObject
*_wrap_new_RichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxWindow
*arg1
= (wxWindow
*) 0 ;
5946 int arg2
= (int) -1 ;
5947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5949 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5950 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5951 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5952 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5953 long arg6
= (long) wxRE_MULTILINE
;
5954 wxRichTextCtrl
*result
= 0 ;
5959 bool temp3
= false ;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 PyObject
* obj2
= 0 ;
5967 PyObject
* obj3
= 0 ;
5968 PyObject
* obj4
= 0 ;
5969 PyObject
* obj5
= 0 ;
5970 char * kwnames
[] = {
5971 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
5974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5979 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5982 if (!SWIG_IsOK(ecode2
)) {
5983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
5985 arg2
= static_cast< int >(val2
);
5989 arg3
= wxString_in_helper(obj2
);
5990 if (arg3
== NULL
) SWIG_fail
;
5997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6007 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6008 if (!SWIG_IsOK(ecode6
)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'");
6011 arg6
= static_cast< long >(val6
);
6014 if (!wxPyCheckForApp()) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (wxRichTextCtrl
*)new wxRichTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW
| 0 );
6035 SWIGINTERN PyObject
*_wrap_new_PreRichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6036 PyObject
*resultobj
= 0;
6037 wxRichTextCtrl
*result
= 0 ;
6039 if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
;
6041 if (!wxPyCheckForApp()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (wxRichTextCtrl
*)new wxRichTextCtrl();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN
| 0 );
6054 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
= 0;
6056 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6057 wxWindow
*arg2
= (wxWindow
*) 0 ;
6058 int arg3
= (int) -1 ;
6059 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6060 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6061 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6062 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6063 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6064 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6065 long arg7
= (long) wxRE_MULTILINE
;
6073 bool temp4
= false ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6080 PyObject
* obj2
= 0 ;
6081 PyObject
* obj3
= 0 ;
6082 PyObject
* obj4
= 0 ;
6083 PyObject
* obj5
= 0 ;
6084 PyObject
* obj6
= 0 ;
6085 char * kwnames
[] = {
6086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
6089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6091 if (!SWIG_IsOK(res1
)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6094 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6095 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6096 if (!SWIG_IsOK(res2
)) {
6097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6099 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6102 if (!SWIG_IsOK(ecode3
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6105 arg3
= static_cast< int >(val3
);
6109 arg4
= wxString_in_helper(obj3
);
6110 if (arg4
== NULL
) SWIG_fail
;
6117 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6123 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6127 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6128 if (!SWIG_IsOK(ecode7
)) {
6129 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
6131 arg7
= static_cast< long >(val7
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6157 PyObject
*resultobj
= 0;
6158 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6162 PyObject
*swig_obj
[1] ;
6164 if (!args
) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6170 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= ((wxRichTextCtrl
const *)arg1
)->GetValue();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6190 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
= 0;
6192 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6193 wxString
*arg2
= 0 ;
6196 bool temp2
= false ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 char * kwnames
[] = {
6200 (char *) "self",(char *) "value", NULL
6203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6205 if (!SWIG_IsOK(res1
)) {
6206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6208 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6210 arg2
= wxString_in_helper(obj1
);
6211 if (arg2
== NULL
) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->SetValue((wxString
const &)*arg2
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_Py_Void();
6235 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= 0;
6237 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6249 PyObject
* obj2
= 0 ;
6250 char * kwnames
[] = {
6251 (char *) "self",(char *) "from",(char *) "to", NULL
6254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6259 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6260 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6261 if (!SWIG_IsOK(ecode2
)) {
6262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6264 arg2
= static_cast< long >(val2
);
6265 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6266 if (!SWIG_IsOK(ecode3
)) {
6267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6269 arg3
= static_cast< long >(val3
);
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= ((wxRichTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6289 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
= 0;
6291 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6300 char * kwnames
[] = {
6301 (char *) "self",(char *) "lineNo", NULL
6304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6306 if (!SWIG_IsOK(res1
)) {
6307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6309 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6311 if (!SWIG_IsOK(ecode2
)) {
6312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6314 arg2
= static_cast< long >(val2
);
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_From_int(static_cast< int >(result
));
6328 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "self",(char *) "lineNo", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6348 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6349 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6350 if (!SWIG_IsOK(ecode2
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6353 arg2
= static_cast< long >(val2
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= ((wxRichTextCtrl
const *)arg1
)->GetLineText(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6373 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6387 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetNumberOfLines();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_From_int(static_cast< int >(result
));
6401 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6402 PyObject
*resultobj
= 0;
6403 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6407 PyObject
*swig_obj
[1] ;
6409 if (!args
) SWIG_fail
;
6411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6412 if (!SWIG_IsOK(res1
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6415 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsModified();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6431 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 PyObject
*resultobj
= 0;
6433 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6437 PyObject
*swig_obj
[1] ;
6439 if (!args
) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6445 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsEditable();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6461 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6462 PyObject
*resultobj
= 0;
6463 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6467 PyObject
*swig_obj
[1] ;
6469 if (!args
) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6475 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSingleLine();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6497 PyObject
*swig_obj
[1] ;
6499 if (!args
) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6505 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsMultiLine();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6521 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6522 PyObject
*resultobj
= 0;
6523 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6524 long *arg2
= (long *) 0 ;
6525 long *arg3
= (long *) 0 ;
6529 int res2
= SWIG_TMPOBJ
;
6531 int res3
= SWIG_TMPOBJ
;
6532 PyObject
*swig_obj
[1] ;
6536 if (!args
) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6542 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 ((wxRichTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_Py_Void();
6550 if (SWIG_IsTmpObj(res2
)) {
6551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6553 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6556 if (SWIG_IsTmpObj(res3
)) {
6557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6559 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6568 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6582 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= ((wxRichTextCtrl
const *)arg1
)->GetStringSelection();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6602 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6603 PyObject
*resultobj
= 0;
6604 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6608 PyObject
*swig_obj
[1] ;
6610 if (!args
) SWIG_fail
;
6612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6613 if (!SWIG_IsOK(res1
)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6616 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= ((wxRichTextCtrl
const *)arg1
)->GetFilename();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6636 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
= 0;
6638 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6639 wxString
*arg2
= 0 ;
6642 bool temp2
= false ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 char * kwnames
[] = {
6646 (char *) "self",(char *) "filename", NULL
6649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6651 if (!SWIG_IsOK(res1
)) {
6652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6654 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6656 arg2
= wxString_in_helper(obj1
);
6657 if (arg2
== NULL
) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 (arg1
)->SetFilename((wxString
const &)*arg2
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_Py_Void();
6681 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
= 0;
6683 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6691 char * kwnames
[] = {
6692 (char *) "self",(char *) "threshold", NULL
6695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6697 if (!SWIG_IsOK(res1
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6700 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6701 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6702 if (!SWIG_IsOK(ecode2
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6705 arg2
= static_cast< long >(val2
);
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 (arg1
)->SetDelayedLayoutThreshold(arg2
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_Py_Void();
6719 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6720 PyObject
*resultobj
= 0;
6721 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6725 PyObject
*swig_obj
[1] ;
6727 if (!args
) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6733 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetDelayedLayoutThreshold();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_From_long(static_cast< long >(result
));
6747 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6748 PyObject
*resultobj
= 0;
6749 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6752 PyObject
*swig_obj
[1] ;
6754 if (!args
) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6760 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_Py_Void();
6774 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
= 0;
6776 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6779 wxString
*arg4
= 0 ;
6786 bool temp4
= false ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 PyObject
* obj2
= 0 ;
6790 PyObject
* obj3
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6800 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6801 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6805 arg2
= static_cast< long >(val2
);
6806 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6810 arg3
= static_cast< long >(val3
);
6812 arg4
= wxString_in_helper(obj3
);
6813 if (arg4
== NULL
) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_Py_Void();
6837 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
= 0;
6839 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 PyObject
* obj2
= 0 ;
6851 char * kwnames
[] = {
6852 (char *) "self",(char *) "from",(char *) "to", NULL
6855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6857 if (!SWIG_IsOK(res1
)) {
6858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6860 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6862 if (!SWIG_IsOK(ecode2
)) {
6863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6865 arg2
= static_cast< long >(val2
);
6866 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6867 if (!SWIG_IsOK(ecode3
)) {
6868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6870 arg3
= static_cast< long >(val3
);
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 (arg1
)->Remove(arg2
,arg3
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_Py_Void();
6884 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6887 wxString
*arg2
= 0 ;
6888 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6892 bool temp2
= false ;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6897 PyObject
* obj2
= 0 ;
6898 char * kwnames
[] = {
6899 (char *) "self",(char *) "file",(char *) "type", NULL
6902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6904 if (!SWIG_IsOK(res1
)) {
6905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6907 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6909 arg2
= wxString_in_helper(obj1
);
6910 if (arg2
== NULL
) SWIG_fail
;
6914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6915 if (!SWIG_IsOK(ecode3
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6918 arg3
= static_cast< int >(val3
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6943 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
= 0;
6945 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6946 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6947 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6948 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6952 bool temp2
= false ;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6957 PyObject
* obj2
= 0 ;
6958 char * kwnames
[] = {
6959 (char *) "self",(char *) "file",(char *) "type", NULL
6962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6964 if (!SWIG_IsOK(res1
)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6967 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6970 arg2
= wxString_in_helper(obj1
);
6971 if (arg2
== NULL
) SWIG_fail
;
6976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6977 if (!SWIG_IsOK(ecode3
)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6980 arg3
= static_cast< int >(val3
);
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7006 PyObject
*resultobj
= 0;
7007 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7010 PyObject
*swig_obj
[1] ;
7012 if (!args
) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7018 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 (arg1
)->MarkDirty();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_Py_Void();
7032 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7033 PyObject
*resultobj
= 0;
7034 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7037 PyObject
*swig_obj
[1] ;
7039 if (!args
) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7045 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->DiscardEdits();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_Py_Void();
7059 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
= 0;
7061 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7062 unsigned long arg2
;
7065 unsigned long val2
;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7069 char * kwnames
[] = {
7070 (char *) "self",(char *) "len", NULL
7073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7075 if (!SWIG_IsOK(res1
)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7078 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7079 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
7080 if (!SWIG_IsOK(ecode2
)) {
7081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7083 arg2
= static_cast< unsigned long >(val2
);
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 (arg1
)->SetMaxLength(arg2
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_Py_Void();
7097 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
= 0;
7099 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7100 wxString
*arg2
= 0 ;
7103 bool temp2
= false ;
7104 PyObject
* obj0
= 0 ;
7105 PyObject
* obj1
= 0 ;
7106 char * kwnames
[] = {
7107 (char *) "self",(char *) "text", NULL
7110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7115 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7117 arg2
= wxString_in_helper(obj1
);
7118 if (arg2
== NULL
) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 (arg1
)->WriteText((wxString
const &)*arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= SWIG_Py_Void();
7142 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
= 0;
7144 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7145 wxString
*arg2
= 0 ;
7148 bool temp2
= false ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 char * kwnames
[] = {
7152 (char *) "self",(char *) "text", NULL
7155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7160 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7162 arg2
= wxString_in_helper(obj1
);
7163 if (arg2
== NULL
) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->AppendText((wxString
const &)*arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_Py_Void();
7187 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
= 0;
7189 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7190 wxRichTextRange
*arg2
= 0 ;
7191 wxRichTextAttr
*arg3
= 0 ;
7195 wxRichTextRange temp2
;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 PyObject
* obj2
= 0 ;
7201 char * kwnames
[] = {
7202 (char *) "self",(char *) "range",(char *) "style", NULL
7205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7207 if (!SWIG_IsOK(res1
)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7210 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7213 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7215 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7216 if (!SWIG_IsOK(res3
)) {
7217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7222 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (bool)(arg1
)->SetStyle((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7238 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
= 0;
7240 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7242 wxRichTextAttr
*arg3
= 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7252 PyObject
* obj2
= 0 ;
7253 char * kwnames
[] = {
7254 (char *) "self",(char *) "position",(char *) "style", NULL
7257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7259 if (!SWIG_IsOK(res1
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7262 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7263 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7264 if (!SWIG_IsOK(ecode2
)) {
7265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7267 arg2
= static_cast< long >(val2
);
7268 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7269 if (!SWIG_IsOK(res3
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7275 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (bool)((wxRichTextCtrl
const *)arg1
)->GetStyle(arg2
,*arg3
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7291 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
= 0;
7293 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7294 wxRichTextAttr
*arg2
= 0 ;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7302 char * kwnames
[] = {
7303 (char *) "self",(char *) "style", NULL
7306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7311 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7313 if (!SWIG_IsOK(res2
)) {
7314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7319 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr
const &)*arg2
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7335 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7336 PyObject
*resultobj
= 0;
7337 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7338 wxRichTextAttr result
;
7341 PyObject
*swig_obj
[1] ;
7343 if (!args
) SWIG_fail
;
7345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7346 if (!SWIG_IsOK(res1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7349 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= ((wxRichTextCtrl
const *)arg1
)->GetDefaultStyleEx();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN
| 0 );
7363 SWIGINTERN PyObject
*_wrap_RichTextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
= 0;
7365 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 char * kwnames
[] = {
7379 (char *) "self",(char *) "x",(char *) "y", NULL
7382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7384 if (!SWIG_IsOK(res1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7387 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7389 if (!SWIG_IsOK(ecode2
)) {
7390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7392 arg2
= static_cast< long >(val2
);
7393 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7394 if (!SWIG_IsOK(ecode3
)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7397 arg3
= static_cast< long >(val3
);
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (long)((wxRichTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= SWIG_From_long(static_cast< long >(result
));
7411 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
= 0;
7413 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7415 long *arg3
= (long *) 0 ;
7416 long *arg4
= (long *) 0 ;
7422 int res3
= SWIG_TMPOBJ
;
7424 int res4
= SWIG_TMPOBJ
;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7427 char * kwnames
[] = {
7428 (char *) "self",(char *) "pos", NULL
7433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7438 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7439 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7440 if (!SWIG_IsOK(ecode2
)) {
7441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7443 arg2
= static_cast< long >(val2
);
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 ((wxRichTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= SWIG_Py_Void();
7451 if (SWIG_IsTmpObj(res3
)) {
7452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7454 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7457 if (SWIG_IsTmpObj(res4
)) {
7458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
7460 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
7469 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
= 0;
7471 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7479 char * kwnames
[] = {
7480 (char *) "self",(char *) "position", NULL
7483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7485 if (!SWIG_IsOK(res1
)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7488 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7490 if (!SWIG_IsOK(ecode2
)) {
7491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7493 arg2
= static_cast< long >(val2
);
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 (arg1
)->ShowPosition(arg2
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_Py_Void();
7507 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
= 0;
7509 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7511 long *arg3
= (long *) 0 ;
7512 wxTextCtrlHitTestResult result
;
7517 int res3
= SWIG_TMPOBJ
;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "pt", NULL
7525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7527 if (!SWIG_IsOK(res1
)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7530 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7542 if (SWIG_IsTmpObj(res3
)) {
7543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7545 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7554 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
= 0;
7556 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7558 wxTextCoord
*arg3
= (wxTextCoord
*) 0 ;
7559 wxTextCoord
*arg4
= (wxTextCoord
*) 0 ;
7560 wxTextCtrlHitTestResult result
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7570 PyObject
* obj2
= 0 ;
7571 PyObject
* obj3
= 0 ;
7572 char * kwnames
[] = {
7573 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7578 if (!SWIG_IsOK(res1
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7581 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7586 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7587 if (!SWIG_IsOK(res3
)) {
7588 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7590 arg3
= reinterpret_cast< wxTextCoord
* >(argp3
);
7591 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7592 if (!SWIG_IsOK(res4
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7595 arg4
= reinterpret_cast< wxTextCoord
* >(argp4
);
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7609 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7622 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_Py_Void();
7636 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7637 PyObject
*resultobj
= 0;
7638 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7641 PyObject
*swig_obj
[1] ;
7643 if (!args
) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7649 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_Py_Void();
7663 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7664 PyObject
*resultobj
= 0;
7665 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7668 PyObject
*swig_obj
[1] ;
7670 if (!args
) SWIG_fail
;
7672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7673 if (!SWIG_IsOK(res1
)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7676 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_Py_Void();
7690 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7691 PyObject
*resultobj
= 0;
7692 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7695 PyObject
*swig_obj
[1] ;
7697 if (!args
) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7703 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 (arg1
)->DeleteSelection();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_Py_Void();
7717 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7718 PyObject
*resultobj
= 0;
7719 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7723 PyObject
*swig_obj
[1] ;
7725 if (!args
) SWIG_fail
;
7727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7728 if (!SWIG_IsOK(res1
)) {
7729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7731 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCopy();
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7747 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7748 PyObject
*resultobj
= 0;
7749 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7753 PyObject
*swig_obj
[1] ;
7755 if (!args
) SWIG_fail
;
7757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7758 if (!SWIG_IsOK(res1
)) {
7759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7761 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCut();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7777 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7783 PyObject
*swig_obj
[1] ;
7785 if (!args
) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7791 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanPaste();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7807 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7808 PyObject
*resultobj
= 0;
7809 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7813 PyObject
*swig_obj
[1] ;
7815 if (!args
) SWIG_fail
;
7817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7818 if (!SWIG_IsOK(res1
)) {
7819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7821 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanDeleteSelection();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7837 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7838 PyObject
*resultobj
= 0;
7839 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7842 PyObject
*swig_obj
[1] ;
7844 if (!args
) SWIG_fail
;
7846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7847 if (!SWIG_IsOK(res1
)) {
7848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7850 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_Py_Void();
7864 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 PyObject
*resultobj
= 0;
7866 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7869 PyObject
*swig_obj
[1] ;
7871 if (!args
) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7877 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_Py_Void();
7891 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7892 PyObject
*resultobj
= 0;
7893 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7897 PyObject
*swig_obj
[1] ;
7899 if (!args
) SWIG_fail
;
7901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7902 if (!SWIG_IsOK(res1
)) {
7903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7905 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanUndo();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7921 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7922 PyObject
*resultobj
= 0;
7923 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7927 PyObject
*swig_obj
[1] ;
7929 if (!args
) SWIG_fail
;
7931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7932 if (!SWIG_IsOK(res1
)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7935 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanRedo();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7951 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
= 0;
7953 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 char * kwnames
[] = {
7962 (char *) "self",(char *) "pos", NULL
7965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7967 if (!SWIG_IsOK(res1
)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7970 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7972 if (!SWIG_IsOK(ecode2
)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
7975 arg2
= static_cast< long >(val2
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 (arg1
)->SetInsertionPoint(arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_Py_Void();
7989 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7990 PyObject
*resultobj
= 0;
7991 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7994 PyObject
*swig_obj
[1] ;
7996 if (!args
) SWIG_fail
;
7998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7999 if (!SWIG_IsOK(res1
)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8002 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 (arg1
)->SetInsertionPointEnd();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_Py_Void();
8016 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8017 PyObject
*resultobj
= 0;
8018 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8022 PyObject
*swig_obj
[1] ;
8024 if (!args
) SWIG_fail
;
8026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8027 if (!SWIG_IsOK(res1
)) {
8028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8030 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetInsertionPoint();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_From_long(static_cast< long >(result
));
8044 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8045 PyObject
*resultobj
= 0;
8046 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8050 PyObject
*swig_obj
[1] ;
8052 if (!args
) SWIG_fail
;
8054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8055 if (!SWIG_IsOK(res1
)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8058 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetLastPosition();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_From_long(static_cast< long >(result
));
8072 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
= 0;
8074 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 char * kwnames
[] = {
8087 (char *) "self",(char *) "from",(char *) "to", NULL
8090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8092 if (!SWIG_IsOK(res1
)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8095 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8096 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8097 if (!SWIG_IsOK(ecode2
)) {
8098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8100 arg2
= static_cast< long >(val2
);
8101 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8102 if (!SWIG_IsOK(ecode3
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8105 arg3
= static_cast< long >(val3
);
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 (arg1
)->SetSelection(arg2
,arg3
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_Py_Void();
8119 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8120 PyObject
*resultobj
= 0;
8121 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8124 PyObject
*swig_obj
[1] ;
8126 if (!args
) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8132 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 (arg1
)->SelectAll();
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8156 char * kwnames
[] = {
8157 (char *) "self",(char *) "editable", NULL
8160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8162 if (!SWIG_IsOK(res1
)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8165 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8166 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8167 if (!SWIG_IsOK(ecode2
)) {
8168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8170 arg2
= static_cast< bool >(val2
);
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->SetEditable(arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_Py_Void();
8184 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 PyObject
*resultobj
= 0;
8186 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8190 PyObject
*swig_obj
[1] ;
8192 if (!args
) SWIG_fail
;
8194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8195 if (!SWIG_IsOK(res1
)) {
8196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8198 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasSelection();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8214 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
= 0;
8216 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8218 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8229 char * kwnames
[] = {
8230 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8238 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
8240 if (!SWIG_IsOK(res2
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8246 arg2
= reinterpret_cast< wxImage
* >(argp2
);
8248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8249 if (!SWIG_IsOK(ecode3
)) {
8250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8252 arg3
= static_cast< int >(val3
);
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (bool)(arg1
)->WriteImage((wxImage
const &)*arg2
,arg3
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8269 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= 0;
8271 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8272 wxBitmap
*arg2
= 0 ;
8273 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8283 PyObject
* obj2
= 0 ;
8284 char * kwnames
[] = {
8285 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8290 if (!SWIG_IsOK(res1
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8293 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8295 if (!SWIG_IsOK(res2
)) {
8296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8301 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8304 if (!SWIG_IsOK(ecode3
)) {
8305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8307 arg3
= static_cast< int >(val3
);
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)(arg1
)->WriteImage((wxBitmap
const &)*arg2
,arg3
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8324 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= 0;
8326 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8327 wxString
*arg2
= 0 ;
8332 bool temp2
= false ;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8337 PyObject
* obj2
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8347 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8349 arg2
= wxString_in_helper(obj1
);
8350 if (arg2
== NULL
) SWIG_fail
;
8353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8354 if (!SWIG_IsOK(ecode3
)) {
8355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8357 arg3
= static_cast< int >(val3
);
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (bool)(arg1
)->WriteImage((wxString
const &)*arg2
,arg3
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
= 0;
8383 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8384 wxRichTextImageBlock
*arg2
= 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8392 char * kwnames
[] = {
8393 (char *) "self",(char *) "imageBlock", NULL
8396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8398 if (!SWIG_IsOK(res1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8401 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
, 0 | 0);
8403 if (!SWIG_IsOK(res2
)) {
8404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8409 arg2
= reinterpret_cast< wxRichTextImageBlock
* >(argp2
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock
const &)*arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8425 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Newline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 PyObject
*resultobj
= 0;
8427 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8431 PyObject
*swig_obj
[1] ;
8433 if (!args
) SWIG_fail
;
8435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8436 if (!SWIG_IsOK(res1
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8439 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (bool)(arg1
)->Newline();
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8455 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetBasicStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= 0;
8457 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8458 wxRichTextAttr
*arg2
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 char * kwnames
[] = {
8466 (char *) "self",(char *) "style", NULL
8469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8474 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
8476 if (!SWIG_IsOK(res2
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8482 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 (arg1
)->SetBasicStyle((wxRichTextAttr
const &)*arg2
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_Py_Void();
8496 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 PyObject
*resultobj
= 0;
8498 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8502 PyObject
*swig_obj
[1] ;
8504 if (!args
) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8510 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)(arg1
)->EndStyle();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8526 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAllStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8527 PyObject
*resultobj
= 0;
8528 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8532 PyObject
*swig_obj
[1] ;
8534 if (!args
) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8540 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (bool)(arg1
)->EndAllStyles();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8556 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8557 PyObject
*resultobj
= 0;
8558 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8562 PyObject
*swig_obj
[1] ;
8564 if (!args
) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8570 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= (bool)(arg1
)->BeginBold();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8586 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8587 PyObject
*resultobj
= 0;
8588 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8592 PyObject
*swig_obj
[1] ;
8594 if (!args
) SWIG_fail
;
8596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8597 if (!SWIG_IsOK(res1
)) {
8598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8600 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (bool)(arg1
)->EndBold();
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 PyObject
*resultobj
= 0;
8618 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8622 PyObject
*swig_obj
[1] ;
8624 if (!args
) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8630 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->BeginItalic();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8647 PyObject
*resultobj
= 0;
8648 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8652 PyObject
*swig_obj
[1] ;
8654 if (!args
) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8660 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (bool)(arg1
)->EndItalic();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8676 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8677 PyObject
*resultobj
= 0;
8678 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8682 PyObject
*swig_obj
[1] ;
8684 if (!args
) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8690 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (bool)(arg1
)->BeginUnderline();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8706 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 PyObject
*resultobj
= 0;
8708 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8712 PyObject
*swig_obj
[1] ;
8714 if (!args
) SWIG_fail
;
8716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8717 if (!SWIG_IsOK(res1
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8720 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (bool)(arg1
)->EndUnderline();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8736 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
= 0;
8738 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "self",(char *) "pointSize", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8753 if (!SWIG_IsOK(res1
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8756 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8758 if (!SWIG_IsOK(ecode2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8761 arg2
= static_cast< int >(val2
);
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)(arg1
)->BeginFontSize(arg2
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8777 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8778 PyObject
*resultobj
= 0;
8779 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8783 PyObject
*swig_obj
[1] ;
8785 if (!args
) SWIG_fail
;
8787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8788 if (!SWIG_IsOK(res1
)) {
8789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8791 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= (bool)(arg1
)->EndFontSize();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8807 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8818 char * kwnames
[] = {
8819 (char *) "self",(char *) "font", NULL
8822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8824 if (!SWIG_IsOK(res1
)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8827 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8828 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
8829 if (!SWIG_IsOK(res2
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8835 arg2
= reinterpret_cast< wxFont
* >(argp2
);
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (bool)(arg1
)->BeginFont((wxFont
const &)*arg2
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8851 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8852 PyObject
*resultobj
= 0;
8853 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8857 PyObject
*swig_obj
[1] ;
8859 if (!args
) SWIG_fail
;
8861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8862 if (!SWIG_IsOK(res1
)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8865 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (bool)(arg1
)->EndFont();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
= 0;
8883 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8884 wxColour
*arg2
= 0 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "self",(char *) "colour", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8900 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (bool)(arg1
)->BeginTextColour((wxColour
const &)*arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8920 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8921 PyObject
*resultobj
= 0;
8922 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8926 PyObject
*swig_obj
[1] ;
8928 if (!args
) SWIG_fail
;
8930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8931 if (!SWIG_IsOK(res1
)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8934 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)(arg1
)->EndTextColour();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8950 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= 0;
8952 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8953 wxTextAttrAlignment arg2
;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8961 char * kwnames
[] = {
8962 (char *) "self",(char *) "alignment", NULL
8965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8967 if (!SWIG_IsOK(res1
)) {
8968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8970 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8972 if (!SWIG_IsOK(ecode2
)) {
8973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
8975 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (bool)(arg1
)->BeginAlignment(arg2
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8991 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8992 PyObject
*resultobj
= 0;
8993 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8997 PyObject
*swig_obj
[1] ;
8999 if (!args
) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9005 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (bool)(arg1
)->EndAlignment();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9021 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
= 0;
9023 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9025 int arg3
= (int) 0 ;
9033 PyObject
* obj0
= 0 ;
9034 PyObject
* obj1
= 0 ;
9035 PyObject
* obj2
= 0 ;
9036 char * kwnames
[] = {
9037 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9045 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9047 if (!SWIG_IsOK(ecode2
)) {
9048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9050 arg2
= static_cast< int >(val2
);
9052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9053 if (!SWIG_IsOK(ecode3
)) {
9054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9056 arg3
= static_cast< int >(val3
);
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9073 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9074 PyObject
*resultobj
= 0;
9075 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9079 PyObject
*swig_obj
[1] ;
9081 if (!args
) SWIG_fail
;
9083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9084 if (!SWIG_IsOK(res1
)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9087 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (bool)(arg1
)->EndLeftIndent();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9103 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
= 0;
9105 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 char * kwnames
[] = {
9115 (char *) "self",(char *) "rightIndent", NULL
9118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9123 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9125 if (!SWIG_IsOK(ecode2
)) {
9126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9128 arg2
= static_cast< int >(val2
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)(arg1
)->BeginRightIndent(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9144 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 PyObject
*resultobj
= 0;
9146 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9150 PyObject
*swig_obj
[1] ;
9152 if (!args
) SWIG_fail
;
9154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9155 if (!SWIG_IsOK(res1
)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9158 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (bool)(arg1
)->EndRightIndent();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9174 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
= 0;
9176 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 PyObject
* obj2
= 0 ;
9189 char * kwnames
[] = {
9190 (char *) "self",(char *) "before",(char *) "after", NULL
9193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9195 if (!SWIG_IsOK(res1
)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9198 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9200 if (!SWIG_IsOK(ecode2
)) {
9201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9203 arg2
= static_cast< int >(val2
);
9204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9205 if (!SWIG_IsOK(ecode3
)) {
9206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9208 arg3
= static_cast< int >(val3
);
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9224 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9225 PyObject
*resultobj
= 0;
9226 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9230 PyObject
*swig_obj
[1] ;
9232 if (!args
) SWIG_fail
;
9234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9235 if (!SWIG_IsOK(res1
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9238 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (bool)(arg1
)->EndParagraphSpacing();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9254 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9265 char * kwnames
[] = {
9266 (char *) "self",(char *) "lineSpacing", NULL
9269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9271 if (!SWIG_IsOK(res1
)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9274 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9276 if (!SWIG_IsOK(ecode2
)) {
9277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9279 arg2
= static_cast< int >(val2
);
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (bool)(arg1
)->BeginLineSpacing(arg2
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9309 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (bool)(arg1
)->EndLineSpacing();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
= 0;
9327 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9331 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD
;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 PyObject
* obj3
= 0 ;
9347 PyObject
* obj4
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9357 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9364 if (!SWIG_IsOK(ecode3
)) {
9365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9367 arg3
= static_cast< int >(val3
);
9368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9369 if (!SWIG_IsOK(ecode4
)) {
9370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9372 arg4
= static_cast< int >(val4
);
9374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9375 if (!SWIG_IsOK(ecode5
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9378 arg5
= static_cast< int >(val5
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9395 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 PyObject
*resultobj
= 0;
9397 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9401 PyObject
*swig_obj
[1] ;
9403 if (!args
) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9409 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (bool)(arg1
)->EndNumberedBullet();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9425 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9431 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL
;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 PyObject
* obj2
= 0 ;
9446 PyObject
* obj3
= 0 ;
9447 PyObject
* obj4
= 0 ;
9448 char * kwnames
[] = {
9449 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9454 if (!SWIG_IsOK(res1
)) {
9455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9457 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9458 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'");
9462 arg2
= static_cast< char >(val2
);
9463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9464 if (!SWIG_IsOK(ecode3
)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9467 arg3
= static_cast< int >(val3
);
9468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9469 if (!SWIG_IsOK(ecode4
)) {
9470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9472 arg4
= static_cast< int >(val4
);
9474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9475 if (!SWIG_IsOK(ecode5
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9478 arg5
= static_cast< int >(val5
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9495 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9496 PyObject
*resultobj
= 0;
9497 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9501 PyObject
*swig_obj
[1] ;
9503 if (!args
) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9509 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)(arg1
)->EndSymbolBullet();
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9525 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
= 0;
9527 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9528 wxString
*arg2
= 0 ;
9532 bool temp2
= false ;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9535 char * kwnames
[] = {
9536 (char *) "self",(char *) "characterStyle", NULL
9539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9541 if (!SWIG_IsOK(res1
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9544 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9546 arg2
= wxString_in_helper(obj1
);
9547 if (arg2
== NULL
) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)(arg1
)->BeginCharacterStyle((wxString
const &)*arg2
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9573 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9574 PyObject
*resultobj
= 0;
9575 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9579 PyObject
*swig_obj
[1] ;
9581 if (!args
) SWIG_fail
;
9583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9584 if (!SWIG_IsOK(res1
)) {
9585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9587 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (bool)(arg1
)->EndCharacterStyle();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9603 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
= 0;
9605 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9606 wxString
*arg2
= 0 ;
9610 bool temp2
= false ;
9611 PyObject
* obj0
= 0 ;
9612 PyObject
* obj1
= 0 ;
9613 char * kwnames
[] = {
9614 (char *) "self",(char *) "paragraphStyle", NULL
9617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9622 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9624 arg2
= wxString_in_helper(obj1
);
9625 if (arg2
== NULL
) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)(arg1
)->BeginParagraphStyle((wxString
const &)*arg2
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9652 PyObject
*resultobj
= 0;
9653 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9657 PyObject
*swig_obj
[1] ;
9659 if (!args
) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9665 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (bool)(arg1
)->EndParagraphStyle();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9681 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9682 PyObject
*resultobj
= 0;
9683 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9695 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (bool)(arg1
)->SetDefaultStyleToCursorStyle();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9711 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectNone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9712 PyObject
*resultobj
= 0;
9713 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9716 PyObject
*swig_obj
[1] ;
9718 if (!args
) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9724 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->SelectNone();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9738 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9741 wxRichTextRange
*result
= 0 ;
9744 PyObject
*swig_obj
[1] ;
9746 if (!args
) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
9752 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxRichTextRange
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetSelectionRange();
9757 result
= (wxRichTextRange
*) &_result_ref
;
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
9769 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= 0;
9771 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9772 wxRichTextRange
*arg2
= 0 ;
9775 wxRichTextRange temp2
;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "range", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9787 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9790 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->SetSelectionRange((wxRichTextRange
const &)*arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_Py_Void();
9805 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddParagraph(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
= 0;
9807 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9808 wxString
*arg2
= 0 ;
9809 wxRichTextRange result
;
9812 bool temp2
= false ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 char * kwnames
[] = {
9816 (char *) "self",(char *) "text", NULL
9819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9821 if (!SWIG_IsOK(res1
)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9824 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9826 arg2
= wxString_in_helper(obj1
);
9827 if (arg2
== NULL
) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (arg1
)->AddParagraph((wxString
const &)*arg2
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
9851 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= 0;
9853 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9855 wxRichTextRange result
;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9862 char * kwnames
[] = {
9863 (char *) "self",(char *) "image", NULL
9866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9868 if (!SWIG_IsOK(res1
)) {
9869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9871 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
9873 if (!SWIG_IsOK(res2
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9879 arg2
= reinterpret_cast< wxImage
* >(argp2
);
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (arg1
)->AddImage((wxImage
const &)*arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
9893 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LayoutContent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
= 0;
9895 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9896 bool arg2
= (bool) false ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "self",(char *) "onlyVisibleRect", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9913 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9916 if (!SWIG_IsOK(ecode2
)) {
9917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
9919 arg2
= static_cast< bool >(val2
);
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->LayoutContent(arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9936 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
= 0;
9938 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9940 bool arg3
= (bool) false ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9960 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9962 if (!SWIG_IsOK(ecode2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
9965 arg2
= static_cast< long >(val2
);
9967 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9968 if (!SWIG_IsOK(ecode3
)) {
9969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
9971 arg3
= static_cast< bool >(val3
);
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (bool)(arg1
)->MoveCaret(arg2
,arg3
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9988 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
= 0;
9990 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9991 int arg2
= (int) 1 ;
9992 int arg3
= (int) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 PyObject
* obj2
= 0 ;
10003 char * kwnames
[] = {
10004 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10009 if (!SWIG_IsOK(res1
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10012 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10015 if (!SWIG_IsOK(ecode2
)) {
10016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
10018 arg2
= static_cast< int >(val2
);
10021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10022 if (!SWIG_IsOK(ecode3
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
10025 arg3
= static_cast< int >(val3
);
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (bool)(arg1
)->MoveRight(arg2
,arg3
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10042 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
= 0;
10044 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10045 int arg2
= (int) 1 ;
10046 int arg3
= (int) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 PyObject
* obj1
= 0 ;
10056 PyObject
* obj2
= 0 ;
10057 char * kwnames
[] = {
10058 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10066 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10069 if (!SWIG_IsOK(ecode2
)) {
10070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10072 arg2
= static_cast< int >(val2
);
10075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10076 if (!SWIG_IsOK(ecode3
)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10079 arg3
= static_cast< int >(val3
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)(arg1
)->MoveLeft(arg2
,arg3
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10096 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
= 0;
10098 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10099 int arg2
= (int) 1 ;
10100 int arg3
= (int) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 PyObject
* obj2
= 0 ;
10111 char * kwnames
[] = {
10112 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10117 if (!SWIG_IsOK(res1
)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10120 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10123 if (!SWIG_IsOK(ecode2
)) {
10124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10126 arg2
= static_cast< int >(val2
);
10129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10130 if (!SWIG_IsOK(ecode3
)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10133 arg3
= static_cast< int >(val3
);
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (bool)(arg1
)->MoveUp(arg2
,arg3
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10150 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
= 0;
10152 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10153 int arg2
= (int) 1 ;
10154 int arg3
= (int) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 char * kwnames
[] = {
10166 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10174 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10177 if (!SWIG_IsOK(ecode2
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10180 arg2
= static_cast< int >(val2
);
10183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10184 if (!SWIG_IsOK(ecode3
)) {
10185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10187 arg3
= static_cast< int >(val3
);
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)(arg1
)->MoveDown(arg2
,arg3
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10204 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10207 int arg2
= (int) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 PyObject
* obj1
= 0 ;
10215 char * kwnames
[] = {
10216 (char *) "self",(char *) "flags", NULL
10219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10221 if (!SWIG_IsOK(res1
)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10224 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10227 if (!SWIG_IsOK(ecode2
)) {
10228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10230 arg2
= static_cast< int >(val2
);
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (bool)(arg1
)->MoveToLineEnd(arg2
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10247 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= 0;
10249 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10250 int arg2
= (int) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char * kwnames
[] = {
10259 (char *) "self",(char *) "flags", NULL
10262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10267 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10270 if (!SWIG_IsOK(ecode2
)) {
10271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10273 arg2
= static_cast< int >(val2
);
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (bool)(arg1
)->MoveToLineStart(arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10290 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
= 0;
10292 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10293 int arg2
= (int) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char * kwnames
[] = {
10302 (char *) "self",(char *) "flags", NULL
10305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) 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_MoveToParagraphEnd" "', 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_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10316 arg2
= static_cast< int >(val2
);
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)(arg1
)->MoveToParagraphEnd(arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
= 0;
10335 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10336 int arg2
= (int) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "flags", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10353 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10356 if (!SWIG_IsOK(ecode2
)) {
10357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10359 arg2
= static_cast< int >(val2
);
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)(arg1
)->MoveToParagraphStart(arg2
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10376 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10379 int arg2
= (int) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 char * kwnames
[] = {
10388 (char *) "self",(char *) "flags", NULL
10391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10393 if (!SWIG_IsOK(res1
)) {
10394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10396 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10399 if (!SWIG_IsOK(ecode2
)) {
10400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10402 arg2
= static_cast< int >(val2
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (bool)(arg1
)->MoveHome(arg2
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10419 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10422 int arg2
= (int) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 char * kwnames
[] = {
10431 (char *) "self",(char *) "flags", NULL
10434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10436 if (!SWIG_IsOK(res1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10439 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10442 if (!SWIG_IsOK(ecode2
)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10445 arg2
= static_cast< int >(val2
);
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (bool)(arg1
)->MoveEnd(arg2
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10462 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
= 0;
10464 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10465 int arg2
= (int) 1 ;
10466 int arg3
= (int) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 PyObject
* obj2
= 0 ;
10477 char * kwnames
[] = {
10478 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10483 if (!SWIG_IsOK(res1
)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10486 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10489 if (!SWIG_IsOK(ecode2
)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10492 arg2
= static_cast< int >(val2
);
10495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10496 if (!SWIG_IsOK(ecode3
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10499 arg3
= static_cast< int >(val3
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (bool)(arg1
)->PageUp(arg2
,arg3
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10516 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
= 0;
10518 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10519 int arg2
= (int) 1 ;
10520 int arg3
= (int) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 PyObject
* obj1
= 0 ;
10530 PyObject
* obj2
= 0 ;
10531 char * kwnames
[] = {
10532 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10537 if (!SWIG_IsOK(res1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10540 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10543 if (!SWIG_IsOK(ecode2
)) {
10544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10546 arg2
= static_cast< int >(val2
);
10549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10550 if (!SWIG_IsOK(ecode3
)) {
10551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10553 arg3
= static_cast< int >(val3
);
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (bool)(arg1
)->PageDown(arg2
,arg3
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10570 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10573 int arg2
= (int) 1 ;
10574 int arg3
= (int) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 PyObject
* obj2
= 0 ;
10585 char * kwnames
[] = {
10586 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10591 if (!SWIG_IsOK(res1
)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10594 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10597 if (!SWIG_IsOK(ecode2
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10600 arg2
= static_cast< int >(val2
);
10603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10604 if (!SWIG_IsOK(ecode3
)) {
10605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10607 arg3
= static_cast< int >(val3
);
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (bool)(arg1
)->WordLeft(arg2
,arg3
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10624 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= 0;
10626 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10627 int arg2
= (int) 1 ;
10628 int arg3
= (int) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 PyObject
* obj1
= 0 ;
10638 PyObject
* obj2
= 0 ;
10639 char * kwnames
[] = {
10640 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10645 if (!SWIG_IsOK(res1
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10648 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10651 if (!SWIG_IsOK(ecode2
)) {
10652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10654 arg2
= static_cast< int >(val2
);
10657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10658 if (!SWIG_IsOK(ecode3
)) {
10659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10661 arg3
= static_cast< int >(val3
);
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (bool)(arg1
)->WordRight(arg2
,arg3
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10678 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10679 PyObject
*resultobj
= 0;
10680 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10681 wxRichTextBuffer
*result
= 0 ;
10684 PyObject
*swig_obj
[1] ;
10686 if (!args
) SWIG_fail
;
10687 swig_obj
[0] = args
;
10688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10692 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 wxRichTextBuffer
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetBuffer();
10697 result
= (wxRichTextBuffer
*) &_result_ref
;
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 | 0 );
10709 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
= 0;
10711 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10712 wxString
*arg2
= 0 ;
10716 bool temp2
= false ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char * kwnames
[] = {
10720 (char *) "self",(char *) "cmdName", NULL
10723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10725 if (!SWIG_IsOK(res1
)) {
10726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10728 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10730 arg2
= wxString_in_helper(obj1
);
10731 if (arg2
== NULL
) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)(arg1
)->BeginBatchUndo((wxString
const &)*arg2
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10757 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10758 PyObject
*resultobj
= 0;
10759 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10763 PyObject
*swig_obj
[1] ;
10765 if (!args
) SWIG_fail
;
10766 swig_obj
[0] = args
;
10767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10771 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (bool)(arg1
)->EndBatchUndo();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BatchingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10788 PyObject
*resultobj
= 0;
10789 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10793 PyObject
*swig_obj
[1] ;
10795 if (!args
) SWIG_fail
;
10796 swig_obj
[0] = args
;
10797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10798 if (!SWIG_IsOK(res1
)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10801 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (bool)((wxRichTextCtrl
const *)arg1
)->BatchingUndo();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10817 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10818 PyObject
*resultobj
= 0;
10819 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10823 PyObject
*swig_obj
[1] ;
10825 if (!args
) SWIG_fail
;
10826 swig_obj
[0] = args
;
10827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10831 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 result
= (bool)(arg1
)->BeginSuppressUndo();
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10847 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10848 PyObject
*resultobj
= 0;
10849 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10853 PyObject
*swig_obj
[1] ;
10855 if (!args
) SWIG_fail
;
10856 swig_obj
[0] = args
;
10857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10861 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (bool)(arg1
)->EndSuppressUndo();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10877 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SuppressingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10878 PyObject
*resultobj
= 0;
10879 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10883 PyObject
*swig_obj
[1] ;
10885 if (!args
) SWIG_fail
;
10886 swig_obj
[0] = args
;
10887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10891 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (bool)((wxRichTextCtrl
const *)arg1
)->SuppressingUndo();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10907 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
= 0;
10909 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10910 wxRichTextRange
*arg2
= 0 ;
10911 wxRichTextAttr
*arg3
= 0 ;
10915 wxRichTextRange temp2
;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 PyObject
* obj2
= 0 ;
10921 char * kwnames
[] = {
10922 (char *) "self",(char *) "range",(char *) "style", NULL
10925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10927 if (!SWIG_IsOK(res1
)) {
10928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10930 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10933 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
10936 if (!SWIG_IsOK(res3
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10942 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasCharacterAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
= 0;
10960 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10961 wxRichTextRange
*arg2
= 0 ;
10962 wxRichTextAttr
*arg3
= 0 ;
10966 wxRichTextRange temp2
;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 PyObject
* obj2
= 0 ;
10972 char * kwnames
[] = {
10973 (char *) "self",(char *) "range",(char *) "style", NULL
10976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10981 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10984 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10986 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
10987 if (!SWIG_IsOK(res3
)) {
10988 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10993 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasParagraphAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11010 PyObject
*resultobj
= 0;
11011 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11015 PyObject
*swig_obj
[1] ;
11017 if (!args
) SWIG_fail
;
11018 swig_obj
[0] = args
;
11019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11023 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionBold();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11040 PyObject
*resultobj
= 0;
11041 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11045 PyObject
*swig_obj
[1] ;
11047 if (!args
) SWIG_fail
;
11048 swig_obj
[0] = args
;
11049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11053 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionItalics();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11070 PyObject
*resultobj
= 0;
11071 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11075 PyObject
*swig_obj
[1] ;
11077 if (!args
) SWIG_fail
;
11078 swig_obj
[0] = args
;
11079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11083 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionUnderlined();
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
= 0;
11101 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11102 wxTextAttrAlignment arg2
;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char * kwnames
[] = {
11111 (char *) "self",(char *) "alignment", NULL
11114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11119 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11121 if (!SWIG_IsOK(ecode2
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11124 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionAligned(arg2
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11140 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11141 PyObject
*resultobj
= 0;
11142 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11146 PyObject
*swig_obj
[1] ;
11148 if (!args
) SWIG_fail
;
11149 swig_obj
[0] = args
;
11150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11151 if (!SWIG_IsOK(res1
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11154 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)(arg1
)->ApplyBoldToSelection();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11171 PyObject
*resultobj
= 0;
11172 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11176 PyObject
*swig_obj
[1] ;
11178 if (!args
) SWIG_fail
;
11179 swig_obj
[0] = args
;
11180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11184 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (bool)(arg1
)->ApplyItalicToSelection();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11201 PyObject
*resultobj
= 0;
11202 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11206 PyObject
*swig_obj
[1] ;
11208 if (!args
) SWIG_fail
;
11209 swig_obj
[0] = args
;
11210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11214 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)(arg1
)->ApplyUnderlineToSelection();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
= 0;
11232 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11233 wxTextAttrAlignment arg2
;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 char * kwnames
[] = {
11242 (char *) "self",(char *) "alignment", NULL
11245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11247 if (!SWIG_IsOK(res1
)) {
11248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11250 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11252 if (!SWIG_IsOK(ecode2
)) {
11253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11255 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11271 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
= 0;
11273 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11274 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char * kwnames
[] = {
11282 (char *) "self",(char *) "styleSheet", NULL
11285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11287 if (!SWIG_IsOK(res1
)) {
11288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11290 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11292 if (!SWIG_IsOK(res2
)) {
11293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11295 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetStyleSheet(arg2
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_Py_Void();
11309 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 PyObject
*resultobj
= 0;
11311 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11312 wxRichTextStyleSheet
*result
= 0 ;
11315 PyObject
*swig_obj
[1] ;
11317 if (!args
) SWIG_fail
;
11318 swig_obj
[0] = args
;
11319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11320 if (!SWIG_IsOK(res1
)) {
11321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11323 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (wxRichTextStyleSheet
*)((wxRichTextCtrl
const *)arg1
)->GetStyleSheet();
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11337 SWIGINTERN PyObject
*RichTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11340 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
));
11341 return SWIG_Py_Void();
11344 SWIGINTERN PyObject
*RichTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11345 return SWIG_Python_InitShadowInstance(args
);
11348 SWIGINTERN PyObject
*_wrap_new_RichTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
= 0;
11350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11351 int arg2
= (int) 0 ;
11352 wxRichTextEvent
*result
= 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 char * kwnames
[] = {
11360 (char *) "commandType",(char *) "winid", NULL
11363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11366 if (!SWIG_IsOK(ecode1
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11369 arg1
= static_cast< wxEventType
>(val1
);
11372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11373 if (!SWIG_IsOK(ecode2
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11376 arg2
= static_cast< int >(val2
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (wxRichTextEvent
*)new wxRichTextEvent(arg1
,arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW
| 0 );
11391 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11392 PyObject
*resultobj
= 0;
11393 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11397 PyObject
*swig_obj
[1] ;
11399 if (!args
) SWIG_fail
;
11400 swig_obj
[0] = args
;
11401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11405 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (int)((wxRichTextEvent
const *)arg1
)->GetIndex();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_From_int(static_cast< int >(result
));
11419 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
= 0;
11421 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "self",(char *) "n", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11438 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11440 if (!SWIG_IsOK(ecode2
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11443 arg2
= static_cast< int >(val2
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->SetIndex(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_Py_Void();
11457 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11471 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (int)((wxRichTextEvent
const *)arg1
)->GetFlags();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_int(static_cast< int >(result
));
11485 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
= 0;
11487 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "self",(char *) "flags", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11504 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11506 if (!SWIG_IsOK(ecode2
)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11509 arg2
= static_cast< int >(val2
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SetFlags(arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_Py_Void();
11523 SWIGINTERN PyObject
*RichTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11526 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
));
11527 return SWIG_Py_Void();
11530 SWIGINTERN PyObject
*RichTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 return SWIG_Python_InitShadowInstance(args
);
11534 static PyMethodDef SwigMethods
[] = {
11535 { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11536 { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
},
11537 { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11538 { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11539 { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11540 { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11541 { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11542 { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
},
11543 { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11544 { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
},
11545 { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11546 { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11547 { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11548 { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11549 { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
},
11550 { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
},
11551 { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
},
11552 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
},
11553 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
},
11554 { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11555 { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
},
11556 { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
},
11557 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11558 { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11559 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11560 { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11561 { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11562 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11563 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11564 { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11565 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11566 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11567 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11568 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11569 { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11570 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11571 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11572 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11573 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11574 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11575 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11576 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11577 { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11578 { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
},
11579 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
},
11580 { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
},
11581 { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
},
11582 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
},
11583 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
},
11584 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
},
11585 { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
},
11586 { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
},
11587 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
},
11588 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
},
11589 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
},
11590 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
},
11591 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
},
11592 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
},
11593 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
},
11594 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
},
11595 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
},
11596 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
},
11597 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
},
11598 { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
},
11599 { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
},
11600 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
},
11601 { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
},
11602 { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
},
11603 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
},
11604 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
},
11605 { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
},
11606 { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
},
11607 { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
},
11608 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
},
11609 { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
},
11610 { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
},
11611 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
},
11612 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
},
11613 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
},
11614 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
},
11615 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
},
11616 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
},
11617 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
},
11618 { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
},
11619 { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11620 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
},
11621 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
},
11622 { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
},
11623 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
},
11624 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
},
11625 { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11626 { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
},
11627 { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11628 { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
},
11629 { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11630 { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11631 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11632 { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11633 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
},
11634 { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
},
11635 { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
},
11636 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
},
11637 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
},
11638 { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
},
11639 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
},
11640 { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
},
11641 { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11642 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11643 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
},
11644 { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
},
11645 { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11646 { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11647 { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11648 { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11649 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
},
11650 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
},
11651 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11652 { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11653 { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11654 { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11655 { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11656 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11657 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
},
11658 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11659 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11660 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11661 { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11662 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11663 { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
},
11664 { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
},
11665 { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
},
11666 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
},
11667 { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
},
11668 { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
},
11669 { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
},
11670 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
},
11671 { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
},
11672 { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
},
11673 { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
},
11674 { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
},
11675 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11676 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
11677 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
},
11678 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
},
11679 { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11680 { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
},
11681 { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11682 { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
},
11683 { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11684 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11685 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11686 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11687 { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
},
11688 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11689 { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
},
11690 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
},
11691 { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
},
11692 { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
},
11693 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
},
11694 { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
},
11695 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
},
11696 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
},
11697 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11698 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
},
11699 { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11700 { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
},
11701 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11702 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
},
11703 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11704 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
},
11705 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11706 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
},
11707 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11708 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
},
11709 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11710 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
},
11711 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11712 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
},
11713 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11714 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
},
11715 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11716 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
},
11717 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11718 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
},
11719 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11720 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
},
11721 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
},
11722 { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
},
11723 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
},
11724 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11725 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11726 { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11727 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11728 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11729 { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11730 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11731 { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11732 { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11733 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11734 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11735 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11736 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11737 { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11738 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11739 { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11740 { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11741 { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11742 { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11743 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
},
11744 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11745 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
},
11746 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
},
11747 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
},
11748 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
},
11749 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
},
11750 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11751 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11752 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
},
11753 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
},
11754 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
},
11755 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11756 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
},
11757 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
},
11758 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
},
11759 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11760 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11761 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
},
11762 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
},
11763 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
},
11764 { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11765 { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
},
11766 { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11767 { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
},
11768 { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11769 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
},
11770 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
},
11771 { NULL
, NULL
, 0, NULL
}
11775 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11777 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11778 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11780 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11781 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11783 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11784 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11786 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11787 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11789 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11790 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11792 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11793 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11795 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) {
11796 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11798 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11799 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11801 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11802 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11804 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11805 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11807 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) {
11808 return (void *)((wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
11810 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
11811 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11813 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11814 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11816 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) {
11817 return (void *)((wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11819 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11820 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11822 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11823 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11825 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11826 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11828 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11829 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11831 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11832 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11834 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11835 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11837 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11838 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11840 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11843 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
11844 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11846 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11849 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11852 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11855 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11858 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11859 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11861 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11862 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11864 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11865 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11867 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
11870 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11871 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11873 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11874 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11876 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11877 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11879 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11880 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11882 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11883 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11885 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11886 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11888 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11889 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11891 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11892 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11894 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11895 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11897 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11898 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11900 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11901 return (void *)((wxWindow
*) ((wxControl
*) x
));
11903 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11906 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11907 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11909 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11910 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11912 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11913 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11915 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11916 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11918 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11919 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11921 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11922 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11924 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11925 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11927 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11928 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11930 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11931 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11933 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11934 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11936 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11937 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11939 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11940 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11942 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11943 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11945 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11946 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11948 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11951 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) {
11952 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11954 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
11955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11957 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
11958 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
11960 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
11961 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
11963 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
11964 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
11966 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
11967 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
11969 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
11970 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
11972 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
11973 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11975 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
11976 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
11978 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
11979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
11981 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
11982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11984 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
11985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11987 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
11988 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
11990 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
11991 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11993 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
11994 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
11996 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
11997 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11999 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
12000 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12002 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
12003 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
12005 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
12006 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
12008 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
12009 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
12011 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
12012 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
12014 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
12015 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
12017 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
12018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
12020 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
12021 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12023 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
12024 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
12026 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
12027 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
12029 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) {
12030 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12032 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
12033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12035 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
12036 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12038 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
12039 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12041 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
12042 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12044 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
12045 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12047 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
12048 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
12050 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
12051 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
12053 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
12054 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12056 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
12057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
12059 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
12060 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12062 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
12063 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
12065 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
12066 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
12068 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
12069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12071 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
12072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12074 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
12075 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12077 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
12078 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
12080 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
12081 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
12083 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
12084 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12086 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12087 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12089 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12090 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12092 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12095 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12098 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12099 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12101 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12102 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12104 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12105 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12107 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12108 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12110 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12111 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12113 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12114 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12116 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12117 return (void *)((wxObject
*) ((wxSizer
*) x
));
12119 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12120 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12122 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12125 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12128 static void *_p_wxEventTo_p_wxObject(void *x
) {
12129 return (void *)((wxObject
*) ((wxEvent
*) x
));
12131 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12132 return (void *)((wxObject
*) ((wxFontData
*) x
));
12134 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12135 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12137 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12138 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12140 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12141 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12143 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12144 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12146 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12147 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12149 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12150 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12152 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12155 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
12156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12158 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12159 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12161 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12162 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12164 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) {
12165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12167 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12168 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12170 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12171 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12173 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12174 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12176 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12177 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12179 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12182 static void *_p_wxControlTo_p_wxObject(void *x
) {
12183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12185 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12186 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12188 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12191 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12192 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12194 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12195 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12197 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12198 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12200 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12203 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) {
12204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12206 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12207 return (void *)((wxObject
*) ((wxColourData
*) x
));
12209 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12210 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12212 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12213 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12215 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12218 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12221 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12224 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12227 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12230 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12233 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12236 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12239 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12242 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12245 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12246 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12248 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12249 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12251 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12252 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12254 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12257 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12258 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12260 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12263 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12264 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12266 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12267 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12269 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12270 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12272 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12273 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12275 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12276 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12278 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12279 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12281 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12282 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12284 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12287 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12290 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12293 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12296 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12297 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12299 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12300 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12302 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12303 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12305 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12308 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12309 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12311 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12312 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12314 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12315 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12317 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12320 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12321 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12323 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12324 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12326 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12329 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12332 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12333 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12335 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12336 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12338 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12341 static void *_p_wxImageTo_p_wxObject(void *x
) {
12342 return (void *)((wxObject
*) ((wxImage
*) x
));
12344 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12347 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12348 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12350 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12351 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12353 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12354 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12356 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12359 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12362 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12365 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12366 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12368 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12369 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12371 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12372 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12374 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12375 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12377 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12380 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12383 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12386 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12389 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12392 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12395 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12398 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12401 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12404 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12407 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12410 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12413 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12416 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12419 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12420 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12422 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12423 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12425 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12428 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12431 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12434 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12437 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12440 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12441 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
12443 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12444 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12446 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12447 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12449 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12452 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12453 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12455 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12456 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12458 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12459 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12461 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12462 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12464 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12465 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12467 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12470 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12471 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12473 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12476 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12479 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12480 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12482 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12483 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12485 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12488 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12491 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12492 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12494 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12495 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12497 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12500 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12501 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12503 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12506 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12509 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12512 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12513 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12515 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12516 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12518 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12519 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12521 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12522 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12524 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12527 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12530 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12533 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12536 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12539 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12542 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12545 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12548 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12549 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12551 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12552 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12554 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12557 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
12560 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12563 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12564 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12566 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12569 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12570 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12572 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12573 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12575 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12578 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12579 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12581 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12584 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12585 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12587 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12588 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12590 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12593 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12594 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12596 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12599 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12602 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12605 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12606 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12608 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12611 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12612 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12614 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12617 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12620 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12623 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12626 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12629 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12630 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12632 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12635 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12638 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12641 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12644 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12647 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12650 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) {
12651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12653 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
12654 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
12656 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
12657 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12659 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
12660 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12662 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) {
12663 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12665 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
12666 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12668 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
12669 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
12671 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
12672 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12674 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
12675 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12677 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
12678 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12680 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
12681 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
12683 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
12684 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12686 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
12687 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12689 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
12690 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12692 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
12693 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12695 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
12696 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};
12697 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
12698 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
12699 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12700 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12701 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12702 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
12703 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12704 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
12705 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12706 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12707 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12709 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12713 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12717 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12718 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12719 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12720 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12721 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12751 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12797 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12798 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
12799 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
12800 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12801 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12802 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12803 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12804 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12805 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12806 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12807 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
12808 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12809 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
12810 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
12811 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12812 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12813 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12814 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
12815 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12816 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
12817 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
12818 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
12819 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12820 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12821 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12822 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12823 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12824 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12825 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12826 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12827 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12828 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12829 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12830 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12831 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12832 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12833 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12834 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12835 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12836 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12837 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12838 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12839 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12840 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12841 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12842 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12843 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12844 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12845 static swig_type_info _swigt__p_wxRichTextAttr
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
12846 static swig_type_info _swigt__p_wxRichTextBuffer
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
12847 static swig_type_info _swigt__p_wxRichTextCtrl
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
12848 static swig_type_info _swigt__p_wxRichTextEvent
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
12849 static swig_type_info _swigt__p_wxRichTextImageBlock
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
12850 static swig_type_info _swigt__p_wxRichTextRange
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
12851 static swig_type_info _swigt__p_wxRichTextStyleSheet
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
12852 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12853 static swig_type_info _swigt__p_wxTextCoord
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
12854 static swig_type_info _swigt__p_wxTextCtrlHitTestResult
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
12855 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12857 static swig_type_info
*swig_type_initial
[] = {
12859 &_swigt__p_form_ops_t
,
12862 &_swigt__p_unsigned_char
,
12863 &_swigt__p_unsigned_int
,
12864 &_swigt__p_unsigned_long
,
12865 &_swigt__p_wxANIHandler
,
12866 &_swigt__p_wxAcceleratorTable
,
12867 &_swigt__p_wxActivateEvent
,
12868 &_swigt__p_wxArrayInt
,
12869 &_swigt__p_wxBMPHandler
,
12870 &_swigt__p_wxBitmap
,
12871 &_swigt__p_wxBoxSizer
,
12872 &_swigt__p_wxCURHandler
,
12873 &_swigt__p_wxCalculateLayoutEvent
,
12875 &_swigt__p_wxChildFocusEvent
,
12876 &_swigt__p_wxClipboardTextEvent
,
12877 &_swigt__p_wxCloseEvent
,
12878 &_swigt__p_wxColour
,
12879 &_swigt__p_wxColourData
,
12880 &_swigt__p_wxColourDialog
,
12881 &_swigt__p_wxCommandEvent
,
12882 &_swigt__p_wxContextMenuEvent
,
12883 &_swigt__p_wxControl
,
12884 &_swigt__p_wxControlWithItems
,
12885 &_swigt__p_wxDateEvent
,
12886 &_swigt__p_wxDialog
,
12887 &_swigt__p_wxDirDialog
,
12888 &_swigt__p_wxDisplayChangedEvent
,
12889 &_swigt__p_wxDropFilesEvent
,
12890 &_swigt__p_wxDuplexMode
,
12891 &_swigt__p_wxEraseEvent
,
12892 &_swigt__p_wxEvent
,
12893 &_swigt__p_wxEvtHandler
,
12894 &_swigt__p_wxFSFile
,
12895 &_swigt__p_wxFileDialog
,
12896 &_swigt__p_wxFileSystem
,
12897 &_swigt__p_wxFindDialogEvent
,
12898 &_swigt__p_wxFindReplaceData
,
12899 &_swigt__p_wxFindReplaceDialog
,
12900 &_swigt__p_wxFlexGridSizer
,
12901 &_swigt__p_wxFocusEvent
,
12903 &_swigt__p_wxFontData
,
12904 &_swigt__p_wxFontDialog
,
12905 &_swigt__p_wxFrame
,
12906 &_swigt__p_wxGBSizerItem
,
12907 &_swigt__p_wxGIFHandler
,
12908 &_swigt__p_wxGridBagSizer
,
12909 &_swigt__p_wxGridSizer
,
12910 &_swigt__p_wxICOHandler
,
12911 &_swigt__p_wxIconizeEvent
,
12912 &_swigt__p_wxIdleEvent
,
12913 &_swigt__p_wxImage
,
12914 &_swigt__p_wxImageHandler
,
12915 &_swigt__p_wxIndividualLayoutConstraint
,
12916 &_swigt__p_wxInitDialogEvent
,
12917 &_swigt__p_wxJPEGHandler
,
12918 &_swigt__p_wxKeyEvent
,
12919 &_swigt__p_wxLayoutAlgorithm
,
12920 &_swigt__p_wxLayoutConstraints
,
12921 &_swigt__p_wxMDIChildFrame
,
12922 &_swigt__p_wxMDIClientWindow
,
12923 &_swigt__p_wxMDIParentFrame
,
12924 &_swigt__p_wxMaximizeEvent
,
12926 &_swigt__p_wxMenuBar
,
12927 &_swigt__p_wxMenuEvent
,
12928 &_swigt__p_wxMenuItem
,
12929 &_swigt__p_wxMessageDialog
,
12930 &_swigt__p_wxMiniFrame
,
12931 &_swigt__p_wxMouseCaptureChangedEvent
,
12932 &_swigt__p_wxMouseEvent
,
12933 &_swigt__p_wxMoveEvent
,
12934 &_swigt__p_wxMultiChoiceDialog
,
12935 &_swigt__p_wxNavigationKeyEvent
,
12936 &_swigt__p_wxNcPaintEvent
,
12937 &_swigt__p_wxNotifyEvent
,
12938 &_swigt__p_wxObject
,
12939 &_swigt__p_wxPCXHandler
,
12940 &_swigt__p_wxPNGHandler
,
12941 &_swigt__p_wxPNMHandler
,
12942 &_swigt__p_wxPageSetupDialog
,
12943 &_swigt__p_wxPageSetupDialogData
,
12944 &_swigt__p_wxPaintEvent
,
12945 &_swigt__p_wxPaletteChangedEvent
,
12946 &_swigt__p_wxPanel
,
12947 &_swigt__p_wxPaperSize
,
12948 &_swigt__p_wxPasswordEntryDialog
,
12949 &_swigt__p_wxPopupWindow
,
12950 &_swigt__p_wxPreviewCanvas
,
12951 &_swigt__p_wxPreviewControlBar
,
12952 &_swigt__p_wxPreviewFrame
,
12953 &_swigt__p_wxPrintData
,
12954 &_swigt__p_wxPrintDialog
,
12955 &_swigt__p_wxPrintDialogData
,
12956 &_swigt__p_wxPrintPreview
,
12957 &_swigt__p_wxPrinter
,
12958 &_swigt__p_wxProgressDialog
,
12959 &_swigt__p_wxPyApp
,
12960 &_swigt__p_wxPyCommandEvent
,
12961 &_swigt__p_wxPyEvent
,
12962 &_swigt__p_wxPyHtmlListBox
,
12963 &_swigt__p_wxPyImageHandler
,
12964 &_swigt__p_wxPyPanel
,
12965 &_swigt__p_wxPyPopupTransientWindow
,
12966 &_swigt__p_wxPyPreviewControlBar
,
12967 &_swigt__p_wxPyPreviewFrame
,
12968 &_swigt__p_wxPyPrintPreview
,
12969 &_swigt__p_wxPyPrintout
,
12970 &_swigt__p_wxPyScrolledWindow
,
12971 &_swigt__p_wxPySizer
,
12972 &_swigt__p_wxPyTaskBarIcon
,
12973 &_swigt__p_wxPyVListBox
,
12974 &_swigt__p_wxPyVScrolledWindow
,
12975 &_swigt__p_wxPyValidator
,
12976 &_swigt__p_wxPyWindow
,
12977 &_swigt__p_wxQueryLayoutInfoEvent
,
12978 &_swigt__p_wxQueryNewPaletteEvent
,
12979 &_swigt__p_wxRichTextAttr
,
12980 &_swigt__p_wxRichTextBuffer
,
12981 &_swigt__p_wxRichTextCtrl
,
12982 &_swigt__p_wxRichTextEvent
,
12983 &_swigt__p_wxRichTextImageBlock
,
12984 &_swigt__p_wxRichTextRange
,
12985 &_swigt__p_wxRichTextStyleSheet
,
12986 &_swigt__p_wxSashEvent
,
12987 &_swigt__p_wxSashLayoutWindow
,
12988 &_swigt__p_wxSashWindow
,
12989 &_swigt__p_wxScrollEvent
,
12990 &_swigt__p_wxScrollWinEvent
,
12991 &_swigt__p_wxScrolledWindow
,
12992 &_swigt__p_wxSetCursorEvent
,
12993 &_swigt__p_wxShowEvent
,
12994 &_swigt__p_wxSingleChoiceDialog
,
12995 &_swigt__p_wxSizeEvent
,
12996 &_swigt__p_wxSizer
,
12997 &_swigt__p_wxSizerItem
,
12998 &_swigt__p_wxSplashScreen
,
12999 &_swigt__p_wxSplashScreenWindow
,
13000 &_swigt__p_wxSplitterEvent
,
13001 &_swigt__p_wxSplitterWindow
,
13002 &_swigt__p_wxStaticBoxSizer
,
13003 &_swigt__p_wxStatusBar
,
13004 &_swigt__p_wxStdDialogButtonSizer
,
13005 &_swigt__p_wxSysColourChangedEvent
,
13006 &_swigt__p_wxTIFFHandler
,
13007 &_swigt__p_wxTaskBarIconEvent
,
13008 &_swigt__p_wxTextCoord
,
13009 &_swigt__p_wxTextCtrlHitTestResult
,
13010 &_swigt__p_wxTextEntryDialog
,
13011 &_swigt__p_wxTipWindow
,
13012 &_swigt__p_wxTopLevelWindow
,
13013 &_swigt__p_wxUpdateUIEvent
,
13014 &_swigt__p_wxValidator
,
13015 &_swigt__p_wxWindow
,
13016 &_swigt__p_wxWindowCreateEvent
,
13017 &_swigt__p_wxWindowDestroyEvent
,
13018 &_swigt__p_wxXPMHandler
,
13021 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
13022 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
13023 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
13024 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
13025 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
13026 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
13027 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
13028 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
13029 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13030 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
13031 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
13032 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
13033 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13034 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
13035 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13036 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
13037 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
13038 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13039 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13040 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13041 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13042 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13043 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13044 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}};
13045 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13046 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13047 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13048 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13049 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13050 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13051 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13052 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13053 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13054 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13055 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13056 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13057 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13058 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13059 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13060 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13061 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13062 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13063 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13070 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13071 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13075 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13080 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
13081 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13083 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13084 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13085 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13087 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13088 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13099 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
13105 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13110 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13111 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13122 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_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_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}};
13123 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13125 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}};
13126 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13127 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13128 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13130 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13131 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13132 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13134 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13136 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13137 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13139 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13140 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13141 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13142 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13143 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13144 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13145 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13146 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13147 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13148 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13149 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13150 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13151 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13152 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13153 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13154 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13155 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13156 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13157 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13158 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13159 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13160 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13161 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13162 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13163 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13164 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13165 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13166 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13167 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13168 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRichTextEvent
, _p_wxRichTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRichTextCtrl
, _p_wxRichTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_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_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
13169 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}};
13170 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13171 static swig_cast_info _swigc__p_wxRichTextAttr
[] = { {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
13172 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = { {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}};
13173 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = { {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13174 static swig_cast_info _swigc__p_wxRichTextEvent
[] = { {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13175 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = { {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}};
13176 static swig_cast_info _swigc__p_wxRichTextRange
[] = { {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}};
13177 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = { {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}};
13178 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}};
13179 static swig_cast_info _swigc__p_wxTextCoord
[] = { {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = { {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}};
13181 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_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}};
13183 static swig_cast_info
*swig_cast_initial
[] = {
13185 _swigc__p_form_ops_t
,
13188 _swigc__p_unsigned_char
,
13189 _swigc__p_unsigned_int
,
13190 _swigc__p_unsigned_long
,
13191 _swigc__p_wxANIHandler
,
13192 _swigc__p_wxAcceleratorTable
,
13193 _swigc__p_wxActivateEvent
,
13194 _swigc__p_wxArrayInt
,
13195 _swigc__p_wxBMPHandler
,
13196 _swigc__p_wxBitmap
,
13197 _swigc__p_wxBoxSizer
,
13198 _swigc__p_wxCURHandler
,
13199 _swigc__p_wxCalculateLayoutEvent
,
13201 _swigc__p_wxChildFocusEvent
,
13202 _swigc__p_wxClipboardTextEvent
,
13203 _swigc__p_wxCloseEvent
,
13204 _swigc__p_wxColour
,
13205 _swigc__p_wxColourData
,
13206 _swigc__p_wxColourDialog
,
13207 _swigc__p_wxCommandEvent
,
13208 _swigc__p_wxContextMenuEvent
,
13209 _swigc__p_wxControl
,
13210 _swigc__p_wxControlWithItems
,
13211 _swigc__p_wxDateEvent
,
13212 _swigc__p_wxDialog
,
13213 _swigc__p_wxDirDialog
,
13214 _swigc__p_wxDisplayChangedEvent
,
13215 _swigc__p_wxDropFilesEvent
,
13216 _swigc__p_wxDuplexMode
,
13217 _swigc__p_wxEraseEvent
,
13219 _swigc__p_wxEvtHandler
,
13220 _swigc__p_wxFSFile
,
13221 _swigc__p_wxFileDialog
,
13222 _swigc__p_wxFileSystem
,
13223 _swigc__p_wxFindDialogEvent
,
13224 _swigc__p_wxFindReplaceData
,
13225 _swigc__p_wxFindReplaceDialog
,
13226 _swigc__p_wxFlexGridSizer
,
13227 _swigc__p_wxFocusEvent
,
13229 _swigc__p_wxFontData
,
13230 _swigc__p_wxFontDialog
,
13232 _swigc__p_wxGBSizerItem
,
13233 _swigc__p_wxGIFHandler
,
13234 _swigc__p_wxGridBagSizer
,
13235 _swigc__p_wxGridSizer
,
13236 _swigc__p_wxICOHandler
,
13237 _swigc__p_wxIconizeEvent
,
13238 _swigc__p_wxIdleEvent
,
13240 _swigc__p_wxImageHandler
,
13241 _swigc__p_wxIndividualLayoutConstraint
,
13242 _swigc__p_wxInitDialogEvent
,
13243 _swigc__p_wxJPEGHandler
,
13244 _swigc__p_wxKeyEvent
,
13245 _swigc__p_wxLayoutAlgorithm
,
13246 _swigc__p_wxLayoutConstraints
,
13247 _swigc__p_wxMDIChildFrame
,
13248 _swigc__p_wxMDIClientWindow
,
13249 _swigc__p_wxMDIParentFrame
,
13250 _swigc__p_wxMaximizeEvent
,
13252 _swigc__p_wxMenuBar
,
13253 _swigc__p_wxMenuEvent
,
13254 _swigc__p_wxMenuItem
,
13255 _swigc__p_wxMessageDialog
,
13256 _swigc__p_wxMiniFrame
,
13257 _swigc__p_wxMouseCaptureChangedEvent
,
13258 _swigc__p_wxMouseEvent
,
13259 _swigc__p_wxMoveEvent
,
13260 _swigc__p_wxMultiChoiceDialog
,
13261 _swigc__p_wxNavigationKeyEvent
,
13262 _swigc__p_wxNcPaintEvent
,
13263 _swigc__p_wxNotifyEvent
,
13264 _swigc__p_wxObject
,
13265 _swigc__p_wxPCXHandler
,
13266 _swigc__p_wxPNGHandler
,
13267 _swigc__p_wxPNMHandler
,
13268 _swigc__p_wxPageSetupDialog
,
13269 _swigc__p_wxPageSetupDialogData
,
13270 _swigc__p_wxPaintEvent
,
13271 _swigc__p_wxPaletteChangedEvent
,
13273 _swigc__p_wxPaperSize
,
13274 _swigc__p_wxPasswordEntryDialog
,
13275 _swigc__p_wxPopupWindow
,
13276 _swigc__p_wxPreviewCanvas
,
13277 _swigc__p_wxPreviewControlBar
,
13278 _swigc__p_wxPreviewFrame
,
13279 _swigc__p_wxPrintData
,
13280 _swigc__p_wxPrintDialog
,
13281 _swigc__p_wxPrintDialogData
,
13282 _swigc__p_wxPrintPreview
,
13283 _swigc__p_wxPrinter
,
13284 _swigc__p_wxProgressDialog
,
13286 _swigc__p_wxPyCommandEvent
,
13287 _swigc__p_wxPyEvent
,
13288 _swigc__p_wxPyHtmlListBox
,
13289 _swigc__p_wxPyImageHandler
,
13290 _swigc__p_wxPyPanel
,
13291 _swigc__p_wxPyPopupTransientWindow
,
13292 _swigc__p_wxPyPreviewControlBar
,
13293 _swigc__p_wxPyPreviewFrame
,
13294 _swigc__p_wxPyPrintPreview
,
13295 _swigc__p_wxPyPrintout
,
13296 _swigc__p_wxPyScrolledWindow
,
13297 _swigc__p_wxPySizer
,
13298 _swigc__p_wxPyTaskBarIcon
,
13299 _swigc__p_wxPyVListBox
,
13300 _swigc__p_wxPyVScrolledWindow
,
13301 _swigc__p_wxPyValidator
,
13302 _swigc__p_wxPyWindow
,
13303 _swigc__p_wxQueryLayoutInfoEvent
,
13304 _swigc__p_wxQueryNewPaletteEvent
,
13305 _swigc__p_wxRichTextAttr
,
13306 _swigc__p_wxRichTextBuffer
,
13307 _swigc__p_wxRichTextCtrl
,
13308 _swigc__p_wxRichTextEvent
,
13309 _swigc__p_wxRichTextImageBlock
,
13310 _swigc__p_wxRichTextRange
,
13311 _swigc__p_wxRichTextStyleSheet
,
13312 _swigc__p_wxSashEvent
,
13313 _swigc__p_wxSashLayoutWindow
,
13314 _swigc__p_wxSashWindow
,
13315 _swigc__p_wxScrollEvent
,
13316 _swigc__p_wxScrollWinEvent
,
13317 _swigc__p_wxScrolledWindow
,
13318 _swigc__p_wxSetCursorEvent
,
13319 _swigc__p_wxShowEvent
,
13320 _swigc__p_wxSingleChoiceDialog
,
13321 _swigc__p_wxSizeEvent
,
13323 _swigc__p_wxSizerItem
,
13324 _swigc__p_wxSplashScreen
,
13325 _swigc__p_wxSplashScreenWindow
,
13326 _swigc__p_wxSplitterEvent
,
13327 _swigc__p_wxSplitterWindow
,
13328 _swigc__p_wxStaticBoxSizer
,
13329 _swigc__p_wxStatusBar
,
13330 _swigc__p_wxStdDialogButtonSizer
,
13331 _swigc__p_wxSysColourChangedEvent
,
13332 _swigc__p_wxTIFFHandler
,
13333 _swigc__p_wxTaskBarIconEvent
,
13334 _swigc__p_wxTextCoord
,
13335 _swigc__p_wxTextCtrlHitTestResult
,
13336 _swigc__p_wxTextEntryDialog
,
13337 _swigc__p_wxTipWindow
,
13338 _swigc__p_wxTopLevelWindow
,
13339 _swigc__p_wxUpdateUIEvent
,
13340 _swigc__p_wxValidator
,
13341 _swigc__p_wxWindow
,
13342 _swigc__p_wxWindowCreateEvent
,
13343 _swigc__p_wxWindowDestroyEvent
,
13344 _swigc__p_wxXPMHandler
,
13348 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13350 static swig_const_info swig_const_table
[] = {
13351 {0, 0, 0, 0.0, 0, 0}};
13356 /* -----------------------------------------------------------------------------
13357 * Type initialization:
13358 * This problem is tough by the requirement that no dynamic
13359 * memory is used. Also, since swig_type_info structures store pointers to
13360 * swig_cast_info structures and swig_cast_info structures store pointers back
13361 * to swig_type_info structures, we need some lookup code at initialization.
13362 * The idea is that swig generates all the structures that are needed.
13363 * The runtime then collects these partially filled structures.
13364 * The SWIG_InitializeModule function takes these initial arrays out of
13365 * swig_module, and does all the lookup, filling in the swig_module.types
13366 * array with the correct data and linking the correct swig_cast_info
13367 * structures together.
13369 * The generated swig_type_info structures are assigned staticly to an initial
13370 * array. We just loop though that array, and handle each type individually.
13371 * First we lookup if this type has been already loaded, and if so, use the
13372 * loaded structure instead of the generated one. Then we have to fill in the
13373 * cast linked list. The cast data is initially stored in something like a
13374 * two-dimensional array. Each row corresponds to a type (there are the same
13375 * number of rows as there are in the swig_type_initial array). Each entry in
13376 * a column is one of the swig_cast_info structures for that type.
13377 * The cast_initial array is actually an array of arrays, because each row has
13378 * a variable number of columns. So to actually build the cast linked list,
13379 * we find the array of casts associated with the type, and loop through it
13380 * adding the casts to the list. The one last trick we need to do is making
13381 * sure the type pointer in the swig_cast_info struct is correct.
13383 * First off, we lookup the cast->type name to see if it is already loaded.
13384 * There are three cases to handle:
13385 * 1) If the cast->type has already been loaded AND the type we are adding
13386 * casting info to has not been loaded (it is in this module), THEN we
13387 * replace the cast->type pointer with the type pointer that has already
13389 * 2) If BOTH types (the one we are adding casting info to, and the
13390 * cast->type) are loaded, THEN the cast info has already been loaded by
13391 * the previous module so we just ignore it.
13392 * 3) Finally, if cast->type has not already been loaded, then we add that
13393 * swig_cast_info to the linked list (because the cast->type) pointer will
13395 * ----------------------------------------------------------------------------- */
13405 #define SWIGRUNTIME_DEBUG
13409 SWIG_InitializeModule(void *clientdata
) {
13411 swig_module_info
*module_head
;
13412 static int init_run
= 0;
13414 clientdata
= clientdata
;
13416 if (init_run
) return;
13419 /* Initialize the swig_module */
13420 swig_module
.type_initial
= swig_type_initial
;
13421 swig_module
.cast_initial
= swig_cast_initial
;
13423 /* Try and load any already created modules */
13424 module_head
= SWIG_GetModule(clientdata
);
13426 swig_module
.next
= module_head
->next
;
13427 module_head
->next
= &swig_module
;
13429 /* This is the first module loaded */
13430 swig_module
.next
= &swig_module
;
13431 SWIG_SetModule(clientdata
, &swig_module
);
13434 /* Now work on filling in swig_module.types */
13435 #ifdef SWIGRUNTIME_DEBUG
13436 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
13438 for (i
= 0; i
< swig_module
.size
; ++i
) {
13439 swig_type_info
*type
= 0;
13440 swig_type_info
*ret
;
13441 swig_cast_info
*cast
;
13443 #ifdef SWIGRUNTIME_DEBUG
13444 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13447 /* if there is another module already loaded */
13448 if (swig_module
.next
!= &swig_module
) {
13449 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
13452 /* Overwrite clientdata field */
13453 #ifdef SWIGRUNTIME_DEBUG
13454 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
13456 if (swig_module
.type_initial
[i
]->clientdata
) {
13457 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
13458 #ifdef SWIGRUNTIME_DEBUG
13459 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
13463 type
= swig_module
.type_initial
[i
];
13466 /* Insert casting types */
13467 cast
= swig_module
.cast_initial
[i
];
13468 while (cast
->type
) {
13469 /* Don't need to add information already in the list */
13471 #ifdef SWIGRUNTIME_DEBUG
13472 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
13474 if (swig_module
.next
!= &swig_module
) {
13475 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
13476 #ifdef SWIGRUNTIME_DEBUG
13477 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
13481 if (type
== swig_module
.type_initial
[i
]) {
13482 #ifdef SWIGRUNTIME_DEBUG
13483 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
13488 /* Check for casting already in the list */
13489 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
13490 #ifdef SWIGRUNTIME_DEBUG
13491 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
13493 if (!ocast
) ret
= 0;
13498 #ifdef SWIGRUNTIME_DEBUG
13499 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
13502 type
->cast
->prev
= cast
;
13503 cast
->next
= type
->cast
;
13509 /* Set entry in modules->types array equal to the type */
13510 swig_module
.types
[i
] = type
;
13512 swig_module
.types
[i
] = 0;
13514 #ifdef SWIGRUNTIME_DEBUG
13515 printf("**** SWIG_InitializeModule: Cast List ******\n");
13516 for (i
= 0; i
< swig_module
.size
; ++i
) {
13518 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
13519 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13520 while (cast
->type
) {
13521 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
13525 printf("---- Total casts: %d\n",j
);
13527 printf("**** SWIG_InitializeModule: Cast List ******\n");
13531 /* This function will propagate the clientdata field of type to
13532 * any new swig_type_info structures that have been added into the list
13533 * of equivalent types. It is like calling
13534 * SWIG_TypeClientData(type, clientdata) a second time.
13537 SWIG_PropagateClientData(void) {
13539 swig_cast_info
*equiv
;
13540 static int init_run
= 0;
13542 if (init_run
) return;
13545 for (i
= 0; i
< swig_module
.size
; i
++) {
13546 if (swig_module
.types
[i
]->clientdata
) {
13547 equiv
= swig_module
.types
[i
]->cast
;
13549 if (!equiv
->converter
) {
13550 if (equiv
->type
&& !equiv
->type
->clientdata
)
13551 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
13553 equiv
= equiv
->next
;
13573 /* Python-specific SWIG API */
13574 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13575 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13576 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13578 /* -----------------------------------------------------------------------------
13579 * global variable support code.
13580 * ----------------------------------------------------------------------------- */
13582 typedef struct swig_globalvar
{
13583 char *name
; /* Name of global variable */
13584 PyObject
*(*get_attr
)(void); /* Return the current value */
13585 int (*set_attr
)(PyObject
*); /* Set the value */
13586 struct swig_globalvar
*next
;
13589 typedef struct swig_varlinkobject
{
13591 swig_globalvar
*vars
;
13592 } swig_varlinkobject
;
13594 SWIGINTERN PyObject
*
13595 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
13596 return PyString_FromString("<Swig global variables>");
13599 SWIGINTERN PyObject
*
13600 swig_varlink_str(swig_varlinkobject
*v
) {
13601 PyObject
*str
= PyString_FromString("(");
13602 swig_globalvar
*var
;
13603 for (var
= v
->vars
; var
; var
=var
->next
) {
13604 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
13605 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
13607 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
13612 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
13613 PyObject
*str
= swig_varlink_str(v
);
13614 fprintf(fp
,"Swig global variables ");
13615 fprintf(fp
,"%s\n", PyString_AsString(str
));
13621 swig_varlink_dealloc(swig_varlinkobject
*v
) {
13622 swig_globalvar
*var
= v
->vars
;
13624 swig_globalvar
*n
= var
->next
;
13631 SWIGINTERN PyObject
*
13632 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13633 PyObject
*res
= NULL
;
13634 swig_globalvar
*var
= v
->vars
;
13636 if (strcmp(var
->name
,n
) == 0) {
13637 res
= (*var
->get_attr
)();
13642 if (res
== NULL
&& !PyErr_Occurred()) {
13643 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13649 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13651 swig_globalvar
*var
= v
->vars
;
13653 if (strcmp(var
->name
,n
) == 0) {
13654 res
= (*var
->set_attr
)(p
);
13659 if (res
== 1 && !PyErr_Occurred()) {
13660 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13665 SWIGINTERN PyTypeObject
*
13666 swig_varlink_type(void) {
13667 static char varlink__doc__
[] = "Swig var link object";
13668 static PyTypeObject varlink_type
;
13669 static int type_init
= 0;
13671 const PyTypeObject tmp
13673 PyObject_HEAD_INIT(NULL
)
13674 0, /* Number of items in variable part (ob_size) */
13675 (char *)"swigvarlink", /* Type name (tp_name) */
13676 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13677 0, /* Itemsize (tp_itemsize) */
13678 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
13679 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13680 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13681 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13682 0, /* tp_compare */
13683 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13684 0, /* tp_as_number */
13685 0, /* tp_as_sequence */
13686 0, /* tp_as_mapping */
13689 (reprfunc
)swig_varlink_str
, /* tp_str */
13690 0, /* tp_getattro */
13691 0, /* tp_setattro */
13692 0, /* tp_as_buffer */
13694 varlink__doc__
, /* tp_doc */
13695 0, /* tp_traverse */
13697 0, /* tp_richcompare */
13698 0, /* tp_weaklistoffset */
13699 #if PY_VERSION_HEX >= 0x02020000
13700 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13702 #if PY_VERSION_HEX >= 0x02030000
13705 #ifdef COUNT_ALLOCS
13706 0,0,0,0 /* tp_alloc -> tp_next */
13709 varlink_type
= tmp
;
13710 varlink_type
.ob_type
= &PyType_Type
;
13713 return &varlink_type
;
13716 /* Create a variable linking object for use later */
13717 SWIGINTERN PyObject
*
13718 SWIG_Python_newvarlink(void) {
13719 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
13723 return ((PyObject
*) result
);
13727 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13728 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
13729 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13731 size_t size
= strlen(name
)+1;
13732 gv
->name
= (char *)malloc(size
);
13734 strncpy(gv
->name
,name
,size
);
13735 gv
->get_attr
= get_attr
;
13736 gv
->set_attr
= set_attr
;
13737 gv
->next
= v
->vars
;
13743 SWIGINTERN PyObject
*
13745 static PyObject
*_SWIG_globals
= 0;
13746 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
13747 return _SWIG_globals
;
13750 /* -----------------------------------------------------------------------------
13751 * constants/methods manipulation
13752 * ----------------------------------------------------------------------------- */
13754 /* Install Constants */
13756 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13759 for (i
= 0; constants
[i
].type
; ++i
) {
13760 switch(constants
[i
].type
) {
13761 case SWIG_PY_POINTER
:
13762 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13764 case SWIG_PY_BINARY
:
13765 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13772 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
13778 /* -----------------------------------------------------------------------------*/
13779 /* Fix SwigMethods to carry the callback ptrs when needed */
13780 /* -----------------------------------------------------------------------------*/
13783 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13784 swig_const_info
*const_table
,
13785 swig_type_info
**types
,
13786 swig_type_info
**types_initial
) {
13788 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13789 const char *c
= methods
[i
].ml_doc
;
13790 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13792 swig_const_info
*ci
= 0;
13793 const char *name
= c
+ 10;
13794 for (j
= 0; const_table
[j
].type
; ++j
) {
13795 if (strncmp(const_table
[j
].name
, name
,
13796 strlen(const_table
[j
].name
)) == 0) {
13797 ci
= &(const_table
[j
]);
13802 size_t shift
= (ci
->ptype
) - types
;
13803 swig_type_info
*ty
= types_initial
[shift
];
13804 size_t ldoc
= (c
- methods
[i
].ml_doc
);
13805 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
13806 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
13809 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
13811 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
13813 strncpy(buff
, "swig_ptr: ", 10);
13815 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
13816 methods
[i
].ml_doc
= ndoc
;
13828 /* -----------------------------------------------------------------------------*
13829 * Partial Init method
13830 * -----------------------------------------------------------------------------*/
13835 SWIGEXPORT
void SWIG_init(void) {
13838 /* Fix SwigMethods to carry the callback ptrs when needed */
13839 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
13841 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13842 d
= PyModule_GetDict(m
);
13844 SWIG_InitializeModule(0);
13845 SWIG_InstallConstants(d
,swig_const_table
);
13848 SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
13849 SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
)));
13850 SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
)));
13851 SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
)));
13852 SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
)));
13853 SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
)));
13854 SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
)));
13855 SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
)));
13856 SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
)));
13857 SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
)));
13858 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
)));
13859 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
)));
13860 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
)));
13861 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
)));
13862 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
)));
13863 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
)));
13864 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
)));
13865 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
)));
13866 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
)));
13867 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
)));
13868 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
)));
13869 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
)));
13870 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
)));
13871 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
)));
13872 SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
)));
13873 SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
)));
13874 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
13875 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
13876 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
13877 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
13878 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
13879 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
13880 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
13881 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
13882 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
13883 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
13884 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
13885 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
13886 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
)));
13887 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
)));
13888 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
)));
13889 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
)));
13890 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
)));
13891 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
)));
13892 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
)));
13893 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
)));
13894 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
)));
13895 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
)));
13896 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
)));
13897 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
)));
13898 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
)));
13899 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
)));
13900 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
)));
13901 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
)));
13902 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
)));
13903 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
)));
13904 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
)));
13905 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
)));
13906 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
)));
13907 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
13908 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
13909 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
13910 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
13911 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
13912 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
13913 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
13914 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
);
13915 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
);
13916 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
)));
13917 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
)));
13918 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
)));
13919 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
));
13920 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
));
13921 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
));
13922 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
));
13923 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
));
13924 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
));
13925 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));