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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_long swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChar swig_types[16]
2479 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2480 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2481 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2482 #define SWIGTYPE_p_wxColour swig_types[20]
2483 #define SWIGTYPE_p_wxColourData swig_types[21]
2484 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPopupWindow swig_types[91]
2554 #define SWIGTYPE_p_wxPreviewCanvas swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewControlBar swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewFrame swig_types[94]
2557 #define SWIGTYPE_p_wxPrintData swig_types[95]
2558 #define SWIGTYPE_p_wxPrintDialog swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialogData swig_types[97]
2560 #define SWIGTYPE_p_wxPrintPreview swig_types[98]
2561 #define SWIGTYPE_p_wxPrinter swig_types[99]
2562 #define SWIGTYPE_p_wxProgressDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPyApp swig_types[101]
2564 #define SWIGTYPE_p_wxPyCommandEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[104]
2567 #define SWIGTYPE_p_wxPyImageHandler swig_types[105]
2568 #define SWIGTYPE_p_wxPyPanel swig_types[106]
2569 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[107]
2570 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[109]
2572 #define SWIGTYPE_p_wxPyPrintPreview swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintout swig_types[111]
2574 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[112]
2575 #define SWIGTYPE_p_wxPySizer swig_types[113]
2576 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[114]
2577 #define SWIGTYPE_p_wxPyVListBox swig_types[115]
2578 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPyValidator swig_types[117]
2580 #define SWIGTYPE_p_wxPyWindow swig_types[118]
2581 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[119]
2582 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
2583 #define SWIGTYPE_p_wxRichTextAttr swig_types[121]
2584 #define SWIGTYPE_p_wxRichTextBuffer swig_types[122]
2585 #define SWIGTYPE_p_wxRichTextCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxRichTextEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[125]
2588 #define SWIGTYPE_p_wxRichTextRange swig_types[126]
2589 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[127]
2590 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2591 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2596 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2597 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2598 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2610 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2611 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149]
2612 #define SWIGTYPE_p_wxTextCoord swig_types[150]
2613 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
2618 #define SWIGTYPE_p_wxValidator swig_types[156]
2619 #define SWIGTYPE_p_wxWindow swig_types[157]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[158]
2621 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159]
2622 #define SWIGTYPE_p_wxXPMHandler swig_types[160]
2623 static swig_type_info
*swig_types
[162];
2624 static swig_module_info swig_module
= {swig_types
, 161, 0, 0, 0, 0};
2625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2628 /* -------- TYPES TABLE (END) -------- */
2630 #if (PY_VERSION_HEX <= 0x02000000)
2631 # if !defined(SWIG_PYTHON_CLASSIC)
2632 # error "This python version requires to use swig with the '-classic' option"
2635 #if (PY_VERSION_HEX <= 0x02020000)
2636 # error "This python version requires to use swig with the '-nomodern' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 /*-----------------------------------------------
2646 @(target):= _richtext.so
2647 ------------------------------------------------*/
2648 #define SWIG_init init_richtext
2650 #define SWIG_name "_richtext"
2652 #define SWIGVERSION 0x010329
2655 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2656 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659 #include <stdexcept>
2663 class PyObject_ptr
{
2668 PyObject_ptr() :_obj(0)
2672 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2677 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2679 if (initial_ref
) Py_XINCREF(_obj
);
2682 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2684 Py_XINCREF(item
._obj
);
2695 operator PyObject
*() const
2700 PyObject
*operator->() const
2709 struct PyObject_var
: PyObject_ptr
{
2710 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2712 PyObject_var
& operator = (PyObject
* obj
)
2722 #include "wx/wxPython/wxPython.h"
2723 #include "wx/wxPython/pyclasses.h"
2724 #include "wx/wxPython/printfw.h"
2725 #include "wx/wxPython/twoitem.h"
2727 #include <wx/richtext/richtextctrl.h>
2732 class wxBufferedPaintDC
;
2739 #define SWIG_From_long PyInt_FromLong
2742 SWIGINTERNINLINE PyObject
*
2743 SWIG_From_int (int value
)
2745 return SWIG_From_long (value
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2751 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
)
2753 if (source
== Py_None
) {
2754 **obj
= wxRICHTEXT_NONE
;
2757 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange"));
2762 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2764 if (PyNumber_Check(obj
)) {
2765 if (val
) *val
= PyInt_AsLong(obj
);
2768 return SWIG_TypeError
;
2771 SWIGINTERN
bool wxRichTextRange___eq__(wxRichTextRange
*self
,PyObject
*other
){
2772 wxRichTextRange temp
, *obj
= &temp
;
2773 if ( other
== Py_None
) return false;
2774 if ( ! wxRichTextRange_helper(other
, &obj
) ) {
2778 return self
->operator==(*obj
);
2780 SWIGINTERN PyObject
*wxRichTextRange_Get(wxRichTextRange
*self
){
2781 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2782 PyObject
* tup
= PyTuple_New(2);
2783 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart()));
2784 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd()));
2785 wxPyEndBlockThreads(blocked
);
2789 wxRichTextRange
wxPy_RTR_ALL(wxRICHTEXT_ALL
);
2790 wxRichTextRange
wxPy_RTR_NONE(wxRICHTEXT_NONE
);
2795 # define LLONG_MIN LONG_LONG_MIN
2798 # define LLONG_MAX LONG_LONG_MAX
2801 # define ULLONG_MAX ULONG_LONG_MAX
2806 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2809 int res
= SWIG_AsVal_long (obj
, &v
);
2810 if (SWIG_IsOK(res
)) {
2811 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2812 return SWIG_OverflowError
;
2814 if (val
) *val
= static_cast< int >(v
);
2822 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2824 if (obj
== Py_True
) {
2825 if (val
) *val
= true;
2827 } else if (obj
== Py_False
) {
2828 if (val
) *val
= false;
2832 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2833 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2840 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2843 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2844 return SWIG_TypeError
;
2847 *val
= (unsigned long)v
;
2852 SWIGINTERN swig_type_info
*
2853 SWIG_pchar_descriptor()
2855 static int init
= 0;
2856 static swig_type_info
* info
= 0;
2858 info
= SWIG_TypeQuery("_p_char");
2866 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
2868 if (PyString_Check(obj
)) {
2869 char *cstr
; int len
;
2870 PyString_AsStringAndSize(obj
, &cstr
, &len
);
2874 In python the user should not be able to modify the inner
2875 string representation. To warranty that, if you define
2876 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2877 buffer is always returned.
2879 The default behavior is just to return the pointer value,
2882 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2883 if (*alloc
!= SWIG_OLDOBJ
)
2885 if (*alloc
== SWIG_NEWOBJ
)
2888 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
2889 *alloc
= SWIG_NEWOBJ
;
2893 *alloc
= SWIG_OLDOBJ
;
2896 *cptr
= PyString_AsString(obj
);
2899 if (psize
) *psize
= len
+ 1;
2902 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
2903 if (pchar_descriptor
) {
2905 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
2906 if (cptr
) *cptr
= (char *) vptr
;
2907 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
2908 if (alloc
) *alloc
= SWIG_OLDOBJ
;
2913 return SWIG_TypeError
;
2918 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
2920 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
2921 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
2922 if (SWIG_IsOK(res
)) {
2923 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
2924 if (csize
<= size
) {
2926 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
2927 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
2929 if (alloc
== SWIG_NEWOBJ
) {
2931 res
= SWIG_DelNewMask(res
);
2935 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
2937 return SWIG_TypeError
;
2942 SWIG_AsVal_char (PyObject
* obj
, char *val
)
2944 int res
= SWIG_AsCharArray(obj
, val
, 1);
2945 if (!SWIG_IsOK(res
)) {
2947 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
2948 if (SWIG_IsOK(res
)) {
2949 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
2950 if (val
) *val
= static_cast< char >(v
);
2952 res
= SWIG_OverflowError
;
2962 SWIGINTERN PyObject
*_wrap_new_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
= 0;
2964 long arg1
= (long) 0 ;
2965 long arg2
= (long) 0 ;
2966 wxRichTextRange
*result
= 0 ;
2971 PyObject
* obj0
= 0 ;
2972 PyObject
* obj1
= 0 ;
2973 char * kwnames
[] = {
2974 (char *) "start",(char *) "end", NULL
2977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2979 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
2980 if (!SWIG_IsOK(ecode1
)) {
2981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2983 arg1
= static_cast< long >(val1
);
2986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
2987 if (!SWIG_IsOK(ecode2
)) {
2988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2990 arg2
= static_cast< long >(val2
);
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 result
= (wxRichTextRange
*)new wxRichTextRange(arg1
,arg2
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW
| 0 );
3005 SWIGINTERN PyObject
*_wrap_delete_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3006 PyObject
*resultobj
= 0;
3007 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3010 PyObject
*swig_obj
[1] ;
3012 if (!args
) SWIG_fail
;
3014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN
| 0 );
3015 if (!SWIG_IsOK(res1
)) {
3016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3018 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= SWIG_Py_Void();
3033 SWIGINTERN PyObject
*_wrap_RichTextRange___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
= 0;
3035 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3036 PyObject
*arg2
= (PyObject
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3042 char * kwnames
[] = {
3043 (char *) "self",(char *) "other", NULL
3046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3048 if (!SWIG_IsOK(res1
)) {
3049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3051 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3054 result
= (bool)wxRichTextRange___eq__(arg1
,arg2
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3066 SWIGINTERN PyObject
*_wrap_RichTextRange___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
= 0;
3068 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3069 wxRichTextRange
*arg2
= 0 ;
3070 wxRichTextRange result
;
3073 wxRichTextRange temp2
;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 char * kwnames
[] = {
3077 (char *) "self",(char *) "range", NULL
3080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3082 if (!SWIG_IsOK(res1
)) {
3083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3085 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3088 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= ((wxRichTextRange
const *)arg1
)->operator -((wxRichTextRange
const &)*arg2
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3103 SWIGINTERN PyObject
*_wrap_RichTextRange___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
= 0;
3105 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3106 wxRichTextRange
*arg2
= 0 ;
3107 wxRichTextRange result
;
3110 wxRichTextRange temp2
;
3111 PyObject
* obj0
= 0 ;
3112 PyObject
* obj1
= 0 ;
3113 char * kwnames
[] = {
3114 (char *) "self",(char *) "range", NULL
3117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3119 if (!SWIG_IsOK(res1
)) {
3120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3122 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3125 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 result
= ((wxRichTextRange
const *)arg1
)->operator +((wxRichTextRange
const &)*arg2
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3140 SWIGINTERN PyObject
*_wrap_RichTextRange_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
= 0;
3142 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3153 PyObject
* obj2
= 0 ;
3154 char * kwnames
[] = {
3155 (char *) "self",(char *) "start",(char *) "end", NULL
3158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3160 if (!SWIG_IsOK(res1
)) {
3161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3163 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3165 if (!SWIG_IsOK(ecode2
)) {
3166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3168 arg2
= static_cast< long >(val2
);
3169 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
3170 if (!SWIG_IsOK(ecode3
)) {
3171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3173 arg3
= static_cast< long >(val3
);
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 (arg1
)->SetRange(arg2
,arg3
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 resultobj
= SWIG_Py_Void();
3187 SWIGINTERN PyObject
*_wrap_RichTextRange_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
= 0;
3189 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3196 PyObject
* obj1
= 0 ;
3197 char * kwnames
[] = {
3198 (char *) "self",(char *) "start", NULL
3201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3203 if (!SWIG_IsOK(res1
)) {
3204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3206 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3208 if (!SWIG_IsOK(ecode2
)) {
3209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3211 arg2
= static_cast< long >(val2
);
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 (arg1
)->SetStart(arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= SWIG_Py_Void();
3225 SWIGINTERN PyObject
*_wrap_RichTextRange_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3226 PyObject
*resultobj
= 0;
3227 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3231 PyObject
*swig_obj
[1] ;
3233 if (!args
) SWIG_fail
;
3235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3236 if (!SWIG_IsOK(res1
)) {
3237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3239 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 result
= (long)((wxRichTextRange
const *)arg1
)->GetStart();
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 resultobj
= SWIG_From_long(static_cast< long >(result
));
3253 SWIGINTERN PyObject
*_wrap_RichTextRange_SetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
= 0;
3255 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3263 char * kwnames
[] = {
3264 (char *) "self",(char *) "end", NULL
3267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3269 if (!SWIG_IsOK(res1
)) {
3270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3272 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3273 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3274 if (!SWIG_IsOK(ecode2
)) {
3275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3277 arg2
= static_cast< long >(val2
);
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 (arg1
)->SetEnd(arg2
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_Py_Void();
3291 SWIGINTERN PyObject
*_wrap_RichTextRange_GetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3292 PyObject
*resultobj
= 0;
3293 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3297 PyObject
*swig_obj
[1] ;
3299 if (!args
) SWIG_fail
;
3301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3302 if (!SWIG_IsOK(res1
)) {
3303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3305 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= (long)((wxRichTextRange
const *)arg1
)->GetEnd();
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= SWIG_From_long(static_cast< long >(result
));
3319 SWIGINTERN PyObject
*_wrap_RichTextRange_IsOutside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
= 0;
3321 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3322 wxRichTextRange
*arg2
= 0 ;
3326 wxRichTextRange temp2
;
3327 PyObject
* obj0
= 0 ;
3328 PyObject
* obj1
= 0 ;
3329 char * kwnames
[] = {
3330 (char *) "self",(char *) "range", NULL
3333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3335 if (!SWIG_IsOK(res1
)) {
3336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3338 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3341 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= (bool)((wxRichTextRange
const *)arg1
)->IsOutside((wxRichTextRange
const &)*arg2
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3358 SWIGINTERN PyObject
*_wrap_RichTextRange_IsWithin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
= 0;
3360 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3361 wxRichTextRange
*arg2
= 0 ;
3365 wxRichTextRange temp2
;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3368 char * kwnames
[] = {
3369 (char *) "self",(char *) "range", NULL
3372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3374 if (!SWIG_IsOK(res1
)) {
3375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3377 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3380 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (bool)((wxRichTextRange
const *)arg1
)->IsWithin((wxRichTextRange
const &)*arg2
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3397 SWIGINTERN PyObject
*_wrap_RichTextRange_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
= 0;
3399 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3408 char * kwnames
[] = {
3409 (char *) "self",(char *) "pos", NULL
3412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3414 if (!SWIG_IsOK(res1
)) {
3415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3417 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3418 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3419 if (!SWIG_IsOK(ecode2
)) {
3420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3422 arg2
= static_cast< long >(val2
);
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (bool)((wxRichTextRange
const *)arg1
)->Contains(arg2
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3438 SWIGINTERN PyObject
*_wrap_RichTextRange_LimitTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
= 0;
3440 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3441 wxRichTextRange
*arg2
= 0 ;
3445 wxRichTextRange temp2
;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3448 char * kwnames
[] = {
3449 (char *) "self",(char *) "range", NULL
3452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3454 if (!SWIG_IsOK(res1
)) {
3455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3457 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3460 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (bool)(arg1
)->LimitTo((wxRichTextRange
const &)*arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3477 SWIGINTERN PyObject
*_wrap_RichTextRange_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3478 PyObject
*resultobj
= 0;
3479 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3483 PyObject
*swig_obj
[1] ;
3485 if (!args
) SWIG_fail
;
3487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3488 if (!SWIG_IsOK(res1
)) {
3489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3491 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (long)((wxRichTextRange
const *)arg1
)->GetLength();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3498 resultobj
= SWIG_From_long(static_cast< long >(result
));
3505 SWIGINTERN PyObject
*_wrap_RichTextRange_Swap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3506 PyObject
*resultobj
= 0;
3507 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3510 PyObject
*swig_obj
[1] ;
3512 if (!args
) SWIG_fail
;
3514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3515 if (!SWIG_IsOK(res1
)) {
3516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3518 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= SWIG_Py_Void();
3532 SWIGINTERN PyObject
*_wrap_RichTextRange_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3533 PyObject
*resultobj
= 0;
3534 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3535 PyObject
*result
= 0 ;
3538 PyObject
*swig_obj
[1] ;
3540 if (!args
) SWIG_fail
;
3542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3543 if (!SWIG_IsOK(res1
)) {
3544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3546 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (PyObject
*)wxRichTextRange_Get(arg1
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3560 SWIGINTERN PyObject
*RichTextRange_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3563 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
));
3564 return SWIG_Py_Void();
3567 SWIGINTERN PyObject
*RichTextRange_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3568 return SWIG_Python_InitShadowInstance(args
);
3571 SWIGINTERN
int RICHTEXT_ALL_set(PyObject
*) {
3572 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only.");
3577 SWIGINTERN PyObject
*RICHTEXT_ALL_get(void) {
3578 PyObject
*pyobj
= 0;
3580 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
, 0 );
3585 SWIGINTERN
int RICHTEXT_NONE_set(PyObject
*) {
3586 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only.");
3591 SWIGINTERN PyObject
*RICHTEXT_NONE_get(void) {
3592 PyObject
*pyobj
= 0;
3594 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
, 0 );
3599 SWIGINTERN PyObject
*_wrap_new_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
= 0;
3601 wxColour
const &arg1_defvalue
= wxNullColour
;
3602 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
3603 wxColour
const &arg2_defvalue
= wxNullColour
;
3604 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3605 wxTextAttrAlignment arg3
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
3606 wxRichTextAttr
*result
= 0 ;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3613 PyObject
* obj2
= 0 ;
3614 char * kwnames
[] = {
3615 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3622 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3633 if (!SWIG_IsOK(ecode3
)) {
3634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3636 arg3
= static_cast< wxTextAttrAlignment
>(val3
);
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= (wxRichTextAttr
*)new wxRichTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW
| 0 );
3651 SWIGINTERN PyObject
*_wrap_delete_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3652 PyObject
*resultobj
= 0;
3653 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3656 PyObject
*swig_obj
[1] ;
3658 if (!args
) SWIG_fail
;
3660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN
| 0 );
3661 if (!SWIG_IsOK(res1
)) {
3662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3664 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_Py_Void();
3679 SWIGINTERN PyObject
*_wrap_RichTextAttr_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3685 PyObject
*swig_obj
[1] ;
3687 if (!args
) SWIG_fail
;
3689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3690 if (!SWIG_IsOK(res1
)) {
3691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3693 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= ((wxRichTextAttr
const *)arg1
)->CreateFont();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
3707 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
= 0;
3709 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3717 PyObject
* obj1
= 0 ;
3718 char * kwnames
[] = {
3719 (char *) "self",(char *) "font", NULL
3722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3724 if (!SWIG_IsOK(res1
)) {
3725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3727 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
3729 if (!SWIG_IsOK(res2
)) {
3730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3735 arg2
= reinterpret_cast< wxFont
* >(argp2
);
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (bool)(arg1
)->GetFontAttributes((wxFont
const &)*arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3751 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3754 wxColour
*arg2
= 0 ;
3758 PyObject
* obj0
= 0 ;
3759 PyObject
* obj1
= 0 ;
3760 char * kwnames
[] = {
3761 (char *) "self",(char *) "colText", NULL
3764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3766 if (!SWIG_IsOK(res1
)) {
3767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3769 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_Py_Void();
3787 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
= 0;
3789 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3790 wxColour
*arg2
= 0 ;
3794 PyObject
* obj0
= 0 ;
3795 PyObject
* obj1
= 0 ;
3796 char * kwnames
[] = {
3797 (char *) "self",(char *) "colBack", NULL
3800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3802 if (!SWIG_IsOK(res1
)) {
3803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3805 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_Py_Void();
3823 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= 0;
3825 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3826 wxTextAttrAlignment arg2
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 char * kwnames
[] = {
3834 (char *) "self",(char *) "alignment", NULL
3837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3839 if (!SWIG_IsOK(res1
)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3842 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3844 if (!SWIG_IsOK(ecode2
)) {
3845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3847 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 (arg1
)->SetAlignment(arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_Py_Void();
3861 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
= 0;
3863 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3864 wxArrayInt
*arg2
= 0 ;
3867 bool temp2
= false ;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3870 char * kwnames
[] = {
3871 (char *) "self",(char *) "tabs", NULL
3874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3876 if (!SWIG_IsOK(res1
)) {
3877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3879 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3881 if (! PySequence_Check(obj1
)) {
3882 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
3885 arg2
= new wxArrayInt
;
3887 int i
, len
=PySequence_Length(obj1
);
3888 for (i
=0; i
<len
; i
++) {
3889 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3890 PyObject
* number
= PyNumber_Int(item
);
3891 arg2
->Add(PyInt_AS_LONG(number
));
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_Py_Void();
3904 if (temp2
) delete arg2
;
3909 if (temp2
) delete arg2
;
3915 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
= 0;
3917 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3919 int arg3
= (int) 0 ;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3928 PyObject
* obj2
= 0 ;
3929 char * kwnames
[] = {
3930 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3935 if (!SWIG_IsOK(res1
)) {
3936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3938 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3940 if (!SWIG_IsOK(ecode2
)) {
3941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3943 arg2
= static_cast< int >(val2
);
3945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3946 if (!SWIG_IsOK(ecode3
)) {
3947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3949 arg3
= static_cast< int >(val3
);
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 (arg1
)->SetLeftIndent(arg2
,arg3
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_Py_Void();
3964 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
= 0;
3966 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 char * kwnames
[] = {
3975 (char *) "self",(char *) "indent", NULL
3978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3980 if (!SWIG_IsOK(res1
)) {
3981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3983 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3985 if (!SWIG_IsOK(ecode2
)) {
3986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3988 arg2
= static_cast< int >(val2
);
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 (arg1
)->SetRightIndent(arg2
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 resultobj
= SWIG_Py_Void();
4002 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
= 0;
4004 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4012 char * kwnames
[] = {
4013 (char *) "self",(char *) "pointSize", NULL
4016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4018 if (!SWIG_IsOK(res1
)) {
4019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4021 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4023 if (!SWIG_IsOK(ecode2
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4026 arg2
= static_cast< int >(val2
);
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 (arg1
)->SetFontSize(arg2
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_Py_Void();
4040 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
= 0;
4042 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4050 char * kwnames
[] = {
4051 (char *) "self",(char *) "fontStyle", NULL
4054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4059 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4061 if (!SWIG_IsOK(ecode2
)) {
4062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
4064 arg2
= static_cast< int >(val2
);
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetFontStyle(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_Py_Void();
4078 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
= 0;
4080 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4088 char * kwnames
[] = {
4089 (char *) "self",(char *) "fontWeight", NULL
4092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4094 if (!SWIG_IsOK(res1
)) {
4095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4097 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4099 if (!SWIG_IsOK(ecode2
)) {
4100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4102 arg2
= static_cast< int >(val2
);
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->SetFontWeight(arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_Py_Void();
4116 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
= 0;
4118 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4119 wxString
*arg2
= 0 ;
4122 bool temp2
= false ;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4125 char * kwnames
[] = {
4126 (char *) "self",(char *) "faceName", NULL
4129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4131 if (!SWIG_IsOK(res1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4134 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4136 arg2
= wxString_in_helper(obj1
);
4137 if (arg2
== NULL
) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 (arg1
)->SetFontFaceName((wxString
const &)*arg2
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_Py_Void();
4161 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
= 0;
4163 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "self",(char *) "underlined", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4177 if (!SWIG_IsOK(res1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4180 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4181 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4182 if (!SWIG_IsOK(ecode2
)) {
4183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4185 arg2
= static_cast< bool >(val2
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 (arg1
)->SetFontUnderlined(arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_Py_Void();
4199 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 char * kwnames
[] = {
4210 (char *) "self",(char *) "flags", NULL
4213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4215 if (!SWIG_IsOK(res1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4218 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4219 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4220 if (!SWIG_IsOK(ecode2
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4223 arg2
= static_cast< long >(val2
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->SetFlags(arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_Py_Void();
4237 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4240 wxString
*arg2
= 0 ;
4243 bool temp2
= false ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "name", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4255 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4257 arg2
= wxString_in_helper(obj1
);
4258 if (arg2
== NULL
) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->SetCharacterStyleName((wxString
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_Py_Void();
4282 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
= 0;
4284 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4285 wxString
*arg2
= 0 ;
4288 bool temp2
= false ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "name", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4300 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4302 arg2
= wxString_in_helper(obj1
);
4303 if (arg2
== NULL
) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetParagraphStyleName((wxString
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4327 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
= 0;
4329 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4336 PyObject
* obj1
= 0 ;
4337 char * kwnames
[] = {
4338 (char *) "self",(char *) "spacing", NULL
4341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4346 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4348 if (!SWIG_IsOK(ecode2
)) {
4349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4351 arg2
= static_cast< int >(val2
);
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 (arg1
)->SetParagraphSpacingAfter(arg2
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_Py_Void();
4365 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
= 0;
4367 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4375 char * kwnames
[] = {
4376 (char *) "self",(char *) "spacing", NULL
4379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4381 if (!SWIG_IsOK(res1
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4384 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4386 if (!SWIG_IsOK(ecode2
)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4389 arg2
= static_cast< int >(val2
);
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 (arg1
)->SetParagraphSpacingBefore(arg2
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_Py_Void();
4403 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
= 0;
4405 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 char * kwnames
[] = {
4414 (char *) "self",(char *) "spacing", NULL
4417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4419 if (!SWIG_IsOK(res1
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4422 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4424 if (!SWIG_IsOK(ecode2
)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4427 arg2
= static_cast< int >(val2
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 (arg1
)->SetLineSpacing(arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_Py_Void();
4441 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= 0;
4443 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4451 char * kwnames
[] = {
4452 (char *) "self",(char *) "style", NULL
4455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4457 if (!SWIG_IsOK(res1
)) {
4458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4460 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4462 if (!SWIG_IsOK(ecode2
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4465 arg2
= static_cast< int >(val2
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetBulletStyle(arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "n", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4498 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4503 arg2
= static_cast< int >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 (arg1
)->SetBulletNumber(arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4527 char * kwnames
[] = {
4528 (char *) "self",(char *) "symbol", NULL
4531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4536 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
, 0 | 0);
4539 if (!SWIG_IsOK(res2
)) {
4540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4545 wxChar
* temp
= reinterpret_cast< wxChar
* >(argp2
);
4547 if (SWIG_IsNewObj(res2
)) delete temp
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 (arg1
)->SetBulletSymbol(arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= SWIG_Py_Void();
4563 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4564 PyObject
*resultobj
= 0;
4565 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4566 wxColour
*result
= 0 ;
4569 PyObject
*swig_obj
[1] ;
4571 if (!args
) SWIG_fail
;
4573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4574 if (!SWIG_IsOK(res1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4577 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTextColour();
4582 result
= (wxColour
*) &_result_ref
;
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4594 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4595 PyObject
*resultobj
= 0;
4596 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4597 wxColour
*result
= 0 ;
4600 PyObject
*swig_obj
[1] ;
4602 if (!args
) SWIG_fail
;
4604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4605 if (!SWIG_IsOK(res1
)) {
4606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4608 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBackgroundColour();
4613 result
= (wxColour
*) &_result_ref
;
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4625 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4626 PyObject
*resultobj
= 0;
4627 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4628 wxTextAttrAlignment result
;
4631 PyObject
*swig_obj
[1] ;
4633 if (!args
) SWIG_fail
;
4635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4636 if (!SWIG_IsOK(res1
)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4639 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxTextAttrAlignment
)((wxRichTextAttr
const *)arg1
)->GetAlignment();
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= SWIG_From_int(static_cast< int >(result
));
4653 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4654 PyObject
*resultobj
= 0;
4655 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4656 wxArrayInt
*result
= 0 ;
4659 PyObject
*swig_obj
[1] ;
4661 if (!args
) SWIG_fail
;
4663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4664 if (!SWIG_IsOK(res1
)) {
4665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4667 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxArrayInt
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTabs();
4672 result
= (wxArrayInt
*) &_result_ref
;
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= PyList_New(0);
4680 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
4681 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
4682 PyList_Append(resultobj
, val
);
4692 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4693 PyObject
*resultobj
= 0;
4694 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4698 PyObject
*swig_obj
[1] ;
4700 if (!args
) SWIG_fail
;
4702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4703 if (!SWIG_IsOK(res1
)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4706 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftIndent();
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 resultobj
= SWIG_From_long(static_cast< long >(result
));
4720 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4721 PyObject
*resultobj
= 0;
4722 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4726 PyObject
*swig_obj
[1] ;
4728 if (!args
) SWIG_fail
;
4730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4731 if (!SWIG_IsOK(res1
)) {
4732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4734 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftSubIndent();
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 resultobj
= SWIG_From_long(static_cast< long >(result
));
4748 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4749 PyObject
*resultobj
= 0;
4750 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4754 PyObject
*swig_obj
[1] ;
4756 if (!args
) SWIG_fail
;
4758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4759 if (!SWIG_IsOK(res1
)) {
4760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4762 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (long)((wxRichTextAttr
const *)arg1
)->GetRightIndent();
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= SWIG_From_long(static_cast< long >(result
));
4776 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4777 PyObject
*resultobj
= 0;
4778 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4782 PyObject
*swig_obj
[1] ;
4784 if (!args
) SWIG_fail
;
4786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4787 if (!SWIG_IsOK(res1
)) {
4788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4790 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (long)((wxRichTextAttr
const *)arg1
)->GetFlags();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_From_long(static_cast< long >(result
));
4804 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4818 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontSize();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_From_int(static_cast< int >(result
));
4832 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4833 PyObject
*resultobj
= 0;
4834 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4846 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontStyle();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_From_int(static_cast< int >(result
));
4860 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4861 PyObject
*resultobj
= 0;
4862 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4866 PyObject
*swig_obj
[1] ;
4868 if (!args
) SWIG_fail
;
4870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4871 if (!SWIG_IsOK(res1
)) {
4872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4874 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontWeight();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_From_int(static_cast< int >(result
));
4888 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4889 PyObject
*resultobj
= 0;
4890 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4894 PyObject
*swig_obj
[1] ;
4896 if (!args
) SWIG_fail
;
4898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4899 if (!SWIG_IsOK(res1
)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4902 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (bool)((wxRichTextAttr
const *)arg1
)->GetFontUnderlined();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4918 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4919 PyObject
*resultobj
= 0;
4920 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4921 wxString
*result
= 0 ;
4924 PyObject
*swig_obj
[1] ;
4926 if (!args
) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4932 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetFontFaceName();
4937 result
= (wxString
*) &_result_ref
;
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4946 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4955 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4958 wxString
*result
= 0 ;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4969 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetCharacterStyleName();
4974 result
= (wxString
*) &_result_ref
;
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4992 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4995 wxString
*result
= 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5006 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetParagraphStyleName();
5011 result
= (wxString
*) &_result_ref
;
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5020 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5029 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5030 PyObject
*resultobj
= 0;
5031 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5035 PyObject
*swig_obj
[1] ;
5037 if (!args
) SWIG_fail
;
5039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5040 if (!SWIG_IsOK(res1
)) {
5041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5043 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingAfter();
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_From_int(static_cast< int >(result
));
5057 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5058 PyObject
*resultobj
= 0;
5059 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5063 PyObject
*swig_obj
[1] ;
5065 if (!args
) SWIG_fail
;
5067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5068 if (!SWIG_IsOK(res1
)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5071 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingBefore();
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= SWIG_From_int(static_cast< int >(result
));
5085 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5086 PyObject
*resultobj
= 0;
5087 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5091 PyObject
*swig_obj
[1] ;
5093 if (!args
) SWIG_fail
;
5095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5096 if (!SWIG_IsOK(res1
)) {
5097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5099 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (int)((wxRichTextAttr
const *)arg1
)->GetLineSpacing();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_From_int(static_cast< int >(result
));
5113 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 PyObject
*resultobj
= 0;
5115 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5119 PyObject
*swig_obj
[1] ;
5121 if (!args
) SWIG_fail
;
5123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5124 if (!SWIG_IsOK(res1
)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5127 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletStyle();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_From_int(static_cast< int >(result
));
5141 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5142 PyObject
*resultobj
= 0;
5143 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5147 PyObject
*swig_obj
[1] ;
5149 if (!args
) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5155 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletNumber();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_From_int(static_cast< int >(result
));
5169 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5170 PyObject
*resultobj
= 0;
5171 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5175 PyObject
*swig_obj
[1] ;
5177 if (!args
) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5183 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= ((wxRichTextAttr
const *)arg1
)->GetBulletSymbol();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN
| 0 );
5197 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5198 PyObject
*resultobj
= 0;
5199 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5203 PyObject
*swig_obj
[1] ;
5205 if (!args
) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5211 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTextColour();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5227 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 PyObject
*resultobj
= 0;
5229 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5233 PyObject
*swig_obj
[1] ;
5235 if (!args
) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5241 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBackgroundColour();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5257 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5258 PyObject
*resultobj
= 0;
5259 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5263 PyObject
*swig_obj
[1] ;
5265 if (!args
) SWIG_fail
;
5267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5268 if (!SWIG_IsOK(res1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5271 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasAlignment();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5287 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5288 PyObject
*resultobj
= 0;
5289 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5293 PyObject
*swig_obj
[1] ;
5295 if (!args
) SWIG_fail
;
5297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5298 if (!SWIG_IsOK(res1
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5301 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTabs();
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5317 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5318 PyObject
*resultobj
= 0;
5319 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5323 PyObject
*swig_obj
[1] ;
5325 if (!args
) SWIG_fail
;
5327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5328 if (!SWIG_IsOK(res1
)) {
5329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5331 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLeftIndent();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5347 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5348 PyObject
*resultobj
= 0;
5349 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5353 PyObject
*swig_obj
[1] ;
5355 if (!args
) SWIG_fail
;
5357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5358 if (!SWIG_IsOK(res1
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5361 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasRightIndent();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5377 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5378 PyObject
*resultobj
= 0;
5379 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5383 PyObject
*swig_obj
[1] ;
5385 if (!args
) SWIG_fail
;
5387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5388 if (!SWIG_IsOK(res1
)) {
5389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5391 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasWeight();
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5407 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5408 PyObject
*resultobj
= 0;
5409 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5413 PyObject
*swig_obj
[1] ;
5415 if (!args
) SWIG_fail
;
5417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5418 if (!SWIG_IsOK(res1
)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5421 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasSize();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5437 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5438 PyObject
*resultobj
= 0;
5439 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5443 PyObject
*swig_obj
[1] ;
5445 if (!args
) SWIG_fail
;
5447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5448 if (!SWIG_IsOK(res1
)) {
5449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5451 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasItalic();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5467 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5468 PyObject
*resultobj
= 0;
5469 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5473 PyObject
*swig_obj
[1] ;
5475 if (!args
) SWIG_fail
;
5477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5478 if (!SWIG_IsOK(res1
)) {
5479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5481 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasUnderlined();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5497 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5498 PyObject
*resultobj
= 0;
5499 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5503 PyObject
*swig_obj
[1] ;
5505 if (!args
) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5511 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFaceName();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5527 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5528 PyObject
*resultobj
= 0;
5529 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5533 PyObject
*swig_obj
[1] ;
5535 if (!args
) SWIG_fail
;
5537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5538 if (!SWIG_IsOK(res1
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5541 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFont();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5557 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5558 PyObject
*resultobj
= 0;
5559 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5563 PyObject
*swig_obj
[1] ;
5565 if (!args
) SWIG_fail
;
5567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5568 if (!SWIG_IsOK(res1
)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5571 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingAfter();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5587 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5588 PyObject
*resultobj
= 0;
5589 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5593 PyObject
*swig_obj
[1] ;
5595 if (!args
) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5601 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingBefore();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5617 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5618 PyObject
*resultobj
= 0;
5619 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5623 PyObject
*swig_obj
[1] ;
5625 if (!args
) SWIG_fail
;
5627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5628 if (!SWIG_IsOK(res1
)) {
5629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5631 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLineSpacing();
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5647 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5648 PyObject
*resultobj
= 0;
5649 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5653 PyObject
*swig_obj
[1] ;
5655 if (!args
) SWIG_fail
;
5657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5658 if (!SWIG_IsOK(res1
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5661 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasCharacterStyleName();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5678 PyObject
*resultobj
= 0;
5679 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5683 PyObject
*swig_obj
[1] ;
5685 if (!args
) SWIG_fail
;
5687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5688 if (!SWIG_IsOK(res1
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5691 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphStyleName();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5721 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletStyle();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 PyObject
*resultobj
= 0;
5739 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5743 PyObject
*swig_obj
[1] ;
5745 if (!args
) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5751 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletNumber();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5768 PyObject
*resultobj
= 0;
5769 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5773 PyObject
*swig_obj
[1] ;
5775 if (!args
) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5781 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletSymbol();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5808 char * kwnames
[] = {
5809 (char *) "self",(char *) "flag", NULL
5812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5817 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5819 if (!SWIG_IsOK(ecode2
)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5822 arg2
= static_cast< long >(val2
);
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFlag(arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5838 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5839 PyObject
*resultobj
= 0;
5840 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5844 PyObject
*swig_obj
[1] ;
5846 if (!args
) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5852 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsCharacterStyle();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5869 PyObject
*resultobj
= 0;
5870 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5874 PyObject
*swig_obj
[1] ;
5876 if (!args
) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5882 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsParagraphStyle();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5898 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5899 PyObject
*resultobj
= 0;
5900 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5912 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsDefault();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5928 SWIGINTERN PyObject
*RichTextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5931 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
));
5932 return SWIG_Py_Void();
5935 SWIGINTERN PyObject
*RichTextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5936 return SWIG_Python_InitShadowInstance(args
);
5939 SWIGINTERN PyObject
*_wrap_new_RichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
= 0;
5941 wxWindow
*arg1
= (wxWindow
*) 0 ;
5942 int arg2
= (int) -1 ;
5943 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5944 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5945 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5946 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5947 long arg5
= (long) wxRE_MULTILINE
;
5948 wxRichTextCtrl
*result
= 0 ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5959 PyObject
* obj2
= 0 ;
5960 PyObject
* obj3
= 0 ;
5961 PyObject
* obj4
= 0 ;
5962 char * kwnames
[] = {
5963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5971 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5974 if (!SWIG_IsOK(ecode2
)) {
5975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
5977 arg2
= static_cast< int >(val2
);
5982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5988 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5992 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
5993 if (!SWIG_IsOK(ecode5
)) {
5994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_RichTextCtrl" "', expected argument " "5"" of type '" "long""'");
5996 arg5
= static_cast< long >(val5
);
5999 if (!wxPyCheckForApp()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxRichTextCtrl
*)new wxRichTextCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW
| 0 );
6012 SWIGINTERN PyObject
*_wrap_new_PreRichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6013 PyObject
*resultobj
= 0;
6014 wxRichTextCtrl
*result
= 0 ;
6016 if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
;
6018 if (!wxPyCheckForApp()) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (wxRichTextCtrl
*)new wxRichTextCtrl();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN
| 0 );
6031 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
= 0;
6033 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6034 wxWindow
*arg2
= (wxWindow
*) 0 ;
6035 int arg3
= (int) -1 ;
6036 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6037 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6038 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6039 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6040 long arg6
= (long) wxRE_MULTILINE
;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6054 PyObject
* obj2
= 0 ;
6055 PyObject
* obj3
= 0 ;
6056 PyObject
* obj4
= 0 ;
6057 PyObject
* obj5
= 0 ;
6058 char * kwnames
[] = {
6059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6064 if (!SWIG_IsOK(res1
)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6067 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6069 if (!SWIG_IsOK(res2
)) {
6070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6072 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6075 if (!SWIG_IsOK(ecode3
)) {
6076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6078 arg3
= static_cast< int >(val3
);
6083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6093 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6094 if (!SWIG_IsOK(ecode6
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RichTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
6097 arg6
= static_cast< long >(val6
);
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6114 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6115 PyObject
*resultobj
= 0;
6116 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6120 PyObject
*swig_obj
[1] ;
6122 if (!args
) SWIG_fail
;
6124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6125 if (!SWIG_IsOK(res1
)) {
6126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6128 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= ((wxRichTextCtrl
const *)arg1
)->GetValue();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6148 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
= 0;
6150 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6151 wxString
*arg2
= 0 ;
6154 bool temp2
= false ;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6157 char * kwnames
[] = {
6158 (char *) "self",(char *) "value", NULL
6161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6163 if (!SWIG_IsOK(res1
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6166 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6168 arg2
= wxString_in_helper(obj1
);
6169 if (arg2
== NULL
) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetValue((wxString
const &)*arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6193 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
= 0;
6195 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6208 char * kwnames
[] = {
6209 (char *) "self",(char *) "from",(char *) "to", NULL
6212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6217 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6219 if (!SWIG_IsOK(ecode2
)) {
6220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6222 arg2
= static_cast< long >(val2
);
6223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6224 if (!SWIG_IsOK(ecode3
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6227 arg3
= static_cast< long >(val3
);
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= ((wxRichTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6247 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
= 0;
6249 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6258 char * kwnames
[] = {
6259 (char *) "self",(char *) "lineNo", NULL
6262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6264 if (!SWIG_IsOK(res1
)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6267 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6268 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6269 if (!SWIG_IsOK(ecode2
)) {
6270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6272 arg2
= static_cast< long >(val2
);
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_From_int(static_cast< int >(result
));
6286 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
= 0;
6288 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 char * kwnames
[] = {
6298 (char *) "self",(char *) "lineNo", NULL
6301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6303 if (!SWIG_IsOK(res1
)) {
6304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6306 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6307 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6308 if (!SWIG_IsOK(ecode2
)) {
6309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6311 arg2
= static_cast< long >(val2
);
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= ((wxRichTextCtrl
const *)arg1
)->GetLineText(arg2
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6331 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6332 PyObject
*resultobj
= 0;
6333 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6337 PyObject
*swig_obj
[1] ;
6339 if (!args
) SWIG_fail
;
6341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6342 if (!SWIG_IsOK(res1
)) {
6343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6345 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetNumberOfLines();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_From_int(static_cast< int >(result
));
6359 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6360 PyObject
*resultobj
= 0;
6361 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6365 PyObject
*swig_obj
[1] ;
6367 if (!args
) SWIG_fail
;
6369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6370 if (!SWIG_IsOK(res1
)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6373 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsModified();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6390 PyObject
*resultobj
= 0;
6391 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6395 PyObject
*swig_obj
[1] ;
6397 if (!args
) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6403 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsEditable();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6420 PyObject
*resultobj
= 0;
6421 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6425 PyObject
*swig_obj
[1] ;
6427 if (!args
) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6433 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSingleLine();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6449 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6450 PyObject
*resultobj
= 0;
6451 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6455 PyObject
*swig_obj
[1] ;
6457 if (!args
) SWIG_fail
;
6459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6460 if (!SWIG_IsOK(res1
)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6463 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsMultiLine();
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6479 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6480 PyObject
*resultobj
= 0;
6481 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6482 long *arg2
= (long *) 0 ;
6483 long *arg3
= (long *) 0 ;
6487 int res2
= SWIG_TMPOBJ
;
6489 int res3
= SWIG_TMPOBJ
;
6490 PyObject
*swig_obj
[1] ;
6494 if (!args
) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6500 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 ((wxRichTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_Py_Void();
6508 if (SWIG_IsTmpObj(res2
)) {
6509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6511 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6514 if (SWIG_IsTmpObj(res3
)) {
6515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6517 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6526 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6527 PyObject
*resultobj
= 0;
6528 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6540 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= ((wxRichTextCtrl
const *)arg1
)->GetStringSelection();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6560 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6561 PyObject
*resultobj
= 0;
6562 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6574 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= ((wxRichTextCtrl
const *)arg1
)->GetFilename();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6594 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
= 0;
6596 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6597 wxString
*arg2
= 0 ;
6600 bool temp2
= false ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 char * kwnames
[] = {
6604 (char *) "self",(char *) "filename", NULL
6607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6612 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6614 arg2
= wxString_in_helper(obj1
);
6615 if (arg2
== NULL
) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 (arg1
)->SetFilename((wxString
const &)*arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_Py_Void();
6639 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
= 0;
6641 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6649 char * kwnames
[] = {
6650 (char *) "self",(char *) "threshold", NULL
6653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6658 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6659 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6660 if (!SWIG_IsOK(ecode2
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6663 arg2
= static_cast< long >(val2
);
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->SetDelayedLayoutThreshold(arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_Py_Void();
6677 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6678 PyObject
*resultobj
= 0;
6679 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6683 PyObject
*swig_obj
[1] ;
6685 if (!args
) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6691 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetDelayedLayoutThreshold();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_From_long(static_cast< long >(result
));
6705 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6710 PyObject
*swig_obj
[1] ;
6712 if (!args
) SWIG_fail
;
6714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6715 if (!SWIG_IsOK(res1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6718 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_Py_Void();
6732 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
= 0;
6734 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6737 wxString
*arg4
= 0 ;
6744 bool temp4
= false ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 PyObject
* obj2
= 0 ;
6748 PyObject
* obj3
= 0 ;
6749 char * kwnames
[] = {
6750 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6758 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6760 if (!SWIG_IsOK(ecode2
)) {
6761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6763 arg2
= static_cast< long >(val2
);
6764 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6765 if (!SWIG_IsOK(ecode3
)) {
6766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6768 arg3
= static_cast< long >(val3
);
6770 arg4
= wxString_in_helper(obj3
);
6771 if (arg4
== NULL
) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_Py_Void();
6795 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6806 PyObject
* obj0
= 0 ;
6807 PyObject
* obj1
= 0 ;
6808 PyObject
* obj2
= 0 ;
6809 char * kwnames
[] = {
6810 (char *) "self",(char *) "from",(char *) "to", NULL
6813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6815 if (!SWIG_IsOK(res1
)) {
6816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6818 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6820 if (!SWIG_IsOK(ecode2
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6823 arg2
= static_cast< long >(val2
);
6824 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6825 if (!SWIG_IsOK(ecode3
)) {
6826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6828 arg3
= static_cast< long >(val3
);
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 (arg1
)->Remove(arg2
,arg3
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_Py_Void();
6842 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
= 0;
6844 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6845 wxString
*arg2
= 0 ;
6846 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6850 bool temp2
= false ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6855 PyObject
* obj2
= 0 ;
6856 char * kwnames
[] = {
6857 (char *) "self",(char *) "file",(char *) "type", NULL
6860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6862 if (!SWIG_IsOK(res1
)) {
6863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6865 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6867 arg2
= wxString_in_helper(obj1
);
6868 if (arg2
== NULL
) SWIG_fail
;
6872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6873 if (!SWIG_IsOK(ecode3
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6876 arg3
= static_cast< int >(val3
);
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6901 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
= 0;
6903 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6904 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6905 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6906 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6910 bool temp2
= false ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 PyObject
* obj2
= 0 ;
6916 char * kwnames
[] = {
6917 (char *) "self",(char *) "file",(char *) "type", NULL
6920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6922 if (!SWIG_IsOK(res1
)) {
6923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6925 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6928 arg2
= wxString_in_helper(obj1
);
6929 if (arg2
== NULL
) SWIG_fail
;
6934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6935 if (!SWIG_IsOK(ecode3
)) {
6936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6938 arg3
= static_cast< int >(val3
);
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6964 PyObject
*resultobj
= 0;
6965 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6968 PyObject
*swig_obj
[1] ;
6970 if (!args
) SWIG_fail
;
6972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6973 if (!SWIG_IsOK(res1
)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6976 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 (arg1
)->MarkDirty();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_Py_Void();
6990 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6991 PyObject
*resultobj
= 0;
6992 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6995 PyObject
*swig_obj
[1] ;
6997 if (!args
) SWIG_fail
;
6999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7000 if (!SWIG_IsOK(res1
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7003 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->DiscardEdits();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7020 unsigned long arg2
;
7023 unsigned long val2
;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "len", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7036 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7037 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7041 arg2
= static_cast< unsigned long >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetMaxLength(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= 0;
7057 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7058 wxString
*arg2
= 0 ;
7061 bool temp2
= false ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "text", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7073 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7075 arg2
= wxString_in_helper(obj1
);
7076 if (arg2
== NULL
) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 (arg1
)->WriteText((wxString
const &)*arg2
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_Py_Void();
7100 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
= 0;
7102 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7103 wxString
*arg2
= 0 ;
7106 bool temp2
= false ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7109 char * kwnames
[] = {
7110 (char *) "self",(char *) "text", NULL
7113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7115 if (!SWIG_IsOK(res1
)) {
7116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7118 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7120 arg2
= wxString_in_helper(obj1
);
7121 if (arg2
== NULL
) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 (arg1
)->AppendText((wxString
const &)*arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_Py_Void();
7145 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= 0;
7147 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7148 wxRichTextRange
*arg2
= 0 ;
7149 wxRichTextAttr
*arg3
= 0 ;
7153 wxRichTextRange temp2
;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 PyObject
* obj2
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "range",(char *) "style", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7168 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7171 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7174 if (!SWIG_IsOK(res3
)) {
7175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7180 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (bool)(arg1
)->SetStyle((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7196 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
= 0;
7198 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7200 wxRichTextAttr
*arg3
= 0 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 PyObject
* obj2
= 0 ;
7211 char * kwnames
[] = {
7212 (char *) "self",(char *) "position",(char *) "style", NULL
7215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7217 if (!SWIG_IsOK(res1
)) {
7218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7220 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7221 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7222 if (!SWIG_IsOK(ecode2
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7225 arg2
= static_cast< long >(val2
);
7226 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7227 if (!SWIG_IsOK(res3
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7233 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (bool)((wxRichTextCtrl
const *)arg1
)->GetStyle(arg2
,*arg3
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7249 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
= 0;
7251 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7252 wxRichTextAttr
*arg2
= 0 ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 char * kwnames
[] = {
7261 (char *) "self",(char *) "style", NULL
7264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7266 if (!SWIG_IsOK(res1
)) {
7267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7269 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7271 if (!SWIG_IsOK(res2
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7277 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr
const &)*arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7293 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7294 PyObject
*resultobj
= 0;
7295 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7296 wxRichTextAttr result
;
7299 PyObject
*swig_obj
[1] ;
7301 if (!args
) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7307 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= ((wxRichTextCtrl
const *)arg1
)->GetDefaultStyleEx();
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN
| 0 );
7321 SWIGINTERN PyObject
*_wrap_RichTextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
= 0;
7323 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7335 PyObject
* obj2
= 0 ;
7336 char * kwnames
[] = {
7337 (char *) "self",(char *) "x",(char *) "y", NULL
7340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7342 if (!SWIG_IsOK(res1
)) {
7343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7345 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7346 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7347 if (!SWIG_IsOK(ecode2
)) {
7348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7350 arg2
= static_cast< long >(val2
);
7351 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7352 if (!SWIG_IsOK(ecode3
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7355 arg3
= static_cast< long >(val3
);
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (long)((wxRichTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_From_long(static_cast< long >(result
));
7369 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
= 0;
7371 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7373 long *arg3
= (long *) 0 ;
7374 long *arg4
= (long *) 0 ;
7380 int res3
= SWIG_TMPOBJ
;
7382 int res4
= SWIG_TMPOBJ
;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7385 char * kwnames
[] = {
7386 (char *) "self",(char *) "pos", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7396 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7397 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7398 if (!SWIG_IsOK(ecode2
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7401 arg2
= static_cast< long >(val2
);
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 ((wxRichTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_Py_Void();
7409 if (SWIG_IsTmpObj(res3
)) {
7410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7412 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7415 if (SWIG_IsTmpObj(res4
)) {
7416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
7418 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
7427 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
= 0;
7429 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 char * kwnames
[] = {
7438 (char *) "self",(char *) "position", NULL
7441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7443 if (!SWIG_IsOK(res1
)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7446 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7448 if (!SWIG_IsOK(ecode2
)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7451 arg2
= static_cast< long >(val2
);
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->ShowPosition(arg2
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_Py_Void();
7465 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
= 0;
7467 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7469 long *arg3
= (long *) 0 ;
7470 wxTextCtrlHitTestResult result
;
7475 int res3
= SWIG_TMPOBJ
;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 char * kwnames
[] = {
7479 (char *) "self",(char *) "pt", NULL
7483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",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_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7488 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7491 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7500 if (SWIG_IsTmpObj(res3
)) {
7501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7512 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
= 0;
7514 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7516 wxTextCoord
*arg3
= (wxTextCoord
*) 0 ;
7517 wxTextCoord
*arg4
= (wxTextCoord
*) 0 ;
7518 wxTextCtrlHitTestResult result
;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7528 PyObject
* obj2
= 0 ;
7529 PyObject
* obj3
= 0 ;
7530 char * kwnames
[] = {
7531 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7536 if (!SWIG_IsOK(res1
)) {
7537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7539 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7544 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7545 if (!SWIG_IsOK(res3
)) {
7546 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7548 arg3
= reinterpret_cast< wxTextCoord
* >(argp3
);
7549 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7550 if (!SWIG_IsOK(res4
)) {
7551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7553 arg4
= reinterpret_cast< wxTextCoord
* >(argp4
);
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7567 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7568 PyObject
*resultobj
= 0;
7569 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7572 PyObject
*swig_obj
[1] ;
7574 if (!args
) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7580 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7595 PyObject
*resultobj
= 0;
7596 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7599 PyObject
*swig_obj
[1] ;
7601 if (!args
) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7607 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_Py_Void();
7621 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7622 PyObject
*resultobj
= 0;
7623 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7626 PyObject
*swig_obj
[1] ;
7628 if (!args
) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7634 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_Py_Void();
7648 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 PyObject
*resultobj
= 0;
7650 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7653 PyObject
*swig_obj
[1] ;
7655 if (!args
) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7661 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->DeleteSelection();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7676 PyObject
*resultobj
= 0;
7677 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7681 PyObject
*swig_obj
[1] ;
7683 if (!args
) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7689 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCopy();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7705 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 PyObject
*resultobj
= 0;
7707 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7711 PyObject
*swig_obj
[1] ;
7713 if (!args
) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7719 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCut();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7735 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7736 PyObject
*resultobj
= 0;
7737 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7741 PyObject
*swig_obj
[1] ;
7743 if (!args
) SWIG_fail
;
7745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7746 if (!SWIG_IsOK(res1
)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7749 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanPaste();
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7765 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7766 PyObject
*resultobj
= 0;
7767 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7771 PyObject
*swig_obj
[1] ;
7773 if (!args
) SWIG_fail
;
7775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7776 if (!SWIG_IsOK(res1
)) {
7777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7779 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanDeleteSelection();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7796 PyObject
*resultobj
= 0;
7797 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7800 PyObject
*swig_obj
[1] ;
7802 if (!args
) SWIG_fail
;
7804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7805 if (!SWIG_IsOK(res1
)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7808 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_Py_Void();
7822 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 PyObject
*resultobj
= 0;
7824 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7827 PyObject
*swig_obj
[1] ;
7829 if (!args
) SWIG_fail
;
7831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7832 if (!SWIG_IsOK(res1
)) {
7833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7835 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_Py_Void();
7849 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7850 PyObject
*resultobj
= 0;
7851 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7855 PyObject
*swig_obj
[1] ;
7857 if (!args
) SWIG_fail
;
7859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7860 if (!SWIG_IsOK(res1
)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7863 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanUndo();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7879 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7880 PyObject
*resultobj
= 0;
7881 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7885 PyObject
*swig_obj
[1] ;
7887 if (!args
) SWIG_fail
;
7889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7890 if (!SWIG_IsOK(res1
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7893 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanRedo();
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7909 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
= 0;
7911 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 char * kwnames
[] = {
7920 (char *) "self",(char *) "pos", NULL
7923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7928 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7930 if (!SWIG_IsOK(ecode2
)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
7933 arg2
= static_cast< long >(val2
);
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 (arg1
)->SetInsertionPoint(arg2
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_Py_Void();
7947 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7948 PyObject
*resultobj
= 0;
7949 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7952 PyObject
*swig_obj
[1] ;
7954 if (!args
) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7960 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetInsertionPointEnd();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_Py_Void();
7974 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 PyObject
*resultobj
= 0;
7976 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7980 PyObject
*swig_obj
[1] ;
7982 if (!args
) SWIG_fail
;
7984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7985 if (!SWIG_IsOK(res1
)) {
7986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7988 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetInsertionPoint();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_From_long(static_cast< long >(result
));
8002 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8003 PyObject
*resultobj
= 0;
8004 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8008 PyObject
*swig_obj
[1] ;
8010 if (!args
) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8016 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetLastPosition();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_From_long(static_cast< long >(result
));
8030 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
= 0;
8032 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 char * kwnames
[] = {
8045 (char *) "self",(char *) "from",(char *) "to", NULL
8048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8050 if (!SWIG_IsOK(res1
)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8053 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8055 if (!SWIG_IsOK(ecode2
)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8058 arg2
= static_cast< long >(val2
);
8059 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8060 if (!SWIG_IsOK(ecode3
)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8063 arg3
= static_cast< long >(val3
);
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->SetSelection(arg2
,arg3
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_Py_Void();
8077 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8079 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8082 PyObject
*swig_obj
[1] ;
8084 if (!args
) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8090 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 (arg1
)->SelectAll();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_Py_Void();
8104 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= 0;
8106 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 char * kwnames
[] = {
8115 (char *) "self",(char *) "editable", NULL
8118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8120 if (!SWIG_IsOK(res1
)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8123 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8124 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8125 if (!SWIG_IsOK(ecode2
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8128 arg2
= static_cast< bool >(val2
);
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->SetEditable(arg2
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_Py_Void();
8142 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8143 PyObject
*resultobj
= 0;
8144 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8148 PyObject
*swig_obj
[1] ;
8150 if (!args
) SWIG_fail
;
8152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8153 if (!SWIG_IsOK(res1
)) {
8154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8156 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasSelection();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8172 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8176 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8184 PyObject
* obj0
= 0 ;
8185 PyObject
* obj1
= 0 ;
8186 PyObject
* obj2
= 0 ;
8187 char * kwnames
[] = {
8188 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8196 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
8198 if (!SWIG_IsOK(res2
)) {
8199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8204 arg2
= reinterpret_cast< wxImage
* >(argp2
);
8206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8207 if (!SWIG_IsOK(ecode3
)) {
8208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8210 arg3
= static_cast< int >(val3
);
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (bool)(arg1
)->WriteImage((wxImage
const &)*arg2
,arg3
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8227 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
= 0;
8229 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8230 wxBitmap
*arg2
= 0 ;
8231 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 char * kwnames
[] = {
8243 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8248 if (!SWIG_IsOK(res1
)) {
8249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8251 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8253 if (!SWIG_IsOK(res2
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8259 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8262 if (!SWIG_IsOK(ecode3
)) {
8263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8265 arg3
= static_cast< int >(val3
);
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= (bool)(arg1
)->WriteImage((wxBitmap
const &)*arg2
,arg3
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8282 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
= 0;
8284 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8285 wxString
*arg2
= 0 ;
8290 bool temp2
= false ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8295 PyObject
* obj2
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8305 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8307 arg2
= wxString_in_helper(obj1
);
8308 if (arg2
== NULL
) SWIG_fail
;
8311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8312 if (!SWIG_IsOK(ecode3
)) {
8313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8315 arg3
= static_cast< int >(val3
);
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (bool)(arg1
)->WriteImage((wxString
const &)*arg2
,arg3
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8342 wxRichTextImageBlock
*arg2
= 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 char * kwnames
[] = {
8351 (char *) "self",(char *) "imageBlock", NULL
8354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8356 if (!SWIG_IsOK(res1
)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8359 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
, 0 | 0);
8361 if (!SWIG_IsOK(res2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8367 arg2
= reinterpret_cast< wxRichTextImageBlock
* >(argp2
);
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock
const &)*arg2
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8383 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Newline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 PyObject
*resultobj
= 0;
8385 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8389 PyObject
*swig_obj
[1] ;
8391 if (!args
) SWIG_fail
;
8393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8394 if (!SWIG_IsOK(res1
)) {
8395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8397 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (bool)(arg1
)->Newline();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8413 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetBasicStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
= 0;
8415 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8416 wxRichTextAttr
*arg2
= 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "self",(char *) "style", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8432 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
8434 if (!SWIG_IsOK(res2
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8440 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->SetBasicStyle((wxRichTextAttr
const &)*arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_Py_Void();
8454 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8455 PyObject
*resultobj
= 0;
8456 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8460 PyObject
*swig_obj
[1] ;
8462 if (!args
) SWIG_fail
;
8464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8465 if (!SWIG_IsOK(res1
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8468 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 result
= (bool)(arg1
)->EndStyle();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8484 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAllStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8485 PyObject
*resultobj
= 0;
8486 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8490 PyObject
*swig_obj
[1] ;
8492 if (!args
) SWIG_fail
;
8494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8495 if (!SWIG_IsOK(res1
)) {
8496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8498 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= (bool)(arg1
)->EndAllStyles();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8514 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8515 PyObject
*resultobj
= 0;
8516 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8520 PyObject
*swig_obj
[1] ;
8522 if (!args
) SWIG_fail
;
8524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8525 if (!SWIG_IsOK(res1
)) {
8526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8528 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (bool)(arg1
)->BeginBold();
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8544 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8545 PyObject
*resultobj
= 0;
8546 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8550 PyObject
*swig_obj
[1] ;
8552 if (!args
) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8558 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (bool)(arg1
)->EndBold();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8574 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8575 PyObject
*resultobj
= 0;
8576 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8580 PyObject
*swig_obj
[1] ;
8582 if (!args
) SWIG_fail
;
8584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8585 if (!SWIG_IsOK(res1
)) {
8586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8588 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)(arg1
)->BeginItalic();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8604 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8605 PyObject
*resultobj
= 0;
8606 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8610 PyObject
*swig_obj
[1] ;
8612 if (!args
) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8618 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (bool)(arg1
)->EndItalic();
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8634 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 PyObject
*resultobj
= 0;
8636 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8640 PyObject
*swig_obj
[1] ;
8642 if (!args
) SWIG_fail
;
8644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8645 if (!SWIG_IsOK(res1
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8648 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (bool)(arg1
)->BeginUnderline();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8664 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8665 PyObject
*resultobj
= 0;
8666 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8670 PyObject
*swig_obj
[1] ;
8672 if (!args
) SWIG_fail
;
8674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8675 if (!SWIG_IsOK(res1
)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8678 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (bool)(arg1
)->EndUnderline();
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8694 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
= 0;
8696 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8705 char * kwnames
[] = {
8706 (char *) "self",(char *) "pointSize", NULL
8709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8711 if (!SWIG_IsOK(res1
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8714 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8716 if (!SWIG_IsOK(ecode2
)) {
8717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8719 arg2
= static_cast< int >(val2
);
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (bool)(arg1
)->BeginFontSize(arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8735 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8736 PyObject
*resultobj
= 0;
8737 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8741 PyObject
*swig_obj
[1] ;
8743 if (!args
) SWIG_fail
;
8745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8746 if (!SWIG_IsOK(res1
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8749 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (bool)(arg1
)->EndFontSize();
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8765 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
= 0;
8767 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8776 char * kwnames
[] = {
8777 (char *) "self",(char *) "font", NULL
8780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8782 if (!SWIG_IsOK(res1
)) {
8783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8785 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
8787 if (!SWIG_IsOK(res2
)) {
8788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8793 arg2
= reinterpret_cast< wxFont
* >(argp2
);
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (bool)(arg1
)->BeginFont((wxFont
const &)*arg2
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8809 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8810 PyObject
*resultobj
= 0;
8811 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8815 PyObject
*swig_obj
[1] ;
8817 if (!args
) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8823 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (bool)(arg1
)->EndFont();
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8839 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
= 0;
8841 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8842 wxColour
*arg2
= 0 ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8849 char * kwnames
[] = {
8850 (char *) "self",(char *) "colour", NULL
8853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8858 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (bool)(arg1
)->BeginTextColour((wxColour
const &)*arg2
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8878 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8879 PyObject
*resultobj
= 0;
8880 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8884 PyObject
*swig_obj
[1] ;
8886 if (!args
) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8892 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (bool)(arg1
)->EndTextColour();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8911 wxTextAttrAlignment arg2
;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 char * kwnames
[] = {
8920 (char *) "self",(char *) "alignment", NULL
8923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8928 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8930 if (!SWIG_IsOK(ecode2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
8933 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (bool)(arg1
)->BeginAlignment(arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8949 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8950 PyObject
*resultobj
= 0;
8951 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8955 PyObject
*swig_obj
[1] ;
8957 if (!args
) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8963 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (bool)(arg1
)->EndAlignment();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8979 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
= 0;
8981 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8983 int arg3
= (int) 0 ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8994 char * kwnames
[] = {
8995 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
8998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9003 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9005 if (!SWIG_IsOK(ecode2
)) {
9006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9008 arg2
= static_cast< int >(val2
);
9010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9011 if (!SWIG_IsOK(ecode3
)) {
9012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9014 arg3
= static_cast< int >(val3
);
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9031 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 PyObject
*resultobj
= 0;
9033 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9037 PyObject
*swig_obj
[1] ;
9039 if (!args
) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9045 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (bool)(arg1
)->EndLeftIndent();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
= 0;
9063 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 char * kwnames
[] = {
9073 (char *) "self",(char *) "rightIndent", NULL
9076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9078 if (!SWIG_IsOK(res1
)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9081 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9083 if (!SWIG_IsOK(ecode2
)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9086 arg2
= static_cast< int >(val2
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (bool)(arg1
)->BeginRightIndent(arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9102 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9103 PyObject
*resultobj
= 0;
9104 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9108 PyObject
*swig_obj
[1] ;
9110 if (!args
) SWIG_fail
;
9112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9113 if (!SWIG_IsOK(res1
)) {
9114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9116 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= (bool)(arg1
)->EndRightIndent();
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9132 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
= 0;
9134 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9144 PyObject
* obj0
= 0 ;
9145 PyObject
* obj1
= 0 ;
9146 PyObject
* obj2
= 0 ;
9147 char * kwnames
[] = {
9148 (char *) "self",(char *) "before",(char *) "after", NULL
9151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9153 if (!SWIG_IsOK(res1
)) {
9154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9156 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9158 if (!SWIG_IsOK(ecode2
)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9161 arg2
= static_cast< int >(val2
);
9162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9163 if (!SWIG_IsOK(ecode3
)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9166 arg3
= static_cast< int >(val3
);
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9182 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9183 PyObject
*resultobj
= 0;
9184 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9188 PyObject
*swig_obj
[1] ;
9190 if (!args
) SWIG_fail
;
9192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9193 if (!SWIG_IsOK(res1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9196 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (bool)(arg1
)->EndParagraphSpacing();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "self",(char *) "lineSpacing", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9232 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9234 if (!SWIG_IsOK(ecode2
)) {
9235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9237 arg2
= static_cast< int >(val2
);
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (bool)(arg1
)->BeginLineSpacing(arg2
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9253 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9254 PyObject
*resultobj
= 0;
9255 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9259 PyObject
*swig_obj
[1] ;
9261 if (!args
) SWIG_fail
;
9263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9264 if (!SWIG_IsOK(res1
)) {
9265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9267 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (bool)(arg1
)->EndLineSpacing();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9283 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
= 0;
9285 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9289 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD
;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 PyObject
* obj2
= 0 ;
9304 PyObject
* obj3
= 0 ;
9305 PyObject
* obj4
= 0 ;
9306 char * kwnames
[] = {
9307 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9315 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9317 if (!SWIG_IsOK(ecode2
)) {
9318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9320 arg2
= static_cast< int >(val2
);
9321 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9322 if (!SWIG_IsOK(ecode3
)) {
9323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9325 arg3
= static_cast< int >(val3
);
9326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9327 if (!SWIG_IsOK(ecode4
)) {
9328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9330 arg4
= static_cast< int >(val4
);
9332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9333 if (!SWIG_IsOK(ecode5
)) {
9334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9336 arg5
= static_cast< int >(val5
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9353 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9367 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (bool)(arg1
)->EndNumberedBullet();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9383 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9389 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL
;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9404 PyObject
* obj3
= 0 ;
9405 PyObject
* obj4
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9415 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9416 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9417 if (!SWIG_IsOK(ecode2
)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'");
9420 arg2
= static_cast< char >(val2
);
9421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9422 if (!SWIG_IsOK(ecode3
)) {
9423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9425 arg3
= static_cast< int >(val3
);
9426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9427 if (!SWIG_IsOK(ecode4
)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9430 arg4
= static_cast< int >(val4
);
9432 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9433 if (!SWIG_IsOK(ecode5
)) {
9434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9436 arg5
= static_cast< int >(val5
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9453 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9454 PyObject
*resultobj
= 0;
9455 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9459 PyObject
*swig_obj
[1] ;
9461 if (!args
) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9467 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (bool)(arg1
)->EndSymbolBullet();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= 0;
9485 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9486 wxString
*arg2
= 0 ;
9490 bool temp2
= false ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "characterStyle", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9502 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9504 arg2
= wxString_in_helper(obj1
);
9505 if (arg2
== NULL
) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (bool)(arg1
)->BeginCharacterStyle((wxString
const &)*arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9531 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 PyObject
*resultobj
= 0;
9533 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9537 PyObject
*swig_obj
[1] ;
9539 if (!args
) SWIG_fail
;
9541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9542 if (!SWIG_IsOK(res1
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9545 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (bool)(arg1
)->EndCharacterStyle();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9561 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= 0;
9563 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9564 wxString
*arg2
= 0 ;
9568 bool temp2
= false ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "self",(char *) "paragraphStyle", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9580 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9582 arg2
= wxString_in_helper(obj1
);
9583 if (arg2
== NULL
) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->BeginParagraphStyle((wxString
const &)*arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9609 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9610 PyObject
*resultobj
= 0;
9611 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9615 PyObject
*swig_obj
[1] ;
9617 if (!args
) SWIG_fail
;
9619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9620 if (!SWIG_IsOK(res1
)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9623 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (bool)(arg1
)->EndParagraphStyle();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9639 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9640 PyObject
*resultobj
= 0;
9641 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9645 PyObject
*swig_obj
[1] ;
9647 if (!args
) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9653 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (bool)(arg1
)->SetDefaultStyleToCursorStyle();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9669 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectNone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9682 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 (arg1
)->SelectNone();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= SWIG_Py_Void();
9696 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9697 PyObject
*resultobj
= 0;
9698 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9699 wxRichTextRange
*result
= 0 ;
9702 PyObject
*swig_obj
[1] ;
9704 if (!args
) SWIG_fail
;
9706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9707 if (!SWIG_IsOK(res1
)) {
9708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
9710 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 wxRichTextRange
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetSelectionRange();
9715 result
= (wxRichTextRange
*) &_result_ref
;
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
9727 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
= 0;
9729 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9730 wxRichTextRange
*arg2
= 0 ;
9733 wxRichTextRange temp2
;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 char * kwnames
[] = {
9737 (char *) "self",(char *) "range", NULL
9740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9742 if (!SWIG_IsOK(res1
)) {
9743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9745 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9748 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 (arg1
)->SetSelectionRange((wxRichTextRange
const &)*arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_Py_Void();
9763 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddParagraph(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9766 wxString
*arg2
= 0 ;
9767 wxRichTextRange result
;
9770 bool temp2
= false ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "text", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9782 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9784 arg2
= wxString_in_helper(obj1
);
9785 if (arg2
== NULL
) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (arg1
)->AddParagraph((wxString
const &)*arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
9809 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
= 0;
9811 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9813 wxRichTextRange result
;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "image", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9829 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
9831 if (!SWIG_IsOK(res2
)) {
9832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9837 arg2
= reinterpret_cast< wxImage
* >(argp2
);
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (arg1
)->AddImage((wxImage
const &)*arg2
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
9851 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LayoutContent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= 0;
9853 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9854 bool arg2
= (bool) false ;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9862 char * kwnames
[] = {
9863 (char *) "self",(char *) "onlyVisibleRect", NULL
9866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",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_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9871 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9874 if (!SWIG_IsOK(ecode2
)) {
9875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
9877 arg2
= static_cast< bool >(val2
);
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (bool)(arg1
)->LayoutContent(arg2
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9894 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= 0;
9896 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9898 bool arg3
= (bool) false ;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9908 PyObject
* obj2
= 0 ;
9909 char * kwnames
[] = {
9910 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
9913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9918 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9920 if (!SWIG_IsOK(ecode2
)) {
9921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
9923 arg2
= static_cast< long >(val2
);
9925 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9926 if (!SWIG_IsOK(ecode3
)) {
9927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
9929 arg3
= static_cast< bool >(val3
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->MoveCaret(arg2
,arg3
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9949 int arg2
= (int) 1 ;
9950 int arg3
= (int) 0 ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 PyObject
* obj2
= 0 ;
9961 char * kwnames
[] = {
9962 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
9965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9967 if (!SWIG_IsOK(res1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9970 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9973 if (!SWIG_IsOK(ecode2
)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
9976 arg2
= static_cast< int >(val2
);
9979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9980 if (!SWIG_IsOK(ecode3
)) {
9981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
9983 arg3
= static_cast< int >(val3
);
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (bool)(arg1
)->MoveRight(arg2
,arg3
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10000 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10003 int arg2
= (int) 1 ;
10004 int arg3
= (int) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 PyObject
* obj2
= 0 ;
10015 char * kwnames
[] = {
10016 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10021 if (!SWIG_IsOK(res1
)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10024 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10027 if (!SWIG_IsOK(ecode2
)) {
10028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10030 arg2
= static_cast< int >(val2
);
10033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10034 if (!SWIG_IsOK(ecode3
)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10037 arg3
= static_cast< int >(val3
);
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (bool)(arg1
)->MoveLeft(arg2
,arg3
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10054 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
= 0;
10056 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10057 int arg2
= (int) 1 ;
10058 int arg3
= (int) 0 ;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 PyObject
* obj2
= 0 ;
10069 char * kwnames
[] = {
10070 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10075 if (!SWIG_IsOK(res1
)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10078 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10081 if (!SWIG_IsOK(ecode2
)) {
10082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10084 arg2
= static_cast< int >(val2
);
10087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10088 if (!SWIG_IsOK(ecode3
)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10091 arg3
= static_cast< int >(val3
);
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (bool)(arg1
)->MoveUp(arg2
,arg3
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10108 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
= 0;
10110 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10111 int arg2
= (int) 1 ;
10112 int arg3
= (int) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 PyObject
* obj2
= 0 ;
10123 char * kwnames
[] = {
10124 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10129 if (!SWIG_IsOK(res1
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10132 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10135 if (!SWIG_IsOK(ecode2
)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10138 arg2
= static_cast< int >(val2
);
10141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10142 if (!SWIG_IsOK(ecode3
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10145 arg3
= static_cast< int >(val3
);
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (bool)(arg1
)->MoveDown(arg2
,arg3
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10162 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
= 0;
10164 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10165 int arg2
= (int) 0 ;
10171 PyObject
* obj0
= 0 ;
10172 PyObject
* obj1
= 0 ;
10173 char * kwnames
[] = {
10174 (char *) "self",(char *) "flags", NULL
10177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10182 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10185 if (!SWIG_IsOK(ecode2
)) {
10186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10188 arg2
= static_cast< int >(val2
);
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (bool)(arg1
)->MoveToLineEnd(arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10205 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10208 int arg2
= (int) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 char * kwnames
[] = {
10217 (char *) "self",(char *) "flags", NULL
10220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10222 if (!SWIG_IsOK(res1
)) {
10223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10225 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10228 if (!SWIG_IsOK(ecode2
)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10231 arg2
= static_cast< int >(val2
);
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (bool)(arg1
)->MoveToLineStart(arg2
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10248 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= 0;
10250 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10251 int arg2
= (int) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 PyObject
* obj1
= 0 ;
10259 char * kwnames
[] = {
10260 (char *) "self",(char *) "flags", NULL
10263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10265 if (!SWIG_IsOK(res1
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10268 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10271 if (!SWIG_IsOK(ecode2
)) {
10272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10274 arg2
= static_cast< int >(val2
);
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)(arg1
)->MoveToParagraphEnd(arg2
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10291 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= 0;
10293 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10294 int arg2
= (int) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char * kwnames
[] = {
10303 (char *) "self",(char *) "flags", NULL
10306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10308 if (!SWIG_IsOK(res1
)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10311 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10317 arg2
= static_cast< int >(val2
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (bool)(arg1
)->MoveToParagraphStart(arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10334 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10337 int arg2
= (int) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 char * kwnames
[] = {
10346 (char *) "self",(char *) "flags", NULL
10349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10351 if (!SWIG_IsOK(res1
)) {
10352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10354 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10357 if (!SWIG_IsOK(ecode2
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10360 arg2
= static_cast< int >(val2
);
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)(arg1
)->MoveHome(arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10377 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
= 0;
10379 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10380 int arg2
= (int) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char * kwnames
[] = {
10389 (char *) "self",(char *) "flags", NULL
10392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10394 if (!SWIG_IsOK(res1
)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10397 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10400 if (!SWIG_IsOK(ecode2
)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10403 arg2
= static_cast< int >(val2
);
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)(arg1
)->MoveEnd(arg2
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10420 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10423 int arg2
= (int) 1 ;
10424 int arg3
= (int) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 PyObject
* obj2
= 0 ;
10435 char * kwnames
[] = {
10436 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10441 if (!SWIG_IsOK(res1
)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10444 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10447 if (!SWIG_IsOK(ecode2
)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10450 arg2
= static_cast< int >(val2
);
10453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10454 if (!SWIG_IsOK(ecode3
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10457 arg3
= static_cast< int >(val3
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (bool)(arg1
)->PageUp(arg2
,arg3
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
= 0;
10476 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10477 int arg2
= (int) 1 ;
10478 int arg3
= (int) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 PyObject
* obj2
= 0 ;
10489 char * kwnames
[] = {
10490 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10498 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10501 if (!SWIG_IsOK(ecode2
)) {
10502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10504 arg2
= static_cast< int >(val2
);
10507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10508 if (!SWIG_IsOK(ecode3
)) {
10509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10511 arg3
= static_cast< int >(val3
);
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (bool)(arg1
)->PageDown(arg2
,arg3
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10528 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
= 0;
10530 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10531 int arg2
= (int) 1 ;
10532 int arg3
= (int) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 PyObject
* obj2
= 0 ;
10543 char * kwnames
[] = {
10544 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10549 if (!SWIG_IsOK(res1
)) {
10550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10552 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10555 if (!SWIG_IsOK(ecode2
)) {
10556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10558 arg2
= static_cast< int >(val2
);
10561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10562 if (!SWIG_IsOK(ecode3
)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10565 arg3
= static_cast< int >(val3
);
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (bool)(arg1
)->WordLeft(arg2
,arg3
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10582 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10585 int arg2
= (int) 1 ;
10586 int arg3
= (int) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10606 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10609 if (!SWIG_IsOK(ecode2
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10612 arg2
= static_cast< int >(val2
);
10615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10616 if (!SWIG_IsOK(ecode3
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10619 arg3
= static_cast< int >(val3
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (bool)(arg1
)->WordRight(arg2
,arg3
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10637 PyObject
*resultobj
= 0;
10638 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10639 wxRichTextBuffer
*result
= 0 ;
10642 PyObject
*swig_obj
[1] ;
10644 if (!args
) SWIG_fail
;
10645 swig_obj
[0] = args
;
10646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10647 if (!SWIG_IsOK(res1
)) {
10648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10650 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 wxRichTextBuffer
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetBuffer();
10655 result
= (wxRichTextBuffer
*) &_result_ref
;
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 | 0 );
10667 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10670 wxString
*arg2
= 0 ;
10674 bool temp2
= false ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "cmdName", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10686 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10688 arg2
= wxString_in_helper(obj1
);
10689 if (arg2
== NULL
) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (bool)(arg1
)->BeginBatchUndo((wxString
const &)*arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10715 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10716 PyObject
*resultobj
= 0;
10717 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10721 PyObject
*swig_obj
[1] ;
10723 if (!args
) SWIG_fail
;
10724 swig_obj
[0] = args
;
10725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10726 if (!SWIG_IsOK(res1
)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10729 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (bool)(arg1
)->EndBatchUndo();
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10745 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BatchingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10746 PyObject
*resultobj
= 0;
10747 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10751 PyObject
*swig_obj
[1] ;
10753 if (!args
) SWIG_fail
;
10754 swig_obj
[0] = args
;
10755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10759 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)((wxRichTextCtrl
const *)arg1
)->BatchingUndo();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10775 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10776 PyObject
*resultobj
= 0;
10777 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10781 PyObject
*swig_obj
[1] ;
10783 if (!args
) SWIG_fail
;
10784 swig_obj
[0] = args
;
10785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10789 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (bool)(arg1
)->BeginSuppressUndo();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10805 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10806 PyObject
*resultobj
= 0;
10807 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10811 PyObject
*swig_obj
[1] ;
10813 if (!args
) SWIG_fail
;
10814 swig_obj
[0] = args
;
10815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10816 if (!SWIG_IsOK(res1
)) {
10817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10819 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (bool)(arg1
)->EndSuppressUndo();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10835 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SuppressingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10836 PyObject
*resultobj
= 0;
10837 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10841 PyObject
*swig_obj
[1] ;
10843 if (!args
) SWIG_fail
;
10844 swig_obj
[0] = args
;
10845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10846 if (!SWIG_IsOK(res1
)) {
10847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10849 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (bool)((wxRichTextCtrl
const *)arg1
)->SuppressingUndo();
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10865 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10868 wxRichTextRange
*arg2
= 0 ;
10869 wxRichTextAttr
*arg3
= 0 ;
10873 wxRichTextRange temp2
;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 PyObject
* obj2
= 0 ;
10879 char * kwnames
[] = {
10880 (char *) "self",(char *) "range",(char *) "style", NULL
10883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10888 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10891 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10893 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
10894 if (!SWIG_IsOK(res3
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10900 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasCharacterAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10916 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10919 wxRichTextRange
*arg2
= 0 ;
10920 wxRichTextAttr
*arg3
= 0 ;
10924 wxRichTextRange temp2
;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 PyObject
* obj2
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "range",(char *) "style", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10939 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10942 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10944 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
10945 if (!SWIG_IsOK(res3
)) {
10946 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10951 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasParagraphAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10967 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10968 PyObject
*resultobj
= 0;
10969 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10973 PyObject
*swig_obj
[1] ;
10975 if (!args
) SWIG_fail
;
10976 swig_obj
[0] = args
;
10977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10981 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionBold();
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10997 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10998 PyObject
*resultobj
= 0;
10999 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11003 PyObject
*swig_obj
[1] ;
11005 if (!args
) SWIG_fail
;
11006 swig_obj
[0] = args
;
11007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11011 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionItalics();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11027 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11028 PyObject
*resultobj
= 0;
11029 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11033 PyObject
*swig_obj
[1] ;
11035 if (!args
) SWIG_fail
;
11036 swig_obj
[0] = args
;
11037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11041 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionUnderlined();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
= 0;
11059 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11060 wxTextAttrAlignment arg2
;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char * kwnames
[] = {
11069 (char *) "self",(char *) "alignment", NULL
11072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11077 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11079 if (!SWIG_IsOK(ecode2
)) {
11080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11082 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionAligned(arg2
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11098 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11099 PyObject
*resultobj
= 0;
11100 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11104 PyObject
*swig_obj
[1] ;
11106 if (!args
) SWIG_fail
;
11107 swig_obj
[0] = args
;
11108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11109 if (!SWIG_IsOK(res1
)) {
11110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11112 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)(arg1
)->ApplyBoldToSelection();
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11128 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11129 PyObject
*resultobj
= 0;
11130 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11134 PyObject
*swig_obj
[1] ;
11136 if (!args
) SWIG_fail
;
11137 swig_obj
[0] = args
;
11138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11142 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)(arg1
)->ApplyItalicToSelection();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11158 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11159 PyObject
*resultobj
= 0;
11160 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11164 PyObject
*swig_obj
[1] ;
11166 if (!args
) SWIG_fail
;
11167 swig_obj
[0] = args
;
11168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11169 if (!SWIG_IsOK(res1
)) {
11170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11172 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)(arg1
)->ApplyUnderlineToSelection();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
= 0;
11190 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11191 wxTextAttrAlignment arg2
;
11197 PyObject
* obj0
= 0 ;
11198 PyObject
* obj1
= 0 ;
11199 char * kwnames
[] = {
11200 (char *) "self",(char *) "alignment", NULL
11203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11205 if (!SWIG_IsOK(res1
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11208 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11210 if (!SWIG_IsOK(ecode2
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11213 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
= 0;
11231 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11232 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) 0 ;
11237 PyObject
* obj0
= 0 ;
11238 PyObject
* obj1
= 0 ;
11239 char * kwnames
[] = {
11240 (char *) "self",(char *) "styleSheet", NULL
11243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11245 if (!SWIG_IsOK(res1
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11248 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11250 if (!SWIG_IsOK(res2
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11253 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 (arg1
)->SetStyleSheet(arg2
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_Py_Void();
11267 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11268 PyObject
*resultobj
= 0;
11269 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11270 wxRichTextStyleSheet
*result
= 0 ;
11273 PyObject
*swig_obj
[1] ;
11275 if (!args
) SWIG_fail
;
11276 swig_obj
[0] = args
;
11277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11278 if (!SWIG_IsOK(res1
)) {
11279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11281 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (wxRichTextStyleSheet
*)((wxRichTextCtrl
const *)arg1
)->GetStyleSheet();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11295 SWIGINTERN PyObject
*RichTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11298 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
));
11299 return SWIG_Py_Void();
11302 SWIGINTERN PyObject
*RichTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 return SWIG_Python_InitShadowInstance(args
);
11306 SWIGINTERN PyObject
*_wrap_new_RichTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
= 0;
11308 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11309 int arg2
= (int) 0 ;
11310 wxRichTextEvent
*result
= 0 ;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char * kwnames
[] = {
11318 (char *) "commandType",(char *) "winid", NULL
11321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11324 if (!SWIG_IsOK(ecode1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11327 arg1
= static_cast< wxEventType
>(val1
);
11330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11331 if (!SWIG_IsOK(ecode2
)) {
11332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11334 arg2
= static_cast< int >(val2
);
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxRichTextEvent
*)new wxRichTextEvent(arg1
,arg2
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW
| 0 );
11349 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11350 PyObject
*resultobj
= 0;
11351 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11355 PyObject
*swig_obj
[1] ;
11357 if (!args
) SWIG_fail
;
11358 swig_obj
[0] = args
;
11359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11360 if (!SWIG_IsOK(res1
)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11363 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (int)((wxRichTextEvent
const *)arg1
)->GetIndex();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_From_int(static_cast< int >(result
));
11377 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
= 0;
11379 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 char * kwnames
[] = {
11388 (char *) "self",(char *) "n", NULL
11391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11396 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11398 if (!SWIG_IsOK(ecode2
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11401 arg2
= static_cast< int >(val2
);
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 (arg1
)->SetIndex(arg2
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= SWIG_Py_Void();
11415 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11416 PyObject
*resultobj
= 0;
11417 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11421 PyObject
*swig_obj
[1] ;
11423 if (!args
) SWIG_fail
;
11424 swig_obj
[0] = args
;
11425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11426 if (!SWIG_IsOK(res1
)) {
11427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11429 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (int)((wxRichTextEvent
const *)arg1
)->GetFlags();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_From_int(static_cast< int >(result
));
11443 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
= 0;
11445 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char * kwnames
[] = {
11454 (char *) "self",(char *) "flags", NULL
11457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11459 if (!SWIG_IsOK(res1
)) {
11460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11462 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11464 if (!SWIG_IsOK(ecode2
)) {
11465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11467 arg2
= static_cast< int >(val2
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 (arg1
)->SetFlags(arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_Py_Void();
11481 SWIGINTERN PyObject
*RichTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11484 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
));
11485 return SWIG_Py_Void();
11488 SWIGINTERN PyObject
*RichTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 return SWIG_Python_InitShadowInstance(args
);
11492 static PyMethodDef SwigMethods
[] = {
11493 { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11494 { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
},
11495 { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11496 { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11497 { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11498 { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11499 { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11500 { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
},
11501 { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11502 { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
},
11503 { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11504 { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11505 { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11506 { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11507 { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
},
11508 { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
},
11509 { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
},
11510 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
},
11511 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
},
11512 { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11513 { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
},
11514 { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
},
11515 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11516 { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11517 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11518 { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11519 { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11520 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11521 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11522 { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11523 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11524 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11525 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11526 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11527 { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11528 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11529 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11530 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11531 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11532 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11533 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11534 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11535 { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11536 { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
},
11537 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
},
11538 { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
},
11539 { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
},
11540 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
},
11541 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
},
11542 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
},
11543 { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
},
11544 { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
},
11545 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
},
11546 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
},
11547 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
},
11548 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
},
11549 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
},
11550 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
},
11551 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
},
11552 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
},
11553 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
},
11554 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
},
11555 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
},
11556 { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
},
11557 { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
},
11558 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
},
11559 { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
},
11560 { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
},
11561 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
},
11562 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
},
11563 { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
},
11564 { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
},
11565 { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
},
11566 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
},
11567 { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
},
11568 { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
},
11569 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
},
11570 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
},
11571 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
},
11572 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
},
11573 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
},
11574 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
},
11575 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
},
11576 { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
},
11577 { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11578 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
},
11579 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
},
11580 { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
},
11581 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
},
11582 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
},
11583 { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11584 { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
},
11585 { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11586 { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
},
11587 { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11588 { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11589 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11590 { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11591 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
},
11592 { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
},
11593 { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
},
11594 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
},
11595 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
},
11596 { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
},
11597 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
},
11598 { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
},
11599 { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11600 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11601 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
},
11602 { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
},
11603 { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11604 { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11605 { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11606 { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11607 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
},
11608 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
},
11609 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11610 { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11611 { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11612 { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11613 { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11614 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11615 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
},
11616 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11617 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11618 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11619 { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11620 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11621 { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
},
11622 { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
},
11623 { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
},
11624 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
},
11625 { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
},
11626 { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
},
11627 { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
},
11628 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
},
11629 { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
},
11630 { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
},
11631 { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
},
11632 { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
},
11633 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11634 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
11635 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
},
11636 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
},
11637 { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11638 { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
},
11639 { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11640 { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
},
11641 { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11642 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11643 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11644 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11645 { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
},
11646 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11647 { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
},
11648 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
},
11649 { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
},
11650 { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
},
11651 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
},
11652 { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
},
11653 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
},
11654 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
},
11655 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11656 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
},
11657 { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11658 { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
},
11659 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11660 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
},
11661 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11662 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
},
11663 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11664 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
},
11665 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11666 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
},
11667 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11668 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
},
11669 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11670 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
},
11671 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11672 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
},
11673 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11674 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
},
11675 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11676 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
},
11677 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11678 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
},
11679 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
},
11680 { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
},
11681 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
},
11682 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11683 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11684 { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11685 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11686 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11687 { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11688 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11689 { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11690 { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11691 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11692 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11693 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11694 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11695 { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11696 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11697 { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11698 { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11699 { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11700 { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11701 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
},
11702 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11703 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
},
11704 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
},
11705 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
},
11706 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
},
11707 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
},
11708 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11709 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11710 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
},
11711 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
},
11712 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
},
11713 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11714 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
},
11715 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
},
11716 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
},
11717 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11718 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11719 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
},
11720 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
},
11721 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
},
11722 { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11723 { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
},
11724 { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11725 { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
},
11726 { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11727 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
},
11728 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
},
11729 { NULL
, NULL
, 0, NULL
}
11733 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11735 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11736 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11738 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11739 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11741 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11742 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11744 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11745 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11747 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11748 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11750 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11751 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11753 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) {
11754 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11756 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11757 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11759 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11760 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11762 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11763 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11765 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) {
11766 return (void *)((wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
11768 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
11769 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11771 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11772 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11774 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) {
11775 return (void *)((wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11777 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11778 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11780 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11781 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11783 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11784 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11786 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11787 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11789 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11790 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11792 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11795 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11798 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11801 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
11802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11804 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11805 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11807 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11808 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11810 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11811 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11813 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11814 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11816 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11817 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11819 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11820 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11822 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11823 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11825 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11826 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11828 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11829 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11831 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11832 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11834 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11835 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11837 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11838 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11840 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11841 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11843 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11844 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11846 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11847 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11849 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11850 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11852 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11853 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11855 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11856 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11858 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11859 return (void *)((wxWindow
*) ((wxControl
*) x
));
11861 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11864 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11867 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11870 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11871 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11873 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11874 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11876 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11877 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11879 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11880 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11882 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11883 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11885 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11886 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11888 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11889 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11891 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11892 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11894 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11897 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11898 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11900 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11901 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11903 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11904 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11906 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11907 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11909 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) {
11910 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11912 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
11913 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11915 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
11916 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
11918 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
11919 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
11921 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
11922 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
11924 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
11925 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
11927 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
11928 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
11930 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
11931 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11933 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
11934 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
11936 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
11937 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
11939 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
11940 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11942 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
11943 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11945 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
11946 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
11948 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
11949 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11951 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
11952 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
11954 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
11955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11957 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
11958 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11960 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
11961 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
11963 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
11964 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
11966 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
11967 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
11969 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
11970 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
11972 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
11973 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
11975 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
11976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
11978 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
11979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
11981 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
11982 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
11984 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
11985 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
11987 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) {
11988 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
11990 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
11991 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11993 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
11994 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
11996 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
11997 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
11999 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
12000 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12002 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
12003 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12005 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
12006 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
12008 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
12009 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
12011 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
12012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12014 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
12015 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
12017 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
12018 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12020 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
12021 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
12023 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
12024 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
12026 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
12027 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12029 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
12030 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12032 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
12033 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12035 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
12036 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
12038 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
12039 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
12041 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
12042 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12044 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12045 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12047 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12048 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12050 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12053 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12056 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12057 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12059 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12060 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12062 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12065 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12066 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12068 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12069 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12071 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12072 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12074 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12075 return (void *)((wxObject
*) ((wxSizer
*) x
));
12077 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12078 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12080 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12083 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12086 static void *_p_wxEventTo_p_wxObject(void *x
) {
12087 return (void *)((wxObject
*) ((wxEvent
*) x
));
12089 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12090 return (void *)((wxObject
*) ((wxFontData
*) x
));
12092 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12093 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12095 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12096 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12098 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12099 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12101 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12102 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12104 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12105 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12107 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12108 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12110 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12113 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
12114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12116 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12117 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12119 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12120 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12122 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) {
12123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12125 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12126 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12128 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12129 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12131 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12132 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12134 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12135 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12137 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12140 static void *_p_wxControlTo_p_wxObject(void *x
) {
12141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12143 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12144 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12146 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12149 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12150 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12152 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12153 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12155 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12156 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12158 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12161 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) {
12162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12164 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12165 return (void *)((wxObject
*) ((wxColourData
*) x
));
12167 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12168 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12170 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12173 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12176 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12179 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12182 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12185 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12188 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12191 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12194 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12197 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12200 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12203 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12204 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12206 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12207 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12209 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12210 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12212 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12213 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12215 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12216 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12218 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12221 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12222 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12224 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12225 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12227 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12228 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12230 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12231 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12233 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12234 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12236 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12237 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12239 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12242 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12243 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12245 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12246 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12248 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12249 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12251 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12252 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12254 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12255 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12257 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12258 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12260 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12261 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12263 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12264 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12266 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12267 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12269 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12270 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12272 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12275 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12276 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12278 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12279 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12281 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12282 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12284 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12287 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12290 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12291 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12293 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12294 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12296 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12299 static void *_p_wxImageTo_p_wxObject(void *x
) {
12300 return (void *)((wxObject
*) ((wxImage
*) x
));
12302 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12305 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12306 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12308 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12309 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12311 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12312 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12314 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12317 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12320 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12323 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12324 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12326 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12327 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12329 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12330 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12332 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12335 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12338 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12341 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12344 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12347 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12350 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12353 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12356 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12359 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12362 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12365 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12368 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12371 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12374 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12377 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12378 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12380 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12381 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12383 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12386 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12389 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12392 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12395 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12398 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12399 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
12401 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12402 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12404 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12405 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12407 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12410 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12411 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12413 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12414 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12416 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12417 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12419 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12420 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12422 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12423 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12425 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12428 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12429 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12431 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12434 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12437 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12438 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12440 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12441 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12443 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12446 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12449 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12450 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12452 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12453 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12455 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12458 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12459 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12461 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12464 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12467 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12470 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12471 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12473 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12474 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12476 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12477 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12479 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12480 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12482 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12485 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12488 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12491 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12494 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12497 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12500 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12503 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12506 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12509 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12510 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12512 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12515 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12518 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12521 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12522 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12524 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12527 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12530 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12533 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12534 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12536 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12537 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12539 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12542 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12545 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12548 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12551 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12552 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12554 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12557 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12560 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12563 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12564 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12566 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12569 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12570 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12572 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12575 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12578 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12581 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12584 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12587 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12588 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12590 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12593 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12596 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12599 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12602 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12605 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12608 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) {
12609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12611 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
12612 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
12614 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
12615 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12617 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
12618 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12620 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) {
12621 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12623 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
12624 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12626 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
12627 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
12629 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
12630 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12632 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
12633 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12635 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
12636 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12638 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
12639 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
12641 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
12642 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12644 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
12645 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12647 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
12648 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12650 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
12651 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12653 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
12654 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};
12655 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
12656 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
12657 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12658 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12659 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12660 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
12661 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12662 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
12663 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12664 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12665 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12666 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12667 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12668 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12669 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12670 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12671 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12672 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12673 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12674 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12675 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12676 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12677 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12678 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12679 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12680 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12681 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12682 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12683 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12684 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12685 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12686 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12687 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12688 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12689 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12690 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12691 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12692 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12693 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12694 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12695 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12696 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12697 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12698 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12699 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12700 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12701 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12702 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12703 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12704 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12705 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12706 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12707 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12709 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12713 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12717 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12718 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12719 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12720 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12721 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12756 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
12757 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
12758 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12759 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12797 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12798 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12799 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12800 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12801 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12802 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12803 static swig_type_info _swigt__p_wxRichTextAttr
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
12804 static swig_type_info _swigt__p_wxRichTextBuffer
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
12805 static swig_type_info _swigt__p_wxRichTextCtrl
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
12806 static swig_type_info _swigt__p_wxRichTextEvent
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
12807 static swig_type_info _swigt__p_wxRichTextImageBlock
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
12808 static swig_type_info _swigt__p_wxRichTextRange
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
12809 static swig_type_info _swigt__p_wxRichTextStyleSheet
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
12810 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12811 static swig_type_info _swigt__p_wxTextCoord
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
12812 static swig_type_info _swigt__p_wxTextCtrlHitTestResult
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
12813 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12815 static swig_type_info
*swig_type_initial
[] = {
12817 &_swigt__p_form_ops_t
,
12820 &_swigt__p_unsigned_char
,
12821 &_swigt__p_unsigned_int
,
12822 &_swigt__p_unsigned_long
,
12823 &_swigt__p_wxANIHandler
,
12824 &_swigt__p_wxAcceleratorTable
,
12825 &_swigt__p_wxActivateEvent
,
12826 &_swigt__p_wxArrayInt
,
12827 &_swigt__p_wxBMPHandler
,
12828 &_swigt__p_wxBitmap
,
12829 &_swigt__p_wxBoxSizer
,
12830 &_swigt__p_wxCURHandler
,
12831 &_swigt__p_wxCalculateLayoutEvent
,
12833 &_swigt__p_wxChildFocusEvent
,
12834 &_swigt__p_wxClipboardTextEvent
,
12835 &_swigt__p_wxCloseEvent
,
12836 &_swigt__p_wxColour
,
12837 &_swigt__p_wxColourData
,
12838 &_swigt__p_wxColourDialog
,
12839 &_swigt__p_wxCommandEvent
,
12840 &_swigt__p_wxContextMenuEvent
,
12841 &_swigt__p_wxControl
,
12842 &_swigt__p_wxControlWithItems
,
12843 &_swigt__p_wxDateEvent
,
12844 &_swigt__p_wxDialog
,
12845 &_swigt__p_wxDirDialog
,
12846 &_swigt__p_wxDisplayChangedEvent
,
12847 &_swigt__p_wxDropFilesEvent
,
12848 &_swigt__p_wxDuplexMode
,
12849 &_swigt__p_wxEraseEvent
,
12850 &_swigt__p_wxEvent
,
12851 &_swigt__p_wxEvtHandler
,
12852 &_swigt__p_wxFSFile
,
12853 &_swigt__p_wxFileDialog
,
12854 &_swigt__p_wxFileSystem
,
12855 &_swigt__p_wxFindDialogEvent
,
12856 &_swigt__p_wxFindReplaceData
,
12857 &_swigt__p_wxFindReplaceDialog
,
12858 &_swigt__p_wxFlexGridSizer
,
12859 &_swigt__p_wxFocusEvent
,
12861 &_swigt__p_wxFontData
,
12862 &_swigt__p_wxFontDialog
,
12863 &_swigt__p_wxFrame
,
12864 &_swigt__p_wxGBSizerItem
,
12865 &_swigt__p_wxGIFHandler
,
12866 &_swigt__p_wxGridBagSizer
,
12867 &_swigt__p_wxGridSizer
,
12868 &_swigt__p_wxICOHandler
,
12869 &_swigt__p_wxIconizeEvent
,
12870 &_swigt__p_wxIdleEvent
,
12871 &_swigt__p_wxImage
,
12872 &_swigt__p_wxImageHandler
,
12873 &_swigt__p_wxIndividualLayoutConstraint
,
12874 &_swigt__p_wxInitDialogEvent
,
12875 &_swigt__p_wxJPEGHandler
,
12876 &_swigt__p_wxKeyEvent
,
12877 &_swigt__p_wxLayoutAlgorithm
,
12878 &_swigt__p_wxLayoutConstraints
,
12879 &_swigt__p_wxMDIChildFrame
,
12880 &_swigt__p_wxMDIClientWindow
,
12881 &_swigt__p_wxMDIParentFrame
,
12882 &_swigt__p_wxMaximizeEvent
,
12884 &_swigt__p_wxMenuBar
,
12885 &_swigt__p_wxMenuEvent
,
12886 &_swigt__p_wxMenuItem
,
12887 &_swigt__p_wxMessageDialog
,
12888 &_swigt__p_wxMiniFrame
,
12889 &_swigt__p_wxMouseCaptureChangedEvent
,
12890 &_swigt__p_wxMouseEvent
,
12891 &_swigt__p_wxMoveEvent
,
12892 &_swigt__p_wxMultiChoiceDialog
,
12893 &_swigt__p_wxNavigationKeyEvent
,
12894 &_swigt__p_wxNcPaintEvent
,
12895 &_swigt__p_wxNotifyEvent
,
12896 &_swigt__p_wxObject
,
12897 &_swigt__p_wxPCXHandler
,
12898 &_swigt__p_wxPNGHandler
,
12899 &_swigt__p_wxPNMHandler
,
12900 &_swigt__p_wxPageSetupDialog
,
12901 &_swigt__p_wxPageSetupDialogData
,
12902 &_swigt__p_wxPaintEvent
,
12903 &_swigt__p_wxPaletteChangedEvent
,
12904 &_swigt__p_wxPanel
,
12905 &_swigt__p_wxPaperSize
,
12906 &_swigt__p_wxPasswordEntryDialog
,
12907 &_swigt__p_wxPopupWindow
,
12908 &_swigt__p_wxPreviewCanvas
,
12909 &_swigt__p_wxPreviewControlBar
,
12910 &_swigt__p_wxPreviewFrame
,
12911 &_swigt__p_wxPrintData
,
12912 &_swigt__p_wxPrintDialog
,
12913 &_swigt__p_wxPrintDialogData
,
12914 &_swigt__p_wxPrintPreview
,
12915 &_swigt__p_wxPrinter
,
12916 &_swigt__p_wxProgressDialog
,
12917 &_swigt__p_wxPyApp
,
12918 &_swigt__p_wxPyCommandEvent
,
12919 &_swigt__p_wxPyEvent
,
12920 &_swigt__p_wxPyHtmlListBox
,
12921 &_swigt__p_wxPyImageHandler
,
12922 &_swigt__p_wxPyPanel
,
12923 &_swigt__p_wxPyPopupTransientWindow
,
12924 &_swigt__p_wxPyPreviewControlBar
,
12925 &_swigt__p_wxPyPreviewFrame
,
12926 &_swigt__p_wxPyPrintPreview
,
12927 &_swigt__p_wxPyPrintout
,
12928 &_swigt__p_wxPyScrolledWindow
,
12929 &_swigt__p_wxPySizer
,
12930 &_swigt__p_wxPyTaskBarIcon
,
12931 &_swigt__p_wxPyVListBox
,
12932 &_swigt__p_wxPyVScrolledWindow
,
12933 &_swigt__p_wxPyValidator
,
12934 &_swigt__p_wxPyWindow
,
12935 &_swigt__p_wxQueryLayoutInfoEvent
,
12936 &_swigt__p_wxQueryNewPaletteEvent
,
12937 &_swigt__p_wxRichTextAttr
,
12938 &_swigt__p_wxRichTextBuffer
,
12939 &_swigt__p_wxRichTextCtrl
,
12940 &_swigt__p_wxRichTextEvent
,
12941 &_swigt__p_wxRichTextImageBlock
,
12942 &_swigt__p_wxRichTextRange
,
12943 &_swigt__p_wxRichTextStyleSheet
,
12944 &_swigt__p_wxSashEvent
,
12945 &_swigt__p_wxSashLayoutWindow
,
12946 &_swigt__p_wxSashWindow
,
12947 &_swigt__p_wxScrollEvent
,
12948 &_swigt__p_wxScrollWinEvent
,
12949 &_swigt__p_wxScrolledWindow
,
12950 &_swigt__p_wxSetCursorEvent
,
12951 &_swigt__p_wxShowEvent
,
12952 &_swigt__p_wxSingleChoiceDialog
,
12953 &_swigt__p_wxSizeEvent
,
12954 &_swigt__p_wxSizer
,
12955 &_swigt__p_wxSizerItem
,
12956 &_swigt__p_wxSplashScreen
,
12957 &_swigt__p_wxSplashScreenWindow
,
12958 &_swigt__p_wxSplitterEvent
,
12959 &_swigt__p_wxSplitterWindow
,
12960 &_swigt__p_wxStaticBoxSizer
,
12961 &_swigt__p_wxStatusBar
,
12962 &_swigt__p_wxStdDialogButtonSizer
,
12963 &_swigt__p_wxSysColourChangedEvent
,
12964 &_swigt__p_wxTIFFHandler
,
12965 &_swigt__p_wxTaskBarIconEvent
,
12966 &_swigt__p_wxTextCoord
,
12967 &_swigt__p_wxTextCtrlHitTestResult
,
12968 &_swigt__p_wxTextEntryDialog
,
12969 &_swigt__p_wxTipWindow
,
12970 &_swigt__p_wxTopLevelWindow
,
12971 &_swigt__p_wxUpdateUIEvent
,
12972 &_swigt__p_wxValidator
,
12973 &_swigt__p_wxWindow
,
12974 &_swigt__p_wxWindowCreateEvent
,
12975 &_swigt__p_wxWindowDestroyEvent
,
12976 &_swigt__p_wxXPMHandler
,
12979 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
12980 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
12981 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
12982 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
12983 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
12984 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
12985 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
12986 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
12987 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
12988 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
12989 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
12990 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
12991 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
12992 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
12993 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
12994 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
12995 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
12996 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
12997 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
12998 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
12999 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13000 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13001 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13002 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}};
13003 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13004 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13005 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13006 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13007 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13008 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13009 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13010 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13011 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13012 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13013 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13014 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13015 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13016 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13017 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13018 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13019 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13020 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13021 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13022 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13023 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13024 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13025 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13026 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13027 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13028 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13029 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13030 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13031 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13032 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13033 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}};
13034 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13035 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13036 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13037 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13038 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
13039 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13040 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13041 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13042 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13043 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13044 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13045 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13046 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13047 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13048 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13049 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13050 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13051 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13052 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
13053 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13054 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13055 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13056 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13057 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13058 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13059 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13060 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13061 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13062 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
13063 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13070 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13071 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13075 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13080 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}};
13081 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13083 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}};
13084 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13085 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13087 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13088 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13099 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13105 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13110 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13111 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13122 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13123 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13125 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13126 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}};
13127 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}};
13128 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxRichTextAttr
[] = { {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
13130 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = { {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}};
13131 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = { {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13132 static swig_cast_info _swigc__p_wxRichTextEvent
[] = { {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = { {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}};
13134 static swig_cast_info _swigc__p_wxRichTextRange
[] = { {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = { {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}};
13136 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}};
13137 static swig_cast_info _swigc__p_wxTextCoord
[] = { {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = { {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}};
13139 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}};
13141 static swig_cast_info
*swig_cast_initial
[] = {
13143 _swigc__p_form_ops_t
,
13146 _swigc__p_unsigned_char
,
13147 _swigc__p_unsigned_int
,
13148 _swigc__p_unsigned_long
,
13149 _swigc__p_wxANIHandler
,
13150 _swigc__p_wxAcceleratorTable
,
13151 _swigc__p_wxActivateEvent
,
13152 _swigc__p_wxArrayInt
,
13153 _swigc__p_wxBMPHandler
,
13154 _swigc__p_wxBitmap
,
13155 _swigc__p_wxBoxSizer
,
13156 _swigc__p_wxCURHandler
,
13157 _swigc__p_wxCalculateLayoutEvent
,
13159 _swigc__p_wxChildFocusEvent
,
13160 _swigc__p_wxClipboardTextEvent
,
13161 _swigc__p_wxCloseEvent
,
13162 _swigc__p_wxColour
,
13163 _swigc__p_wxColourData
,
13164 _swigc__p_wxColourDialog
,
13165 _swigc__p_wxCommandEvent
,
13166 _swigc__p_wxContextMenuEvent
,
13167 _swigc__p_wxControl
,
13168 _swigc__p_wxControlWithItems
,
13169 _swigc__p_wxDateEvent
,
13170 _swigc__p_wxDialog
,
13171 _swigc__p_wxDirDialog
,
13172 _swigc__p_wxDisplayChangedEvent
,
13173 _swigc__p_wxDropFilesEvent
,
13174 _swigc__p_wxDuplexMode
,
13175 _swigc__p_wxEraseEvent
,
13177 _swigc__p_wxEvtHandler
,
13178 _swigc__p_wxFSFile
,
13179 _swigc__p_wxFileDialog
,
13180 _swigc__p_wxFileSystem
,
13181 _swigc__p_wxFindDialogEvent
,
13182 _swigc__p_wxFindReplaceData
,
13183 _swigc__p_wxFindReplaceDialog
,
13184 _swigc__p_wxFlexGridSizer
,
13185 _swigc__p_wxFocusEvent
,
13187 _swigc__p_wxFontData
,
13188 _swigc__p_wxFontDialog
,
13190 _swigc__p_wxGBSizerItem
,
13191 _swigc__p_wxGIFHandler
,
13192 _swigc__p_wxGridBagSizer
,
13193 _swigc__p_wxGridSizer
,
13194 _swigc__p_wxICOHandler
,
13195 _swigc__p_wxIconizeEvent
,
13196 _swigc__p_wxIdleEvent
,
13198 _swigc__p_wxImageHandler
,
13199 _swigc__p_wxIndividualLayoutConstraint
,
13200 _swigc__p_wxInitDialogEvent
,
13201 _swigc__p_wxJPEGHandler
,
13202 _swigc__p_wxKeyEvent
,
13203 _swigc__p_wxLayoutAlgorithm
,
13204 _swigc__p_wxLayoutConstraints
,
13205 _swigc__p_wxMDIChildFrame
,
13206 _swigc__p_wxMDIClientWindow
,
13207 _swigc__p_wxMDIParentFrame
,
13208 _swigc__p_wxMaximizeEvent
,
13210 _swigc__p_wxMenuBar
,
13211 _swigc__p_wxMenuEvent
,
13212 _swigc__p_wxMenuItem
,
13213 _swigc__p_wxMessageDialog
,
13214 _swigc__p_wxMiniFrame
,
13215 _swigc__p_wxMouseCaptureChangedEvent
,
13216 _swigc__p_wxMouseEvent
,
13217 _swigc__p_wxMoveEvent
,
13218 _swigc__p_wxMultiChoiceDialog
,
13219 _swigc__p_wxNavigationKeyEvent
,
13220 _swigc__p_wxNcPaintEvent
,
13221 _swigc__p_wxNotifyEvent
,
13222 _swigc__p_wxObject
,
13223 _swigc__p_wxPCXHandler
,
13224 _swigc__p_wxPNGHandler
,
13225 _swigc__p_wxPNMHandler
,
13226 _swigc__p_wxPageSetupDialog
,
13227 _swigc__p_wxPageSetupDialogData
,
13228 _swigc__p_wxPaintEvent
,
13229 _swigc__p_wxPaletteChangedEvent
,
13231 _swigc__p_wxPaperSize
,
13232 _swigc__p_wxPasswordEntryDialog
,
13233 _swigc__p_wxPopupWindow
,
13234 _swigc__p_wxPreviewCanvas
,
13235 _swigc__p_wxPreviewControlBar
,
13236 _swigc__p_wxPreviewFrame
,
13237 _swigc__p_wxPrintData
,
13238 _swigc__p_wxPrintDialog
,
13239 _swigc__p_wxPrintDialogData
,
13240 _swigc__p_wxPrintPreview
,
13241 _swigc__p_wxPrinter
,
13242 _swigc__p_wxProgressDialog
,
13244 _swigc__p_wxPyCommandEvent
,
13245 _swigc__p_wxPyEvent
,
13246 _swigc__p_wxPyHtmlListBox
,
13247 _swigc__p_wxPyImageHandler
,
13248 _swigc__p_wxPyPanel
,
13249 _swigc__p_wxPyPopupTransientWindow
,
13250 _swigc__p_wxPyPreviewControlBar
,
13251 _swigc__p_wxPyPreviewFrame
,
13252 _swigc__p_wxPyPrintPreview
,
13253 _swigc__p_wxPyPrintout
,
13254 _swigc__p_wxPyScrolledWindow
,
13255 _swigc__p_wxPySizer
,
13256 _swigc__p_wxPyTaskBarIcon
,
13257 _swigc__p_wxPyVListBox
,
13258 _swigc__p_wxPyVScrolledWindow
,
13259 _swigc__p_wxPyValidator
,
13260 _swigc__p_wxPyWindow
,
13261 _swigc__p_wxQueryLayoutInfoEvent
,
13262 _swigc__p_wxQueryNewPaletteEvent
,
13263 _swigc__p_wxRichTextAttr
,
13264 _swigc__p_wxRichTextBuffer
,
13265 _swigc__p_wxRichTextCtrl
,
13266 _swigc__p_wxRichTextEvent
,
13267 _swigc__p_wxRichTextImageBlock
,
13268 _swigc__p_wxRichTextRange
,
13269 _swigc__p_wxRichTextStyleSheet
,
13270 _swigc__p_wxSashEvent
,
13271 _swigc__p_wxSashLayoutWindow
,
13272 _swigc__p_wxSashWindow
,
13273 _swigc__p_wxScrollEvent
,
13274 _swigc__p_wxScrollWinEvent
,
13275 _swigc__p_wxScrolledWindow
,
13276 _swigc__p_wxSetCursorEvent
,
13277 _swigc__p_wxShowEvent
,
13278 _swigc__p_wxSingleChoiceDialog
,
13279 _swigc__p_wxSizeEvent
,
13281 _swigc__p_wxSizerItem
,
13282 _swigc__p_wxSplashScreen
,
13283 _swigc__p_wxSplashScreenWindow
,
13284 _swigc__p_wxSplitterEvent
,
13285 _swigc__p_wxSplitterWindow
,
13286 _swigc__p_wxStaticBoxSizer
,
13287 _swigc__p_wxStatusBar
,
13288 _swigc__p_wxStdDialogButtonSizer
,
13289 _swigc__p_wxSysColourChangedEvent
,
13290 _swigc__p_wxTIFFHandler
,
13291 _swigc__p_wxTaskBarIconEvent
,
13292 _swigc__p_wxTextCoord
,
13293 _swigc__p_wxTextCtrlHitTestResult
,
13294 _swigc__p_wxTextEntryDialog
,
13295 _swigc__p_wxTipWindow
,
13296 _swigc__p_wxTopLevelWindow
,
13297 _swigc__p_wxUpdateUIEvent
,
13298 _swigc__p_wxValidator
,
13299 _swigc__p_wxWindow
,
13300 _swigc__p_wxWindowCreateEvent
,
13301 _swigc__p_wxWindowDestroyEvent
,
13302 _swigc__p_wxXPMHandler
,
13306 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13308 static swig_const_info swig_const_table
[] = {
13309 {0, 0, 0, 0.0, 0, 0}};
13314 /* -----------------------------------------------------------------------------
13315 * Type initialization:
13316 * This problem is tough by the requirement that no dynamic
13317 * memory is used. Also, since swig_type_info structures store pointers to
13318 * swig_cast_info structures and swig_cast_info structures store pointers back
13319 * to swig_type_info structures, we need some lookup code at initialization.
13320 * The idea is that swig generates all the structures that are needed.
13321 * The runtime then collects these partially filled structures.
13322 * The SWIG_InitializeModule function takes these initial arrays out of
13323 * swig_module, and does all the lookup, filling in the swig_module.types
13324 * array with the correct data and linking the correct swig_cast_info
13325 * structures together.
13327 * The generated swig_type_info structures are assigned staticly to an initial
13328 * array. We just loop though that array, and handle each type individually.
13329 * First we lookup if this type has been already loaded, and if so, use the
13330 * loaded structure instead of the generated one. Then we have to fill in the
13331 * cast linked list. The cast data is initially stored in something like a
13332 * two-dimensional array. Each row corresponds to a type (there are the same
13333 * number of rows as there are in the swig_type_initial array). Each entry in
13334 * a column is one of the swig_cast_info structures for that type.
13335 * The cast_initial array is actually an array of arrays, because each row has
13336 * a variable number of columns. So to actually build the cast linked list,
13337 * we find the array of casts associated with the type, and loop through it
13338 * adding the casts to the list. The one last trick we need to do is making
13339 * sure the type pointer in the swig_cast_info struct is correct.
13341 * First off, we lookup the cast->type name to see if it is already loaded.
13342 * There are three cases to handle:
13343 * 1) If the cast->type has already been loaded AND the type we are adding
13344 * casting info to has not been loaded (it is in this module), THEN we
13345 * replace the cast->type pointer with the type pointer that has already
13347 * 2) If BOTH types (the one we are adding casting info to, and the
13348 * cast->type) are loaded, THEN the cast info has already been loaded by
13349 * the previous module so we just ignore it.
13350 * 3) Finally, if cast->type has not already been loaded, then we add that
13351 * swig_cast_info to the linked list (because the cast->type) pointer will
13353 * ----------------------------------------------------------------------------- */
13363 #define SWIGRUNTIME_DEBUG
13367 SWIG_InitializeModule(void *clientdata
) {
13369 swig_module_info
*module_head
;
13370 static int init_run
= 0;
13372 clientdata
= clientdata
;
13374 if (init_run
) return;
13377 /* Initialize the swig_module */
13378 swig_module
.type_initial
= swig_type_initial
;
13379 swig_module
.cast_initial
= swig_cast_initial
;
13381 /* Try and load any already created modules */
13382 module_head
= SWIG_GetModule(clientdata
);
13384 swig_module
.next
= module_head
->next
;
13385 module_head
->next
= &swig_module
;
13387 /* This is the first module loaded */
13388 swig_module
.next
= &swig_module
;
13389 SWIG_SetModule(clientdata
, &swig_module
);
13392 /* Now work on filling in swig_module.types */
13393 #ifdef SWIGRUNTIME_DEBUG
13394 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
13396 for (i
= 0; i
< swig_module
.size
; ++i
) {
13397 swig_type_info
*type
= 0;
13398 swig_type_info
*ret
;
13399 swig_cast_info
*cast
;
13401 #ifdef SWIGRUNTIME_DEBUG
13402 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13405 /* if there is another module already loaded */
13406 if (swig_module
.next
!= &swig_module
) {
13407 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
13410 /* Overwrite clientdata field */
13411 #ifdef SWIGRUNTIME_DEBUG
13412 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
13414 if (swig_module
.type_initial
[i
]->clientdata
) {
13415 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
13416 #ifdef SWIGRUNTIME_DEBUG
13417 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
13421 type
= swig_module
.type_initial
[i
];
13424 /* Insert casting types */
13425 cast
= swig_module
.cast_initial
[i
];
13426 while (cast
->type
) {
13427 /* Don't need to add information already in the list */
13429 #ifdef SWIGRUNTIME_DEBUG
13430 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
13432 if (swig_module
.next
!= &swig_module
) {
13433 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
13434 #ifdef SWIGRUNTIME_DEBUG
13435 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
13439 if (type
== swig_module
.type_initial
[i
]) {
13440 #ifdef SWIGRUNTIME_DEBUG
13441 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
13446 /* Check for casting already in the list */
13447 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
13448 #ifdef SWIGRUNTIME_DEBUG
13449 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
13451 if (!ocast
) ret
= 0;
13456 #ifdef SWIGRUNTIME_DEBUG
13457 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
13460 type
->cast
->prev
= cast
;
13461 cast
->next
= type
->cast
;
13467 /* Set entry in modules->types array equal to the type */
13468 swig_module
.types
[i
] = type
;
13470 swig_module
.types
[i
] = 0;
13472 #ifdef SWIGRUNTIME_DEBUG
13473 printf("**** SWIG_InitializeModule: Cast List ******\n");
13474 for (i
= 0; i
< swig_module
.size
; ++i
) {
13476 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
13477 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13478 while (cast
->type
) {
13479 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
13483 printf("---- Total casts: %d\n",j
);
13485 printf("**** SWIG_InitializeModule: Cast List ******\n");
13489 /* This function will propagate the clientdata field of type to
13490 * any new swig_type_info structures that have been added into the list
13491 * of equivalent types. It is like calling
13492 * SWIG_TypeClientData(type, clientdata) a second time.
13495 SWIG_PropagateClientData(void) {
13497 swig_cast_info
*equiv
;
13498 static int init_run
= 0;
13500 if (init_run
) return;
13503 for (i
= 0; i
< swig_module
.size
; i
++) {
13504 if (swig_module
.types
[i
]->clientdata
) {
13505 equiv
= swig_module
.types
[i
]->cast
;
13507 if (!equiv
->converter
) {
13508 if (equiv
->type
&& !equiv
->type
->clientdata
)
13509 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
13511 equiv
= equiv
->next
;
13531 /* Python-specific SWIG API */
13532 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13533 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13534 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13536 /* -----------------------------------------------------------------------------
13537 * global variable support code.
13538 * ----------------------------------------------------------------------------- */
13540 typedef struct swig_globalvar
{
13541 char *name
; /* Name of global variable */
13542 PyObject
*(*get_attr
)(void); /* Return the current value */
13543 int (*set_attr
)(PyObject
*); /* Set the value */
13544 struct swig_globalvar
*next
;
13547 typedef struct swig_varlinkobject
{
13549 swig_globalvar
*vars
;
13550 } swig_varlinkobject
;
13552 SWIGINTERN PyObject
*
13553 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
13554 return PyString_FromString("<Swig global variables>");
13557 SWIGINTERN PyObject
*
13558 swig_varlink_str(swig_varlinkobject
*v
) {
13559 PyObject
*str
= PyString_FromString("(");
13560 swig_globalvar
*var
;
13561 for (var
= v
->vars
; var
; var
=var
->next
) {
13562 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
13563 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
13565 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
13570 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
13571 PyObject
*str
= swig_varlink_str(v
);
13572 fprintf(fp
,"Swig global variables ");
13573 fprintf(fp
,"%s\n", PyString_AsString(str
));
13579 swig_varlink_dealloc(swig_varlinkobject
*v
) {
13580 swig_globalvar
*var
= v
->vars
;
13582 swig_globalvar
*n
= var
->next
;
13589 SWIGINTERN PyObject
*
13590 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13591 PyObject
*res
= NULL
;
13592 swig_globalvar
*var
= v
->vars
;
13594 if (strcmp(var
->name
,n
) == 0) {
13595 res
= (*var
->get_attr
)();
13600 if (res
== NULL
&& !PyErr_Occurred()) {
13601 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13607 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13609 swig_globalvar
*var
= v
->vars
;
13611 if (strcmp(var
->name
,n
) == 0) {
13612 res
= (*var
->set_attr
)(p
);
13617 if (res
== 1 && !PyErr_Occurred()) {
13618 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13623 SWIGINTERN PyTypeObject
*
13624 swig_varlink_type(void) {
13625 static char varlink__doc__
[] = "Swig var link object";
13626 static PyTypeObject varlink_type
;
13627 static int type_init
= 0;
13629 const PyTypeObject tmp
13631 PyObject_HEAD_INIT(NULL
)
13632 0, /* Number of items in variable part (ob_size) */
13633 (char *)"swigvarlink", /* Type name (tp_name) */
13634 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13635 0, /* Itemsize (tp_itemsize) */
13636 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
13637 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13638 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13639 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13640 0, /* tp_compare */
13641 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13642 0, /* tp_as_number */
13643 0, /* tp_as_sequence */
13644 0, /* tp_as_mapping */
13647 (reprfunc
)swig_varlink_str
, /* tp_str */
13648 0, /* tp_getattro */
13649 0, /* tp_setattro */
13650 0, /* tp_as_buffer */
13652 varlink__doc__
, /* tp_doc */
13653 0, /* tp_traverse */
13655 0, /* tp_richcompare */
13656 0, /* tp_weaklistoffset */
13657 #if PY_VERSION_HEX >= 0x02020000
13658 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13660 #if PY_VERSION_HEX >= 0x02030000
13663 #ifdef COUNT_ALLOCS
13664 0,0,0,0 /* tp_alloc -> tp_next */
13667 varlink_type
= tmp
;
13668 varlink_type
.ob_type
= &PyType_Type
;
13671 return &varlink_type
;
13674 /* Create a variable linking object for use later */
13675 SWIGINTERN PyObject
*
13676 SWIG_Python_newvarlink(void) {
13677 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
13681 return ((PyObject
*) result
);
13685 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13686 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
13687 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13689 size_t size
= strlen(name
)+1;
13690 gv
->name
= (char *)malloc(size
);
13692 strncpy(gv
->name
,name
,size
);
13693 gv
->get_attr
= get_attr
;
13694 gv
->set_attr
= set_attr
;
13695 gv
->next
= v
->vars
;
13701 SWIGINTERN PyObject
*
13703 static PyObject
*_SWIG_globals
= 0;
13704 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
13705 return _SWIG_globals
;
13708 /* -----------------------------------------------------------------------------
13709 * constants/methods manipulation
13710 * ----------------------------------------------------------------------------- */
13712 /* Install Constants */
13714 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13717 for (i
= 0; constants
[i
].type
; ++i
) {
13718 switch(constants
[i
].type
) {
13719 case SWIG_PY_POINTER
:
13720 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13722 case SWIG_PY_BINARY
:
13723 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13730 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
13736 /* -----------------------------------------------------------------------------*/
13737 /* Fix SwigMethods to carry the callback ptrs when needed */
13738 /* -----------------------------------------------------------------------------*/
13741 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13742 swig_const_info
*const_table
,
13743 swig_type_info
**types
,
13744 swig_type_info
**types_initial
) {
13746 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13747 const char *c
= methods
[i
].ml_doc
;
13748 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13750 swig_const_info
*ci
= 0;
13751 const char *name
= c
+ 10;
13752 for (j
= 0; const_table
[j
].type
; ++j
) {
13753 if (strncmp(const_table
[j
].name
, name
,
13754 strlen(const_table
[j
].name
)) == 0) {
13755 ci
= &(const_table
[j
]);
13760 size_t shift
= (ci
->ptype
) - types
;
13761 swig_type_info
*ty
= types_initial
[shift
];
13762 size_t ldoc
= (c
- methods
[i
].ml_doc
);
13763 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
13764 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
13767 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
13769 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
13771 strncpy(buff
, "swig_ptr: ", 10);
13773 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
13774 methods
[i
].ml_doc
= ndoc
;
13786 /* -----------------------------------------------------------------------------*
13787 * Partial Init method
13788 * -----------------------------------------------------------------------------*/
13793 SWIGEXPORT
void SWIG_init(void) {
13796 /* Fix SwigMethods to carry the callback ptrs when needed */
13797 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
13799 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13800 d
= PyModule_GetDict(m
);
13802 SWIG_InitializeModule(0);
13803 SWIG_InstallConstants(d
,swig_const_table
);
13806 SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
13807 SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
)));
13808 SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
)));
13809 SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
)));
13810 SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
)));
13811 SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
)));
13812 SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
)));
13813 SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
)));
13814 SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
)));
13815 SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
)));
13816 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
)));
13817 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
)));
13818 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
)));
13819 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
)));
13820 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
)));
13821 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
)));
13822 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
)));
13823 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
)));
13824 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
)));
13825 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
)));
13826 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
)));
13827 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
)));
13828 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
)));
13829 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
)));
13830 SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
)));
13831 SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
)));
13832 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
13833 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
13834 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
13835 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
13836 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
13837 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
13838 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
13839 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
13840 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
13841 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
13842 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
13843 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
13844 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
)));
13845 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
)));
13846 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
)));
13847 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
)));
13848 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
)));
13849 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
)));
13850 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
)));
13851 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
)));
13852 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
)));
13853 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
)));
13854 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
)));
13855 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
)));
13856 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
)));
13857 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
)));
13858 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
)));
13859 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
)));
13860 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
)));
13861 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
)));
13862 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
)));
13863 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
)));
13864 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
)));
13865 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
13866 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
13867 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
13868 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
13869 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
13870 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
13871 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
13872 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
);
13873 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
);
13874 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
)));
13875 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
)));
13876 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
)));
13877 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
));
13878 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
));
13879 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
));
13880 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
));
13881 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
));
13882 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
));
13883 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));