1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_long swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChar swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2521 #define SWIGTYPE_p_wxImage swig_types[55]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2527 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2529 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2530 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2531 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2533 #define SWIGTYPE_p_wxMenu swig_types[67]
2534 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2537 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2538 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2543 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2545 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxObject swig_types[80]
2547 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2548 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2549 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2550 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2551 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2552 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2553 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2554 #define SWIGTYPE_p_wxPanel swig_types[88]
2555 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2556 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[91]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[92]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[93]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[94]
2561 #define SWIGTYPE_p_wxPrintData swig_types[95]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[96]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[97]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[98]
2565 #define SWIGTYPE_p_wxPrinter swig_types[99]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPyApp swig_types[101]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[102]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[104]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[106]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[107]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[108]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[109]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[110]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[111]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPySizer swig_types[113]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[114]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[115]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[117]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[118]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[119]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
2587 #define SWIGTYPE_p_wxRichTextAttr swig_types[121]
2588 #define SWIGTYPE_p_wxRichTextBuffer swig_types[122]
2589 #define SWIGTYPE_p_wxRichTextCtrl swig_types[123]
2590 #define SWIGTYPE_p_wxRichTextEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRichTextImageBlock swig_types[125]
2592 #define SWIGTYPE_p_wxRichTextRange swig_types[126]
2593 #define SWIGTYPE_p_wxRichTextStyleSheet swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2615 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTextCoord swig_types[150]
2617 #define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
2621 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
2622 #define SWIGTYPE_p_wxValidator swig_types[156]
2623 #define SWIGTYPE_p_wxWindow swig_types[157]
2624 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[158]
2625 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159]
2626 #define SWIGTYPE_p_wxXPMHandler swig_types[160]
2627 static swig_type_info
*swig_types
[162];
2628 static swig_module_info swig_module
= {swig_types
, 161, 0, 0, 0, 0};
2629 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2630 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2632 /* -------- TYPES TABLE (END) -------- */
2634 #if (PY_VERSION_HEX <= 0x02000000)
2635 # if !defined(SWIG_PYTHON_CLASSIC)
2636 # error "This python version requires to use swig with the '-classic' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodern' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodernargs' option"
2646 # error "This python version requires to use swig with the '-nofastunpack' option"
2649 /*-----------------------------------------------
2650 @(target):= _richtext.so
2651 ------------------------------------------------*/
2652 #define SWIG_init init_richtext
2654 #define SWIG_name "_richtext"
2656 #define SWIGVERSION 0x010329
2659 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2660 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2663 #include <stdexcept>
2667 class PyObject_ptr
{
2672 PyObject_ptr() :_obj(0)
2676 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2681 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2683 if (initial_ref
) Py_XINCREF(_obj
);
2686 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2688 Py_XINCREF(item
._obj
);
2699 operator PyObject
*() const
2704 PyObject
*operator->() const
2713 struct PyObject_var
: PyObject_ptr
{
2714 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2716 PyObject_var
& operator = (PyObject
* obj
)
2726 #include "wx/wxPython/wxPython.h"
2727 #include "wx/wxPython/pyclasses.h"
2728 #include "wx/wxPython/printfw.h"
2729 #include "wx/wxPython/twoitem.h"
2731 #include <wx/richtext/richtextctrl.h>
2736 class wxBufferedPaintDC
;
2743 #define SWIG_From_long PyInt_FromLong
2746 SWIGINTERNINLINE PyObject
*
2747 SWIG_From_int (int value
)
2749 return SWIG_From_long (value
);
2752 static const wxString
wxPyEmptyString(wxEmptyString
);
2755 bool wxRichTextRange_helper(PyObject
* source
, wxRichTextRange
** obj
)
2757 if (source
== Py_None
) {
2758 **obj
= wxRICHTEXT_NONE
;
2761 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxRichTextRange"));
2766 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2768 if (PyNumber_Check(obj
)) {
2769 if (val
) *val
= PyInt_AsLong(obj
);
2772 return SWIG_TypeError
;
2775 SWIGINTERN
bool wxRichTextRange___eq__(wxRichTextRange
*self
,PyObject
*other
){
2776 wxRichTextRange temp
, *obj
= &temp
;
2777 if ( other
== Py_None
) return false;
2778 if ( ! wxRichTextRange_helper(other
, &obj
) ) {
2782 return self
->operator==(*obj
);
2784 SWIGINTERN PyObject
*wxRichTextRange_Get(wxRichTextRange
*self
){
2785 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2786 PyObject
* tup
= PyTuple_New(2);
2787 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetStart()));
2788 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetEnd()));
2789 wxPyEndBlockThreads(blocked
);
2793 wxRichTextRange
wxPy_RTR_ALL(wxRICHTEXT_ALL
);
2794 wxRichTextRange
wxPy_RTR_NONE(wxRICHTEXT_NONE
);
2799 # define LLONG_MIN LONG_LONG_MIN
2802 # define LLONG_MAX LONG_LONG_MAX
2805 # define ULLONG_MAX ULONG_LONG_MAX
2810 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2813 int res
= SWIG_AsVal_long (obj
, &v
);
2814 if (SWIG_IsOK(res
)) {
2815 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2816 return SWIG_OverflowError
;
2818 if (val
) *val
= static_cast< int >(v
);
2826 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2828 if (obj
== Py_True
) {
2829 if (val
) *val
= true;
2831 } else if (obj
== Py_False
) {
2832 if (val
) *val
= false;
2836 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2837 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2856 SWIGINTERN swig_type_info
*
2857 SWIG_pchar_descriptor()
2859 static int init
= 0;
2860 static swig_type_info
* info
= 0;
2862 info
= SWIG_TypeQuery("_p_char");
2870 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
2872 if (PyString_Check(obj
)) {
2873 char *cstr
; Py_ssize_t len
;
2874 PyString_AsStringAndSize(obj
, &cstr
, &len
);
2878 In python the user should not be able to modify the inner
2879 string representation. To warranty that, if you define
2880 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2881 buffer is always returned.
2883 The default behavior is just to return the pointer value,
2886 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2887 if (*alloc
!= SWIG_OLDOBJ
)
2889 if (*alloc
== SWIG_NEWOBJ
)
2892 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
2893 *alloc
= SWIG_NEWOBJ
;
2897 *alloc
= SWIG_OLDOBJ
;
2900 *cptr
= PyString_AsString(obj
);
2903 if (psize
) *psize
= len
+ 1;
2906 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
2907 if (pchar_descriptor
) {
2909 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
2910 if (cptr
) *cptr
= (char *) vptr
;
2911 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
2912 if (alloc
) *alloc
= SWIG_OLDOBJ
;
2917 return SWIG_TypeError
;
2922 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
2924 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
2925 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
2926 if (SWIG_IsOK(res
)) {
2927 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
2928 if (csize
<= size
) {
2930 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
2931 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
2933 if (alloc
== SWIG_NEWOBJ
) {
2935 res
= SWIG_DelNewMask(res
);
2939 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
2941 return SWIG_TypeError
;
2946 SWIG_AsVal_char (PyObject
* obj
, char *val
)
2948 int res
= SWIG_AsCharArray(obj
, val
, 1);
2949 if (!SWIG_IsOK(res
)) {
2951 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
2952 if (SWIG_IsOK(res
)) {
2953 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
2954 if (val
) *val
= static_cast< char >(v
);
2956 res
= SWIG_OverflowError
;
2966 SWIGINTERN PyObject
*_wrap_new_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
= 0;
2968 long arg1
= (long) 0 ;
2969 long arg2
= (long) 0 ;
2970 wxRichTextRange
*result
= 0 ;
2975 PyObject
* obj0
= 0 ;
2976 PyObject
* obj1
= 0 ;
2977 char * kwnames
[] = {
2978 (char *) "start",(char *) "end", NULL
2981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
2983 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
2984 if (!SWIG_IsOK(ecode1
)) {
2985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2987 arg1
= static_cast< long >(val1
);
2990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
2991 if (!SWIG_IsOK(ecode2
)) {
2992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2994 arg2
= static_cast< long >(val2
);
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (wxRichTextRange
*)new wxRichTextRange(arg1
,arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_NEW
| 0 );
3009 SWIGINTERN PyObject
*_wrap_delete_RichTextRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3010 PyObject
*resultobj
= 0;
3011 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3014 PyObject
*swig_obj
[1] ;
3016 if (!args
) SWIG_fail
;
3018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_DISOWN
| 0 );
3019 if (!SWIG_IsOK(res1
)) {
3020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3022 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= SWIG_Py_Void();
3037 SWIGINTERN PyObject
*_wrap_RichTextRange___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
= 0;
3039 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3040 PyObject
*arg2
= (PyObject
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 char * kwnames
[] = {
3047 (char *) "self",(char *) "other", NULL
3050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3052 if (!SWIG_IsOK(res1
)) {
3053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3055 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3058 result
= (bool)wxRichTextRange___eq__(arg1
,arg2
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3070 SWIGINTERN PyObject
*_wrap_RichTextRange___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
= 0;
3072 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3073 wxRichTextRange
*arg2
= 0 ;
3074 wxRichTextRange result
;
3077 wxRichTextRange temp2
;
3078 PyObject
* obj0
= 0 ;
3079 PyObject
* obj1
= 0 ;
3080 char * kwnames
[] = {
3081 (char *) "self",(char *) "range", NULL
3084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3086 if (!SWIG_IsOK(res1
)) {
3087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3089 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3092 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= ((wxRichTextRange
const *)arg1
)->operator -((wxRichTextRange
const &)*arg2
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3107 SWIGINTERN PyObject
*_wrap_RichTextRange___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
= 0;
3109 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3110 wxRichTextRange
*arg2
= 0 ;
3111 wxRichTextRange result
;
3114 wxRichTextRange temp2
;
3115 PyObject
* obj0
= 0 ;
3116 PyObject
* obj1
= 0 ;
3117 char * kwnames
[] = {
3118 (char *) "self",(char *) "range", NULL
3121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3123 if (!SWIG_IsOK(res1
)) {
3124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3126 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3129 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= ((wxRichTextRange
const *)arg1
)->operator +((wxRichTextRange
const &)*arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
3144 SWIGINTERN PyObject
*_wrap_RichTextRange_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
= 0;
3146 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3156 PyObject
* obj1
= 0 ;
3157 PyObject
* obj2
= 0 ;
3158 char * kwnames
[] = {
3159 (char *) "self",(char *) "start",(char *) "end", NULL
3162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextRange_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3164 if (!SWIG_IsOK(res1
)) {
3165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3167 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3169 if (!SWIG_IsOK(ecode2
)) {
3170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3172 arg2
= static_cast< long >(val2
);
3173 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
3174 if (!SWIG_IsOK(ecode3
)) {
3175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3177 arg3
= static_cast< long >(val3
);
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 (arg1
)->SetRange(arg2
,arg3
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_Py_Void();
3191 SWIGINTERN PyObject
*_wrap_RichTextRange_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
= 0;
3193 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3201 char * kwnames
[] = {
3202 (char *) "self",(char *) "start", NULL
3205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3207 if (!SWIG_IsOK(res1
)) {
3208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3210 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3211 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3212 if (!SWIG_IsOK(ecode2
)) {
3213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3215 arg2
= static_cast< long >(val2
);
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 (arg1
)->SetStart(arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= SWIG_Py_Void();
3229 SWIGINTERN PyObject
*_wrap_RichTextRange_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3230 PyObject
*resultobj
= 0;
3231 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3235 PyObject
*swig_obj
[1] ;
3237 if (!args
) SWIG_fail
;
3239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3240 if (!SWIG_IsOK(res1
)) {
3241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3243 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (long)((wxRichTextRange
const *)arg1
)->GetStart();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_From_long(static_cast< long >(result
));
3257 SWIGINTERN PyObject
*_wrap_RichTextRange_SetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
= 0;
3259 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3267 char * kwnames
[] = {
3268 (char *) "self",(char *) "end", NULL
3271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_SetEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3273 if (!SWIG_IsOK(res1
)) {
3274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3276 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3277 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3278 if (!SWIG_IsOK(ecode2
)) {
3279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3281 arg2
= static_cast< long >(val2
);
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 (arg1
)->SetEnd(arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= SWIG_Py_Void();
3295 SWIGINTERN PyObject
*_wrap_RichTextRange_GetEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3296 PyObject
*resultobj
= 0;
3297 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3301 PyObject
*swig_obj
[1] ;
3303 if (!args
) SWIG_fail
;
3305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3306 if (!SWIG_IsOK(res1
)) {
3307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3309 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= (long)((wxRichTextRange
const *)arg1
)->GetEnd();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= SWIG_From_long(static_cast< long >(result
));
3323 SWIGINTERN PyObject
*_wrap_RichTextRange_IsOutside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
= 0;
3325 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3326 wxRichTextRange
*arg2
= 0 ;
3330 wxRichTextRange temp2
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3333 char * kwnames
[] = {
3334 (char *) "self",(char *) "range", NULL
3337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsOutside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3339 if (!SWIG_IsOK(res1
)) {
3340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3342 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3345 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 result
= (bool)((wxRichTextRange
const *)arg1
)->IsOutside((wxRichTextRange
const &)*arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3362 SWIGINTERN PyObject
*_wrap_RichTextRange_IsWithin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
= 0;
3364 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3365 wxRichTextRange
*arg2
= 0 ;
3369 wxRichTextRange temp2
;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3372 char * kwnames
[] = {
3373 (char *) "self",(char *) "range", NULL
3376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_IsWithin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3378 if (!SWIG_IsOK(res1
)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3381 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3384 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (bool)((wxRichTextRange
const *)arg1
)->IsWithin((wxRichTextRange
const &)*arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3401 SWIGINTERN PyObject
*_wrap_RichTextRange_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
= 0;
3403 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3412 char * kwnames
[] = {
3413 (char *) "self",(char *) "pos", NULL
3416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3418 if (!SWIG_IsOK(res1
)) {
3419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3421 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3422 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3423 if (!SWIG_IsOK(ecode2
)) {
3424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3426 arg2
= static_cast< long >(val2
);
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (bool)((wxRichTextRange
const *)arg1
)->Contains(arg2
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3442 SWIGINTERN PyObject
*_wrap_RichTextRange_LimitTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
= 0;
3444 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3445 wxRichTextRange
*arg2
= 0 ;
3449 wxRichTextRange temp2
;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3452 char * kwnames
[] = {
3453 (char *) "self",(char *) "range", NULL
3456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextRange_LimitTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3458 if (!SWIG_IsOK(res1
)) {
3459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3461 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3464 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (bool)(arg1
)->LimitTo((wxRichTextRange
const &)*arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3481 SWIGINTERN PyObject
*_wrap_RichTextRange_GetLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3482 PyObject
*resultobj
= 0;
3483 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3487 PyObject
*swig_obj
[1] ;
3489 if (!args
) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3495 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (long)((wxRichTextRange
const *)arg1
)->GetLength();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_From_long(static_cast< long >(result
));
3509 SWIGINTERN PyObject
*_wrap_RichTextRange_Swap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3510 PyObject
*resultobj
= 0;
3511 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3514 PyObject
*swig_obj
[1] ;
3516 if (!args
) SWIG_fail
;
3518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3519 if (!SWIG_IsOK(res1
)) {
3520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3522 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= SWIG_Py_Void();
3536 SWIGINTERN PyObject
*_wrap_RichTextRange_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3537 PyObject
*resultobj
= 0;
3538 wxRichTextRange
*arg1
= (wxRichTextRange
*) 0 ;
3539 PyObject
*result
= 0 ;
3542 PyObject
*swig_obj
[1] ;
3544 if (!args
) SWIG_fail
;
3546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
3547 if (!SWIG_IsOK(res1
)) {
3548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3550 arg1
= reinterpret_cast< wxRichTextRange
* >(argp1
);
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (PyObject
*)wxRichTextRange_Get(arg1
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3564 SWIGINTERN PyObject
*RichTextRange_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3567 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange
, SWIG_NewClientData(obj
));
3568 return SWIG_Py_Void();
3571 SWIGINTERN PyObject
*RichTextRange_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3572 return SWIG_Python_InitShadowInstance(args
);
3575 SWIGINTERN
int RICHTEXT_ALL_set(PyObject
*) {
3576 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_ALL is read-only.");
3581 SWIGINTERN PyObject
*RICHTEXT_ALL_get(void) {
3582 PyObject
*pyobj
= 0;
3584 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL
), SWIGTYPE_p_wxRichTextRange
, 0 );
3589 SWIGINTERN
int RICHTEXT_NONE_set(PyObject
*) {
3590 SWIG_Error(SWIG_AttributeError
,"Variable RICHTEXT_NONE is read-only.");
3595 SWIGINTERN PyObject
*RICHTEXT_NONE_get(void) {
3596 PyObject
*pyobj
= 0;
3598 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE
), SWIGTYPE_p_wxRichTextRange
, 0 );
3603 SWIGINTERN PyObject
*_wrap_new_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
= 0;
3605 wxColour
const &arg1_defvalue
= wxNullColour
;
3606 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
3607 wxColour
const &arg2_defvalue
= wxNullColour
;
3608 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3609 wxTextAttrAlignment arg3
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
3610 wxRichTextAttr
*result
= 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3617 PyObject
* obj2
= 0 ;
3618 char * kwnames
[] = {
3619 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_RichTextAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3626 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3637 if (!SWIG_IsOK(ecode3
)) {
3638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3640 arg3
= static_cast< wxTextAttrAlignment
>(val3
);
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (wxRichTextAttr
*)new wxRichTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_NEW
| 0 );
3655 SWIGINTERN PyObject
*_wrap_delete_RichTextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3656 PyObject
*resultobj
= 0;
3657 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3660 PyObject
*swig_obj
[1] ;
3662 if (!args
) SWIG_fail
;
3664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_DISOWN
| 0 );
3665 if (!SWIG_IsOK(res1
)) {
3666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3668 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_Py_Void();
3683 SWIGINTERN PyObject
*_wrap_RichTextAttr_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3684 PyObject
*resultobj
= 0;
3685 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3689 PyObject
*swig_obj
[1] ;
3691 if (!args
) SWIG_fail
;
3693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3694 if (!SWIG_IsOK(res1
)) {
3695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3697 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= ((wxRichTextAttr
const *)arg1
)->CreateFont();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
3711 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
= 0;
3713 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 char * kwnames
[] = {
3723 (char *) "self",(char *) "font", NULL
3726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3728 if (!SWIG_IsOK(res1
)) {
3729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3731 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
3733 if (!SWIG_IsOK(res2
)) {
3734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3739 arg2
= reinterpret_cast< wxFont
* >(argp2
);
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (bool)(arg1
)->GetFontAttributes((wxFont
const &)*arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3755 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
= 0;
3757 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3758 wxColour
*arg2
= 0 ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3764 char * kwnames
[] = {
3765 (char *) "self",(char *) "colText", NULL
3768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3770 if (!SWIG_IsOK(res1
)) {
3771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3773 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_Py_Void();
3791 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
= 0;
3793 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3794 wxColour
*arg2
= 0 ;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3800 char * kwnames
[] = {
3801 (char *) "self",(char *) "colBack", NULL
3804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3806 if (!SWIG_IsOK(res1
)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3809 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_Py_Void();
3827 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
= 0;
3829 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3830 wxTextAttrAlignment arg2
;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3837 char * kwnames
[] = {
3838 (char *) "self",(char *) "alignment", NULL
3841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3843 if (!SWIG_IsOK(res1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3846 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3848 if (!SWIG_IsOK(ecode2
)) {
3849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3851 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 (arg1
)->SetAlignment(arg2
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= SWIG_Py_Void();
3865 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
= 0;
3867 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3868 wxArrayInt
*arg2
= 0 ;
3871 bool temp2
= false ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3874 char * kwnames
[] = {
3875 (char *) "self",(char *) "tabs", NULL
3878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3880 if (!SWIG_IsOK(res1
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3883 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3885 if (! PySequence_Check(obj1
)) {
3886 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
3889 arg2
= new wxArrayInt
;
3891 int i
, len
=PySequence_Length(obj1
);
3892 for (i
=0; i
<len
; i
++) {
3893 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3894 PyObject
* number
= PyNumber_Int(item
);
3895 arg2
->Add(PyInt_AS_LONG(number
));
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_Py_Void();
3908 if (temp2
) delete arg2
;
3913 if (temp2
) delete arg2
;
3919 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
= 0;
3921 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3923 int arg3
= (int) 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 PyObject
* obj2
= 0 ;
3933 char * kwnames
[] = {
3934 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3939 if (!SWIG_IsOK(res1
)) {
3940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3942 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3944 if (!SWIG_IsOK(ecode2
)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3947 arg2
= static_cast< int >(val2
);
3949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3950 if (!SWIG_IsOK(ecode3
)) {
3951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3953 arg3
= static_cast< int >(val3
);
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->SetLeftIndent(arg2
,arg3
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_Py_Void();
3968 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
= 0;
3970 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3977 PyObject
* obj1
= 0 ;
3978 char * kwnames
[] = {
3979 (char *) "self",(char *) "indent", NULL
3982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3987 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
3988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3989 if (!SWIG_IsOK(ecode2
)) {
3990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3992 arg2
= static_cast< int >(val2
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->SetRightIndent(arg2
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_Py_Void();
4006 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
= 0;
4008 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4015 PyObject
* obj1
= 0 ;
4016 char * kwnames
[] = {
4017 (char *) "self",(char *) "pointSize", NULL
4020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4022 if (!SWIG_IsOK(res1
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4025 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4027 if (!SWIG_IsOK(ecode2
)) {
4028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4030 arg2
= static_cast< int >(val2
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->SetFontSize(arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_Py_Void();
4044 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= 0;
4046 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4054 char * kwnames
[] = {
4055 (char *) "self",(char *) "fontStyle", NULL
4058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4063 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4065 if (!SWIG_IsOK(ecode2
)) {
4066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
4068 arg2
= static_cast< int >(val2
);
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 (arg1
)->SetFontStyle(arg2
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_Py_Void();
4082 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
= 0;
4084 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4091 PyObject
* obj1
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "self",(char *) "fontWeight", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4098 if (!SWIG_IsOK(res1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4101 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4103 if (!SWIG_IsOK(ecode2
)) {
4104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4106 arg2
= static_cast< int >(val2
);
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->SetFontWeight(arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_Py_Void();
4120 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4123 wxString
*arg2
= 0 ;
4126 bool temp2
= false ;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4129 char * kwnames
[] = {
4130 (char *) "self",(char *) "faceName", NULL
4133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4138 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4140 arg2
= wxString_in_helper(obj1
);
4141 if (arg2
== NULL
) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 (arg1
)->SetFontFaceName((wxString
const &)*arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_Py_Void();
4165 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
= 0;
4167 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "underlined", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4184 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4186 if (!SWIG_IsOK(ecode2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4189 arg2
= static_cast< bool >(val2
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->SetFontUnderlined(arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_Py_Void();
4203 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4211 PyObject
* obj0
= 0 ;
4212 PyObject
* obj1
= 0 ;
4213 char * kwnames
[] = {
4214 (char *) "self",(char *) "flags", NULL
4217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4219 if (!SWIG_IsOK(res1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4222 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4223 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4224 if (!SWIG_IsOK(ecode2
)) {
4225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4227 arg2
= static_cast< long >(val2
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 (arg1
)->SetFlags(arg2
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_Py_Void();
4241 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4244 wxString
*arg2
= 0 ;
4247 bool temp2
= false ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "name", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4259 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4261 arg2
= wxString_in_helper(obj1
);
4262 if (arg2
== NULL
) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetCharacterStyleName((wxString
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4286 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
= 0;
4288 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4289 wxString
*arg2
= 0 ;
4292 bool temp2
= false ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 char * kwnames
[] = {
4296 (char *) "self",(char *) "name", NULL
4299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4304 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4306 arg2
= wxString_in_helper(obj1
);
4307 if (arg2
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 (arg1
)->SetParagraphStyleName((wxString
const &)*arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_Py_Void();
4331 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
= 0;
4333 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4341 char * kwnames
[] = {
4342 (char *) "self",(char *) "spacing", NULL
4345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4350 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4352 if (!SWIG_IsOK(ecode2
)) {
4353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4355 arg2
= static_cast< int >(val2
);
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 (arg1
)->SetParagraphSpacingAfter(arg2
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= SWIG_Py_Void();
4369 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
= 0;
4371 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 char * kwnames
[] = {
4380 (char *) "self",(char *) "spacing", NULL
4383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4388 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4390 if (!SWIG_IsOK(ecode2
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4393 arg2
= static_cast< int >(val2
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->SetParagraphSpacingBefore(arg2
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4417 char * kwnames
[] = {
4418 (char *) "self",(char *) "spacing", NULL
4421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4423 if (!SWIG_IsOK(res1
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4426 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4428 if (!SWIG_IsOK(ecode2
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4431 arg2
= static_cast< int >(val2
);
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 (arg1
)->SetLineSpacing(arg2
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= SWIG_Py_Void();
4445 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
= 0;
4447 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4455 char * kwnames
[] = {
4456 (char *) "self",(char *) "style", NULL
4459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4464 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4466 if (!SWIG_IsOK(ecode2
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4469 arg2
= static_cast< int >(val2
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->SetBulletStyle(arg2
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_Py_Void();
4483 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4485 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "n", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4502 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 (arg1
)->SetBulletNumber(arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_Py_Void();
4521 SWIGINTERN PyObject
*_wrap_RichTextAttr_SetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4531 char * kwnames
[] = {
4532 (char *) "self",(char *) "symbol", NULL
4535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4540 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxChar
, 0 | 0);
4543 if (!SWIG_IsOK(res2
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4549 wxChar
* temp
= reinterpret_cast< wxChar
* >(argp2
);
4551 if (SWIG_IsNewObj(res2
)) delete temp
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 (arg1
)->SetBulletSymbol(arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= SWIG_Py_Void();
4567 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4568 PyObject
*resultobj
= 0;
4569 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4570 wxColour
*result
= 0 ;
4573 PyObject
*swig_obj
[1] ;
4575 if (!args
) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4581 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTextColour();
4586 result
= (wxColour
*) &_result_ref
;
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4598 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4599 PyObject
*resultobj
= 0;
4600 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4601 wxColour
*result
= 0 ;
4604 PyObject
*swig_obj
[1] ;
4606 if (!args
) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4612 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 wxColour
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetBackgroundColour();
4617 result
= (wxColour
*) &_result_ref
;
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
4629 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4630 PyObject
*resultobj
= 0;
4631 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4632 wxTextAttrAlignment result
;
4635 PyObject
*swig_obj
[1] ;
4637 if (!args
) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4643 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (wxTextAttrAlignment
)((wxRichTextAttr
const *)arg1
)->GetAlignment();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_From_int(static_cast< int >(result
));
4657 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4658 PyObject
*resultobj
= 0;
4659 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4660 wxArrayInt
*result
= 0 ;
4663 PyObject
*swig_obj
[1] ;
4665 if (!args
) SWIG_fail
;
4667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4668 if (!SWIG_IsOK(res1
)) {
4669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4671 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxArrayInt
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetTabs();
4676 result
= (wxArrayInt
*) &_result_ref
;
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= PyList_New(0);
4684 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
4685 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
4686 PyList_Append(resultobj
, val
);
4696 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4702 PyObject
*swig_obj
[1] ;
4704 if (!args
) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4710 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftIndent();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_From_long(static_cast< long >(result
));
4724 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 PyObject
*resultobj
= 0;
4726 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4730 PyObject
*swig_obj
[1] ;
4732 if (!args
) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4738 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (long)((wxRichTextAttr
const *)arg1
)->GetLeftSubIndent();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= SWIG_From_long(static_cast< long >(result
));
4752 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4753 PyObject
*resultobj
= 0;
4754 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4758 PyObject
*swig_obj
[1] ;
4760 if (!args
) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4766 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (long)((wxRichTextAttr
const *)arg1
)->GetRightIndent();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_From_long(static_cast< long >(result
));
4780 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4781 PyObject
*resultobj
= 0;
4782 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4786 PyObject
*swig_obj
[1] ;
4788 if (!args
) SWIG_fail
;
4790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4791 if (!SWIG_IsOK(res1
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4794 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (long)((wxRichTextAttr
const *)arg1
)->GetFlags();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_From_long(static_cast< long >(result
));
4808 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4814 PyObject
*swig_obj
[1] ;
4816 if (!args
) SWIG_fail
;
4818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4819 if (!SWIG_IsOK(res1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4822 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontSize();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_From_int(static_cast< int >(result
));
4836 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4837 PyObject
*resultobj
= 0;
4838 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4842 PyObject
*swig_obj
[1] ;
4844 if (!args
) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4850 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontStyle();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_From_int(static_cast< int >(result
));
4864 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4865 PyObject
*resultobj
= 0;
4866 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4870 PyObject
*swig_obj
[1] ;
4872 if (!args
) SWIG_fail
;
4874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4875 if (!SWIG_IsOK(res1
)) {
4876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4878 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= (int)((wxRichTextAttr
const *)arg1
)->GetFontWeight();
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_From_int(static_cast< int >(result
));
4892 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4893 PyObject
*resultobj
= 0;
4894 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4898 PyObject
*swig_obj
[1] ;
4900 if (!args
) SWIG_fail
;
4902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4903 if (!SWIG_IsOK(res1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4906 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (bool)((wxRichTextAttr
const *)arg1
)->GetFontUnderlined();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4922 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetFontFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4923 PyObject
*resultobj
= 0;
4924 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4925 wxString
*result
= 0 ;
4928 PyObject
*swig_obj
[1] ;
4930 if (!args
) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4936 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetFontFaceName();
4941 result
= (wxString
*) &_result_ref
;
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4950 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4959 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4960 PyObject
*resultobj
= 0;
4961 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4962 wxString
*result
= 0 ;
4965 PyObject
*swig_obj
[1] ;
4967 if (!args
) SWIG_fail
;
4969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
4970 if (!SWIG_IsOK(res1
)) {
4971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4973 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetCharacterStyleName();
4978 result
= (wxString
*) &_result_ref
;
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4996 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4997 PyObject
*resultobj
= 0;
4998 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
4999 wxString
*result
= 0 ;
5002 PyObject
*swig_obj
[1] ;
5004 if (!args
) SWIG_fail
;
5006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5007 if (!SWIG_IsOK(res1
)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5010 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxString
const &_result_ref
= ((wxRichTextAttr
const *)arg1
)->GetParagraphStyleName();
5015 result
= (wxString
*) &_result_ref
;
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5033 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 PyObject
*resultobj
= 0;
5035 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5039 PyObject
*swig_obj
[1] ;
5041 if (!args
) SWIG_fail
;
5043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5044 if (!SWIG_IsOK(res1
)) {
5045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5047 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingAfter();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_From_int(static_cast< int >(result
));
5061 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 PyObject
*resultobj
= 0;
5063 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5067 PyObject
*swig_obj
[1] ;
5069 if (!args
) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5075 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (int)((wxRichTextAttr
const *)arg1
)->GetParagraphSpacingBefore();
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_From_int(static_cast< int >(result
));
5089 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 PyObject
*resultobj
= 0;
5091 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5103 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (int)((wxRichTextAttr
const *)arg1
)->GetLineSpacing();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_From_int(static_cast< int >(result
));
5117 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 PyObject
*resultobj
= 0;
5119 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5123 PyObject
*swig_obj
[1] ;
5125 if (!args
) SWIG_fail
;
5127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5128 if (!SWIG_IsOK(res1
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5131 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletStyle();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_From_int(static_cast< int >(result
));
5145 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5146 PyObject
*resultobj
= 0;
5147 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5151 PyObject
*swig_obj
[1] ;
5153 if (!args
) SWIG_fail
;
5155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5156 if (!SWIG_IsOK(res1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5159 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (int)((wxRichTextAttr
const *)arg1
)->GetBulletNumber();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_From_int(static_cast< int >(result
));
5173 SWIGINTERN PyObject
*_wrap_RichTextAttr_GetBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5174 PyObject
*resultobj
= 0;
5175 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5179 PyObject
*swig_obj
[1] ;
5181 if (!args
) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5187 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= ((wxRichTextAttr
const *)arg1
)->GetBulletSymbol();
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_NewPointerObj((new wxChar(static_cast< const wxChar
& >(result
))), SWIGTYPE_p_wxChar
, SWIG_POINTER_OWN
| 0 );
5201 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 PyObject
*resultobj
= 0;
5203 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5207 PyObject
*swig_obj
[1] ;
5209 if (!args
) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5215 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTextColour();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5231 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5237 PyObject
*swig_obj
[1] ;
5239 if (!args
) SWIG_fail
;
5241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5242 if (!SWIG_IsOK(res1
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5245 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBackgroundColour();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5261 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5262 PyObject
*resultobj
= 0;
5263 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5267 PyObject
*swig_obj
[1] ;
5269 if (!args
) SWIG_fail
;
5271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5272 if (!SWIG_IsOK(res1
)) {
5273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5275 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasAlignment();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5291 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5292 PyObject
*resultobj
= 0;
5293 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5297 PyObject
*swig_obj
[1] ;
5299 if (!args
) SWIG_fail
;
5301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5302 if (!SWIG_IsOK(res1
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5305 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasTabs();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5321 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5322 PyObject
*resultobj
= 0;
5323 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5327 PyObject
*swig_obj
[1] ;
5329 if (!args
) SWIG_fail
;
5331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5332 if (!SWIG_IsOK(res1
)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5335 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLeftIndent();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5351 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5352 PyObject
*resultobj
= 0;
5353 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5357 PyObject
*swig_obj
[1] ;
5359 if (!args
) SWIG_fail
;
5361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5362 if (!SWIG_IsOK(res1
)) {
5363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5365 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasRightIndent();
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5381 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5382 PyObject
*resultobj
= 0;
5383 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5387 PyObject
*swig_obj
[1] ;
5389 if (!args
) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5395 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasWeight();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5411 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5412 PyObject
*resultobj
= 0;
5413 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5417 PyObject
*swig_obj
[1] ;
5419 if (!args
) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5425 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasSize();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5441 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5442 PyObject
*resultobj
= 0;
5443 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5447 PyObject
*swig_obj
[1] ;
5449 if (!args
) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5455 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasItalic();
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5471 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5472 PyObject
*resultobj
= 0;
5473 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5477 PyObject
*swig_obj
[1] ;
5479 if (!args
) SWIG_fail
;
5481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5482 if (!SWIG_IsOK(res1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5485 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasUnderlined();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5501 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5503 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5507 PyObject
*swig_obj
[1] ;
5509 if (!args
) SWIG_fail
;
5511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5512 if (!SWIG_IsOK(res1
)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5515 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFaceName();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5531 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5532 PyObject
*resultobj
= 0;
5533 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5537 PyObject
*swig_obj
[1] ;
5539 if (!args
) SWIG_fail
;
5541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5542 if (!SWIG_IsOK(res1
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5545 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFont();
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5561 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5562 PyObject
*resultobj
= 0;
5563 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5567 PyObject
*swig_obj
[1] ;
5569 if (!args
) SWIG_fail
;
5571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5572 if (!SWIG_IsOK(res1
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5575 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingAfter();
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5591 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5592 PyObject
*resultobj
= 0;
5593 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5597 PyObject
*swig_obj
[1] ;
5599 if (!args
) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5605 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphSpacingBefore();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5621 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5622 PyObject
*resultobj
= 0;
5623 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5627 PyObject
*swig_obj
[1] ;
5629 if (!args
) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5635 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasLineSpacing();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5651 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasCharacterStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5652 PyObject
*resultobj
= 0;
5653 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5657 PyObject
*swig_obj
[1] ;
5659 if (!args
) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5665 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasCharacterStyleName();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5681 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasParagraphStyleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5682 PyObject
*resultobj
= 0;
5683 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5687 PyObject
*swig_obj
[1] ;
5689 if (!args
) SWIG_fail
;
5691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5692 if (!SWIG_IsOK(res1
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5695 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasParagraphStyleName();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5717 PyObject
*swig_obj
[1] ;
5719 if (!args
) SWIG_fail
;
5721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5722 if (!SWIG_IsOK(res1
)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5725 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletStyle();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5741 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5742 PyObject
*resultobj
= 0;
5743 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5747 PyObject
*swig_obj
[1] ;
5749 if (!args
) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5755 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletNumber();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasBulletSymbol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5777 PyObject
*swig_obj
[1] ;
5779 if (!args
) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5785 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasBulletSymbol();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 SWIGINTERN PyObject
*_wrap_RichTextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
= 0;
5803 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 char * kwnames
[] = {
5813 (char *) "self",(char *) "flag", NULL
5816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5818 if (!SWIG_IsOK(res1
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5821 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5822 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5823 if (!SWIG_IsOK(ecode2
)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5826 arg2
= static_cast< long >(val2
);
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)((wxRichTextAttr
const *)arg1
)->HasFlag(arg2
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5842 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 PyObject
*resultobj
= 0;
5844 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5848 PyObject
*swig_obj
[1] ;
5850 if (!args
) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5856 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsCharacterStyle();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5872 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5873 PyObject
*resultobj
= 0;
5874 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5886 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsParagraphStyle();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5902 SWIGINTERN PyObject
*_wrap_RichTextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxRichTextAttr
*arg1
= (wxRichTextAttr
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextAttr
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5916 arg1
= reinterpret_cast< wxRichTextAttr
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)((wxRichTextAttr
const *)arg1
)->IsDefault();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5932 SWIGINTERN PyObject
*RichTextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5935 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr
, SWIG_NewClientData(obj
));
5936 return SWIG_Py_Void();
5939 SWIGINTERN PyObject
*RichTextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 return SWIG_Python_InitShadowInstance(args
);
5943 SWIGINTERN PyObject
*_wrap_new_RichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxWindow
*arg1
= (wxWindow
*) 0 ;
5946 int arg2
= (int) -1 ;
5947 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5948 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5949 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5950 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5951 long arg5
= (long) wxRE_MULTILINE
;
5952 wxRichTextCtrl
*result
= 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 PyObject
* obj2
= 0 ;
5964 PyObject
* obj3
= 0 ;
5965 PyObject
* obj4
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_RichTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5975 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5978 if (!SWIG_IsOK(ecode2
)) {
5979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
5981 arg2
= static_cast< int >(val2
);
5986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5992 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5996 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
5997 if (!SWIG_IsOK(ecode5
)) {
5998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_RichTextCtrl" "', expected argument " "5"" of type '" "long""'");
6000 arg5
= static_cast< long >(val5
);
6003 if (!wxPyCheckForApp()) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (wxRichTextCtrl
*)new wxRichTextCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_NEW
| 0 );
6016 SWIGINTERN PyObject
*_wrap_new_PreRichTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6017 PyObject
*resultobj
= 0;
6018 wxRichTextCtrl
*result
= 0 ;
6020 if (!SWIG_Python_UnpackTuple(args
,"new_PreRichTextCtrl",0,0,0)) SWIG_fail
;
6022 if (!wxPyCheckForApp()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (wxRichTextCtrl
*)new wxRichTextCtrl();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextCtrl
, SWIG_POINTER_OWN
| 0 );
6035 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
= 0;
6037 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6038 wxWindow
*arg2
= (wxWindow
*) 0 ;
6039 int arg3
= (int) -1 ;
6040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6044 long arg6
= (long) wxRE_MULTILINE
;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6058 PyObject
* obj2
= 0 ;
6059 PyObject
* obj3
= 0 ;
6060 PyObject
* obj4
= 0 ;
6061 PyObject
* obj5
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:RichTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6071 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6073 if (!SWIG_IsOK(res2
)) {
6074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6079 if (!SWIG_IsOK(ecode3
)) {
6080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6082 arg3
= static_cast< int >(val3
);
6087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6097 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6098 if (!SWIG_IsOK(ecode6
)) {
6099 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RichTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
6101 arg6
= static_cast< long >(val6
);
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6132 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= ((wxRichTextCtrl
const *)arg1
)->GetValue();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6152 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
= 0;
6154 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6155 wxString
*arg2
= 0 ;
6158 bool temp2
= false ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 char * kwnames
[] = {
6162 (char *) "self",(char *) "value", NULL
6165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6170 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6172 arg2
= wxString_in_helper(obj1
);
6173 if (arg2
== NULL
) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetValue((wxString
const &)*arg2
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
= 0;
6199 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6211 PyObject
* obj2
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "self",(char *) "from",(char *) "to", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6221 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6222 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6223 if (!SWIG_IsOK(ecode2
)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6226 arg2
= static_cast< long >(val2
);
6227 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6228 if (!SWIG_IsOK(ecode3
)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6231 arg3
= static_cast< long >(val3
);
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= ((wxRichTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6251 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
= 0;
6253 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 char * kwnames
[] = {
6263 (char *) "self",(char *) "lineNo", NULL
6266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6268 if (!SWIG_IsOK(res1
)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6271 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6272 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6273 if (!SWIG_IsOK(ecode2
)) {
6274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6276 arg2
= static_cast< long >(val2
);
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_From_int(static_cast< int >(result
));
6290 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
= 0;
6292 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 char * kwnames
[] = {
6302 (char *) "self",(char *) "lineNo", NULL
6305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6307 if (!SWIG_IsOK(res1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6310 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6311 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6312 if (!SWIG_IsOK(ecode2
)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6315 arg2
= static_cast< long >(val2
);
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= ((wxRichTextCtrl
const *)arg1
)->GetLineText(arg2
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6335 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6336 PyObject
*resultobj
= 0;
6337 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6341 PyObject
*swig_obj
[1] ;
6343 if (!args
) SWIG_fail
;
6345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6346 if (!SWIG_IsOK(res1
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6349 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (int)((wxRichTextCtrl
const *)arg1
)->GetNumberOfLines();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_From_int(static_cast< int >(result
));
6363 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6364 PyObject
*resultobj
= 0;
6365 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6369 PyObject
*swig_obj
[1] ;
6371 if (!args
) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6377 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsModified();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6393 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6394 PyObject
*resultobj
= 0;
6395 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6399 PyObject
*swig_obj
[1] ;
6401 if (!args
) SWIG_fail
;
6403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6404 if (!SWIG_IsOK(res1
)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6407 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsEditable();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6423 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6424 PyObject
*resultobj
= 0;
6425 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6437 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSingleLine();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6453 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6467 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsMultiLine();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6483 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 PyObject
*resultobj
= 0;
6485 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6486 long *arg2
= (long *) 0 ;
6487 long *arg3
= (long *) 0 ;
6491 int res2
= SWIG_TMPOBJ
;
6493 int res3
= SWIG_TMPOBJ
;
6494 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6504 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 ((wxRichTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_Py_Void();
6512 if (SWIG_IsTmpObj(res2
)) {
6513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6515 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6518 if (SWIG_IsTmpObj(res3
)) {
6519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6521 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6530 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6544 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= ((wxRichTextCtrl
const *)arg1
)->GetStringSelection();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6564 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6565 PyObject
*resultobj
= 0;
6566 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6570 PyObject
*swig_obj
[1] ;
6572 if (!args
) SWIG_fail
;
6574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6575 if (!SWIG_IsOK(res1
)) {
6576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6578 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= ((wxRichTextCtrl
const *)arg1
)->GetFilename();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6598 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
= 0;
6600 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6601 wxString
*arg2
= 0 ;
6604 bool temp2
= false ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 char * kwnames
[] = {
6608 (char *) "self",(char *) "filename", NULL
6611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6613 if (!SWIG_IsOK(res1
)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6616 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6618 arg2
= wxString_in_helper(obj1
);
6619 if (arg2
== NULL
) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->SetFilename((wxString
const &)*arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= SWIG_Py_Void();
6643 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 char * kwnames
[] = {
6654 (char *) "self",(char *) "threshold", NULL
6657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6662 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6663 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6664 if (!SWIG_IsOK(ecode2
)) {
6665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6667 arg2
= static_cast< long >(val2
);
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 (arg1
)->SetDelayedLayoutThreshold(arg2
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= SWIG_Py_Void();
6681 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6682 PyObject
*resultobj
= 0;
6683 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6687 PyObject
*swig_obj
[1] ;
6689 if (!args
) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6695 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetDelayedLayoutThreshold();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_From_long(static_cast< long >(result
));
6709 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6710 PyObject
*resultobj
= 0;
6711 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6722 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_Py_Void();
6736 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= 0;
6738 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6741 wxString
*arg4
= 0 ;
6748 bool temp4
= false ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 PyObject
* obj2
= 0 ;
6752 PyObject
* obj3
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6762 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6764 if (!SWIG_IsOK(ecode2
)) {
6765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6767 arg2
= static_cast< long >(val2
);
6768 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6769 if (!SWIG_IsOK(ecode3
)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6772 arg3
= static_cast< long >(val3
);
6774 arg4
= wxString_in_helper(obj3
);
6775 if (arg4
== NULL
) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_Py_Void();
6799 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6812 PyObject
* obj2
= 0 ;
6813 char * kwnames
[] = {
6814 (char *) "self",(char *) "from",(char *) "to", NULL
6817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6819 if (!SWIG_IsOK(res1
)) {
6820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6822 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6823 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6824 if (!SWIG_IsOK(ecode2
)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6827 arg2
= static_cast< long >(val2
);
6828 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6829 if (!SWIG_IsOK(ecode3
)) {
6830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6832 arg3
= static_cast< long >(val3
);
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 (arg1
)->Remove(arg2
,arg3
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_Py_Void();
6846 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
= 0;
6848 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6849 wxString
*arg2
= 0 ;
6850 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6854 bool temp2
= false ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6860 char * kwnames
[] = {
6861 (char *) "self",(char *) "file",(char *) "type", NULL
6864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6869 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6871 arg2
= wxString_in_helper(obj1
);
6872 if (arg2
== NULL
) SWIG_fail
;
6876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6877 if (!SWIG_IsOK(ecode3
)) {
6878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6880 arg3
= static_cast< int >(val3
);
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6905 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= 0;
6907 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6908 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6909 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6910 int arg3
= (int) wxRICHTEXT_TYPE_ANY
;
6914 bool temp2
= false ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 PyObject
* obj2
= 0 ;
6920 char * kwnames
[] = {
6921 (char *) "self",(char *) "file",(char *) "type", NULL
6924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6926 if (!SWIG_IsOK(res1
)) {
6927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6929 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6932 arg2
= wxString_in_helper(obj1
);
6933 if (arg2
== NULL
) SWIG_fail
;
6938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6939 if (!SWIG_IsOK(ecode3
)) {
6940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6942 arg3
= static_cast< int >(val3
);
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6967 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6968 PyObject
*resultobj
= 0;
6969 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6972 PyObject
*swig_obj
[1] ;
6974 if (!args
) SWIG_fail
;
6976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
6977 if (!SWIG_IsOK(res1
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6980 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->MarkDirty();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_Py_Void();
6994 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6995 PyObject
*resultobj
= 0;
6996 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
6999 PyObject
*swig_obj
[1] ;
7001 if (!args
) SWIG_fail
;
7003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7004 if (!SWIG_IsOK(res1
)) {
7005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7007 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 (arg1
)->DiscardEdits();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_Py_Void();
7021 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
= 0;
7023 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7024 unsigned long arg2
;
7027 unsigned long val2
;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7031 char * kwnames
[] = {
7032 (char *) "self",(char *) "len", NULL
7035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7037 if (!SWIG_IsOK(res1
)) {
7038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7040 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7041 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
7042 if (!SWIG_IsOK(ecode2
)) {
7043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7045 arg2
= static_cast< unsigned long >(val2
);
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->SetMaxLength(arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_Py_Void();
7059 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
= 0;
7061 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7062 wxString
*arg2
= 0 ;
7065 bool temp2
= false ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7068 char * kwnames
[] = {
7069 (char *) "self",(char *) "text", NULL
7072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7074 if (!SWIG_IsOK(res1
)) {
7075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7077 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7079 arg2
= wxString_in_helper(obj1
);
7080 if (arg2
== NULL
) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 (arg1
)->WriteText((wxString
const &)*arg2
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_Py_Void();
7104 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7107 wxString
*arg2
= 0 ;
7110 bool temp2
= false ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 char * kwnames
[] = {
7114 (char *) "self",(char *) "text", NULL
7117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7122 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7124 arg2
= wxString_in_helper(obj1
);
7125 if (arg2
== NULL
) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->AppendText((wxString
const &)*arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= SWIG_Py_Void();
7149 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
= 0;
7151 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7152 wxRichTextRange
*arg2
= 0 ;
7153 wxRichTextAttr
*arg3
= 0 ;
7157 wxRichTextRange temp2
;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7162 PyObject
* obj2
= 0 ;
7163 char * kwnames
[] = {
7164 (char *) "self",(char *) "range",(char *) "style", NULL
7167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7169 if (!SWIG_IsOK(res1
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7172 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7175 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
7177 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7178 if (!SWIG_IsOK(res3
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7184 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (bool)(arg1
)->SetStyle((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7200 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
= 0;
7202 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7204 wxRichTextAttr
*arg3
= 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "self",(char *) "position",(char *) "style", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7221 if (!SWIG_IsOK(res1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7224 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7225 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7226 if (!SWIG_IsOK(ecode2
)) {
7227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7229 arg2
= static_cast< long >(val2
);
7230 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 );
7231 if (!SWIG_IsOK(res3
)) {
7232 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7237 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxRichTextCtrl
const *)arg1
)->GetStyle(arg2
,*arg3
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7256 wxRichTextAttr
*arg2
= 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7264 char * kwnames
[] = {
7265 (char *) "self",(char *) "style", NULL
7268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7270 if (!SWIG_IsOK(res1
)) {
7271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7273 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
7275 if (!SWIG_IsOK(res2
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7281 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (bool)(arg1
)->SetDefaultStyle((wxRichTextAttr
const &)*arg2
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7297 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7298 PyObject
*resultobj
= 0;
7299 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7300 wxRichTextAttr result
;
7303 PyObject
*swig_obj
[1] ;
7305 if (!args
) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7311 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= ((wxRichTextCtrl
const *)arg1
)->GetDefaultStyleEx();
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr
& >(result
))), SWIGTYPE_p_wxRichTextAttr
, SWIG_POINTER_OWN
| 0 );
7325 SWIGINTERN PyObject
*_wrap_RichTextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
= 0;
7327 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7338 PyObject
* obj1
= 0 ;
7339 PyObject
* obj2
= 0 ;
7340 char * kwnames
[] = {
7341 (char *) "self",(char *) "x",(char *) "y", NULL
7344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7346 if (!SWIG_IsOK(res1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7349 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7350 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7351 if (!SWIG_IsOK(ecode2
)) {
7352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7354 arg2
= static_cast< long >(val2
);
7355 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7356 if (!SWIG_IsOK(ecode3
)) {
7357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7359 arg3
= static_cast< long >(val3
);
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (long)((wxRichTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_From_long(static_cast< long >(result
));
7373 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
= 0;
7375 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7377 long *arg3
= (long *) 0 ;
7378 long *arg4
= (long *) 0 ;
7384 int res3
= SWIG_TMPOBJ
;
7386 int res4
= SWIG_TMPOBJ
;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 char * kwnames
[] = {
7390 (char *) "self",(char *) "pos", NULL
7395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7400 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7402 if (!SWIG_IsOK(ecode2
)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7405 arg2
= static_cast< long >(val2
);
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 ((wxRichTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_Py_Void();
7413 if (SWIG_IsTmpObj(res3
)) {
7414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7416 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7419 if (SWIG_IsTmpObj(res4
)) {
7420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
7422 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
7431 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= 0;
7433 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7441 char * kwnames
[] = {
7442 (char *) "self",(char *) "position", NULL
7445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7450 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7452 if (!SWIG_IsOK(ecode2
)) {
7453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7455 arg2
= static_cast< long >(val2
);
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 (arg1
)->ShowPosition(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= SWIG_Py_Void();
7469 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
= 0;
7471 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7473 long *arg3
= (long *) 0 ;
7474 wxTextCtrlHitTestResult result
;
7479 int res3
= SWIG_TMPOBJ
;
7480 PyObject
* obj0
= 0 ;
7481 PyObject
* obj1
= 0 ;
7482 char * kwnames
[] = {
7483 (char *) "self",(char *) "pt", NULL
7487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7489 if (!SWIG_IsOK(res1
)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7492 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7504 if (SWIG_IsTmpObj(res3
)) {
7505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
7507 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
7516 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
= 0;
7518 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7520 wxTextCoord
*arg3
= (wxTextCoord
*) 0 ;
7521 wxTextCoord
*arg4
= (wxTextCoord
*) 0 ;
7522 wxTextCtrlHitTestResult result
;
7530 PyObject
* obj0
= 0 ;
7531 PyObject
* obj1
= 0 ;
7532 PyObject
* obj2
= 0 ;
7533 PyObject
* obj3
= 0 ;
7534 char * kwnames
[] = {
7535 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7540 if (!SWIG_IsOK(res1
)) {
7541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7543 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7548 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7549 if (!SWIG_IsOK(res3
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7552 arg3
= reinterpret_cast< wxTextCoord
* >(argp3
);
7553 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxTextCoord
, 0 | 0 );
7554 if (!SWIG_IsOK(res4
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7557 arg4
= reinterpret_cast< wxTextCoord
* >(argp4
);
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= ((wxRichTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult
& >(result
))), SWIGTYPE_p_wxTextCtrlHitTestResult
, SWIG_POINTER_OWN
| 0 );
7571 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7572 PyObject
*resultobj
= 0;
7573 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7576 PyObject
*swig_obj
[1] ;
7578 if (!args
) SWIG_fail
;
7580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7581 if (!SWIG_IsOK(res1
)) {
7582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7584 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_Py_Void();
7598 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7599 PyObject
*resultobj
= 0;
7600 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7603 PyObject
*swig_obj
[1] ;
7605 if (!args
) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7611 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_Py_Void();
7625 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 PyObject
*resultobj
= 0;
7627 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7630 PyObject
*swig_obj
[1] ;
7632 if (!args
) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7638 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_Py_Void();
7652 SWIGINTERN PyObject
*_wrap_RichTextCtrl_DeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7657 PyObject
*swig_obj
[1] ;
7659 if (!args
) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7665 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 (arg1
)->DeleteSelection();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_Py_Void();
7679 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 PyObject
*resultobj
= 0;
7681 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7685 PyObject
*swig_obj
[1] ;
7687 if (!args
) SWIG_fail
;
7689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7690 if (!SWIG_IsOK(res1
)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7693 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCopy();
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7710 PyObject
*resultobj
= 0;
7711 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7715 PyObject
*swig_obj
[1] ;
7717 if (!args
) SWIG_fail
;
7719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7720 if (!SWIG_IsOK(res1
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7723 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanCut();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7739 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7740 PyObject
*resultobj
= 0;
7741 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7745 PyObject
*swig_obj
[1] ;
7747 if (!args
) SWIG_fail
;
7749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7750 if (!SWIG_IsOK(res1
)) {
7751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7753 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanPaste();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7769 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanDeleteSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7770 PyObject
*resultobj
= 0;
7771 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7775 PyObject
*swig_obj
[1] ;
7777 if (!args
) SWIG_fail
;
7779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7780 if (!SWIG_IsOK(res1
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7783 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanDeleteSelection();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7799 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7800 PyObject
*resultobj
= 0;
7801 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7804 PyObject
*swig_obj
[1] ;
7806 if (!args
) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7812 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_Py_Void();
7826 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7831 PyObject
*swig_obj
[1] ;
7833 if (!args
) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7839 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_Py_Void();
7853 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7854 PyObject
*resultobj
= 0;
7855 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7859 PyObject
*swig_obj
[1] ;
7861 if (!args
) SWIG_fail
;
7863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7864 if (!SWIG_IsOK(res1
)) {
7865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7867 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanUndo();
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7883 SWIGINTERN PyObject
*_wrap_RichTextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7884 PyObject
*resultobj
= 0;
7885 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7889 PyObject
*swig_obj
[1] ;
7891 if (!args
) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7897 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (bool)((wxRichTextCtrl
const *)arg1
)->CanRedo();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7913 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
= 0;
7915 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7923 char * kwnames
[] = {
7924 (char *) "self",(char *) "pos", NULL
7927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7932 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7934 if (!SWIG_IsOK(ecode2
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
7937 arg2
= static_cast< long >(val2
);
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->SetInsertionPoint(arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_Py_Void();
7951 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7952 PyObject
*resultobj
= 0;
7953 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7964 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 (arg1
)->SetInsertionPointEnd();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= SWIG_Py_Void();
7978 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7979 PyObject
*resultobj
= 0;
7980 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
7984 PyObject
*swig_obj
[1] ;
7986 if (!args
) SWIG_fail
;
7988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
7989 if (!SWIG_IsOK(res1
)) {
7990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7992 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetInsertionPoint();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_From_long(static_cast< long >(result
));
8006 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 PyObject
*resultobj
= 0;
8008 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8012 PyObject
*swig_obj
[1] ;
8014 if (!args
) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8020 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (long)((wxRichTextCtrl
const *)arg1
)->GetLastPosition();
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_From_long(static_cast< long >(result
));
8034 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
= 0;
8036 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8047 PyObject
* obj2
= 0 ;
8048 char * kwnames
[] = {
8049 (char *) "self",(char *) "from",(char *) "to", NULL
8052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8054 if (!SWIG_IsOK(res1
)) {
8055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8057 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8059 if (!SWIG_IsOK(ecode2
)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8062 arg2
= static_cast< long >(val2
);
8063 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8064 if (!SWIG_IsOK(ecode3
)) {
8065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8067 arg3
= static_cast< long >(val3
);
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 (arg1
)->SetSelection(arg2
,arg3
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_Py_Void();
8081 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8082 PyObject
*resultobj
= 0;
8083 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8086 PyObject
*swig_obj
[1] ;
8088 if (!args
) SWIG_fail
;
8090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8091 if (!SWIG_IsOK(res1
)) {
8092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8094 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 (arg1
)->SelectAll();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= SWIG_Py_Void();
8108 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= 0;
8110 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 char * kwnames
[] = {
8119 (char *) "self",(char *) "editable", NULL
8122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8124 if (!SWIG_IsOK(res1
)) {
8125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8127 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8128 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8129 if (!SWIG_IsOK(ecode2
)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8132 arg2
= static_cast< bool >(val2
);
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 (arg1
)->SetEditable(arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8147 PyObject
*resultobj
= 0;
8148 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8152 PyObject
*swig_obj
[1] ;
8154 if (!args
) SWIG_fail
;
8156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8157 if (!SWIG_IsOK(res1
)) {
8158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8160 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasSelection();
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8176 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
= 0;
8178 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8180 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 PyObject
* obj2
= 0 ;
8191 char * kwnames
[] = {
8192 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8197 if (!SWIG_IsOK(res1
)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8200 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
8202 if (!SWIG_IsOK(res2
)) {
8203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8208 arg2
= reinterpret_cast< wxImage
* >(argp2
);
8210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8211 if (!SWIG_IsOK(ecode3
)) {
8212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8214 arg3
= static_cast< int >(val3
);
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (bool)(arg1
)->WriteImage((wxImage
const &)*arg2
,arg3
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8231 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8234 wxBitmap
*arg2
= 0 ;
8235 int arg3
= (int) wxBITMAP_TYPE_PNG
;
8243 PyObject
* obj0
= 0 ;
8244 PyObject
* obj1
= 0 ;
8245 PyObject
* obj2
= 0 ;
8246 char * kwnames
[] = {
8247 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8252 if (!SWIG_IsOK(res1
)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8255 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8257 if (!SWIG_IsOK(res2
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8266 if (!SWIG_IsOK(ecode3
)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8269 arg3
= static_cast< int >(val3
);
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (bool)(arg1
)->WriteImage((wxBitmap
const &)*arg2
,arg3
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8286 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
= 0;
8288 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8289 wxString
*arg2
= 0 ;
8294 bool temp2
= false ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8300 char * kwnames
[] = {
8301 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8306 if (!SWIG_IsOK(res1
)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8309 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8316 if (!SWIG_IsOK(ecode3
)) {
8317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8319 arg3
= static_cast< int >(val3
);
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (bool)(arg1
)->WriteImage((wxString
const &)*arg2
,arg3
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8343 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WriteImageBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8346 wxRichTextImageBlock
*arg2
= 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "self",(char *) "imageBlock", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8363 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextImageBlock
, 0 | 0);
8365 if (!SWIG_IsOK(res2
)) {
8366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8371 arg2
= reinterpret_cast< wxRichTextImageBlock
* >(argp2
);
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (bool)(arg1
)->WriteImage((wxRichTextImageBlock
const &)*arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8387 SWIGINTERN PyObject
*_wrap_RichTextCtrl_Newline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 PyObject
*resultobj
= 0;
8389 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8393 PyObject
*swig_obj
[1] ;
8395 if (!args
) SWIG_fail
;
8397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8398 if (!SWIG_IsOK(res1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8401 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (bool)(arg1
)->Newline();
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8417 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetBasicStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
= 0;
8419 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8420 wxRichTextAttr
*arg2
= 0 ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "self",(char *) "style", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8436 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
8438 if (!SWIG_IsOK(res2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8444 arg2
= reinterpret_cast< wxRichTextAttr
* >(argp2
);
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 (arg1
)->SetBasicStyle((wxRichTextAttr
const &)*arg2
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_Py_Void();
8458 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8459 PyObject
*resultobj
= 0;
8460 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8464 PyObject
*swig_obj
[1] ;
8466 if (!args
) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8472 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (bool)(arg1
)->EndStyle();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8488 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAllStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8489 PyObject
*resultobj
= 0;
8490 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8494 PyObject
*swig_obj
[1] ;
8496 if (!args
) SWIG_fail
;
8498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8499 if (!SWIG_IsOK(res1
)) {
8500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8502 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (bool)(arg1
)->EndAllStyles();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8518 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8519 PyObject
*resultobj
= 0;
8520 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8524 PyObject
*swig_obj
[1] ;
8526 if (!args
) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8532 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (bool)(arg1
)->BeginBold();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8549 PyObject
*resultobj
= 0;
8550 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8554 PyObject
*swig_obj
[1] ;
8556 if (!args
) SWIG_fail
;
8558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8559 if (!SWIG_IsOK(res1
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8562 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)(arg1
)->EndBold();
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8578 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8579 PyObject
*resultobj
= 0;
8580 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8584 PyObject
*swig_obj
[1] ;
8586 if (!args
) SWIG_fail
;
8588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8589 if (!SWIG_IsOK(res1
)) {
8590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8592 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= (bool)(arg1
)->BeginItalic();
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8608 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8609 PyObject
*resultobj
= 0;
8610 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8614 PyObject
*swig_obj
[1] ;
8616 if (!args
) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8622 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (bool)(arg1
)->EndItalic();
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8638 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8644 PyObject
*swig_obj
[1] ;
8646 if (!args
) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8652 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (bool)(arg1
)->BeginUnderline();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8668 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndUnderline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8674 PyObject
*swig_obj
[1] ;
8676 if (!args
) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8682 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (bool)(arg1
)->EndUnderline();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8698 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
= 0;
8700 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 char * kwnames
[] = {
8710 (char *) "self",(char *) "pointSize", NULL
8713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8715 if (!SWIG_IsOK(res1
)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8718 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8720 if (!SWIG_IsOK(ecode2
)) {
8721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8723 arg2
= static_cast< int >(val2
);
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (bool)(arg1
)->BeginFontSize(arg2
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8739 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8740 PyObject
*resultobj
= 0;
8741 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8745 PyObject
*swig_obj
[1] ;
8747 if (!args
) SWIG_fail
;
8749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8750 if (!SWIG_IsOK(res1
)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8753 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (bool)(arg1
)->EndFontSize();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8769 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= 0;
8771 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8780 char * kwnames
[] = {
8781 (char *) "self",(char *) "font", NULL
8784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8786 if (!SWIG_IsOK(res1
)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8789 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
8791 if (!SWIG_IsOK(res2
)) {
8792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8797 arg2
= reinterpret_cast< wxFont
* >(argp2
);
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)(arg1
)->BeginFont((wxFont
const &)*arg2
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8813 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8814 PyObject
*resultobj
= 0;
8815 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8819 PyObject
*swig_obj
[1] ;
8821 if (!args
) SWIG_fail
;
8823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8824 if (!SWIG_IsOK(res1
)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8827 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (bool)(arg1
)->EndFont();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
= 0;
8845 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8846 wxColour
*arg2
= 0 ;
8851 PyObject
* obj0
= 0 ;
8852 PyObject
* obj1
= 0 ;
8853 char * kwnames
[] = {
8854 (char *) "self",(char *) "colour", NULL
8857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8859 if (!SWIG_IsOK(res1
)) {
8860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8862 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8865 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (bool)(arg1
)->BeginTextColour((wxColour
const &)*arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8882 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8883 PyObject
*resultobj
= 0;
8884 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8888 PyObject
*swig_obj
[1] ;
8890 if (!args
) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8896 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (bool)(arg1
)->EndTextColour();
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8912 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8915 wxTextAttrAlignment arg2
;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 char * kwnames
[] = {
8924 (char *) "self",(char *) "alignment", NULL
8927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8929 if (!SWIG_IsOK(res1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8932 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8934 if (!SWIG_IsOK(ecode2
)) {
8935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
8937 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (bool)(arg1
)->BeginAlignment(arg2
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8953 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 PyObject
*resultobj
= 0;
8955 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8959 PyObject
*swig_obj
[1] ;
8961 if (!args
) SWIG_fail
;
8963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
8964 if (!SWIG_IsOK(res1
)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8967 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->EndAlignment();
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8983 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
= 0;
8985 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
8987 int arg3
= (int) 0 ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8998 char * kwnames
[] = {
8999 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9007 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9009 if (!SWIG_IsOK(ecode2
)) {
9010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9012 arg2
= static_cast< int >(val2
);
9014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9015 if (!SWIG_IsOK(ecode3
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9018 arg3
= static_cast< int >(val3
);
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (bool)(arg1
)->BeginLeftIndent(arg2
,arg3
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9035 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 PyObject
*resultobj
= 0;
9037 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9041 PyObject
*swig_obj
[1] ;
9043 if (!args
) SWIG_fail
;
9045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9046 if (!SWIG_IsOK(res1
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9049 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (bool)(arg1
)->EndLeftIndent();
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9065 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
= 0;
9067 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 char * kwnames
[] = {
9077 (char *) "self",(char *) "rightIndent", NULL
9080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9085 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9087 if (!SWIG_IsOK(ecode2
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9090 arg2
= static_cast< int >(val2
);
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (bool)(arg1
)->BeginRightIndent(arg2
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9106 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9107 PyObject
*resultobj
= 0;
9108 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9112 PyObject
*swig_obj
[1] ;
9114 if (!args
) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9120 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (bool)(arg1
)->EndRightIndent();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9136 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
= 0;
9138 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "self",(char *) "before",(char *) "after", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9160 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9162 if (!SWIG_IsOK(ecode2
)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9165 arg2
= static_cast< int >(val2
);
9166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9167 if (!SWIG_IsOK(ecode3
)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9170 arg3
= static_cast< int >(val3
);
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (bool)(arg1
)->BeginParagraphSpacing(arg2
,arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9186 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9187 PyObject
*resultobj
= 0;
9188 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9192 PyObject
*swig_obj
[1] ;
9194 if (!args
) SWIG_fail
;
9196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9197 if (!SWIG_IsOK(res1
)) {
9198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9200 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (bool)(arg1
)->EndParagraphSpacing();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9216 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 char * kwnames
[] = {
9228 (char *) "self",(char *) "lineSpacing", NULL
9231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9236 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9238 if (!SWIG_IsOK(ecode2
)) {
9239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9241 arg2
= static_cast< int >(val2
);
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (bool)(arg1
)->BeginLineSpacing(arg2
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9257 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9258 PyObject
*resultobj
= 0;
9259 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9263 PyObject
*swig_obj
[1] ;
9265 if (!args
) SWIG_fail
;
9267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9268 if (!SWIG_IsOK(res1
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9271 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)(arg1
)->EndLineSpacing();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9293 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC
|wxTEXT_ATTR_BULLET_STYLE_PERIOD
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9308 PyObject
* obj3
= 0 ;
9309 PyObject
* obj4
= 0 ;
9310 char * kwnames
[] = {
9311 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9319 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9321 if (!SWIG_IsOK(ecode2
)) {
9322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9324 arg2
= static_cast< int >(val2
);
9325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9326 if (!SWIG_IsOK(ecode3
)) {
9327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9329 arg3
= static_cast< int >(val3
);
9330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9331 if (!SWIG_IsOK(ecode4
)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9334 arg4
= static_cast< int >(val4
);
9336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9337 if (!SWIG_IsOK(ecode5
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9340 arg5
= static_cast< int >(val5
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->BeginNumberedBullet(arg2
,arg3
,arg4
,arg5
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9357 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndNumberedBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9358 PyObject
*resultobj
= 0;
9359 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9363 PyObject
*swig_obj
[1] ;
9365 if (!args
) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9371 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)(arg1
)->EndNumberedBullet();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
= 0;
9389 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9393 int arg5
= (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL
;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 PyObject
* obj2
= 0 ;
9408 PyObject
* obj3
= 0 ;
9409 PyObject
* obj4
= 0 ;
9410 char * kwnames
[] = {
9411 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9419 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9420 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9421 if (!SWIG_IsOK(ecode2
)) {
9422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'");
9424 arg2
= static_cast< char >(val2
);
9425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9426 if (!SWIG_IsOK(ecode3
)) {
9427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9429 arg3
= static_cast< int >(val3
);
9430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9431 if (!SWIG_IsOK(ecode4
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9434 arg4
= static_cast< int >(val4
);
9436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9437 if (!SWIG_IsOK(ecode5
)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9440 arg5
= static_cast< int >(val5
);
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (bool)(arg1
)->BeginSymbolBullet(arg2
,arg3
,arg4
,arg5
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9457 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSymbolBullet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9458 PyObject
*resultobj
= 0;
9459 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9463 PyObject
*swig_obj
[1] ;
9465 if (!args
) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9471 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (bool)(arg1
)->EndSymbolBullet();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9487 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
= 0;
9489 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9490 wxString
*arg2
= 0 ;
9494 bool temp2
= false ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 char * kwnames
[] = {
9498 (char *) "self",(char *) "characterStyle", NULL
9501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9503 if (!SWIG_IsOK(res1
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9506 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9508 arg2
= wxString_in_helper(obj1
);
9509 if (arg2
== NULL
) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)(arg1
)->BeginCharacterStyle((wxString
const &)*arg2
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndCharacterStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9536 PyObject
*resultobj
= 0;
9537 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9541 PyObject
*swig_obj
[1] ;
9543 if (!args
) SWIG_fail
;
9545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9546 if (!SWIG_IsOK(res1
)) {
9547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9549 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)(arg1
)->EndCharacterStyle();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9565 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
= 0;
9567 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9568 wxString
*arg2
= 0 ;
9572 bool temp2
= false ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9575 char * kwnames
[] = {
9576 (char *) "self",(char *) "paragraphStyle", NULL
9579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9584 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9586 arg2
= wxString_in_helper(obj1
);
9587 if (arg2
== NULL
) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (bool)(arg1
)->BeginParagraphStyle((wxString
const &)*arg2
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9613 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndParagraphStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9614 PyObject
*resultobj
= 0;
9615 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9619 PyObject
*swig_obj
[1] ;
9621 if (!args
) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9627 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)(arg1
)->EndParagraphStyle();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9644 PyObject
*resultobj
= 0;
9645 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9649 PyObject
*swig_obj
[1] ;
9651 if (!args
) SWIG_fail
;
9653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9654 if (!SWIG_IsOK(res1
)) {
9655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9657 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (bool)(arg1
)->SetDefaultStyleToCursorStyle();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SelectNone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9678 PyObject
*swig_obj
[1] ;
9680 if (!args
) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9686 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 (arg1
)->SelectNone();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9701 PyObject
*resultobj
= 0;
9702 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9703 wxRichTextRange
*result
= 0 ;
9706 PyObject
*swig_obj
[1] ;
9708 if (!args
) SWIG_fail
;
9710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9711 if (!SWIG_IsOK(res1
)) {
9712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
9714 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 wxRichTextRange
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetSelectionRange();
9719 result
= (wxRichTextRange
*) &_result_ref
;
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextRange
, 0 | 0 );
9731 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetSelectionRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
= 0;
9733 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9734 wxRichTextRange
*arg2
= 0 ;
9737 wxRichTextRange temp2
;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 char * kwnames
[] = {
9741 (char *) "self",(char *) "range", NULL
9744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9746 if (!SWIG_IsOK(res1
)) {
9747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9749 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9752 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 (arg1
)->SetSelectionRange((wxRichTextRange
const &)*arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_Py_Void();
9767 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddParagraph(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= 0;
9769 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9770 wxString
*arg2
= 0 ;
9771 wxRichTextRange result
;
9774 bool temp2
= false ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9777 char * kwnames
[] = {
9778 (char *) "self",(char *) "text", NULL
9781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddParagraph",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9786 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9788 arg2
= wxString_in_helper(obj1
);
9789 if (arg2
== NULL
) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (arg1
)->AddParagraph((wxString
const &)*arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
9813 SWIGINTERN PyObject
*_wrap_RichTextCtrl_AddImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9817 wxRichTextRange result
;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 char * kwnames
[] = {
9825 (char *) "self",(char *) "image", NULL
9828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_AddImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9833 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
9835 if (!SWIG_IsOK(res2
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9841 arg2
= reinterpret_cast< wxImage
* >(argp2
);
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (arg1
)->AddImage((wxImage
const &)*arg2
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange
& >(result
))), SWIGTYPE_p_wxRichTextRange
, SWIG_POINTER_OWN
| 0 );
9855 SWIGINTERN PyObject
*_wrap_RichTextCtrl_LayoutContent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
= 0;
9857 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9858 bool arg2
= (bool) false ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 char * kwnames
[] = {
9867 (char *) "self",(char *) "onlyVisibleRect", NULL
9870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9872 if (!SWIG_IsOK(res1
)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9875 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9878 if (!SWIG_IsOK(ecode2
)) {
9879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
9881 arg2
= static_cast< bool >(val2
);
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (bool)(arg1
)->LayoutContent(arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9898 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
= 0;
9900 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9902 bool arg3
= (bool) false ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 PyObject
* obj2
= 0 ;
9913 char * kwnames
[] = {
9914 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
9917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9919 if (!SWIG_IsOK(res1
)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9922 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9923 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9924 if (!SWIG_IsOK(ecode2
)) {
9925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
9927 arg2
= static_cast< long >(val2
);
9929 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9930 if (!SWIG_IsOK(ecode3
)) {
9931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
9933 arg3
= static_cast< bool >(val3
);
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (bool)(arg1
)->MoveCaret(arg2
,arg3
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9950 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
= 0;
9952 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
9953 int arg2
= (int) 1 ;
9954 int arg3
= (int) 0 ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 char * kwnames
[] = {
9966 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
9969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
9971 if (!SWIG_IsOK(res1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9974 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
9976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9977 if (!SWIG_IsOK(ecode2
)) {
9978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
9980 arg2
= static_cast< int >(val2
);
9983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9984 if (!SWIG_IsOK(ecode3
)) {
9985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
9987 arg3
= static_cast< int >(val3
);
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (bool)(arg1
)->MoveRight(arg2
,arg3
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10007 int arg2
= (int) 1 ;
10008 int arg3
= (int) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 PyObject
* obj2
= 0 ;
10019 char * kwnames
[] = {
10020 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10028 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10031 if (!SWIG_IsOK(ecode2
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10034 arg2
= static_cast< int >(val2
);
10037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10038 if (!SWIG_IsOK(ecode3
)) {
10039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10041 arg3
= static_cast< int >(val3
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (bool)(arg1
)->MoveLeft(arg2
,arg3
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10058 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
= 0;
10060 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10061 int arg2
= (int) 1 ;
10062 int arg3
= (int) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 PyObject
* obj2
= 0 ;
10073 char * kwnames
[] = {
10074 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10079 if (!SWIG_IsOK(res1
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10082 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10085 if (!SWIG_IsOK(ecode2
)) {
10086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10088 arg2
= static_cast< int >(val2
);
10091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10092 if (!SWIG_IsOK(ecode3
)) {
10093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10095 arg3
= static_cast< int >(val3
);
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (bool)(arg1
)->MoveUp(arg2
,arg3
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10112 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
= 0;
10114 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10115 int arg2
= (int) 1 ;
10116 int arg3
= (int) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 PyObject
* obj2
= 0 ;
10127 char * kwnames
[] = {
10128 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10136 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10139 if (!SWIG_IsOK(ecode2
)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10142 arg2
= static_cast< int >(val2
);
10145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10146 if (!SWIG_IsOK(ecode3
)) {
10147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10149 arg3
= static_cast< int >(val3
);
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (bool)(arg1
)->MoveDown(arg2
,arg3
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
= 0;
10168 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10169 int arg2
= (int) 0 ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char * kwnames
[] = {
10178 (char *) "self",(char *) "flags", NULL
10181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10186 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10189 if (!SWIG_IsOK(ecode2
)) {
10190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10192 arg2
= static_cast< int >(val2
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (bool)(arg1
)->MoveToLineEnd(arg2
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10209 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToLineStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
= 0;
10211 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10212 int arg2
= (int) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "self",(char *) "flags", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10229 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10232 if (!SWIG_IsOK(ecode2
)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10235 arg2
= static_cast< int >(val2
);
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (bool)(arg1
)->MoveToLineStart(arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10252 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
= 0;
10254 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10255 int arg2
= (int) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 char * kwnames
[] = {
10264 (char *) "self",(char *) "flags", NULL
10267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10272 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10275 if (!SWIG_IsOK(ecode2
)) {
10276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10278 arg2
= static_cast< int >(val2
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)(arg1
)->MoveToParagraphEnd(arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10295 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveToParagraphStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10298 int arg2
= (int) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 char * kwnames
[] = {
10307 (char *) "self",(char *) "flags", NULL
10310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10315 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10318 if (!SWIG_IsOK(ecode2
)) {
10319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10321 arg2
= static_cast< int >(val2
);
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (bool)(arg1
)->MoveToParagraphStart(arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
= 0;
10340 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10341 int arg2
= (int) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char * kwnames
[] = {
10350 (char *) "self",(char *) "flags", NULL
10353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveHome",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10355 if (!SWIG_IsOK(res1
)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10358 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10361 if (!SWIG_IsOK(ecode2
)) {
10362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10364 arg2
= static_cast< int >(val2
);
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (bool)(arg1
)->MoveHome(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10381 SWIGINTERN PyObject
*_wrap_RichTextCtrl_MoveEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
= 0;
10383 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10384 int arg2
= (int) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 char * kwnames
[] = {
10393 (char *) "self",(char *) "flags", NULL
10396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10401 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10404 if (!SWIG_IsOK(ecode2
)) {
10405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10407 arg2
= static_cast< int >(val2
);
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (bool)(arg1
)->MoveEnd(arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10424 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10427 int arg2
= (int) 1 ;
10428 int arg3
= (int) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 PyObject
* obj2
= 0 ;
10439 char * kwnames
[] = {
10440 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageUp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10445 if (!SWIG_IsOK(res1
)) {
10446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10448 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10451 if (!SWIG_IsOK(ecode2
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10454 arg2
= static_cast< int >(val2
);
10457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10458 if (!SWIG_IsOK(ecode3
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10461 arg3
= static_cast< int >(val3
);
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (bool)(arg1
)->PageUp(arg2
,arg3
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10478 SWIGINTERN PyObject
*_wrap_RichTextCtrl_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10481 int arg2
= (int) 1 ;
10482 int arg3
= (int) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 PyObject
* obj2
= 0 ;
10493 char * kwnames
[] = {
10494 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_PageDown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10502 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10505 if (!SWIG_IsOK(ecode2
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10508 arg2
= static_cast< int >(val2
);
10511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10512 if (!SWIG_IsOK(ecode3
)) {
10513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10515 arg3
= static_cast< int >(val3
);
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (bool)(arg1
)->PageDown(arg2
,arg3
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10532 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
= 0;
10534 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10535 int arg2
= (int) 1 ;
10536 int arg3
= (int) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10556 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10559 if (!SWIG_IsOK(ecode2
)) {
10560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10562 arg2
= static_cast< int >(val2
);
10565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10566 if (!SWIG_IsOK(ecode3
)) {
10567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10569 arg3
= static_cast< int >(val3
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (bool)(arg1
)->WordLeft(arg2
,arg3
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10586 SWIGINTERN PyObject
*_wrap_RichTextCtrl_WordRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= 0;
10588 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10589 int arg2
= (int) 1 ;
10590 int arg3
= (int) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 PyObject
* obj2
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:RichTextCtrl_WordRight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10610 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10613 if (!SWIG_IsOK(ecode2
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10616 arg2
= static_cast< int >(val2
);
10619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10620 if (!SWIG_IsOK(ecode3
)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10623 arg3
= static_cast< int >(val3
);
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (bool)(arg1
)->WordRight(arg2
,arg3
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10640 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10643 wxRichTextBuffer
*result
= 0 ;
10646 PyObject
*swig_obj
[1] ;
10648 if (!args
) SWIG_fail
;
10649 swig_obj
[0] = args
;
10650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10654 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 wxRichTextBuffer
const &_result_ref
= ((wxRichTextCtrl
const *)arg1
)->GetBuffer();
10659 result
= (wxRichTextBuffer
*) &_result_ref
;
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextBuffer
, 0 | 0 );
10671 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
= 0;
10673 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10674 wxString
*arg2
= 0 ;
10678 bool temp2
= false ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "self",(char *) "cmdName", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10690 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10692 arg2
= wxString_in_helper(obj1
);
10693 if (arg2
== NULL
) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (bool)(arg1
)->BeginBatchUndo((wxString
const &)*arg2
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10719 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndBatchUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10720 PyObject
*resultobj
= 0;
10721 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10725 PyObject
*swig_obj
[1] ;
10727 if (!args
) SWIG_fail
;
10728 swig_obj
[0] = args
;
10729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10733 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)(arg1
)->EndBatchUndo();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10749 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BatchingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10750 PyObject
*resultobj
= 0;
10751 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10755 PyObject
*swig_obj
[1] ;
10757 if (!args
) SWIG_fail
;
10758 swig_obj
[0] = args
;
10759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10760 if (!SWIG_IsOK(res1
)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10763 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (bool)((wxRichTextCtrl
const *)arg1
)->BatchingUndo();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 SWIGINTERN PyObject
*_wrap_RichTextCtrl_BeginSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10780 PyObject
*resultobj
= 0;
10781 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10785 PyObject
*swig_obj
[1] ;
10787 if (!args
) SWIG_fail
;
10788 swig_obj
[0] = args
;
10789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10790 if (!SWIG_IsOK(res1
)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10793 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (bool)(arg1
)->BeginSuppressUndo();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10809 SWIGINTERN PyObject
*_wrap_RichTextCtrl_EndSuppressUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10810 PyObject
*resultobj
= 0;
10811 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10815 PyObject
*swig_obj
[1] ;
10817 if (!args
) SWIG_fail
;
10818 swig_obj
[0] = args
;
10819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10823 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (bool)(arg1
)->EndSuppressUndo();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10839 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SuppressingUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10840 PyObject
*resultobj
= 0;
10841 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10845 PyObject
*swig_obj
[1] ;
10847 if (!args
) SWIG_fail
;
10848 swig_obj
[0] = args
;
10849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10850 if (!SWIG_IsOK(res1
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10853 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (bool)((wxRichTextCtrl
const *)arg1
)->SuppressingUndo();
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10869 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasCharacterAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
= 0;
10871 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10872 wxRichTextRange
*arg2
= 0 ;
10873 wxRichTextAttr
*arg3
= 0 ;
10877 wxRichTextRange temp2
;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "range",(char *) "style", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10892 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10895 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10897 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
10898 if (!SWIG_IsOK(res3
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10904 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasCharacterAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_RichTextCtrl_HasParagraphAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10923 wxRichTextRange
*arg2
= 0 ;
10924 wxRichTextAttr
*arg3
= 0 ;
10928 wxRichTextRange temp2
;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 char * kwnames
[] = {
10935 (char *) "self",(char *) "range",(char *) "style", NULL
10938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10940 if (!SWIG_IsOK(res1
)) {
10941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10943 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10946 if ( ! wxRichTextRange_helper(obj1
, &arg2
)) SWIG_fail
;
10948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRichTextAttr
, 0 | 0);
10949 if (!SWIG_IsOK(res3
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10955 arg3
= reinterpret_cast< wxRichTextAttr
* >(argp3
);
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (bool)((wxRichTextCtrl
const *)arg1
)->HasParagraphAttributes((wxRichTextRange
const &)*arg2
,(wxRichTextAttr
const &)*arg3
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10971 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10972 PyObject
*resultobj
= 0;
10973 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
10977 PyObject
*swig_obj
[1] ;
10979 if (!args
) SWIG_fail
;
10980 swig_obj
[0] = args
;
10981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
10982 if (!SWIG_IsOK(res1
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10985 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionBold();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionItalics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11015 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionItalics();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11032 PyObject
*resultobj
= 0;
11033 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11037 PyObject
*swig_obj
[1] ;
11039 if (!args
) SWIG_fail
;
11040 swig_obj
[0] = args
;
11041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11045 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionUnderlined();
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11061 SWIGINTERN PyObject
*_wrap_RichTextCtrl_IsSelectionAligned(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
= 0;
11063 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11064 wxTextAttrAlignment arg2
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char * kwnames
[] = {
11073 (char *) "self",(char *) "alignment", NULL
11076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11078 if (!SWIG_IsOK(res1
)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11081 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11083 if (!SWIG_IsOK(ecode2
)) {
11084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11086 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)((wxRichTextCtrl
const *)arg1
)->IsSelectionAligned(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11102 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11103 PyObject
*resultobj
= 0;
11104 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11108 PyObject
*swig_obj
[1] ;
11110 if (!args
) SWIG_fail
;
11111 swig_obj
[0] = args
;
11112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11113 if (!SWIG_IsOK(res1
)) {
11114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11116 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (bool)(arg1
)->ApplyBoldToSelection();
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11132 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11133 PyObject
*resultobj
= 0;
11134 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11138 PyObject
*swig_obj
[1] ;
11140 if (!args
) SWIG_fail
;
11141 swig_obj
[0] = args
;
11142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11143 if (!SWIG_IsOK(res1
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11146 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)(arg1
)->ApplyItalicToSelection();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11176 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (bool)(arg1
)->ApplyUnderlineToSelection();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11192 SWIGINTERN PyObject
*_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11195 wxTextAttrAlignment arg2
;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 char * kwnames
[] = {
11204 (char *) "self",(char *) "alignment", NULL
11207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11209 if (!SWIG_IsOK(res1
)) {
11210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11212 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11214 if (!SWIG_IsOK(ecode2
)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11217 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)(arg1
)->ApplyAlignmentToSelection(arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_RichTextCtrl_SetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11236 wxRichTextStyleSheet
*arg2
= (wxRichTextStyleSheet
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char * kwnames
[] = {
11244 (char *) "self",(char *) "styleSheet", NULL
11247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11249 if (!SWIG_IsOK(res1
)) {
11250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11252 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11254 if (!SWIG_IsOK(res2
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11257 arg2
= reinterpret_cast< wxRichTextStyleSheet
* >(argp2
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetStyleSheet(arg2
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_Py_Void();
11271 SWIGINTERN PyObject
*_wrap_RichTextCtrl_GetStyleSheet(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11273 wxRichTextCtrl
*arg1
= (wxRichTextCtrl
*) 0 ;
11274 wxRichTextStyleSheet
*result
= 0 ;
11277 PyObject
*swig_obj
[1] ;
11279 if (!args
) SWIG_fail
;
11280 swig_obj
[0] = args
;
11281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextCtrl
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11285 arg1
= reinterpret_cast< wxRichTextCtrl
* >(argp1
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (wxRichTextStyleSheet
*)((wxRichTextCtrl
const *)arg1
)->GetStyleSheet();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextStyleSheet
, 0 | 0 );
11299 SWIGINTERN PyObject
*RichTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11302 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl
, SWIG_NewClientData(obj
));
11303 return SWIG_Py_Void();
11306 SWIGINTERN PyObject
*RichTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 return SWIG_Python_InitShadowInstance(args
);
11310 SWIGINTERN PyObject
*_wrap_new_RichTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
= 0;
11312 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11313 int arg2
= (int) 0 ;
11314 wxRichTextEvent
*result
= 0 ;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 char * kwnames
[] = {
11322 (char *) "commandType",(char *) "winid", NULL
11325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RichTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11328 if (!SWIG_IsOK(ecode1
)) {
11329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11331 arg1
= static_cast< wxEventType
>(val1
);
11334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11335 if (!SWIG_IsOK(ecode2
)) {
11336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11338 arg2
= static_cast< int >(val2
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (wxRichTextEvent
*)new wxRichTextEvent(arg1
,arg2
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRichTextEvent
, SWIG_POINTER_NEW
| 0 );
11353 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11367 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (int)((wxRichTextEvent
const *)arg1
)->GetIndex();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_int(static_cast< int >(result
));
11381 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
= 0;
11383 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "self",(char *) "n", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11400 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11402 if (!SWIG_IsOK(ecode2
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11405 arg2
= static_cast< int >(val2
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->SetIndex(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_Py_Void();
11419 SWIGINTERN PyObject
*_wrap_RichTextEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11420 PyObject
*resultobj
= 0;
11421 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11425 PyObject
*swig_obj
[1] ;
11427 if (!args
) SWIG_fail
;
11428 swig_obj
[0] = args
;
11429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11433 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (int)((wxRichTextEvent
const *)arg1
)->GetFlags();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_From_int(static_cast< int >(result
));
11447 SWIGINTERN PyObject
*_wrap_RichTextEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxRichTextEvent
*arg1
= (wxRichTextEvent
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "self",(char *) "flags", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RichTextEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRichTextEvent
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11466 arg1
= reinterpret_cast< wxRichTextEvent
* >(argp1
);
11467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11468 if (!SWIG_IsOK(ecode2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11471 arg2
= static_cast< int >(val2
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 (arg1
)->SetFlags(arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_Py_Void();
11485 SWIGINTERN PyObject
*RichTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11488 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent
, SWIG_NewClientData(obj
));
11489 return SWIG_Py_Void();
11492 SWIGINTERN PyObject
*RichTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11493 return SWIG_Python_InitShadowInstance(args
);
11496 static PyMethodDef SwigMethods
[] = {
11497 { (char *)"new_RichTextRange", (PyCFunction
) _wrap_new_RichTextRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11498 { (char *)"delete_RichTextRange", (PyCFunction
)_wrap_delete_RichTextRange
, METH_O
, NULL
},
11499 { (char *)"RichTextRange___eq__", (PyCFunction
) _wrap_RichTextRange___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11500 { (char *)"RichTextRange___sub__", (PyCFunction
) _wrap_RichTextRange___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11501 { (char *)"RichTextRange___add__", (PyCFunction
) _wrap_RichTextRange___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11502 { (char *)"RichTextRange_SetRange", (PyCFunction
) _wrap_RichTextRange_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11503 { (char *)"RichTextRange_SetStart", (PyCFunction
) _wrap_RichTextRange_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11504 { (char *)"RichTextRange_GetStart", (PyCFunction
)_wrap_RichTextRange_GetStart
, METH_O
, NULL
},
11505 { (char *)"RichTextRange_SetEnd", (PyCFunction
) _wrap_RichTextRange_SetEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11506 { (char *)"RichTextRange_GetEnd", (PyCFunction
)_wrap_RichTextRange_GetEnd
, METH_O
, NULL
},
11507 { (char *)"RichTextRange_IsOutside", (PyCFunction
) _wrap_RichTextRange_IsOutside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11508 { (char *)"RichTextRange_IsWithin", (PyCFunction
) _wrap_RichTextRange_IsWithin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11509 { (char *)"RichTextRange_Contains", (PyCFunction
) _wrap_RichTextRange_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11510 { (char *)"RichTextRange_LimitTo", (PyCFunction
) _wrap_RichTextRange_LimitTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11511 { (char *)"RichTextRange_GetLength", (PyCFunction
)_wrap_RichTextRange_GetLength
, METH_O
, NULL
},
11512 { (char *)"RichTextRange_Swap", (PyCFunction
)_wrap_RichTextRange_Swap
, METH_O
, NULL
},
11513 { (char *)"RichTextRange_Get", (PyCFunction
)_wrap_RichTextRange_Get
, METH_O
, NULL
},
11514 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister
, METH_VARARGS
, NULL
},
11515 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit
, METH_VARARGS
, NULL
},
11516 { (char *)"new_RichTextAttr", (PyCFunction
) _wrap_new_RichTextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11517 { (char *)"delete_RichTextAttr", (PyCFunction
)_wrap_delete_RichTextAttr
, METH_O
, NULL
},
11518 { (char *)"RichTextAttr_CreateFont", (PyCFunction
)_wrap_RichTextAttr_CreateFont
, METH_O
, NULL
},
11519 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction
) _wrap_RichTextAttr_GetFontAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11520 { (char *)"RichTextAttr_SetTextColour", (PyCFunction
) _wrap_RichTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11521 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_RichTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11522 { (char *)"RichTextAttr_SetAlignment", (PyCFunction
) _wrap_RichTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11523 { (char *)"RichTextAttr_SetTabs", (PyCFunction
) _wrap_RichTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11524 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction
) _wrap_RichTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11525 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction
) _wrap_RichTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11526 { (char *)"RichTextAttr_SetFontSize", (PyCFunction
) _wrap_RichTextAttr_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11527 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction
) _wrap_RichTextAttr_SetFontStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11528 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction
) _wrap_RichTextAttr_SetFontWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11529 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction
) _wrap_RichTextAttr_SetFontFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11530 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction
) _wrap_RichTextAttr_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11531 { (char *)"RichTextAttr_SetFlags", (PyCFunction
) _wrap_RichTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11532 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction
) _wrap_RichTextAttr_SetCharacterStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11533 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction
) _wrap_RichTextAttr_SetParagraphStyleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11534 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingAfter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11535 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction
) _wrap_RichTextAttr_SetParagraphSpacingBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11536 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction
) _wrap_RichTextAttr_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11537 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction
) _wrap_RichTextAttr_SetBulletStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11538 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction
) _wrap_RichTextAttr_SetBulletNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11539 { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction
) _wrap_RichTextAttr_SetBulletSymbol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11540 { (char *)"RichTextAttr_GetTextColour", (PyCFunction
)_wrap_RichTextAttr_GetTextColour
, METH_O
, NULL
},
11541 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_GetBackgroundColour
, METH_O
, NULL
},
11542 { (char *)"RichTextAttr_GetAlignment", (PyCFunction
)_wrap_RichTextAttr_GetAlignment
, METH_O
, NULL
},
11543 { (char *)"RichTextAttr_GetTabs", (PyCFunction
)_wrap_RichTextAttr_GetTabs
, METH_O
, NULL
},
11544 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftIndent
, METH_O
, NULL
},
11545 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_RichTextAttr_GetLeftSubIndent
, METH_O
, NULL
},
11546 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction
)_wrap_RichTextAttr_GetRightIndent
, METH_O
, NULL
},
11547 { (char *)"RichTextAttr_GetFlags", (PyCFunction
)_wrap_RichTextAttr_GetFlags
, METH_O
, NULL
},
11548 { (char *)"RichTextAttr_GetFontSize", (PyCFunction
)_wrap_RichTextAttr_GetFontSize
, METH_O
, NULL
},
11549 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction
)_wrap_RichTextAttr_GetFontStyle
, METH_O
, NULL
},
11550 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction
)_wrap_RichTextAttr_GetFontWeight
, METH_O
, NULL
},
11551 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction
)_wrap_RichTextAttr_GetFontUnderlined
, METH_O
, NULL
},
11552 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction
)_wrap_RichTextAttr_GetFontFaceName
, METH_O
, NULL
},
11553 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_GetCharacterStyleName
, METH_O
, NULL
},
11554 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_GetParagraphStyleName
, METH_O
, NULL
},
11555 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingAfter
, METH_O
, NULL
},
11556 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_GetParagraphSpacingBefore
, METH_O
, NULL
},
11557 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction
)_wrap_RichTextAttr_GetLineSpacing
, METH_O
, NULL
},
11558 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction
)_wrap_RichTextAttr_GetBulletStyle
, METH_O
, NULL
},
11559 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction
)_wrap_RichTextAttr_GetBulletNumber
, METH_O
, NULL
},
11560 { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_GetBulletSymbol
, METH_O
, NULL
},
11561 { (char *)"RichTextAttr_HasTextColour", (PyCFunction
)_wrap_RichTextAttr_HasTextColour
, METH_O
, NULL
},
11562 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction
)_wrap_RichTextAttr_HasBackgroundColour
, METH_O
, NULL
},
11563 { (char *)"RichTextAttr_HasAlignment", (PyCFunction
)_wrap_RichTextAttr_HasAlignment
, METH_O
, NULL
},
11564 { (char *)"RichTextAttr_HasTabs", (PyCFunction
)_wrap_RichTextAttr_HasTabs
, METH_O
, NULL
},
11565 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction
)_wrap_RichTextAttr_HasLeftIndent
, METH_O
, NULL
},
11566 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction
)_wrap_RichTextAttr_HasRightIndent
, METH_O
, NULL
},
11567 { (char *)"RichTextAttr_HasWeight", (PyCFunction
)_wrap_RichTextAttr_HasWeight
, METH_O
, NULL
},
11568 { (char *)"RichTextAttr_HasSize", (PyCFunction
)_wrap_RichTextAttr_HasSize
, METH_O
, NULL
},
11569 { (char *)"RichTextAttr_HasItalic", (PyCFunction
)_wrap_RichTextAttr_HasItalic
, METH_O
, NULL
},
11570 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction
)_wrap_RichTextAttr_HasUnderlined
, METH_O
, NULL
},
11571 { (char *)"RichTextAttr_HasFaceName", (PyCFunction
)_wrap_RichTextAttr_HasFaceName
, METH_O
, NULL
},
11572 { (char *)"RichTextAttr_HasFont", (PyCFunction
)_wrap_RichTextAttr_HasFont
, METH_O
, NULL
},
11573 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingAfter
, METH_O
, NULL
},
11574 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction
)_wrap_RichTextAttr_HasParagraphSpacingBefore
, METH_O
, NULL
},
11575 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction
)_wrap_RichTextAttr_HasLineSpacing
, METH_O
, NULL
},
11576 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction
)_wrap_RichTextAttr_HasCharacterStyleName
, METH_O
, NULL
},
11577 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction
)_wrap_RichTextAttr_HasParagraphStyleName
, METH_O
, NULL
},
11578 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction
)_wrap_RichTextAttr_HasBulletStyle
, METH_O
, NULL
},
11579 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction
)_wrap_RichTextAttr_HasBulletNumber
, METH_O
, NULL
},
11580 { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction
)_wrap_RichTextAttr_HasBulletSymbol
, METH_O
, NULL
},
11581 { (char *)"RichTextAttr_HasFlag", (PyCFunction
) _wrap_RichTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11582 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction
)_wrap_RichTextAttr_IsCharacterStyle
, METH_O
, NULL
},
11583 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction
)_wrap_RichTextAttr_IsParagraphStyle
, METH_O
, NULL
},
11584 { (char *)"RichTextAttr_IsDefault", (PyCFunction
)_wrap_RichTextAttr_IsDefault
, METH_O
, NULL
},
11585 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister
, METH_VARARGS
, NULL
},
11586 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit
, METH_VARARGS
, NULL
},
11587 { (char *)"new_RichTextCtrl", (PyCFunction
) _wrap_new_RichTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11588 { (char *)"new_PreRichTextCtrl", (PyCFunction
)_wrap_new_PreRichTextCtrl
, METH_NOARGS
, NULL
},
11589 { (char *)"RichTextCtrl_Create", (PyCFunction
) _wrap_RichTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11590 { (char *)"RichTextCtrl_GetValue", (PyCFunction
)_wrap_RichTextCtrl_GetValue
, METH_O
, NULL
},
11591 { (char *)"RichTextCtrl_SetValue", (PyCFunction
) _wrap_RichTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11592 { (char *)"RichTextCtrl_GetRange", (PyCFunction
) _wrap_RichTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11593 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction
) _wrap_RichTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11594 { (char *)"RichTextCtrl_GetLineText", (PyCFunction
) _wrap_RichTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11595 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_RichTextCtrl_GetNumberOfLines
, METH_O
, NULL
},
11596 { (char *)"RichTextCtrl_IsModified", (PyCFunction
)_wrap_RichTextCtrl_IsModified
, METH_O
, NULL
},
11597 { (char *)"RichTextCtrl_IsEditable", (PyCFunction
)_wrap_RichTextCtrl_IsEditable
, METH_O
, NULL
},
11598 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction
)_wrap_RichTextCtrl_IsSingleLine
, METH_O
, NULL
},
11599 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction
)_wrap_RichTextCtrl_IsMultiLine
, METH_O
, NULL
},
11600 { (char *)"RichTextCtrl_GetSelection", (PyCFunction
)_wrap_RichTextCtrl_GetSelection
, METH_O
, NULL
},
11601 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction
)_wrap_RichTextCtrl_GetStringSelection
, METH_O
, NULL
},
11602 { (char *)"RichTextCtrl_GetFilename", (PyCFunction
)_wrap_RichTextCtrl_GetFilename
, METH_O
, NULL
},
11603 { (char *)"RichTextCtrl_SetFilename", (PyCFunction
) _wrap_RichTextCtrl_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11604 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction
) _wrap_RichTextCtrl_SetDelayedLayoutThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11605 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction
)_wrap_RichTextCtrl_GetDelayedLayoutThreshold
, METH_O
, NULL
},
11606 { (char *)"RichTextCtrl_Clear", (PyCFunction
)_wrap_RichTextCtrl_Clear
, METH_O
, NULL
},
11607 { (char *)"RichTextCtrl_Replace", (PyCFunction
) _wrap_RichTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11608 { (char *)"RichTextCtrl_Remove", (PyCFunction
) _wrap_RichTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11609 { (char *)"RichTextCtrl_LoadFile", (PyCFunction
) _wrap_RichTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11610 { (char *)"RichTextCtrl_SaveFile", (PyCFunction
) _wrap_RichTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11611 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction
)_wrap_RichTextCtrl_MarkDirty
, METH_O
, NULL
},
11612 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction
)_wrap_RichTextCtrl_DiscardEdits
, METH_O
, NULL
},
11613 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction
) _wrap_RichTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11614 { (char *)"RichTextCtrl_WriteText", (PyCFunction
) _wrap_RichTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11615 { (char *)"RichTextCtrl_AppendText", (PyCFunction
) _wrap_RichTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11616 { (char *)"RichTextCtrl_SetStyle", (PyCFunction
) _wrap_RichTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11617 { (char *)"RichTextCtrl_GetStyle", (PyCFunction
) _wrap_RichTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11618 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_RichTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11619 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_RichTextCtrl_GetDefaultStyle
, METH_O
, NULL
},
11620 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction
) _wrap_RichTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11621 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction
) _wrap_RichTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11622 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction
) _wrap_RichTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11623 { (char *)"RichTextCtrl_HitTest", (PyCFunction
) _wrap_RichTextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11624 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction
) _wrap_RichTextCtrl_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11625 { (char *)"RichTextCtrl_Copy", (PyCFunction
)_wrap_RichTextCtrl_Copy
, METH_O
, NULL
},
11626 { (char *)"RichTextCtrl_Cut", (PyCFunction
)_wrap_RichTextCtrl_Cut
, METH_O
, NULL
},
11627 { (char *)"RichTextCtrl_Paste", (PyCFunction
)_wrap_RichTextCtrl_Paste
, METH_O
, NULL
},
11628 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_DeleteSelection
, METH_O
, NULL
},
11629 { (char *)"RichTextCtrl_CanCopy", (PyCFunction
)_wrap_RichTextCtrl_CanCopy
, METH_O
, NULL
},
11630 { (char *)"RichTextCtrl_CanCut", (PyCFunction
)_wrap_RichTextCtrl_CanCut
, METH_O
, NULL
},
11631 { (char *)"RichTextCtrl_CanPaste", (PyCFunction
)_wrap_RichTextCtrl_CanPaste
, METH_O
, NULL
},
11632 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction
)_wrap_RichTextCtrl_CanDeleteSelection
, METH_O
, NULL
},
11633 { (char *)"RichTextCtrl_Undo", (PyCFunction
)_wrap_RichTextCtrl_Undo
, METH_O
, NULL
},
11634 { (char *)"RichTextCtrl_Redo", (PyCFunction
)_wrap_RichTextCtrl_Redo
, METH_O
, NULL
},
11635 { (char *)"RichTextCtrl_CanUndo", (PyCFunction
)_wrap_RichTextCtrl_CanUndo
, METH_O
, NULL
},
11636 { (char *)"RichTextCtrl_CanRedo", (PyCFunction
)_wrap_RichTextCtrl_CanRedo
, METH_O
, NULL
},
11637 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_RichTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11638 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_RichTextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
11639 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_RichTextCtrl_GetInsertionPoint
, METH_O
, NULL
},
11640 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction
)_wrap_RichTextCtrl_GetLastPosition
, METH_O
, NULL
},
11641 { (char *)"RichTextCtrl_SetSelection", (PyCFunction
) _wrap_RichTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11642 { (char *)"RichTextCtrl_SelectAll", (PyCFunction
)_wrap_RichTextCtrl_SelectAll
, METH_O
, NULL
},
11643 { (char *)"RichTextCtrl_SetEditable", (PyCFunction
) _wrap_RichTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11644 { (char *)"RichTextCtrl_HasSelection", (PyCFunction
)_wrap_RichTextCtrl_HasSelection
, METH_O
, NULL
},
11645 { (char *)"RichTextCtrl_WriteImage", (PyCFunction
) _wrap_RichTextCtrl_WriteImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11646 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction
) _wrap_RichTextCtrl_WriteBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11647 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction
) _wrap_RichTextCtrl_WriteImageFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11648 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction
) _wrap_RichTextCtrl_WriteImageBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11649 { (char *)"RichTextCtrl_Newline", (PyCFunction
)_wrap_RichTextCtrl_Newline
, METH_O
, NULL
},
11650 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction
) _wrap_RichTextCtrl_SetBasicStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11651 { (char *)"RichTextCtrl_EndStyle", (PyCFunction
)_wrap_RichTextCtrl_EndStyle
, METH_O
, NULL
},
11652 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction
)_wrap_RichTextCtrl_EndAllStyles
, METH_O
, NULL
},
11653 { (char *)"RichTextCtrl_BeginBold", (PyCFunction
)_wrap_RichTextCtrl_BeginBold
, METH_O
, NULL
},
11654 { (char *)"RichTextCtrl_EndBold", (PyCFunction
)_wrap_RichTextCtrl_EndBold
, METH_O
, NULL
},
11655 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction
)_wrap_RichTextCtrl_BeginItalic
, METH_O
, NULL
},
11656 { (char *)"RichTextCtrl_EndItalic", (PyCFunction
)_wrap_RichTextCtrl_EndItalic
, METH_O
, NULL
},
11657 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction
)_wrap_RichTextCtrl_BeginUnderline
, METH_O
, NULL
},
11658 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction
)_wrap_RichTextCtrl_EndUnderline
, METH_O
, NULL
},
11659 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction
) _wrap_RichTextCtrl_BeginFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11660 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction
)_wrap_RichTextCtrl_EndFontSize
, METH_O
, NULL
},
11661 { (char *)"RichTextCtrl_BeginFont", (PyCFunction
) _wrap_RichTextCtrl_BeginFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11662 { (char *)"RichTextCtrl_EndFont", (PyCFunction
)_wrap_RichTextCtrl_EndFont
, METH_O
, NULL
},
11663 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction
) _wrap_RichTextCtrl_BeginTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11664 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction
)_wrap_RichTextCtrl_EndTextColour
, METH_O
, NULL
},
11665 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction
) _wrap_RichTextCtrl_BeginAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11666 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction
)_wrap_RichTextCtrl_EndAlignment
, METH_O
, NULL
},
11667 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11668 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction
)_wrap_RichTextCtrl_EndLeftIndent
, METH_O
, NULL
},
11669 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction
) _wrap_RichTextCtrl_BeginRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11670 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction
)_wrap_RichTextCtrl_EndRightIndent
, METH_O
, NULL
},
11671 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11672 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphSpacing
, METH_O
, NULL
},
11673 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction
) _wrap_RichTextCtrl_BeginLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11674 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction
)_wrap_RichTextCtrl_EndLineSpacing
, METH_O
, NULL
},
11675 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginNumberedBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11676 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction
)_wrap_RichTextCtrl_EndNumberedBullet
, METH_O
, NULL
},
11677 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction
) _wrap_RichTextCtrl_BeginSymbolBullet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11678 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction
)_wrap_RichTextCtrl_EndSymbolBullet
, METH_O
, NULL
},
11679 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginCharacterStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11680 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction
)_wrap_RichTextCtrl_EndCharacterStyle
, METH_O
, NULL
},
11681 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction
) _wrap_RichTextCtrl_BeginParagraphStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11682 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction
)_wrap_RichTextCtrl_EndParagraphStyle
, METH_O
, NULL
},
11683 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction
)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle
, METH_O
, NULL
},
11684 { (char *)"RichTextCtrl_SelectNone", (PyCFunction
)_wrap_RichTextCtrl_SelectNone
, METH_O
, NULL
},
11685 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction
)_wrap_RichTextCtrl_GetSelectionRange
, METH_O
, NULL
},
11686 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction
) _wrap_RichTextCtrl_SetSelectionRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11687 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction
) _wrap_RichTextCtrl_AddParagraph
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11688 { (char *)"RichTextCtrl_AddImage", (PyCFunction
) _wrap_RichTextCtrl_AddImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11689 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction
) _wrap_RichTextCtrl_LayoutContent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11690 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction
) _wrap_RichTextCtrl_MoveCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11691 { (char *)"RichTextCtrl_MoveRight", (PyCFunction
) _wrap_RichTextCtrl_MoveRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11692 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction
) _wrap_RichTextCtrl_MoveLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11693 { (char *)"RichTextCtrl_MoveUp", (PyCFunction
) _wrap_RichTextCtrl_MoveUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11694 { (char *)"RichTextCtrl_MoveDown", (PyCFunction
) _wrap_RichTextCtrl_MoveDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11695 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11696 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToLineStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11697 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11698 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction
) _wrap_RichTextCtrl_MoveToParagraphStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11699 { (char *)"RichTextCtrl_MoveHome", (PyCFunction
) _wrap_RichTextCtrl_MoveHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11700 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction
) _wrap_RichTextCtrl_MoveEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11701 { (char *)"RichTextCtrl_PageUp", (PyCFunction
) _wrap_RichTextCtrl_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11702 { (char *)"RichTextCtrl_PageDown", (PyCFunction
) _wrap_RichTextCtrl_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11703 { (char *)"RichTextCtrl_WordLeft", (PyCFunction
) _wrap_RichTextCtrl_WordLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11704 { (char *)"RichTextCtrl_WordRight", (PyCFunction
) _wrap_RichTextCtrl_WordRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11705 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction
)_wrap_RichTextCtrl_GetBuffer
, METH_O
, NULL
},
11706 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction
) _wrap_RichTextCtrl_BeginBatchUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11707 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction
)_wrap_RichTextCtrl_EndBatchUndo
, METH_O
, NULL
},
11708 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction
)_wrap_RichTextCtrl_BatchingUndo
, METH_O
, NULL
},
11709 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_BeginSuppressUndo
, METH_O
, NULL
},
11710 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction
)_wrap_RichTextCtrl_EndSuppressUndo
, METH_O
, NULL
},
11711 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction
)_wrap_RichTextCtrl_SuppressingUndo
, METH_O
, NULL
},
11712 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasCharacterAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11713 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction
) _wrap_RichTextCtrl_HasParagraphAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11714 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionBold
, METH_O
, NULL
},
11715 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionItalics
, METH_O
, NULL
},
11716 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction
)_wrap_RichTextCtrl_IsSelectionUnderlined
, METH_O
, NULL
},
11717 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction
) _wrap_RichTextCtrl_IsSelectionAligned
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11718 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyBoldToSelection
, METH_O
, NULL
},
11719 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyItalicToSelection
, METH_O
, NULL
},
11720 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction
)_wrap_RichTextCtrl_ApplyUnderlineToSelection
, METH_O
, NULL
},
11721 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction
) _wrap_RichTextCtrl_ApplyAlignmentToSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11722 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction
) _wrap_RichTextCtrl_SetStyleSheet
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11723 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction
)_wrap_RichTextCtrl_GetStyleSheet
, METH_O
, NULL
},
11724 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister
, METH_VARARGS
, NULL
},
11725 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit
, METH_VARARGS
, NULL
},
11726 { (char *)"new_RichTextEvent", (PyCFunction
) _wrap_new_RichTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11727 { (char *)"RichTextEvent_GetIndex", (PyCFunction
)_wrap_RichTextEvent_GetIndex
, METH_O
, NULL
},
11728 { (char *)"RichTextEvent_SetIndex", (PyCFunction
) _wrap_RichTextEvent_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11729 { (char *)"RichTextEvent_GetFlags", (PyCFunction
)_wrap_RichTextEvent_GetFlags
, METH_O
, NULL
},
11730 { (char *)"RichTextEvent_SetFlags", (PyCFunction
) _wrap_RichTextEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11731 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister
, METH_VARARGS
, NULL
},
11732 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit
, METH_VARARGS
, NULL
},
11733 { NULL
, NULL
, 0, NULL
}
11737 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11739 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11740 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11742 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11743 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11745 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11746 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11748 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11749 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11751 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11752 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11754 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11755 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11757 static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x
) {
11758 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11760 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11761 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11763 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11764 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11766 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11767 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11769 static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x
) {
11770 return (void *)((wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
11772 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
11773 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11775 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11776 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11778 static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x
) {
11779 return (void *)((wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11781 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11782 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11784 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11785 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11787 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11788 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11790 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11791 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11793 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11794 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11796 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11797 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11799 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11800 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11802 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11803 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11805 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
11806 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11808 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11809 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11811 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11812 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11814 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11815 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11817 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11818 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11820 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11821 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11823 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11824 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11826 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11827 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11829 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11830 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11832 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11833 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11835 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11836 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11838 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11839 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11841 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11842 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11844 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11845 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11847 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11848 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11850 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11851 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11853 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11854 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11856 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11857 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11859 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11860 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11862 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11863 return (void *)((wxWindow
*) ((wxControl
*) x
));
11865 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11866 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11868 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11869 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11871 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11872 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11874 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11875 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11877 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11878 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11880 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11881 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11883 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11884 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11886 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11887 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11889 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11890 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11892 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11893 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11895 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11896 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11898 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11899 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11901 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11902 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11904 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11905 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11907 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11908 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11910 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11911 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11913 static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x
) {
11914 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
11916 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
11917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11919 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
11920 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
11922 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
11923 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
11925 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
11926 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
11928 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
11929 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
11931 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
11932 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
11934 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
11935 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11937 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
11938 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
11940 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
11941 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
11943 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
11944 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11946 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
11947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11949 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
11950 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
11952 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
11953 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11955 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
11956 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
11958 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
11959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11961 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
11962 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11964 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
11965 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
11967 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
11968 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
11970 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
11971 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
11973 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
11974 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
11976 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
11977 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
11979 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
11980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
11982 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
11983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
11985 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
11986 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
11988 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
11989 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
11991 static void *_p_wxRichTextEventTo_p_wxEvent(void *x
) {
11992 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
11994 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
11995 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11997 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
11998 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12000 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
12001 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12003 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
12004 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12006 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
12007 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12009 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
12010 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
12012 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
12013 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
12015 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
12016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12018 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
12019 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
12021 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
12022 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12024 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
12025 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
12027 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
12028 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
12030 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
12031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12033 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
12034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12036 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
12037 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12039 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
12040 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
12042 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
12043 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
12045 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
12046 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12048 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12049 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12051 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12052 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12054 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12057 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12060 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12061 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12063 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12064 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12066 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12069 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12070 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12072 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12073 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12075 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12076 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12078 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12079 return (void *)((wxObject
*) ((wxSizer
*) x
));
12081 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12082 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12084 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12087 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12090 static void *_p_wxEventTo_p_wxObject(void *x
) {
12091 return (void *)((wxObject
*) ((wxEvent
*) x
));
12093 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12094 return (void *)((wxObject
*) ((wxFontData
*) x
));
12096 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12097 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12099 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12100 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12102 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12103 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12105 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12106 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12108 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12109 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12111 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12114 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12117 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
12118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12120 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12121 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12123 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12124 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12126 static void *_p_wxRichTextEventTo_p_wxObject(void *x
) {
12127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12129 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12130 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12132 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12133 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12135 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12136 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12138 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12139 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12141 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12144 static void *_p_wxControlTo_p_wxObject(void *x
) {
12145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12147 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12148 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12150 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12153 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12154 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12156 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12157 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12159 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12160 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12162 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12165 static void *_p_wxRichTextCtrlTo_p_wxObject(void *x
) {
12166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12168 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12169 return (void *)((wxObject
*) ((wxColourData
*) x
));
12171 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12172 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12174 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12177 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12180 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12183 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12186 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12189 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12192 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12195 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12198 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12201 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12204 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12207 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12208 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12210 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12211 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12213 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12214 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12216 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12219 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12220 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12222 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12225 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12226 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12228 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12229 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12231 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12232 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12234 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12235 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12237 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12238 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12240 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12241 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12243 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12244 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12246 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12247 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12249 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12250 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12252 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12255 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12258 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12259 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12261 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12262 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12264 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12265 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12267 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12270 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12271 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12273 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12274 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12276 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12277 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12279 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12280 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12282 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12283 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12285 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12286 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12288 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12291 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12294 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12295 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12297 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12298 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12300 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12303 static void *_p_wxImageTo_p_wxObject(void *x
) {
12304 return (void *)((wxObject
*) ((wxImage
*) x
));
12306 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12309 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12310 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12312 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12313 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12315 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12316 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12318 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12321 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12324 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12327 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12328 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12330 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12331 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12333 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12334 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12336 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12337 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12339 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12342 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12345 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12348 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12351 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12354 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12357 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12360 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12363 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12366 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12369 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12372 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12375 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12378 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12381 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12382 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12384 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12385 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12387 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12390 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12393 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12396 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12399 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12402 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12403 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
12405 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12406 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12408 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12409 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12411 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12414 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12415 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12417 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12420 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12421 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12423 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12424 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12426 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12427 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12429 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12432 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12433 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12435 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12438 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12441 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12442 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12444 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12445 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12447 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12450 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12453 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12454 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12456 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12457 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12459 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12462 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12465 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12468 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12471 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12474 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12475 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12477 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12478 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12480 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12481 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12483 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12484 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12486 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12489 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12492 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12495 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12498 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12501 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12504 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12507 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12510 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12511 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12513 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12514 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12516 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12519 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12522 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12525 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12526 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12528 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12531 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12532 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12534 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12535 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12537 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12540 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12541 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12543 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12546 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12547 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12549 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12550 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12552 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12555 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12558 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12561 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12564 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12567 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12568 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12570 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12573 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12574 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12576 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12579 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12582 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12585 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12588 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12591 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12592 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12594 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12597 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12600 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12603 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12606 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12609 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12612 static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x
) {
12613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxRichTextCtrl
*) x
));
12615 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
12616 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
12618 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
12619 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12621 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
12622 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12624 static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x
) {
12625 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxRichTextEvent
*) x
));
12627 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
12628 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12630 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
12631 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
12633 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
12634 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12636 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
12637 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12639 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
12640 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12642 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
12643 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
12645 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
12646 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12648 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
12649 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12651 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
12652 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12654 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
12655 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12657 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
12658 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};
12659 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
12660 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
12661 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12662 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12663 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12664 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
12665 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12666 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
12667 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12668 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12669 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12670 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12671 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12672 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12673 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12674 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12675 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12676 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12677 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12678 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12679 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12680 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12681 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12682 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12683 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12684 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12685 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12686 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12687 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12688 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12689 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12690 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12691 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12692 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12693 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12694 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12695 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12696 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12697 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12698 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12699 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12700 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12701 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12702 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12703 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12704 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12705 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12706 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12707 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12709 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12713 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12717 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
12718 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12719 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12720 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12721 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12760 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
12761 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
12762 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12763 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12797 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12798 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12799 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12800 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12801 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12802 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12803 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12804 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12805 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12806 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12807 static swig_type_info _swigt__p_wxRichTextAttr
= {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
12808 static swig_type_info _swigt__p_wxRichTextBuffer
= {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
12809 static swig_type_info _swigt__p_wxRichTextCtrl
= {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
12810 static swig_type_info _swigt__p_wxRichTextEvent
= {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
12811 static swig_type_info _swigt__p_wxRichTextImageBlock
= {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
12812 static swig_type_info _swigt__p_wxRichTextRange
= {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
12813 static swig_type_info _swigt__p_wxRichTextStyleSheet
= {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
12814 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12815 static swig_type_info _swigt__p_wxTextCoord
= {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
12816 static swig_type_info _swigt__p_wxTextCtrlHitTestResult
= {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
12817 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12819 static swig_type_info
*swig_type_initial
[] = {
12821 &_swigt__p_form_ops_t
,
12824 &_swigt__p_unsigned_char
,
12825 &_swigt__p_unsigned_int
,
12826 &_swigt__p_unsigned_long
,
12827 &_swigt__p_wxANIHandler
,
12828 &_swigt__p_wxAcceleratorTable
,
12829 &_swigt__p_wxActivateEvent
,
12830 &_swigt__p_wxArrayInt
,
12831 &_swigt__p_wxBMPHandler
,
12832 &_swigt__p_wxBitmap
,
12833 &_swigt__p_wxBoxSizer
,
12834 &_swigt__p_wxCURHandler
,
12835 &_swigt__p_wxCalculateLayoutEvent
,
12837 &_swigt__p_wxChildFocusEvent
,
12838 &_swigt__p_wxClipboardTextEvent
,
12839 &_swigt__p_wxCloseEvent
,
12840 &_swigt__p_wxColour
,
12841 &_swigt__p_wxColourData
,
12842 &_swigt__p_wxColourDialog
,
12843 &_swigt__p_wxCommandEvent
,
12844 &_swigt__p_wxContextMenuEvent
,
12845 &_swigt__p_wxControl
,
12846 &_swigt__p_wxControlWithItems
,
12847 &_swigt__p_wxDateEvent
,
12848 &_swigt__p_wxDialog
,
12849 &_swigt__p_wxDirDialog
,
12850 &_swigt__p_wxDisplayChangedEvent
,
12851 &_swigt__p_wxDropFilesEvent
,
12852 &_swigt__p_wxDuplexMode
,
12853 &_swigt__p_wxEraseEvent
,
12854 &_swigt__p_wxEvent
,
12855 &_swigt__p_wxEvtHandler
,
12856 &_swigt__p_wxFSFile
,
12857 &_swigt__p_wxFileDialog
,
12858 &_swigt__p_wxFileSystem
,
12859 &_swigt__p_wxFindDialogEvent
,
12860 &_swigt__p_wxFindReplaceData
,
12861 &_swigt__p_wxFindReplaceDialog
,
12862 &_swigt__p_wxFlexGridSizer
,
12863 &_swigt__p_wxFocusEvent
,
12865 &_swigt__p_wxFontData
,
12866 &_swigt__p_wxFontDialog
,
12867 &_swigt__p_wxFrame
,
12868 &_swigt__p_wxGBSizerItem
,
12869 &_swigt__p_wxGIFHandler
,
12870 &_swigt__p_wxGridBagSizer
,
12871 &_swigt__p_wxGridSizer
,
12872 &_swigt__p_wxICOHandler
,
12873 &_swigt__p_wxIconizeEvent
,
12874 &_swigt__p_wxIdleEvent
,
12875 &_swigt__p_wxImage
,
12876 &_swigt__p_wxImageHandler
,
12877 &_swigt__p_wxIndividualLayoutConstraint
,
12878 &_swigt__p_wxInitDialogEvent
,
12879 &_swigt__p_wxJPEGHandler
,
12880 &_swigt__p_wxKeyEvent
,
12881 &_swigt__p_wxLayoutAlgorithm
,
12882 &_swigt__p_wxLayoutConstraints
,
12883 &_swigt__p_wxMDIChildFrame
,
12884 &_swigt__p_wxMDIClientWindow
,
12885 &_swigt__p_wxMDIParentFrame
,
12886 &_swigt__p_wxMaximizeEvent
,
12888 &_swigt__p_wxMenuBar
,
12889 &_swigt__p_wxMenuEvent
,
12890 &_swigt__p_wxMenuItem
,
12891 &_swigt__p_wxMessageDialog
,
12892 &_swigt__p_wxMiniFrame
,
12893 &_swigt__p_wxMouseCaptureChangedEvent
,
12894 &_swigt__p_wxMouseEvent
,
12895 &_swigt__p_wxMoveEvent
,
12896 &_swigt__p_wxMultiChoiceDialog
,
12897 &_swigt__p_wxNavigationKeyEvent
,
12898 &_swigt__p_wxNcPaintEvent
,
12899 &_swigt__p_wxNotifyEvent
,
12900 &_swigt__p_wxObject
,
12901 &_swigt__p_wxPCXHandler
,
12902 &_swigt__p_wxPNGHandler
,
12903 &_swigt__p_wxPNMHandler
,
12904 &_swigt__p_wxPageSetupDialog
,
12905 &_swigt__p_wxPageSetupDialogData
,
12906 &_swigt__p_wxPaintEvent
,
12907 &_swigt__p_wxPaletteChangedEvent
,
12908 &_swigt__p_wxPanel
,
12909 &_swigt__p_wxPaperSize
,
12910 &_swigt__p_wxPasswordEntryDialog
,
12911 &_swigt__p_wxPopupWindow
,
12912 &_swigt__p_wxPreviewCanvas
,
12913 &_swigt__p_wxPreviewControlBar
,
12914 &_swigt__p_wxPreviewFrame
,
12915 &_swigt__p_wxPrintData
,
12916 &_swigt__p_wxPrintDialog
,
12917 &_swigt__p_wxPrintDialogData
,
12918 &_swigt__p_wxPrintPreview
,
12919 &_swigt__p_wxPrinter
,
12920 &_swigt__p_wxProgressDialog
,
12921 &_swigt__p_wxPyApp
,
12922 &_swigt__p_wxPyCommandEvent
,
12923 &_swigt__p_wxPyEvent
,
12924 &_swigt__p_wxPyHtmlListBox
,
12925 &_swigt__p_wxPyImageHandler
,
12926 &_swigt__p_wxPyPanel
,
12927 &_swigt__p_wxPyPopupTransientWindow
,
12928 &_swigt__p_wxPyPreviewControlBar
,
12929 &_swigt__p_wxPyPreviewFrame
,
12930 &_swigt__p_wxPyPrintPreview
,
12931 &_swigt__p_wxPyPrintout
,
12932 &_swigt__p_wxPyScrolledWindow
,
12933 &_swigt__p_wxPySizer
,
12934 &_swigt__p_wxPyTaskBarIcon
,
12935 &_swigt__p_wxPyVListBox
,
12936 &_swigt__p_wxPyVScrolledWindow
,
12937 &_swigt__p_wxPyValidator
,
12938 &_swigt__p_wxPyWindow
,
12939 &_swigt__p_wxQueryLayoutInfoEvent
,
12940 &_swigt__p_wxQueryNewPaletteEvent
,
12941 &_swigt__p_wxRichTextAttr
,
12942 &_swigt__p_wxRichTextBuffer
,
12943 &_swigt__p_wxRichTextCtrl
,
12944 &_swigt__p_wxRichTextEvent
,
12945 &_swigt__p_wxRichTextImageBlock
,
12946 &_swigt__p_wxRichTextRange
,
12947 &_swigt__p_wxRichTextStyleSheet
,
12948 &_swigt__p_wxSashEvent
,
12949 &_swigt__p_wxSashLayoutWindow
,
12950 &_swigt__p_wxSashWindow
,
12951 &_swigt__p_wxScrollEvent
,
12952 &_swigt__p_wxScrollWinEvent
,
12953 &_swigt__p_wxScrolledWindow
,
12954 &_swigt__p_wxSetCursorEvent
,
12955 &_swigt__p_wxShowEvent
,
12956 &_swigt__p_wxSingleChoiceDialog
,
12957 &_swigt__p_wxSizeEvent
,
12958 &_swigt__p_wxSizer
,
12959 &_swigt__p_wxSizerItem
,
12960 &_swigt__p_wxSplashScreen
,
12961 &_swigt__p_wxSplashScreenWindow
,
12962 &_swigt__p_wxSplitterEvent
,
12963 &_swigt__p_wxSplitterWindow
,
12964 &_swigt__p_wxStaticBoxSizer
,
12965 &_swigt__p_wxStatusBar
,
12966 &_swigt__p_wxStdDialogButtonSizer
,
12967 &_swigt__p_wxSysColourChangedEvent
,
12968 &_swigt__p_wxTIFFHandler
,
12969 &_swigt__p_wxTaskBarIconEvent
,
12970 &_swigt__p_wxTextCoord
,
12971 &_swigt__p_wxTextCtrlHitTestResult
,
12972 &_swigt__p_wxTextEntryDialog
,
12973 &_swigt__p_wxTipWindow
,
12974 &_swigt__p_wxTopLevelWindow
,
12975 &_swigt__p_wxUpdateUIEvent
,
12976 &_swigt__p_wxValidator
,
12977 &_swigt__p_wxWindow
,
12978 &_swigt__p_wxWindowCreateEvent
,
12979 &_swigt__p_wxWindowDestroyEvent
,
12980 &_swigt__p_wxXPMHandler
,
12983 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
12984 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
12985 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
12986 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
12987 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
12988 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
12989 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
12990 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
12991 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
12992 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
12993 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
12994 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
12995 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
12996 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
12997 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
12998 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
12999 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
13000 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13001 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13002 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13003 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13004 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13005 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13006 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}};
13007 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13008 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13009 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13010 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13011 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13012 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13013 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13014 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13015 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13016 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13017 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13018 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13019 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13020 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13021 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13022 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13023 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13024 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13025 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13026 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13027 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13028 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13029 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13030 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13031 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13032 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13033 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13034 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13035 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13036 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13037 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}};
13038 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13039 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13040 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13041 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13042 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
13043 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13044 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13045 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13046 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13047 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13048 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13049 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13050 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13051 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13052 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13053 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13054 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13055 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13056 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {{&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
13057 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13058 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13059 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13060 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13061 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13062 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13063 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13070 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13071 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13075 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13080 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13081 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13083 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13084 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}};
13085 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13087 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}};
13088 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13099 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13105 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13110 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13111 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13122 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13123 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13125 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13126 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13127 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13128 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13130 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}};
13131 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}};
13132 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxRichTextAttr
[] = { {&_swigt__p_wxRichTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
13134 static swig_cast_info _swigc__p_wxRichTextBuffer
[] = { {&_swigt__p_wxRichTextBuffer
, 0, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxRichTextCtrl
[] = { {&_swigt__p_wxRichTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13136 static swig_cast_info _swigc__p_wxRichTextEvent
[] = { {&_swigt__p_wxRichTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13137 static swig_cast_info _swigc__p_wxRichTextImageBlock
[] = { {&_swigt__p_wxRichTextImageBlock
, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxRichTextRange
[] = { {&_swigt__p_wxRichTextRange
, 0, 0, 0},{0, 0, 0, 0}};
13139 static swig_cast_info _swigc__p_wxRichTextStyleSheet
[] = { {&_swigt__p_wxRichTextStyleSheet
, 0, 0, 0},{0, 0, 0, 0}};
13140 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}};
13141 static swig_cast_info _swigc__p_wxTextCoord
[] = { {&_swigt__p_wxTextCoord
, 0, 0, 0},{0, 0, 0, 0}};
13142 static swig_cast_info _swigc__p_wxTextCtrlHitTestResult
[] = { {&_swigt__p_wxTextCtrlHitTestResult
, 0, 0, 0},{0, 0, 0, 0}};
13143 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}};
13145 static swig_cast_info
*swig_cast_initial
[] = {
13147 _swigc__p_form_ops_t
,
13150 _swigc__p_unsigned_char
,
13151 _swigc__p_unsigned_int
,
13152 _swigc__p_unsigned_long
,
13153 _swigc__p_wxANIHandler
,
13154 _swigc__p_wxAcceleratorTable
,
13155 _swigc__p_wxActivateEvent
,
13156 _swigc__p_wxArrayInt
,
13157 _swigc__p_wxBMPHandler
,
13158 _swigc__p_wxBitmap
,
13159 _swigc__p_wxBoxSizer
,
13160 _swigc__p_wxCURHandler
,
13161 _swigc__p_wxCalculateLayoutEvent
,
13163 _swigc__p_wxChildFocusEvent
,
13164 _swigc__p_wxClipboardTextEvent
,
13165 _swigc__p_wxCloseEvent
,
13166 _swigc__p_wxColour
,
13167 _swigc__p_wxColourData
,
13168 _swigc__p_wxColourDialog
,
13169 _swigc__p_wxCommandEvent
,
13170 _swigc__p_wxContextMenuEvent
,
13171 _swigc__p_wxControl
,
13172 _swigc__p_wxControlWithItems
,
13173 _swigc__p_wxDateEvent
,
13174 _swigc__p_wxDialog
,
13175 _swigc__p_wxDirDialog
,
13176 _swigc__p_wxDisplayChangedEvent
,
13177 _swigc__p_wxDropFilesEvent
,
13178 _swigc__p_wxDuplexMode
,
13179 _swigc__p_wxEraseEvent
,
13181 _swigc__p_wxEvtHandler
,
13182 _swigc__p_wxFSFile
,
13183 _swigc__p_wxFileDialog
,
13184 _swigc__p_wxFileSystem
,
13185 _swigc__p_wxFindDialogEvent
,
13186 _swigc__p_wxFindReplaceData
,
13187 _swigc__p_wxFindReplaceDialog
,
13188 _swigc__p_wxFlexGridSizer
,
13189 _swigc__p_wxFocusEvent
,
13191 _swigc__p_wxFontData
,
13192 _swigc__p_wxFontDialog
,
13194 _swigc__p_wxGBSizerItem
,
13195 _swigc__p_wxGIFHandler
,
13196 _swigc__p_wxGridBagSizer
,
13197 _swigc__p_wxGridSizer
,
13198 _swigc__p_wxICOHandler
,
13199 _swigc__p_wxIconizeEvent
,
13200 _swigc__p_wxIdleEvent
,
13202 _swigc__p_wxImageHandler
,
13203 _swigc__p_wxIndividualLayoutConstraint
,
13204 _swigc__p_wxInitDialogEvent
,
13205 _swigc__p_wxJPEGHandler
,
13206 _swigc__p_wxKeyEvent
,
13207 _swigc__p_wxLayoutAlgorithm
,
13208 _swigc__p_wxLayoutConstraints
,
13209 _swigc__p_wxMDIChildFrame
,
13210 _swigc__p_wxMDIClientWindow
,
13211 _swigc__p_wxMDIParentFrame
,
13212 _swigc__p_wxMaximizeEvent
,
13214 _swigc__p_wxMenuBar
,
13215 _swigc__p_wxMenuEvent
,
13216 _swigc__p_wxMenuItem
,
13217 _swigc__p_wxMessageDialog
,
13218 _swigc__p_wxMiniFrame
,
13219 _swigc__p_wxMouseCaptureChangedEvent
,
13220 _swigc__p_wxMouseEvent
,
13221 _swigc__p_wxMoveEvent
,
13222 _swigc__p_wxMultiChoiceDialog
,
13223 _swigc__p_wxNavigationKeyEvent
,
13224 _swigc__p_wxNcPaintEvent
,
13225 _swigc__p_wxNotifyEvent
,
13226 _swigc__p_wxObject
,
13227 _swigc__p_wxPCXHandler
,
13228 _swigc__p_wxPNGHandler
,
13229 _swigc__p_wxPNMHandler
,
13230 _swigc__p_wxPageSetupDialog
,
13231 _swigc__p_wxPageSetupDialogData
,
13232 _swigc__p_wxPaintEvent
,
13233 _swigc__p_wxPaletteChangedEvent
,
13235 _swigc__p_wxPaperSize
,
13236 _swigc__p_wxPasswordEntryDialog
,
13237 _swigc__p_wxPopupWindow
,
13238 _swigc__p_wxPreviewCanvas
,
13239 _swigc__p_wxPreviewControlBar
,
13240 _swigc__p_wxPreviewFrame
,
13241 _swigc__p_wxPrintData
,
13242 _swigc__p_wxPrintDialog
,
13243 _swigc__p_wxPrintDialogData
,
13244 _swigc__p_wxPrintPreview
,
13245 _swigc__p_wxPrinter
,
13246 _swigc__p_wxProgressDialog
,
13248 _swigc__p_wxPyCommandEvent
,
13249 _swigc__p_wxPyEvent
,
13250 _swigc__p_wxPyHtmlListBox
,
13251 _swigc__p_wxPyImageHandler
,
13252 _swigc__p_wxPyPanel
,
13253 _swigc__p_wxPyPopupTransientWindow
,
13254 _swigc__p_wxPyPreviewControlBar
,
13255 _swigc__p_wxPyPreviewFrame
,
13256 _swigc__p_wxPyPrintPreview
,
13257 _swigc__p_wxPyPrintout
,
13258 _swigc__p_wxPyScrolledWindow
,
13259 _swigc__p_wxPySizer
,
13260 _swigc__p_wxPyTaskBarIcon
,
13261 _swigc__p_wxPyVListBox
,
13262 _swigc__p_wxPyVScrolledWindow
,
13263 _swigc__p_wxPyValidator
,
13264 _swigc__p_wxPyWindow
,
13265 _swigc__p_wxQueryLayoutInfoEvent
,
13266 _swigc__p_wxQueryNewPaletteEvent
,
13267 _swigc__p_wxRichTextAttr
,
13268 _swigc__p_wxRichTextBuffer
,
13269 _swigc__p_wxRichTextCtrl
,
13270 _swigc__p_wxRichTextEvent
,
13271 _swigc__p_wxRichTextImageBlock
,
13272 _swigc__p_wxRichTextRange
,
13273 _swigc__p_wxRichTextStyleSheet
,
13274 _swigc__p_wxSashEvent
,
13275 _swigc__p_wxSashLayoutWindow
,
13276 _swigc__p_wxSashWindow
,
13277 _swigc__p_wxScrollEvent
,
13278 _swigc__p_wxScrollWinEvent
,
13279 _swigc__p_wxScrolledWindow
,
13280 _swigc__p_wxSetCursorEvent
,
13281 _swigc__p_wxShowEvent
,
13282 _swigc__p_wxSingleChoiceDialog
,
13283 _swigc__p_wxSizeEvent
,
13285 _swigc__p_wxSizerItem
,
13286 _swigc__p_wxSplashScreen
,
13287 _swigc__p_wxSplashScreenWindow
,
13288 _swigc__p_wxSplitterEvent
,
13289 _swigc__p_wxSplitterWindow
,
13290 _swigc__p_wxStaticBoxSizer
,
13291 _swigc__p_wxStatusBar
,
13292 _swigc__p_wxStdDialogButtonSizer
,
13293 _swigc__p_wxSysColourChangedEvent
,
13294 _swigc__p_wxTIFFHandler
,
13295 _swigc__p_wxTaskBarIconEvent
,
13296 _swigc__p_wxTextCoord
,
13297 _swigc__p_wxTextCtrlHitTestResult
,
13298 _swigc__p_wxTextEntryDialog
,
13299 _swigc__p_wxTipWindow
,
13300 _swigc__p_wxTopLevelWindow
,
13301 _swigc__p_wxUpdateUIEvent
,
13302 _swigc__p_wxValidator
,
13303 _swigc__p_wxWindow
,
13304 _swigc__p_wxWindowCreateEvent
,
13305 _swigc__p_wxWindowDestroyEvent
,
13306 _swigc__p_wxXPMHandler
,
13310 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13312 static swig_const_info swig_const_table
[] = {
13313 {0, 0, 0, 0.0, 0, 0}};
13318 /* -----------------------------------------------------------------------------
13319 * Type initialization:
13320 * This problem is tough by the requirement that no dynamic
13321 * memory is used. Also, since swig_type_info structures store pointers to
13322 * swig_cast_info structures and swig_cast_info structures store pointers back
13323 * to swig_type_info structures, we need some lookup code at initialization.
13324 * The idea is that swig generates all the structures that are needed.
13325 * The runtime then collects these partially filled structures.
13326 * The SWIG_InitializeModule function takes these initial arrays out of
13327 * swig_module, and does all the lookup, filling in the swig_module.types
13328 * array with the correct data and linking the correct swig_cast_info
13329 * structures together.
13331 * The generated swig_type_info structures are assigned staticly to an initial
13332 * array. We just loop though that array, and handle each type individually.
13333 * First we lookup if this type has been already loaded, and if so, use the
13334 * loaded structure instead of the generated one. Then we have to fill in the
13335 * cast linked list. The cast data is initially stored in something like a
13336 * two-dimensional array. Each row corresponds to a type (there are the same
13337 * number of rows as there are in the swig_type_initial array). Each entry in
13338 * a column is one of the swig_cast_info structures for that type.
13339 * The cast_initial array is actually an array of arrays, because each row has
13340 * a variable number of columns. So to actually build the cast linked list,
13341 * we find the array of casts associated with the type, and loop through it
13342 * adding the casts to the list. The one last trick we need to do is making
13343 * sure the type pointer in the swig_cast_info struct is correct.
13345 * First off, we lookup the cast->type name to see if it is already loaded.
13346 * There are three cases to handle:
13347 * 1) If the cast->type has already been loaded AND the type we are adding
13348 * casting info to has not been loaded (it is in this module), THEN we
13349 * replace the cast->type pointer with the type pointer that has already
13351 * 2) If BOTH types (the one we are adding casting info to, and the
13352 * cast->type) are loaded, THEN the cast info has already been loaded by
13353 * the previous module so we just ignore it.
13354 * 3) Finally, if cast->type has not already been loaded, then we add that
13355 * swig_cast_info to the linked list (because the cast->type) pointer will
13357 * ----------------------------------------------------------------------------- */
13367 #define SWIGRUNTIME_DEBUG
13371 SWIG_InitializeModule(void *clientdata
) {
13373 swig_module_info
*module_head
;
13374 static int init_run
= 0;
13376 clientdata
= clientdata
;
13378 if (init_run
) return;
13381 /* Initialize the swig_module */
13382 swig_module
.type_initial
= swig_type_initial
;
13383 swig_module
.cast_initial
= swig_cast_initial
;
13385 /* Try and load any already created modules */
13386 module_head
= SWIG_GetModule(clientdata
);
13388 swig_module
.next
= module_head
->next
;
13389 module_head
->next
= &swig_module
;
13391 /* This is the first module loaded */
13392 swig_module
.next
= &swig_module
;
13393 SWIG_SetModule(clientdata
, &swig_module
);
13396 /* Now work on filling in swig_module.types */
13397 #ifdef SWIGRUNTIME_DEBUG
13398 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
13400 for (i
= 0; i
< swig_module
.size
; ++i
) {
13401 swig_type_info
*type
= 0;
13402 swig_type_info
*ret
;
13403 swig_cast_info
*cast
;
13405 #ifdef SWIGRUNTIME_DEBUG
13406 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13409 /* if there is another module already loaded */
13410 if (swig_module
.next
!= &swig_module
) {
13411 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
13414 /* Overwrite clientdata field */
13415 #ifdef SWIGRUNTIME_DEBUG
13416 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
13418 if (swig_module
.type_initial
[i
]->clientdata
) {
13419 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
13420 #ifdef SWIGRUNTIME_DEBUG
13421 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
13425 type
= swig_module
.type_initial
[i
];
13428 /* Insert casting types */
13429 cast
= swig_module
.cast_initial
[i
];
13430 while (cast
->type
) {
13431 /* Don't need to add information already in the list */
13433 #ifdef SWIGRUNTIME_DEBUG
13434 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
13436 if (swig_module
.next
!= &swig_module
) {
13437 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
13438 #ifdef SWIGRUNTIME_DEBUG
13439 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
13443 if (type
== swig_module
.type_initial
[i
]) {
13444 #ifdef SWIGRUNTIME_DEBUG
13445 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
13450 /* Check for casting already in the list */
13451 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
13452 #ifdef SWIGRUNTIME_DEBUG
13453 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
13455 if (!ocast
) ret
= 0;
13460 #ifdef SWIGRUNTIME_DEBUG
13461 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
13464 type
->cast
->prev
= cast
;
13465 cast
->next
= type
->cast
;
13471 /* Set entry in modules->types array equal to the type */
13472 swig_module
.types
[i
] = type
;
13474 swig_module
.types
[i
] = 0;
13476 #ifdef SWIGRUNTIME_DEBUG
13477 printf("**** SWIG_InitializeModule: Cast List ******\n");
13478 for (i
= 0; i
< swig_module
.size
; ++i
) {
13480 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
13481 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13482 while (cast
->type
) {
13483 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
13487 printf("---- Total casts: %d\n",j
);
13489 printf("**** SWIG_InitializeModule: Cast List ******\n");
13493 /* This function will propagate the clientdata field of type to
13494 * any new swig_type_info structures that have been added into the list
13495 * of equivalent types. It is like calling
13496 * SWIG_TypeClientData(type, clientdata) a second time.
13499 SWIG_PropagateClientData(void) {
13501 swig_cast_info
*equiv
;
13502 static int init_run
= 0;
13504 if (init_run
) return;
13507 for (i
= 0; i
< swig_module
.size
; i
++) {
13508 if (swig_module
.types
[i
]->clientdata
) {
13509 equiv
= swig_module
.types
[i
]->cast
;
13511 if (!equiv
->converter
) {
13512 if (equiv
->type
&& !equiv
->type
->clientdata
)
13513 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
13515 equiv
= equiv
->next
;
13535 /* Python-specific SWIG API */
13536 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13537 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13538 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13540 /* -----------------------------------------------------------------------------
13541 * global variable support code.
13542 * ----------------------------------------------------------------------------- */
13544 typedef struct swig_globalvar
{
13545 char *name
; /* Name of global variable */
13546 PyObject
*(*get_attr
)(void); /* Return the current value */
13547 int (*set_attr
)(PyObject
*); /* Set the value */
13548 struct swig_globalvar
*next
;
13551 typedef struct swig_varlinkobject
{
13553 swig_globalvar
*vars
;
13554 } swig_varlinkobject
;
13556 SWIGINTERN PyObject
*
13557 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
13558 return PyString_FromString("<Swig global variables>");
13561 SWIGINTERN PyObject
*
13562 swig_varlink_str(swig_varlinkobject
*v
) {
13563 PyObject
*str
= PyString_FromString("(");
13564 swig_globalvar
*var
;
13565 for (var
= v
->vars
; var
; var
=var
->next
) {
13566 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
13567 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
13569 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
13574 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
13575 PyObject
*str
= swig_varlink_str(v
);
13576 fprintf(fp
,"Swig global variables ");
13577 fprintf(fp
,"%s\n", PyString_AsString(str
));
13583 swig_varlink_dealloc(swig_varlinkobject
*v
) {
13584 swig_globalvar
*var
= v
->vars
;
13586 swig_globalvar
*n
= var
->next
;
13593 SWIGINTERN PyObject
*
13594 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13595 PyObject
*res
= NULL
;
13596 swig_globalvar
*var
= v
->vars
;
13598 if (strcmp(var
->name
,n
) == 0) {
13599 res
= (*var
->get_attr
)();
13604 if (res
== NULL
&& !PyErr_Occurred()) {
13605 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13611 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13613 swig_globalvar
*var
= v
->vars
;
13615 if (strcmp(var
->name
,n
) == 0) {
13616 res
= (*var
->set_attr
)(p
);
13621 if (res
== 1 && !PyErr_Occurred()) {
13622 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13627 SWIGINTERN PyTypeObject
*
13628 swig_varlink_type(void) {
13629 static char varlink__doc__
[] = "Swig var link object";
13630 static PyTypeObject varlink_type
;
13631 static int type_init
= 0;
13633 const PyTypeObject tmp
13635 PyObject_HEAD_INIT(NULL
)
13636 0, /* Number of items in variable part (ob_size) */
13637 (char *)"swigvarlink", /* Type name (tp_name) */
13638 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13639 0, /* Itemsize (tp_itemsize) */
13640 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
13641 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13642 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13643 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13644 0, /* tp_compare */
13645 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13646 0, /* tp_as_number */
13647 0, /* tp_as_sequence */
13648 0, /* tp_as_mapping */
13651 (reprfunc
)swig_varlink_str
, /* tp_str */
13652 0, /* tp_getattro */
13653 0, /* tp_setattro */
13654 0, /* tp_as_buffer */
13656 varlink__doc__
, /* tp_doc */
13657 0, /* tp_traverse */
13659 0, /* tp_richcompare */
13660 0, /* tp_weaklistoffset */
13661 #if PY_VERSION_HEX >= 0x02020000
13662 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13664 #if PY_VERSION_HEX >= 0x02030000
13667 #ifdef COUNT_ALLOCS
13668 0,0,0,0 /* tp_alloc -> tp_next */
13671 varlink_type
= tmp
;
13672 varlink_type
.ob_type
= &PyType_Type
;
13675 return &varlink_type
;
13678 /* Create a variable linking object for use later */
13679 SWIGINTERN PyObject
*
13680 SWIG_Python_newvarlink(void) {
13681 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
13685 return ((PyObject
*) result
);
13689 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13690 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
13691 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13693 size_t size
= strlen(name
)+1;
13694 gv
->name
= (char *)malloc(size
);
13696 strncpy(gv
->name
,name
,size
);
13697 gv
->get_attr
= get_attr
;
13698 gv
->set_attr
= set_attr
;
13699 gv
->next
= v
->vars
;
13705 SWIGINTERN PyObject
*
13707 static PyObject
*_SWIG_globals
= 0;
13708 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
13709 return _SWIG_globals
;
13712 /* -----------------------------------------------------------------------------
13713 * constants/methods manipulation
13714 * ----------------------------------------------------------------------------- */
13716 /* Install Constants */
13718 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13721 for (i
= 0; constants
[i
].type
; ++i
) {
13722 switch(constants
[i
].type
) {
13723 case SWIG_PY_POINTER
:
13724 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13726 case SWIG_PY_BINARY
:
13727 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13734 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
13740 /* -----------------------------------------------------------------------------*/
13741 /* Fix SwigMethods to carry the callback ptrs when needed */
13742 /* -----------------------------------------------------------------------------*/
13745 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13746 swig_const_info
*const_table
,
13747 swig_type_info
**types
,
13748 swig_type_info
**types_initial
) {
13750 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13751 const char *c
= methods
[i
].ml_doc
;
13752 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13754 swig_const_info
*ci
= 0;
13755 const char *name
= c
+ 10;
13756 for (j
= 0; const_table
[j
].type
; ++j
) {
13757 if (strncmp(const_table
[j
].name
, name
,
13758 strlen(const_table
[j
].name
)) == 0) {
13759 ci
= &(const_table
[j
]);
13764 size_t shift
= (ci
->ptype
) - types
;
13765 swig_type_info
*ty
= types_initial
[shift
];
13766 size_t ldoc
= (c
- methods
[i
].ml_doc
);
13767 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
13768 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
13771 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
13773 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
13775 strncpy(buff
, "swig_ptr: ", 10);
13777 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
13778 methods
[i
].ml_doc
= ndoc
;
13790 /* -----------------------------------------------------------------------------*
13791 * Partial Init method
13792 * -----------------------------------------------------------------------------*/
13797 SWIGEXPORT
void SWIG_init(void) {
13800 /* Fix SwigMethods to carry the callback ptrs when needed */
13801 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
13803 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13804 d
= PyModule_GetDict(m
);
13806 SWIG_InitializeModule(0);
13807 SWIG_InstallConstants(d
,swig_const_table
);
13810 SWIG_Python_SetConstant(d
, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
13811 SWIG_Python_SetConstant(d
, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY
)));
13812 SWIG_Python_SetConstant(d
, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE
)));
13813 SWIG_Python_SetConstant(d
, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN
)));
13814 SWIG_Python_SetConstant(d
, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN
)));
13815 SWIG_Python_SetConstant(d
, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN
)));
13816 SWIG_Python_SetConstant(d
, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED
)));
13817 SWIG_Python_SetConstant(d
, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED
)));
13818 SWIG_Python_SetConstant(d
, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED
)));
13819 SWIG_Python_SetConstant(d
, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS
)));
13820 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY
)));
13821 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT
)));
13822 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML
)));
13823 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML
)));
13824 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF
)));
13825 SWIG_Python_SetConstant(d
, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF
)));
13826 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH
)));
13827 SWIG_Python_SetConstant(d
, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT
)));
13828 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH
)));
13829 SWIG_Python_SetConstant(d
, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT
)));
13830 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE
)));
13831 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE
)));
13832 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER
)));
13833 SWIG_Python_SetConstant(d
, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON
)));
13834 SWIG_Python_SetConstant(d
, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED
)));
13835 SWIG_Python_SetConstant(d
, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED
)));
13836 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
13837 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
13838 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
13839 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
13840 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
13841 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
13842 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
13843 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
13844 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
13845 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
13846 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
13847 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
13848 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER
)));
13849 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE
)));
13850 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING
)));
13851 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME
)));
13852 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
)));
13853 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE
)));
13854 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER
)));
13855 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL
)));
13856 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE
)));
13857 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC
)));
13858 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
)));
13859 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
)));
13860 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
)));
13861 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
)));
13862 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL
)));
13863 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP
)));
13864 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
)));
13865 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD
)));
13866 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL
)));
13867 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF
)));
13868 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE
)));
13869 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
13870 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
13871 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
13872 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
13873 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
13874 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
13875 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
13876 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get
, RICHTEXT_ALL_set
);
13877 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get
, RICHTEXT_NONE_set
);
13878 SWIG_Python_SetConstant(d
, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER
)));
13879 SWIG_Python_SetConstant(d
, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH
)));
13880 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL
)));
13881 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED
));
13882 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED
));
13883 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
));
13884 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
));
13885 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
));
13886 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
));
13887 PyDict_SetItemString(d
, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN
));