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_double swig_types[1]
2468
#define SWIGTYPE_p_form_ops_t swig_types[2]
2469
#define SWIGTYPE_p_int swig_types[3]
2470
#define SWIGTYPE_p_long swig_types[4]
2471
#define SWIGTYPE_p_p_wxRichTextBox swig_types[5]
2472
#define SWIGTYPE_p_p_wxRichTextBuffer swig_types[6]
2473
#define SWIGTYPE_p_p_wxRichTextCompositeObject swig_types[7]
2474
#define SWIGTYPE_p_p_wxRichTextImage swig_types[8]
2475
#define SWIGTYPE_p_p_wxRichTextObject swig_types[9]
2476
#define SWIGTYPE_p_p_wxRichTextParagraph swig_types[10]
2477
#define SWIGTYPE_p_p_wxRichTextParagraphLayoutBox swig_types[11]
2478
#define SWIGTYPE_p_p_wxRichTextPlainText swig_types[12]
2479
#define SWIGTYPE_p_unsigned_char swig_types[13]
2480
#define SWIGTYPE_p_unsigned_int swig_types[14]
2481
#define SWIGTYPE_p_unsigned_long swig_types[15]
2482
#define SWIGTYPE_p_wxANIHandler swig_types[16]
2483
#define SWIGTYPE_p_wxAcceleratorTable swig_types[17]
2484
#define SWIGTYPE_p_wxActivateEvent swig_types[18]
2485
#define SWIGTYPE_p_wxArrayInt swig_types[19]
2486
#define SWIGTYPE_p_wxArrayString swig_types[20]
2487
#define SWIGTYPE_p_wxBMPHandler swig_types[21]
2488
#define SWIGTYPE_p_wxBitmap swig_types[22]
2489
#define SWIGTYPE_p_wxBoxSizer swig_types[23]
2490
#define SWIGTYPE_p_wxCURHandler swig_types[24]
2491
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[25]
2492
#define SWIGTYPE_p_wxChar swig_types[26]
2493
#define SWIGTYPE_p_wxChildFocusEvent swig_types[27]
2494
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495
#define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496
#define SWIGTYPE_p_wxColour swig_types[30]
2497
#define SWIGTYPE_p_wxColourData swig_types[31]
2498
#define SWIGTYPE_p_wxColourDialog swig_types[32]
2499
#define SWIGTYPE_p_wxCommandEvent swig_types[33]
2500
#define SWIGTYPE_p_wxCommandProcessor swig_types[34]
2501
#define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2502
#define SWIGTYPE_p_wxControl swig_types[36]
2503
#define SWIGTYPE_p_wxControlWithItems swig_types[37]
2504
#define SWIGTYPE_p_wxCursor swig_types[38]
2505
#define SWIGTYPE_p_wxDC swig_types[39]
2506
#define SWIGTYPE_p_wxDateEvent swig_types[40]
2507
#define SWIGTYPE_p_wxDialog swig_types[41]
2508
#define SWIGTYPE_p_wxDirDialog swig_types[42]
2509
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510
#define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511
#define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512
#define SWIGTYPE_p_wxEraseEvent swig_types[46]
2513
#define SWIGTYPE_p_wxEvent swig_types[47]
2514
#define SWIGTYPE_p_wxEvtHandler swig_types[48]
2515
#define SWIGTYPE_p_wxFSFile swig_types[49]
2516
#define SWIGTYPE_p_wxFileDialog swig_types[50]
2517
#define SWIGTYPE_p_wxFileSystem swig_types[51]
2518
#define SWIGTYPE_p_wxFindDialogEvent swig_types[52]
2519
#define SWIGTYPE_p_wxFindReplaceData swig_types[53]
2520
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[54]
2521
#define SWIGTYPE_p_wxFlexGridSizer swig_types[55]
2522
#define SWIGTYPE_p_wxFocusEvent swig_types[56]
2523
#define SWIGTYPE_p_wxFont swig_types[57]
2524
#define SWIGTYPE_p_wxFontData swig_types[58]
2525
#define SWIGTYPE_p_wxFontDialog swig_types[59]
2526
#define SWIGTYPE_p_wxFrame swig_types[60]
2527
#define SWIGTYPE_p_wxGBSizerItem swig_types[61]
2528
#define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529
#define SWIGTYPE_p_wxGridBagSizer swig_types[63]
2530
#define SWIGTYPE_p_wxGridSizer swig_types[64]
2531
#define SWIGTYPE_p_wxICOHandler swig_types[65]
2532
#define SWIGTYPE_p_wxIconizeEvent swig_types[66]
2533
#define SWIGTYPE_p_wxIdleEvent swig_types[67]
2534
#define SWIGTYPE_p_wxImage swig_types[68]
2535
#define SWIGTYPE_p_wxImageHandler swig_types[69]
2536
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2537
#define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2538
#define SWIGTYPE_p_wxInputStream swig_types[72]
2539
#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2540
#define SWIGTYPE_p_wxKeyEvent swig_types[74]
2541
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[75]
2542
#define SWIGTYPE_p_wxLayoutConstraints swig_types[76]
2543
#define SWIGTYPE_p_wxList swig_types[77]
2544
#define SWIGTYPE_p_wxMDIChildFrame swig_types[78]
2545
#define SWIGTYPE_p_wxMDIClientWindow swig_types[79]
2546
#define SWIGTYPE_p_wxMDIParentFrame swig_types[80]
2547
#define SWIGTYPE_p_wxMaximizeEvent swig_types[81]
2548
#define SWIGTYPE_p_wxMenu swig_types[82]
2549
#define SWIGTYPE_p_wxMenuBar swig_types[83]
2550
#define SWIGTYPE_p_wxMenuEvent swig_types[84]
2551
#define SWIGTYPE_p_wxMenuItem swig_types[85]
2552
#define SWIGTYPE_p_wxMessageDialog swig_types[86]
2553
#define SWIGTYPE_p_wxMiniFrame swig_types[87]
2554
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[88]
2555
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[89]
2556
#define SWIGTYPE_p_wxMouseEvent swig_types[90]
2557
#define SWIGTYPE_p_wxMoveEvent swig_types[91]
2558
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[92]
2559
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
2560
#define SWIGTYPE_p_wxNcPaintEvent swig_types[94]
2561
#define SWIGTYPE_p_wxNotifyEvent swig_types[95]
2562
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[96]
2563
#define SWIGTYPE_p_wxObject swig_types[97]
2564
#define SWIGTYPE_p_wxOutputStream swig_types[98]
2565
#define SWIGTYPE_p_wxPCXHandler swig_types[99]
2566
#define SWIGTYPE_p_wxPNGHandler swig_types[100]
2567
#define SWIGTYPE_p_wxPNMHandler swig_types[101]
2568
#define SWIGTYPE_p_wxPageSetupData swig_types[102]
2569
#define SWIGTYPE_p_wxPageSetupDialog swig_types[103]
2570
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[104]
2571
#define SWIGTYPE_p_wxPaintEvent swig_types[105]
2572
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[106]
2573
#define SWIGTYPE_p_wxPanel swig_types[107]
2574
#define SWIGTYPE_p_wxPaperSize swig_types[108]
2575
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[109]
2576
#define SWIGTYPE_p_wxPoint swig_types[110]
2577
#define SWIGTYPE_p_wxPopupWindow swig_types[111]
2578
#define SWIGTYPE_p_wxPreviewCanvas swig_types[112]
2579
#define SWIGTYPE_p_wxPreviewControlBar swig_types[113]
2580
#define SWIGTYPE_p_wxPreviewFrame swig_types[114]
2581
#define SWIGTYPE_p_wxPrintData swig_types[115]
2582
#define SWIGTYPE_p_wxPrintDialog swig_types[116]
2583
#define SWIGTYPE_p_wxPrintDialogData swig_types[117]
2584
#define SWIGTYPE_p_wxPrintPreview swig_types[118]
2585
#define SWIGTYPE_p_wxPrinter swig_types[119]
2586
#define SWIGTYPE_p_wxProgressDialog swig_types[120]
2587
#define SWIGTYPE_p_wxPyApp swig_types[121]
2588
#define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589
#define SWIGTYPE_p_wxPyEvent swig_types[123]
2590
#define SWIGTYPE_p_wxPyEvtHandler swig_types[124]
2591
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[125]
2592
#define SWIGTYPE_p_wxPyImageHandler swig_types[126]
2593
#define SWIGTYPE_p_wxPyPanel swig_types[127]
2594
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[128]
2595
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[129]
2596
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[130]
2597
#define SWIGTYPE_p_wxPyPrintPreview swig_types[131]
2598
#define SWIGTYPE_p_wxPyPrintout swig_types[132]
2599
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[133]
2600
#define SWIGTYPE_p_wxPySizer swig_types[134]
2601
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[135]
2602
#define SWIGTYPE_p_wxPyVListBox swig_types[136]
2603
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[137]
2604
#define SWIGTYPE_p_wxPyValidator swig_types[138]
2605
#define SWIGTYPE_p_wxPyWindow swig_types[139]
2606
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[140]
2607
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[141]
2608
#define SWIGTYPE_p_wxRect swig_types[142]
2609
#define SWIGTYPE_p_wxRichTextAction swig_types[143]
2610
#define SWIGTYPE_p_wxRichTextAttr swig_types[144]
2611
#define SWIGTYPE_p_wxRichTextBox swig_types[145]
2612
#define SWIGTYPE_p_wxRichTextBuffer swig_types[146]
2613
#define SWIGTYPE_p_wxRichTextCommand swig_types[147]
2614
#define SWIGTYPE_p_wxRichTextCompositeObject swig_types[148]
2615
#define SWIGTYPE_p_wxRichTextCtrl swig_types[149]
2616
#define SWIGTYPE_p_wxRichTextEvent swig_types[150]
2617
#define SWIGTYPE_p_wxRichTextFileHandler swig_types[151]
2618
#define SWIGTYPE_p_wxRichTextFileHandlerList swig_types[152]
2619
#define SWIGTYPE_p_wxRichTextFileHandlerList_iterator swig_types[153]
2620
#define SWIGTYPE_p_wxRichTextHTMLHandler swig_types[154]
2621
#define SWIGTYPE_p_wxRichTextHeaderFooterData swig_types[155]
2622
#define SWIGTYPE_p_wxRichTextImage swig_types[156]
2623
#define SWIGTYPE_p_wxRichTextImageBlock swig_types[157]
2624
#define SWIGTYPE_p_wxRichTextLine swig_types[158]
2625
#define SWIGTYPE_p_wxRichTextLineList swig_types[159]
2626
#define SWIGTYPE_p_wxRichTextListStyleDefinition swig_types[160]
2627
#define SWIGTYPE_p_wxRichTextObject swig_types[161]
2628
#define SWIGTYPE_p_wxRichTextObjectList swig_types[162]
2629
#define SWIGTYPE_p_wxRichTextObjectList_iterator swig_types[163]
2630
#define SWIGTYPE_p_wxRichTextParagraph swig_types[164]
2631
#define SWIGTYPE_p_wxRichTextParagraphLayoutBox swig_types[165]
2632
#define SWIGTYPE_p_wxRichTextPlainText swig_types[166]
2633
#define SWIGTYPE_p_wxRichTextPlainTextHandler swig_types[167]
2634
#define SWIGTYPE_p_wxRichTextPrinting swig_types[168]
2635
#define SWIGTYPE_p_wxRichTextPrintout swig_types[169]
2636
#define SWIGTYPE_p_wxRichTextRange swig_types[170]
2637
#define SWIGTYPE_p_wxRichTextRenderer swig_types[171]
2638
#define SWIGTYPE_p_wxRichTextStdRenderer swig_types[172]
2639
#define SWIGTYPE_p_wxRichTextStyleDefinition swig_types[173]
2640
#define SWIGTYPE_p_wxRichTextStyleSheet swig_types[174]
2641
#define SWIGTYPE_p_wxRichTextXMLHandler swig_types[175]
2642
#define SWIGTYPE_p_wxSashEvent swig_types[176]
2643
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[177]
2644
#define SWIGTYPE_p_wxSashWindow swig_types[178]
2645
#define SWIGTYPE_p_wxScrollEvent swig_types[179]
2646
#define SWIGTYPE_p_wxScrollWinEvent swig_types[180]
2647
#define SWIGTYPE_p_wxScrolledWindow swig_types[181]
2648
#define SWIGTYPE_p_wxSetCursorEvent swig_types[182]
2649
#define SWIGTYPE_p_wxShowEvent swig_types[183]
2650
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[184]
2651
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[185]
2652
#define SWIGTYPE_p_wxSize swig_types[186]
2653
#define SWIGTYPE_p_wxSizeEvent swig_types[187]
2654
#define SWIGTYPE_p_wxSizer swig_types[188]
2655
#define SWIGTYPE_p_wxSizerItem swig_types[189]
2656
#define SWIGTYPE_p_wxSplashScreen swig_types[190]
2657
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[191]
2658
#define SWIGTYPE_p_wxSplitterEvent swig_types[192]
2659
#define SWIGTYPE_p_wxSplitterWindow swig_types[193]
2660
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[194]
2661
#define SWIGTYPE_p_wxStatusBar swig_types[195]
2662
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[196]
2663
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[197]
2664
#define SWIGTYPE_p_wxTGAHandler swig_types[198]
2665
#define SWIGTYPE_p_wxTIFFHandler swig_types[199]
2666
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[200]
2667
#define SWIGTYPE_p_wxTextAttrEx swig_types[201]
2668
#define SWIGTYPE_p_wxTextCoord swig_types[202]
2669
#define SWIGTYPE_p_wxTextEntryDialog swig_types[203]
2670
#define SWIGTYPE_p_wxTipWindow swig_types[204]
2671
#define SWIGTYPE_p_wxTopLevelWindow swig_types[205]
2672
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[206]
2673
#define SWIGTYPE_p_wxValidator swig_types[207]
2674
#define SWIGTYPE_p_wxWindow swig_types[208]
2675
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[209]
2676
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[210]
2677
#define SWIGTYPE_p_wxXPMHandler swig_types[211]
2678
static swig_type_info *swig_types[213];
2679
static swig_module_info swig_module = {swig_types, 212, 0, 0, 0, 0};
2680
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2681
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2683
/* -------- TYPES TABLE (END) -------- */
2685
#if (PY_VERSION_HEX <= 0x02000000)
2686
# if !defined(SWIG_PYTHON_CLASSIC)
2687
# error "This python version requires to use swig with the '-classic' option"
2690
#if (PY_VERSION_HEX <= 0x02020000)
2691
# error "This python version requires to use swig with the '-nomodern' option"
2693
#if (PY_VERSION_HEX <= 0x02020000)
2694
# error "This python version requires to use swig with the '-nomodernargs' option"
2697
# error "This python version requires to use swig with the '-nofastunpack' option"
2700
/*-----------------------------------------------
2701
@(target):= _richtext.so
2702
------------------------------------------------*/
2703
#define SWIG_init init_richtext
2705
#define SWIG_name "_richtext"
2707
#define SWIGVERSION 0x010329
2710
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2711
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2714
#include <stdexcept>
2718
class PyObject_ptr {
2723
PyObject_ptr() :_obj(0)
2727
PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2732
PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2734
if (initial_ref) Py_XINCREF(_obj);
2737
PyObject_ptr & operator=(const PyObject_ptr& item)
2739
Py_XINCREF(item._obj);
2750
operator PyObject *() const
2755
PyObject *operator->() const
2764
struct PyObject_var : PyObject_ptr {
2765
PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2767
PyObject_var & operator = (PyObject* obj)
2777
#include "wx/wxPython/wxPython.h"
2778
#include "wx/wxPython/pyclasses.h"
2779
#include "wx/wxPython/printfw.h"
2780
#include "wx/wxPython/twoitem.h"
2782
#include <wx/richtext/richtextctrl.h>
2787
class wxBufferedPaintDC;
2794
#define SWIG_From_long PyInt_FromLong
2797
SWIGINTERNINLINE PyObject *
2798
SWIG_From_int (int value)
2800
return SWIG_From_long (value);
2803
static const wxString wxPyEmptyString(wxEmptyString);
2805
#include <wx/sstream.h>
2806
#include "wx/wxPython/pyistream.h"
2809
bool wxRichTextRange_helper(PyObject* source, wxRichTextRange** obj)
2811
if (source == Py_None) {
2812
**obj = wxRICHTEXT_NONE;
2815
return wxPyTwoIntItem_helper(source, obj, wxT("wxRichTextRange"));
2820
SWIG_AsVal_long (PyObject* obj, long* val)
2822
if (PyNumber_Check(obj)) {
2823
if (val) *val = PyInt_AsLong(obj);
2826
return SWIG_TypeError;
2829
SWIGINTERN bool wxRichTextRange___eq__(wxRichTextRange *self,PyObject *other){
2830
wxRichTextRange temp, *obj = &temp;
2831
if ( other == Py_None ) return false;
2832
if ( ! wxRichTextRange_helper(other, &obj) ) {
2836
return self->operator==(*obj);
2838
SWIGINTERN PyObject *wxRichTextRange_Get(wxRichTextRange *self){
2839
PyObject* tup = PyTuple_New(2);
2840
PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetStart()));
2841
PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetEnd()));
2845
wxRichTextRange wxPy_RTR_ALL(wxRICHTEXT_ALL);
2846
wxRichTextRange wxPy_RTR_NONE(wxRICHTEXT_NONE);
2851
# define LLONG_MIN LONG_LONG_MIN
2854
# define LLONG_MAX LONG_LONG_MAX
2857
# define ULLONG_MAX ULONG_LONG_MAX
2862
SWIG_AsVal_int (PyObject * obj, int *val)
2865
int res = SWIG_AsVal_long (obj, &v);
2866
if (SWIG_IsOK(res)) {
2867
if ((v < INT_MIN || v > INT_MAX)) {
2868
return SWIG_OverflowError;
2870
if (val) *val = static_cast< int >(v);
2878
SWIG_AsVal_bool (PyObject *obj, bool *val)
2880
if (obj == Py_True) {
2881
if (val) *val = true;
2883
} else if (obj == Py_False) {
2884
if (val) *val = false;
2888
int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2889
if (SWIG_IsOK(res) && val) *val = v ? true : false;
2894
SWIGINTERN void wxTextAttrEx_SetFontSize(wxTextAttrEx *self,int pointSize){
2895
wxFont f = self->GetFont();
2896
f.SetPointSize(pointSize);
2899
SWIGINTERN void wxTextAttrEx_SetFontStyle(wxTextAttrEx *self,int fontStyle){
2900
wxFont f = self->GetFont();
2901
f.SetStyle(fontStyle);
2904
SWIGINTERN void wxTextAttrEx_SetFontWeight(wxTextAttrEx *self,int fontWeight){
2905
wxFont f = self->GetFont();
2906
f.SetWeight(fontWeight);
2909
SWIGINTERN void wxTextAttrEx_SetFontFaceName(wxTextAttrEx *self,wxString const &faceName){
2910
wxFont f = self->GetFont();
2911
f.SetFaceName(faceName);
2914
SWIGINTERN void wxTextAttrEx_SetFontUnderlined(wxTextAttrEx *self,bool underlined){
2915
wxFont f = self->GetFont();
2916
f.SetUnderlined(underlined);
2919
SWIGINTERN wxString wxRichTextObject_Dump(wxRichTextObject *self){
2920
wxStringOutputStream strstream;
2921
wxTextOutputStream txtstream(strstream);
2922
self->Dump(txtstream);
2923
return strstream.GetString();
2926
class wxRichTextObjectList_iterator
2929
wxRichTextObjectList_iterator(wxRichTextObjectList::compatibility_iterator start)
2932
wxRichTextObject* next() {
2933
wxRichTextObject* obj = NULL;
2935
obj = m_node->GetData();
2936
m_node = m_node->GetNext();
2938
else PyErr_SetString(PyExc_StopIteration, "");
2939
return (wxRichTextObject*)obj;
2942
wxRichTextObjectList::compatibility_iterator m_node;
2945
SWIGINTERN size_t wxRichTextObjectList___len__(wxRichTextObjectList *self){
2946
return self->size();
2949
SWIGINTERNINLINE PyObject*
2950
SWIG_From_unsigned_SS_long (unsigned long value)
2952
return (value > LONG_MAX) ?
2953
PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2957
SWIGINTERNINLINE PyObject *
2958
SWIG_From_size_t (size_t value)
2960
return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2965
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2968
int res = SWIG_AsVal_long(obj, &v);
2969
if (SWIG_IsOK(res)) {
2971
return SWIG_ValueError;
2974
*val = (unsigned long)v;
2980
SWIGINTERNINLINE int
2981
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2984
int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2985
if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2989
SWIGINTERN wxRichTextObject *wxRichTextObjectList___getitem__(wxRichTextObjectList *self,size_t index){
2990
if (index < self->size()) {
2991
wxRichTextObjectList::compatibility_iterator node = self->Item(index);
2992
if (node) return (wxRichTextObject*)node->GetData();
2994
PyErr_SetString(PyExc_IndexError, "sequence index out of range");
2997
SWIGINTERN bool wxRichTextObjectList___contains__(wxRichTextObjectList *self,wxRichTextObject const *obj){
2998
wxRichTextObjectList::compatibility_iterator node;
2999
node = self->Find((wxRichTextObject*)obj);
3002
SWIGINTERN wxRichTextObjectList_iterator *wxRichTextObjectList___iter__(wxRichTextObjectList *self){
3003
return new wxRichTextObjectList_iterator(self->GetFirst());
3005
SWIGINTERN int wxRichTextObjectList_index(wxRichTextObjectList *self,wxRichTextObject *obj){
3006
int idx = self->IndexOf((wxRichTextObject*)obj);
3007
if (idx == wxNOT_FOUND)
3008
PyErr_SetString(PyExc_ValueError,
3009
"sequence.index(x): x not in sequence");
3012
SWIGINTERN bool wxRichTextParagraphLayoutBox_FindNextParagraphNumber(wxRichTextParagraphLayoutBox const *self,wxRichTextParagraph *previousParagraph,wxTextAttrEx &attr){
3015
rval = self->FindNextParagraphNumber(previousParagraph, rta);
3019
SWIGINTERN wxTextAttrEx wxRichTextParagraph_GetCombinedAttributes(wxRichTextParagraph *self,wxTextAttrEx *contentStyle=NULL){
3021
return self->GetCombinedAttributes(*contentStyle);
3023
return self->GetCombinedAttributes();
3026
class wxRichTextFileHandlerList
3029
wxRichTextFileHandlerList(wxList* theList)
3030
: m_list(theList) {}
3031
~wxRichTextFileHandlerList() {}
3036
class wxRichTextFileHandlerList_iterator
3039
wxRichTextFileHandlerList_iterator(wxList::compatibility_iterator start)
3042
wxRichTextFileHandler* next() {
3043
wxRichTextFileHandler* obj = NULL;
3045
obj = (wxRichTextFileHandler*)m_node->GetData();
3046
m_node = m_node->GetNext();
3048
else PyErr_SetString(PyExc_StopIteration, "");
3052
wxList::compatibility_iterator m_node;
3055
SWIGINTERN size_t wxRichTextFileHandlerList___len__(wxRichTextFileHandlerList *self){
3056
return self->m_list->size();
3058
SWIGINTERN wxRichTextFileHandler *wxRichTextFileHandlerList___getitem__(wxRichTextFileHandlerList *self,size_t index){
3059
if (index < self->m_list->size()) {
3060
wxList::compatibility_iterator node = self->m_list->Item(index);
3061
if (node) return (wxRichTextFileHandler*)node->GetData();
3063
PyErr_SetString(PyExc_IndexError, "Invalid list index");
3066
SWIGINTERN bool wxRichTextFileHandlerList___contains__(wxRichTextFileHandlerList *self,wxRichTextFileHandler const *obj){
3067
return self->m_list->Find(obj) != NULL;
3069
SWIGINTERN wxRichTextFileHandlerList_iterator *wxRichTextFileHandlerList___iter__(wxRichTextFileHandlerList *self){
3070
return new wxRichTextFileHandlerList_iterator(self->m_list->GetFirst());
3073
typedef wxList wxRichTextFileHandlerList_t;
3075
SWIGINTERN PyObject *wxRichTextBuffer_GetExtWildcard(bool combine=false,bool save=false){
3078
wildcards = wxRichTextBuffer::GetExtWildcard(combine, save, &types);
3079
PyObject* tup = PyTuple_New(2);
3080
PyTuple_SET_ITEM(tup, 0, wx2PyString(wildcards));
3081
PyTuple_SET_ITEM(tup, 1, wxArrayInt2PyList_helper(types));
3085
#define SWIG_From_double PyFloat_FromDouble
3088
SWIGINTERNINLINE PyObject *
3089
SWIG_From_float (float value)
3091
return SWIG_From_double (value);
3099
SWIG_AsVal_double (PyObject *obj, double* val)
3101
if (PyNumber_Check(obj)) {
3102
if (val) *val = PyFloat_AsDouble(obj);
3105
return SWIG_TypeError;
3110
SWIG_AsVal_float (PyObject * obj, float *val)
3113
int res = SWIG_AsVal_double (obj, &v);
3114
if (SWIG_IsOK(res)) {
3115
if ((v < -FLT_MAX || v > FLT_MAX)) {
3116
return SWIG_OverflowError;
3118
if (val) *val = static_cast< float >(v);
3124
static const wxString wxPyTextName(wxT("Text"));
3125
static const wxString wxPyTextExt(wxT("txt"));
3128
static const wxString wxPyRichTextCtrlNameStr(wxT("richText"));
3130
#include <wx/richtext/richtexthtml.h>
3132
static const wxString wxPyHtmlName(wxT("HTML"));
3133
static const wxString wxPyHtmlExt(wxT("html"));
3135
#include <wx/richtext/richtextxml.h>
3137
static const wxString wxPyXmlName(wxT("XML"));
3138
static const wxString wxPyXmlExt(wxT("xml"));
3140
#include <wx/richtext/richtextprint.h>
3145
SWIGINTERN PyObject *_wrap_new_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3146
PyObject *resultobj = 0;
3147
long arg1 = (long) 0 ;
3148
long arg2 = (long) 0 ;
3149
wxRichTextRange *result = 0 ;
3154
PyObject * obj0 = 0 ;
3155
PyObject * obj1 = 0 ;
3156
char * kwnames[] = {
3157
(char *) "start",(char *) "end", NULL
3160
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextRange",kwnames,&obj0,&obj1)) SWIG_fail;
3162
ecode1 = SWIG_AsVal_long(obj0, &val1);
3163
if (!SWIG_IsOK(ecode1)) {
3164
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
3166
arg1 = static_cast< long >(val1);
3169
ecode2 = SWIG_AsVal_long(obj1, &val2);
3170
if (!SWIG_IsOK(ecode2)) {
3171
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
3173
arg2 = static_cast< long >(val2);
3176
result = (wxRichTextRange *)new wxRichTextRange(arg1,arg2);
3177
if (PyErr_Occurred()) SWIG_fail;
3179
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_NEW | 0 );
3186
SWIGINTERN PyObject *_wrap_delete_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3187
PyObject *resultobj = 0;
3188
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3191
PyObject *swig_obj[1] ;
3193
if (!args) SWIG_fail;
3195
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_DISOWN | 0 );
3196
if (!SWIG_IsOK(res1)) {
3197
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3199
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3203
if (PyErr_Occurred()) SWIG_fail;
3205
resultobj = SWIG_Py_Void();
3212
SWIGINTERN PyObject *_wrap_RichTextRange___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3213
PyObject *resultobj = 0;
3214
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3215
PyObject *arg2 = (PyObject *) 0 ;
3219
PyObject * obj0 = 0 ;
3220
PyObject * obj1 = 0 ;
3221
char * kwnames[] = {
3222
(char *) "self",(char *) "other", NULL
3225
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
3226
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3227
if (!SWIG_IsOK(res1)) {
3228
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3230
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3233
result = (bool)wxRichTextRange___eq__(arg1,arg2);
3234
if (PyErr_Occurred()) SWIG_fail;
3237
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3245
SWIGINTERN PyObject *_wrap_RichTextRange___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3246
PyObject *resultobj = 0;
3247
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3248
wxRichTextRange *arg2 = 0 ;
3249
wxRichTextRange result;
3252
wxRichTextRange temp2 ;
3253
PyObject * obj0 = 0 ;
3254
PyObject * obj1 = 0 ;
3255
char * kwnames[] = {
3256
(char *) "self",(char *) "range", NULL
3259
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___sub__",kwnames,&obj0,&obj1)) SWIG_fail;
3260
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3261
if (!SWIG_IsOK(res1)) {
3262
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3264
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3267
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3270
result = ((wxRichTextRange const *)arg1)->operator -((wxRichTextRange const &)*arg2);
3271
if (PyErr_Occurred()) SWIG_fail;
3273
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3280
SWIGINTERN PyObject *_wrap_RichTextRange___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3281
PyObject *resultobj = 0;
3282
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3283
wxRichTextRange *arg2 = 0 ;
3284
wxRichTextRange result;
3287
wxRichTextRange temp2 ;
3288
PyObject * obj0 = 0 ;
3289
PyObject * obj1 = 0 ;
3290
char * kwnames[] = {
3291
(char *) "self",(char *) "range", NULL
3294
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___add__",kwnames,&obj0,&obj1)) SWIG_fail;
3295
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3296
if (!SWIG_IsOK(res1)) {
3297
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3299
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3302
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3305
result = ((wxRichTextRange const *)arg1)->operator +((wxRichTextRange const &)*arg2);
3306
if (PyErr_Occurred()) SWIG_fail;
3308
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3315
SWIGINTERN PyObject *_wrap_RichTextRange_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3316
PyObject *resultobj = 0;
3317
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3326
PyObject * obj0 = 0 ;
3327
PyObject * obj1 = 0 ;
3328
PyObject * obj2 = 0 ;
3329
char * kwnames[] = {
3330
(char *) "self",(char *) "start",(char *) "end", NULL
3333
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextRange_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3334
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3335
if (!SWIG_IsOK(res1)) {
3336
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3338
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3339
ecode2 = SWIG_AsVal_long(obj1, &val2);
3340
if (!SWIG_IsOK(ecode2)) {
3341
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3343
arg2 = static_cast< long >(val2);
3344
ecode3 = SWIG_AsVal_long(obj2, &val3);
3345
if (!SWIG_IsOK(ecode3)) {
3346
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3348
arg3 = static_cast< long >(val3);
3350
(arg1)->SetRange(arg2,arg3);
3351
if (PyErr_Occurred()) SWIG_fail;
3353
resultobj = SWIG_Py_Void();
3360
SWIGINTERN PyObject *_wrap_RichTextRange_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3361
PyObject *resultobj = 0;
3362
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3368
PyObject * obj0 = 0 ;
3369
PyObject * obj1 = 0 ;
3370
char * kwnames[] = {
3371
(char *) "self",(char *) "start", NULL
3374
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
3375
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3376
if (!SWIG_IsOK(res1)) {
3377
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3379
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3380
ecode2 = SWIG_AsVal_long(obj1, &val2);
3381
if (!SWIG_IsOK(ecode2)) {
3382
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3384
arg2 = static_cast< long >(val2);
3386
(arg1)->SetStart(arg2);
3387
if (PyErr_Occurred()) SWIG_fail;
3389
resultobj = SWIG_Py_Void();
3396
SWIGINTERN PyObject *_wrap_RichTextRange_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3397
PyObject *resultobj = 0;
3398
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3402
PyObject *swig_obj[1] ;
3404
if (!args) SWIG_fail;
3406
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3407
if (!SWIG_IsOK(res1)) {
3408
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3410
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3412
result = (long)((wxRichTextRange const *)arg1)->GetStart();
3413
if (PyErr_Occurred()) SWIG_fail;
3415
resultobj = SWIG_From_long(static_cast< long >(result));
3422
SWIGINTERN PyObject *_wrap_RichTextRange_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3423
PyObject *resultobj = 0;
3424
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3430
PyObject * obj0 = 0 ;
3431
PyObject * obj1 = 0 ;
3432
char * kwnames[] = {
3433
(char *) "self",(char *) "end", NULL
3436
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
3437
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3438
if (!SWIG_IsOK(res1)) {
3439
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3441
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3442
ecode2 = SWIG_AsVal_long(obj1, &val2);
3443
if (!SWIG_IsOK(ecode2)) {
3444
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3446
arg2 = static_cast< long >(val2);
3448
(arg1)->SetEnd(arg2);
3449
if (PyErr_Occurred()) SWIG_fail;
3451
resultobj = SWIG_Py_Void();
3458
SWIGINTERN PyObject *_wrap_RichTextRange_GetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3459
PyObject *resultobj = 0;
3460
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3464
PyObject *swig_obj[1] ;
3466
if (!args) SWIG_fail;
3468
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3469
if (!SWIG_IsOK(res1)) {
3470
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3472
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3474
result = (long)((wxRichTextRange const *)arg1)->GetEnd();
3475
if (PyErr_Occurred()) SWIG_fail;
3477
resultobj = SWIG_From_long(static_cast< long >(result));
3484
SWIGINTERN PyObject *_wrap_RichTextRange_IsOutside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3485
PyObject *resultobj = 0;
3486
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3487
wxRichTextRange *arg2 = 0 ;
3491
wxRichTextRange temp2 ;
3492
PyObject * obj0 = 0 ;
3493
PyObject * obj1 = 0 ;
3494
char * kwnames[] = {
3495
(char *) "self",(char *) "range", NULL
3498
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsOutside",kwnames,&obj0,&obj1)) SWIG_fail;
3499
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3500
if (!SWIG_IsOK(res1)) {
3501
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3503
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3506
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3509
result = (bool)((wxRichTextRange const *)arg1)->IsOutside((wxRichTextRange const &)*arg2);
3510
if (PyErr_Occurred()) SWIG_fail;
3513
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3521
SWIGINTERN PyObject *_wrap_RichTextRange_IsWithin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3522
PyObject *resultobj = 0;
3523
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3524
wxRichTextRange *arg2 = 0 ;
3528
wxRichTextRange temp2 ;
3529
PyObject * obj0 = 0 ;
3530
PyObject * obj1 = 0 ;
3531
char * kwnames[] = {
3532
(char *) "self",(char *) "range", NULL
3535
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsWithin",kwnames,&obj0,&obj1)) SWIG_fail;
3536
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3537
if (!SWIG_IsOK(res1)) {
3538
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3540
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3543
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3546
result = (bool)((wxRichTextRange const *)arg1)->IsWithin((wxRichTextRange const &)*arg2);
3547
if (PyErr_Occurred()) SWIG_fail;
3550
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3558
SWIGINTERN PyObject *_wrap_RichTextRange_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3559
PyObject *resultobj = 0;
3560
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3567
PyObject * obj0 = 0 ;
3568
PyObject * obj1 = 0 ;
3569
char * kwnames[] = {
3570
(char *) "self",(char *) "pos", NULL
3573
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_Contains",kwnames,&obj0,&obj1)) SWIG_fail;
3574
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3575
if (!SWIG_IsOK(res1)) {
3576
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3578
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3579
ecode2 = SWIG_AsVal_long(obj1, &val2);
3580
if (!SWIG_IsOK(ecode2)) {
3581
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3583
arg2 = static_cast< long >(val2);
3585
result = (bool)((wxRichTextRange const *)arg1)->Contains(arg2);
3586
if (PyErr_Occurred()) SWIG_fail;
3589
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3597
SWIGINTERN PyObject *_wrap_RichTextRange_LimitTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3598
PyObject *resultobj = 0;
3599
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3600
wxRichTextRange *arg2 = 0 ;
3604
wxRichTextRange temp2 ;
3605
PyObject * obj0 = 0 ;
3606
PyObject * obj1 = 0 ;
3607
char * kwnames[] = {
3608
(char *) "self",(char *) "range", NULL
3611
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_LimitTo",kwnames,&obj0,&obj1)) SWIG_fail;
3612
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3613
if (!SWIG_IsOK(res1)) {
3614
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3616
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3619
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3622
result = (bool)(arg1)->LimitTo((wxRichTextRange const &)*arg2);
3623
if (PyErr_Occurred()) SWIG_fail;
3626
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3634
SWIGINTERN PyObject *_wrap_RichTextRange_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3635
PyObject *resultobj = 0;
3636
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3640
PyObject *swig_obj[1] ;
3642
if (!args) SWIG_fail;
3644
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3645
if (!SWIG_IsOK(res1)) {
3646
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3648
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3650
result = (long)((wxRichTextRange const *)arg1)->GetLength();
3651
if (PyErr_Occurred()) SWIG_fail;
3653
resultobj = SWIG_From_long(static_cast< long >(result));
3660
SWIGINTERN PyObject *_wrap_RichTextRange_Swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3661
PyObject *resultobj = 0;
3662
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3665
PyObject *swig_obj[1] ;
3667
if (!args) SWIG_fail;
3669
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3670
if (!SWIG_IsOK(res1)) {
3671
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3673
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3676
if (PyErr_Occurred()) SWIG_fail;
3678
resultobj = SWIG_Py_Void();
3685
SWIGINTERN PyObject *_wrap_RichTextRange_ToInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3686
PyObject *resultobj = 0;
3687
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3688
wxRichTextRange result;
3691
PyObject *swig_obj[1] ;
3693
if (!args) SWIG_fail;
3695
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3696
if (!SWIG_IsOK(res1)) {
3697
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_ToInternal" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3699
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3701
result = ((wxRichTextRange const *)arg1)->ToInternal();
3702
if (PyErr_Occurred()) SWIG_fail;
3704
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3711
SWIGINTERN PyObject *_wrap_RichTextRange_FromInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3712
PyObject *resultobj = 0;
3713
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3714
wxRichTextRange result;
3717
PyObject *swig_obj[1] ;
3719
if (!args) SWIG_fail;
3721
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3722
if (!SWIG_IsOK(res1)) {
3723
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_FromInternal" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3725
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3727
result = ((wxRichTextRange const *)arg1)->FromInternal();
3728
if (PyErr_Occurred()) SWIG_fail;
3730
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3737
SWIGINTERN PyObject *_wrap_RichTextRange_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3738
PyObject *resultobj = 0;
3739
wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3740
PyObject *result = 0 ;
3743
PyObject *swig_obj[1] ;
3745
if (!args) SWIG_fail;
3747
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3748
if (!SWIG_IsOK(res1)) {
3749
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3751
arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3753
result = (PyObject *)wxRichTextRange_Get(arg1);
3754
if (PyErr_Occurred()) SWIG_fail;
3763
SWIGINTERN PyObject *RichTextRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3766
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange, SWIG_NewClientData(obj));
3767
return SWIG_Py_Void();
3770
SWIGINTERN PyObject *RichTextRange_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3771
return SWIG_Python_InitShadowInstance(args);
3774
SWIGINTERN int RICHTEXT_ALL_set(PyObject *) {
3775
SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_ALL is read-only.");
3780
SWIGINTERN PyObject *RICHTEXT_ALL_get(void) {
3781
PyObject *pyobj = 0;
3783
pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL), SWIGTYPE_p_wxRichTextRange, 0 );
3788
SWIGINTERN int RICHTEXT_NONE_set(PyObject *) {
3789
SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_NONE is read-only.");
3794
SWIGINTERN PyObject *RICHTEXT_NONE_get(void) {
3795
PyObject *pyobj = 0;
3797
pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE), SWIGTYPE_p_wxRichTextRange, 0 );
3802
SWIGINTERN PyObject *_wrap_new_TextAttrEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3803
PyObject *resultobj = 0;
3804
wxTextAttrEx *result = 0 ;
3806
if (!SWIG_Python_UnpackTuple(args,"new_TextAttrEx",0,0,0)) SWIG_fail;
3808
PyThreadState* __tstate = wxPyBeginAllowThreads();
3809
result = (wxTextAttrEx *)new wxTextAttrEx();
3810
wxPyEndAllowThreads(__tstate);
3811
if (PyErr_Occurred()) SWIG_fail;
3813
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_NEW | 0 );
3820
SWIGINTERN PyObject *_wrap_delete_TextAttrEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3821
PyObject *resultobj = 0;
3822
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3825
PyObject *swig_obj[1] ;
3827
if (!args) SWIG_fail;
3829
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_DISOWN | 0 );
3830
if (!SWIG_IsOK(res1)) {
3831
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttrEx" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
3833
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3835
PyThreadState* __tstate = wxPyBeginAllowThreads();
3838
wxPyEndAllowThreads(__tstate);
3839
if (PyErr_Occurred()) SWIG_fail;
3841
resultobj = SWIG_Py_Void();
3848
SWIGINTERN PyObject *_wrap_TextAttrEx_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3849
PyObject *resultobj = 0;
3850
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3853
PyObject *swig_obj[1] ;
3855
if (!args) SWIG_fail;
3857
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
3858
if (!SWIG_IsOK(res1)) {
3859
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_Init" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
3861
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3863
PyThreadState* __tstate = wxPyBeginAllowThreads();
3865
wxPyEndAllowThreads(__tstate);
3866
if (PyErr_Occurred()) SWIG_fail;
3868
resultobj = SWIG_Py_Void();
3875
SWIGINTERN PyObject *_wrap_TextAttrEx_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3876
PyObject *resultobj = 0;
3877
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3878
wxTextAttrEx *arg2 = 0 ;
3883
PyObject * obj0 = 0 ;
3884
PyObject * obj1 = 0 ;
3885
char * kwnames[] = {
3886
(char *) "self",(char *) "attr", NULL
3889
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
3890
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
3891
if (!SWIG_IsOK(res1)) {
3892
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_Copy" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
3894
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3895
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
3896
if (!SWIG_IsOK(res2)) {
3897
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_Copy" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
3900
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_Copy" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
3902
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
3904
PyThreadState* __tstate = wxPyBeginAllowThreads();
3905
(arg1)->Copy((wxTextAttrEx const &)*arg2);
3906
wxPyEndAllowThreads(__tstate);
3907
if (PyErr_Occurred()) SWIG_fail;
3909
resultobj = SWIG_Py_Void();
3916
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3917
PyObject *resultobj = 0;
3918
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3919
wxColour *arg2 = 0 ;
3923
PyObject * obj0 = 0 ;
3924
PyObject * obj1 = 0 ;
3925
char * kwnames[] = {
3926
(char *) "self",(char *) "colText", NULL
3929
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
3930
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
3931
if (!SWIG_IsOK(res1)) {
3932
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
3934
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3937
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3940
PyThreadState* __tstate = wxPyBeginAllowThreads();
3941
(arg1)->SetTextColour((wxColour const &)*arg2);
3942
wxPyEndAllowThreads(__tstate);
3943
if (PyErr_Occurred()) SWIG_fail;
3945
resultobj = SWIG_Py_Void();
3952
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3953
PyObject *resultobj = 0;
3954
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3955
wxColour *arg2 = 0 ;
3959
PyObject * obj0 = 0 ;
3960
PyObject * obj1 = 0 ;
3961
char * kwnames[] = {
3962
(char *) "self",(char *) "colBack", NULL
3965
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
3966
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
3967
if (!SWIG_IsOK(res1)) {
3968
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
3970
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3973
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3976
PyThreadState* __tstate = wxPyBeginAllowThreads();
3977
(arg1)->SetBackgroundColour((wxColour const &)*arg2);
3978
wxPyEndAllowThreads(__tstate);
3979
if (PyErr_Occurred()) SWIG_fail;
3981
resultobj = SWIG_Py_Void();
3988
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3989
PyObject *resultobj = 0;
3990
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3992
long arg3 = (long) wxTEXT_ATTR_FONT ;
3999
PyObject * obj0 = 0 ;
4000
PyObject * obj1 = 0 ;
4001
PyObject * obj2 = 0 ;
4002
char * kwnames[] = {
4003
(char *) "self",(char *) "font",(char *) "flags", NULL
4006
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttrEx_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4007
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4008
if (!SWIG_IsOK(res1)) {
4009
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFont" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4011
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4012
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
4013
if (!SWIG_IsOK(res2)) {
4014
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
4017
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
4019
arg2 = reinterpret_cast< wxFont * >(argp2);
4021
ecode3 = SWIG_AsVal_long(obj2, &val3);
4022
if (!SWIG_IsOK(ecode3)) {
4023
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttrEx_SetFont" "', expected argument " "3"" of type '" "long""'");
4025
arg3 = static_cast< long >(val3);
4028
PyThreadState* __tstate = wxPyBeginAllowThreads();
4029
(arg1)->SetFont((wxFont const &)*arg2,arg3);
4030
wxPyEndAllowThreads(__tstate);
4031
if (PyErr_Occurred()) SWIG_fail;
4033
resultobj = SWIG_Py_Void();
4040
SWIGINTERN PyObject *_wrap_TextAttrEx_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4041
PyObject *resultobj = 0;
4042
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4043
wxTextAttrAlignment arg2 ;
4048
PyObject * obj0 = 0 ;
4049
PyObject * obj1 = 0 ;
4050
char * kwnames[] = {
4051
(char *) "self",(char *) "alignment", NULL
4054
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
4055
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4056
if (!SWIG_IsOK(res1)) {
4057
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4059
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4060
ecode2 = SWIG_AsVal_int(obj1, &val2);
4061
if (!SWIG_IsOK(ecode2)) {
4062
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
4064
arg2 = static_cast< wxTextAttrAlignment >(val2);
4066
PyThreadState* __tstate = wxPyBeginAllowThreads();
4067
(arg1)->SetAlignment(arg2);
4068
wxPyEndAllowThreads(__tstate);
4069
if (PyErr_Occurred()) SWIG_fail;
4071
resultobj = SWIG_Py_Void();
4078
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4079
PyObject *resultobj = 0;
4080
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4081
wxArrayInt *arg2 = 0 ;
4084
bool temp2 = false ;
4085
PyObject * obj0 = 0 ;
4086
PyObject * obj1 = 0 ;
4087
char * kwnames[] = {
4088
(char *) "self",(char *) "tabs", NULL
4091
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
4092
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4093
if (!SWIG_IsOK(res1)) {
4094
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTabs" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4096
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4098
if (! PySequence_Check(obj1)) {
4099
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
4102
arg2 = new wxArrayInt;
4104
int i, len=PySequence_Length(obj1);
4105
for (i=0; i<len; i++) {
4106
PyObject* item = PySequence_GetItem(obj1, i);
4107
PyObject* number = PyNumber_Int(item);
4109
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
4112
arg2->Add(PyInt_AS_LONG(number));
4118
PyThreadState* __tstate = wxPyBeginAllowThreads();
4119
(arg1)->SetTabs((wxArrayInt const &)*arg2);
4120
wxPyEndAllowThreads(__tstate);
4121
if (PyErr_Occurred()) SWIG_fail;
4123
resultobj = SWIG_Py_Void();
4125
if (temp2) delete arg2;
4130
if (temp2) delete arg2;
4136
SWIGINTERN PyObject *_wrap_TextAttrEx_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4137
PyObject *resultobj = 0;
4138
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4140
int arg3 = (int) 0 ;
4147
PyObject * obj0 = 0 ;
4148
PyObject * obj1 = 0 ;
4149
PyObject * obj2 = 0 ;
4150
char * kwnames[] = {
4151
(char *) "self",(char *) "indent",(char *) "subIndent", NULL
4154
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttrEx_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4155
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4156
if (!SWIG_IsOK(res1)) {
4157
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4159
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4160
ecode2 = SWIG_AsVal_int(obj1, &val2);
4161
if (!SWIG_IsOK(ecode2)) {
4162
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
4164
arg2 = static_cast< int >(val2);
4166
ecode3 = SWIG_AsVal_int(obj2, &val3);
4167
if (!SWIG_IsOK(ecode3)) {
4168
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttrEx_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
4170
arg3 = static_cast< int >(val3);
4173
PyThreadState* __tstate = wxPyBeginAllowThreads();
4174
(arg1)->SetLeftIndent(arg2,arg3);
4175
wxPyEndAllowThreads(__tstate);
4176
if (PyErr_Occurred()) SWIG_fail;
4178
resultobj = SWIG_Py_Void();
4185
SWIGINTERN PyObject *_wrap_TextAttrEx_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4186
PyObject *resultobj = 0;
4187
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4193
PyObject * obj0 = 0 ;
4194
PyObject * obj1 = 0 ;
4195
char * kwnames[] = {
4196
(char *) "self",(char *) "indent", NULL
4199
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
4200
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4201
if (!SWIG_IsOK(res1)) {
4202
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4204
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4205
ecode2 = SWIG_AsVal_int(obj1, &val2);
4206
if (!SWIG_IsOK(ecode2)) {
4207
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
4209
arg2 = static_cast< int >(val2);
4211
PyThreadState* __tstate = wxPyBeginAllowThreads();
4212
(arg1)->SetRightIndent(arg2);
4213
wxPyEndAllowThreads(__tstate);
4214
if (PyErr_Occurred()) SWIG_fail;
4216
resultobj = SWIG_Py_Void();
4223
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4224
PyObject *resultobj = 0;
4225
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4231
PyObject * obj0 = 0 ;
4232
PyObject * obj1 = 0 ;
4233
char * kwnames[] = {
4234
(char *) "self",(char *) "flags", NULL
4237
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
4238
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4239
if (!SWIG_IsOK(res1)) {
4240
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFlags" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4242
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4243
ecode2 = SWIG_AsVal_long(obj1, &val2);
4244
if (!SWIG_IsOK(ecode2)) {
4245
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetFlags" "', expected argument " "2"" of type '" "long""'");
4247
arg2 = static_cast< long >(val2);
4249
PyThreadState* __tstate = wxPyBeginAllowThreads();
4250
(arg1)->SetFlags(arg2);
4251
wxPyEndAllowThreads(__tstate);
4252
if (PyErr_Occurred()) SWIG_fail;
4254
resultobj = SWIG_Py_Void();
4261
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4262
PyObject *resultobj = 0;
4263
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4267
PyObject *swig_obj[1] ;
4269
if (!args) SWIG_fail;
4271
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4272
if (!SWIG_IsOK(res1)) {
4273
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4275
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4277
PyThreadState* __tstate = wxPyBeginAllowThreads();
4278
result = (bool)((wxTextAttrEx const *)arg1)->HasTextColour();
4279
wxPyEndAllowThreads(__tstate);
4280
if (PyErr_Occurred()) SWIG_fail;
4283
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4291
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4292
PyObject *resultobj = 0;
4293
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4297
PyObject *swig_obj[1] ;
4299
if (!args) SWIG_fail;
4301
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4302
if (!SWIG_IsOK(res1)) {
4303
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4305
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4307
PyThreadState* __tstate = wxPyBeginAllowThreads();
4308
result = (bool)((wxTextAttrEx const *)arg1)->HasBackgroundColour();
4309
wxPyEndAllowThreads(__tstate);
4310
if (PyErr_Occurred()) SWIG_fail;
4313
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4321
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4322
PyObject *resultobj = 0;
4323
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4327
PyObject *swig_obj[1] ;
4329
if (!args) SWIG_fail;
4331
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4332
if (!SWIG_IsOK(res1)) {
4333
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4335
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4337
PyThreadState* __tstate = wxPyBeginAllowThreads();
4338
result = (bool)((wxTextAttrEx const *)arg1)->HasFont();
4339
wxPyEndAllowThreads(__tstate);
4340
if (PyErr_Occurred()) SWIG_fail;
4343
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4351
SWIGINTERN PyObject *_wrap_TextAttrEx_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4352
PyObject *resultobj = 0;
4353
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4357
PyObject *swig_obj[1] ;
4359
if (!args) SWIG_fail;
4361
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4362
if (!SWIG_IsOK(res1)) {
4363
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4365
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4367
PyThreadState* __tstate = wxPyBeginAllowThreads();
4368
result = (bool)((wxTextAttrEx const *)arg1)->HasAlignment();
4369
wxPyEndAllowThreads(__tstate);
4370
if (PyErr_Occurred()) SWIG_fail;
4373
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4381
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4382
PyObject *resultobj = 0;
4383
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4387
PyObject *swig_obj[1] ;
4389
if (!args) SWIG_fail;
4391
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4392
if (!SWIG_IsOK(res1)) {
4393
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTabs" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4395
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4397
PyThreadState* __tstate = wxPyBeginAllowThreads();
4398
result = (bool)((wxTextAttrEx const *)arg1)->HasTabs();
4399
wxPyEndAllowThreads(__tstate);
4400
if (PyErr_Occurred()) SWIG_fail;
4403
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4411
SWIGINTERN PyObject *_wrap_TextAttrEx_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4412
PyObject *resultobj = 0;
4413
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4417
PyObject *swig_obj[1] ;
4419
if (!args) SWIG_fail;
4421
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4422
if (!SWIG_IsOK(res1)) {
4423
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4425
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4427
PyThreadState* __tstate = wxPyBeginAllowThreads();
4428
result = (bool)((wxTextAttrEx const *)arg1)->HasLeftIndent();
4429
wxPyEndAllowThreads(__tstate);
4430
if (PyErr_Occurred()) SWIG_fail;
4433
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4441
SWIGINTERN PyObject *_wrap_TextAttrEx_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4442
PyObject *resultobj = 0;
4443
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4447
PyObject *swig_obj[1] ;
4449
if (!args) SWIG_fail;
4451
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4452
if (!SWIG_IsOK(res1)) {
4453
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4455
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4457
PyThreadState* __tstate = wxPyBeginAllowThreads();
4458
result = (bool)((wxTextAttrEx const *)arg1)->HasRightIndent();
4459
wxPyEndAllowThreads(__tstate);
4460
if (PyErr_Occurred()) SWIG_fail;
4463
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4471
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4472
PyObject *resultobj = 0;
4473
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4480
PyObject * obj0 = 0 ;
4481
PyObject * obj1 = 0 ;
4482
char * kwnames[] = {
4483
(char *) "self",(char *) "flag", NULL
4486
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
4487
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4488
if (!SWIG_IsOK(res1)) {
4489
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFlag" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4491
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4492
ecode2 = SWIG_AsVal_long(obj1, &val2);
4493
if (!SWIG_IsOK(ecode2)) {
4494
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_HasFlag" "', expected argument " "2"" of type '" "long""'");
4496
arg2 = static_cast< long >(val2);
4498
PyThreadState* __tstate = wxPyBeginAllowThreads();
4499
result = (bool)((wxTextAttrEx const *)arg1)->HasFlag(arg2);
4500
wxPyEndAllowThreads(__tstate);
4501
if (PyErr_Occurred()) SWIG_fail;
4504
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4512
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4513
PyObject *resultobj = 0;
4514
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4515
wxColour *result = 0 ;
4518
PyObject *swig_obj[1] ;
4520
if (!args) SWIG_fail;
4522
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4523
if (!SWIG_IsOK(res1)) {
4524
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4526
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4528
PyThreadState* __tstate = wxPyBeginAllowThreads();
4530
wxColour const &_result_ref = ((wxTextAttrEx const *)arg1)->GetTextColour();
4531
result = (wxColour *) &_result_ref;
4533
wxPyEndAllowThreads(__tstate);
4534
if (PyErr_Occurred()) SWIG_fail;
4536
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4543
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4544
PyObject *resultobj = 0;
4545
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4546
wxColour *result = 0 ;
4549
PyObject *swig_obj[1] ;
4551
if (!args) SWIG_fail;
4553
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4554
if (!SWIG_IsOK(res1)) {
4555
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4557
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4559
PyThreadState* __tstate = wxPyBeginAllowThreads();
4561
wxColour const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBackgroundColour();
4562
result = (wxColour *) &_result_ref;
4564
wxPyEndAllowThreads(__tstate);
4565
if (PyErr_Occurred()) SWIG_fail;
4567
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4574
SWIGINTERN PyObject *_wrap_TextAttrEx_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4575
PyObject *resultobj = 0;
4576
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4577
wxFont *result = 0 ;
4580
PyObject *swig_obj[1] ;
4582
if (!args) SWIG_fail;
4584
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4585
if (!SWIG_IsOK(res1)) {
4586
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4588
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4590
PyThreadState* __tstate = wxPyBeginAllowThreads();
4592
wxFont const &_result_ref = ((wxTextAttrEx const *)arg1)->GetFont();
4593
result = (wxFont *) &_result_ref;
4595
wxPyEndAllowThreads(__tstate);
4596
if (PyErr_Occurred()) SWIG_fail;
4599
wxFont* resultptr = new wxFont(*result);
4600
resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
4608
SWIGINTERN PyObject *_wrap_TextAttrEx_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4609
PyObject *resultobj = 0;
4610
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4611
wxTextAttrAlignment result;
4614
PyObject *swig_obj[1] ;
4616
if (!args) SWIG_fail;
4618
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4619
if (!SWIG_IsOK(res1)) {
4620
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4622
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4624
PyThreadState* __tstate = wxPyBeginAllowThreads();
4625
result = (wxTextAttrAlignment)((wxTextAttrEx const *)arg1)->GetAlignment();
4626
wxPyEndAllowThreads(__tstate);
4627
if (PyErr_Occurred()) SWIG_fail;
4629
resultobj = SWIG_From_int(static_cast< int >(result));
4636
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4637
PyObject *resultobj = 0;
4638
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4639
wxArrayInt *result = 0 ;
4642
PyObject *swig_obj[1] ;
4644
if (!args) SWIG_fail;
4646
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4647
if (!SWIG_IsOK(res1)) {
4648
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTabs" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4650
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4652
PyThreadState* __tstate = wxPyBeginAllowThreads();
4654
wxArrayInt const &_result_ref = ((wxTextAttrEx const *)arg1)->GetTabs();
4655
result = (wxArrayInt *) &_result_ref;
4657
wxPyEndAllowThreads(__tstate);
4658
if (PyErr_Occurred()) SWIG_fail;
4661
resultobj = wxArrayInt2PyList_helper(*result);
4669
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4670
PyObject *resultobj = 0;
4671
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4675
PyObject *swig_obj[1] ;
4677
if (!args) SWIG_fail;
4679
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4680
if (!SWIG_IsOK(res1)) {
4681
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4683
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4685
PyThreadState* __tstate = wxPyBeginAllowThreads();
4686
result = (long)((wxTextAttrEx const *)arg1)->GetLeftIndent();
4687
wxPyEndAllowThreads(__tstate);
4688
if (PyErr_Occurred()) SWIG_fail;
4690
resultobj = SWIG_From_long(static_cast< long >(result));
4697
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4698
PyObject *resultobj = 0;
4699
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4703
PyObject *swig_obj[1] ;
4705
if (!args) SWIG_fail;
4707
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4708
if (!SWIG_IsOK(res1)) {
4709
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4711
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4713
PyThreadState* __tstate = wxPyBeginAllowThreads();
4714
result = (long)((wxTextAttrEx const *)arg1)->GetLeftSubIndent();
4715
wxPyEndAllowThreads(__tstate);
4716
if (PyErr_Occurred()) SWIG_fail;
4718
resultobj = SWIG_From_long(static_cast< long >(result));
4725
SWIGINTERN PyObject *_wrap_TextAttrEx_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4726
PyObject *resultobj = 0;
4727
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4731
PyObject *swig_obj[1] ;
4733
if (!args) SWIG_fail;
4735
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4736
if (!SWIG_IsOK(res1)) {
4737
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4739
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4741
PyThreadState* __tstate = wxPyBeginAllowThreads();
4742
result = (long)((wxTextAttrEx const *)arg1)->GetRightIndent();
4743
wxPyEndAllowThreads(__tstate);
4744
if (PyErr_Occurred()) SWIG_fail;
4746
resultobj = SWIG_From_long(static_cast< long >(result));
4753
SWIGINTERN PyObject *_wrap_TextAttrEx_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4754
PyObject *resultobj = 0;
4755
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4759
PyObject *swig_obj[1] ;
4761
if (!args) SWIG_fail;
4763
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4764
if (!SWIG_IsOK(res1)) {
4765
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetFlags" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
4767
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4769
PyThreadState* __tstate = wxPyBeginAllowThreads();
4770
result = (long)((wxTextAttrEx const *)arg1)->GetFlags();
4771
wxPyEndAllowThreads(__tstate);
4772
if (PyErr_Occurred()) SWIG_fail;
4774
resultobj = SWIG_From_long(static_cast< long >(result));
4781
SWIGINTERN PyObject *_wrap_TextAttrEx_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4782
PyObject *resultobj = 0;
4783
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4784
wxString *arg2 = 0 ;
4787
bool temp2 = false ;
4788
PyObject * obj0 = 0 ;
4789
PyObject * obj1 = 0 ;
4790
char * kwnames[] = {
4791
(char *) "self",(char *) "name", NULL
4794
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4795
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4796
if (!SWIG_IsOK(res1)) {
4797
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4799
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4801
arg2 = wxString_in_helper(obj1);
4802
if (arg2 == NULL) SWIG_fail;
4806
PyThreadState* __tstate = wxPyBeginAllowThreads();
4807
(arg1)->SetCharacterStyleName((wxString const &)*arg2);
4808
wxPyEndAllowThreads(__tstate);
4809
if (PyErr_Occurred()) SWIG_fail;
4811
resultobj = SWIG_Py_Void();
4826
SWIGINTERN PyObject *_wrap_TextAttrEx_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4827
PyObject *resultobj = 0;
4828
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4829
wxString *arg2 = 0 ;
4832
bool temp2 = false ;
4833
PyObject * obj0 = 0 ;
4834
PyObject * obj1 = 0 ;
4835
char * kwnames[] = {
4836
(char *) "self",(char *) "name", NULL
4839
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4840
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4841
if (!SWIG_IsOK(res1)) {
4842
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4844
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4846
arg2 = wxString_in_helper(obj1);
4847
if (arg2 == NULL) SWIG_fail;
4851
PyThreadState* __tstate = wxPyBeginAllowThreads();
4852
(arg1)->SetParagraphStyleName((wxString const &)*arg2);
4853
wxPyEndAllowThreads(__tstate);
4854
if (PyErr_Occurred()) SWIG_fail;
4856
resultobj = SWIG_Py_Void();
4871
SWIGINTERN PyObject *_wrap_TextAttrEx_SetListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4872
PyObject *resultobj = 0;
4873
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4874
wxString *arg2 = 0 ;
4877
bool temp2 = false ;
4878
PyObject * obj0 = 0 ;
4879
PyObject * obj1 = 0 ;
4880
char * kwnames[] = {
4881
(char *) "self",(char *) "name", NULL
4884
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetListStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4885
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4886
if (!SWIG_IsOK(res1)) {
4887
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4889
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4891
arg2 = wxString_in_helper(obj1);
4892
if (arg2 == NULL) SWIG_fail;
4896
PyThreadState* __tstate = wxPyBeginAllowThreads();
4897
(arg1)->SetListStyleName((wxString const &)*arg2);
4898
wxPyEndAllowThreads(__tstate);
4899
if (PyErr_Occurred()) SWIG_fail;
4901
resultobj = SWIG_Py_Void();
4916
SWIGINTERN PyObject *_wrap_TextAttrEx_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4917
PyObject *resultobj = 0;
4918
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4924
PyObject * obj0 = 0 ;
4925
PyObject * obj1 = 0 ;
4926
char * kwnames[] = {
4927
(char *) "self",(char *) "spacing", NULL
4930
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail;
4931
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4932
if (!SWIG_IsOK(res1)) {
4933
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4935
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4936
ecode2 = SWIG_AsVal_int(obj1, &val2);
4937
if (!SWIG_IsOK(ecode2)) {
4938
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4940
arg2 = static_cast< int >(val2);
4942
PyThreadState* __tstate = wxPyBeginAllowThreads();
4943
(arg1)->SetParagraphSpacingAfter(arg2);
4944
wxPyEndAllowThreads(__tstate);
4945
if (PyErr_Occurred()) SWIG_fail;
4947
resultobj = SWIG_Py_Void();
4954
SWIGINTERN PyObject *_wrap_TextAttrEx_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4955
PyObject *resultobj = 0;
4956
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4962
PyObject * obj0 = 0 ;
4963
PyObject * obj1 = 0 ;
4964
char * kwnames[] = {
4965
(char *) "self",(char *) "spacing", NULL
4968
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail;
4969
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
4970
if (!SWIG_IsOK(res1)) {
4971
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
4973
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4974
ecode2 = SWIG_AsVal_int(obj1, &val2);
4975
if (!SWIG_IsOK(ecode2)) {
4976
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4978
arg2 = static_cast< int >(val2);
4980
PyThreadState* __tstate = wxPyBeginAllowThreads();
4981
(arg1)->SetParagraphSpacingBefore(arg2);
4982
wxPyEndAllowThreads(__tstate);
4983
if (PyErr_Occurred()) SWIG_fail;
4985
resultobj = SWIG_Py_Void();
4992
SWIGINTERN PyObject *_wrap_TextAttrEx_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4993
PyObject *resultobj = 0;
4994
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5000
PyObject * obj0 = 0 ;
5001
PyObject * obj1 = 0 ;
5002
char * kwnames[] = {
5003
(char *) "self",(char *) "spacing", NULL
5006
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
5007
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5008
if (!SWIG_IsOK(res1)) {
5009
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5011
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5012
ecode2 = SWIG_AsVal_int(obj1, &val2);
5013
if (!SWIG_IsOK(ecode2)) {
5014
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
5016
arg2 = static_cast< int >(val2);
5018
PyThreadState* __tstate = wxPyBeginAllowThreads();
5019
(arg1)->SetLineSpacing(arg2);
5020
wxPyEndAllowThreads(__tstate);
5021
if (PyErr_Occurred()) SWIG_fail;
5023
resultobj = SWIG_Py_Void();
5030
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5031
PyObject *resultobj = 0;
5032
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5038
PyObject * obj0 = 0 ;
5039
PyObject * obj1 = 0 ;
5040
char * kwnames[] = {
5041
(char *) "self",(char *) "style", NULL
5044
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail;
5045
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5046
if (!SWIG_IsOK(res1)) {
5047
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5049
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5050
ecode2 = SWIG_AsVal_int(obj1, &val2);
5051
if (!SWIG_IsOK(ecode2)) {
5052
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
5054
arg2 = static_cast< int >(val2);
5056
PyThreadState* __tstate = wxPyBeginAllowThreads();
5057
(arg1)->SetBulletStyle(arg2);
5058
wxPyEndAllowThreads(__tstate);
5059
if (PyErr_Occurred()) SWIG_fail;
5061
resultobj = SWIG_Py_Void();
5068
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5069
PyObject *resultobj = 0;
5070
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5076
PyObject * obj0 = 0 ;
5077
PyObject * obj1 = 0 ;
5078
char * kwnames[] = {
5079
(char *) "self",(char *) "n", NULL
5082
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail;
5083
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5084
if (!SWIG_IsOK(res1)) {
5085
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5087
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5088
ecode2 = SWIG_AsVal_int(obj1, &val2);
5089
if (!SWIG_IsOK(ecode2)) {
5090
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
5092
arg2 = static_cast< int >(val2);
5094
PyThreadState* __tstate = wxPyBeginAllowThreads();
5095
(arg1)->SetBulletNumber(arg2);
5096
wxPyEndAllowThreads(__tstate);
5097
if (PyErr_Occurred()) SWIG_fail;
5099
resultobj = SWIG_Py_Void();
5106
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107
PyObject *resultobj = 0;
5108
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5109
wxString *arg2 = 0 ;
5112
bool temp2 = false ;
5113
PyObject * obj0 = 0 ;
5114
PyObject * obj1 = 0 ;
5115
char * kwnames[] = {
5116
(char *) "self",(char *) "text", NULL
5119
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletText",kwnames,&obj0,&obj1)) SWIG_fail;
5120
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5121
if (!SWIG_IsOK(res1)) {
5122
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5124
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5126
arg2 = wxString_in_helper(obj1);
5127
if (arg2 == NULL) SWIG_fail;
5131
PyThreadState* __tstate = wxPyBeginAllowThreads();
5132
(arg1)->SetBulletText((wxString const &)*arg2);
5133
wxPyEndAllowThreads(__tstate);
5134
if (PyErr_Occurred()) SWIG_fail;
5136
resultobj = SWIG_Py_Void();
5151
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5152
PyObject *resultobj = 0;
5153
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5154
wxString *arg2 = 0 ;
5157
bool temp2 = false ;
5158
PyObject * obj0 = 0 ;
5159
PyObject * obj1 = 0 ;
5160
char * kwnames[] = {
5161
(char *) "self",(char *) "name", NULL
5164
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletName",kwnames,&obj0,&obj1)) SWIG_fail;
5165
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5166
if (!SWIG_IsOK(res1)) {
5167
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5169
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5171
arg2 = wxString_in_helper(obj1);
5172
if (arg2 == NULL) SWIG_fail;
5176
PyThreadState* __tstate = wxPyBeginAllowThreads();
5177
(arg1)->SetBulletName((wxString const &)*arg2);
5178
wxPyEndAllowThreads(__tstate);
5179
if (PyErr_Occurred()) SWIG_fail;
5181
resultobj = SWIG_Py_Void();
5196
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5197
PyObject *resultobj = 0;
5198
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5199
wxString *arg2 = 0 ;
5202
bool temp2 = false ;
5203
PyObject * obj0 = 0 ;
5204
PyObject * obj1 = 0 ;
5205
char * kwnames[] = {
5206
(char *) "self",(char *) "bulletFont", NULL
5209
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletFont",kwnames,&obj0,&obj1)) SWIG_fail;
5210
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5211
if (!SWIG_IsOK(res1)) {
5212
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletFont" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5214
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5216
arg2 = wxString_in_helper(obj1);
5217
if (arg2 == NULL) SWIG_fail;
5221
PyThreadState* __tstate = wxPyBeginAllowThreads();
5222
(arg1)->SetBulletFont((wxString const &)*arg2);
5223
wxPyEndAllowThreads(__tstate);
5224
if (PyErr_Occurred()) SWIG_fail;
5226
resultobj = SWIG_Py_Void();
5241
SWIGINTERN PyObject *_wrap_TextAttrEx_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5242
PyObject *resultobj = 0;
5243
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5244
wxString *arg2 = 0 ;
5247
bool temp2 = false ;
5248
PyObject * obj0 = 0 ;
5249
PyObject * obj1 = 0 ;
5250
char * kwnames[] = {
5251
(char *) "self",(char *) "url", NULL
5254
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
5255
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5256
if (!SWIG_IsOK(res1)) {
5257
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetURL" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5259
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5261
arg2 = wxString_in_helper(obj1);
5262
if (arg2 == NULL) SWIG_fail;
5266
PyThreadState* __tstate = wxPyBeginAllowThreads();
5267
(arg1)->SetURL((wxString const &)*arg2);
5268
wxPyEndAllowThreads(__tstate);
5269
if (PyErr_Occurred()) SWIG_fail;
5271
resultobj = SWIG_Py_Void();
5286
SWIGINTERN PyObject *_wrap_TextAttrEx_SetPageBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5287
PyObject *resultobj = 0;
5288
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5289
bool arg2 = (bool) true ;
5294
PyObject * obj0 = 0 ;
5295
PyObject * obj1 = 0 ;
5296
char * kwnames[] = {
5297
(char *) "self",(char *) "pageBreak", NULL
5300
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextAttrEx_SetPageBreak",kwnames,&obj0,&obj1)) SWIG_fail;
5301
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5302
if (!SWIG_IsOK(res1)) {
5303
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetPageBreak" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5305
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5307
ecode2 = SWIG_AsVal_bool(obj1, &val2);
5308
if (!SWIG_IsOK(ecode2)) {
5309
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetPageBreak" "', expected argument " "2"" of type '" "bool""'");
5311
arg2 = static_cast< bool >(val2);
5314
PyThreadState* __tstate = wxPyBeginAllowThreads();
5315
(arg1)->SetPageBreak(arg2);
5316
wxPyEndAllowThreads(__tstate);
5317
if (PyErr_Occurred()) SWIG_fail;
5319
resultobj = SWIG_Py_Void();
5326
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5327
PyObject *resultobj = 0;
5328
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5334
PyObject * obj0 = 0 ;
5335
PyObject * obj1 = 0 ;
5336
char * kwnames[] = {
5337
(char *) "self",(char *) "effects", NULL
5340
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextEffects",kwnames,&obj0,&obj1)) SWIG_fail;
5341
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5342
if (!SWIG_IsOK(res1)) {
5343
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5345
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5346
ecode2 = SWIG_AsVal_int(obj1, &val2);
5347
if (!SWIG_IsOK(ecode2)) {
5348
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetTextEffects" "', expected argument " "2"" of type '" "int""'");
5350
arg2 = static_cast< int >(val2);
5352
PyThreadState* __tstate = wxPyBeginAllowThreads();
5353
(arg1)->SetTextEffects(arg2);
5354
wxPyEndAllowThreads(__tstate);
5355
if (PyErr_Occurred()) SWIG_fail;
5357
resultobj = SWIG_Py_Void();
5364
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextEffectFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5365
PyObject *resultobj = 0;
5366
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5372
PyObject * obj0 = 0 ;
5373
PyObject * obj1 = 0 ;
5374
char * kwnames[] = {
5375
(char *) "self",(char *) "effects", NULL
5378
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextEffectFlags",kwnames,&obj0,&obj1)) SWIG_fail;
5379
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5380
if (!SWIG_IsOK(res1)) {
5381
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextEffectFlags" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5383
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5384
ecode2 = SWIG_AsVal_int(obj1, &val2);
5385
if (!SWIG_IsOK(ecode2)) {
5386
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetTextEffectFlags" "', expected argument " "2"" of type '" "int""'");
5388
arg2 = static_cast< int >(val2);
5390
PyThreadState* __tstate = wxPyBeginAllowThreads();
5391
(arg1)->SetTextEffectFlags(arg2);
5392
wxPyEndAllowThreads(__tstate);
5393
if (PyErr_Occurred()) SWIG_fail;
5395
resultobj = SWIG_Py_Void();
5402
SWIGINTERN PyObject *_wrap_TextAttrEx_SetOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5403
PyObject *resultobj = 0;
5404
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5410
PyObject * obj0 = 0 ;
5411
PyObject * obj1 = 0 ;
5412
char * kwnames[] = {
5413
(char *) "self",(char *) "level", NULL
5416
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetOutlineLevel",kwnames,&obj0,&obj1)) SWIG_fail;
5417
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5418
if (!SWIG_IsOK(res1)) {
5419
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5421
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5422
ecode2 = SWIG_AsVal_int(obj1, &val2);
5423
if (!SWIG_IsOK(ecode2)) {
5424
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetOutlineLevel" "', expected argument " "2"" of type '" "int""'");
5426
arg2 = static_cast< int >(val2);
5428
PyThreadState* __tstate = wxPyBeginAllowThreads();
5429
(arg1)->SetOutlineLevel(arg2);
5430
wxPyEndAllowThreads(__tstate);
5431
if (PyErr_Occurred()) SWIG_fail;
5433
resultobj = SWIG_Py_Void();
5440
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5441
PyObject *resultobj = 0;
5442
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5448
PyObject * obj0 = 0 ;
5449
PyObject * obj1 = 0 ;
5450
char * kwnames[] = {
5451
(char *) "self",(char *) "pointSize", NULL
5454
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
5455
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5456
if (!SWIG_IsOK(res1)) {
5457
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFontSize" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5459
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5460
ecode2 = SWIG_AsVal_int(obj1, &val2);
5461
if (!SWIG_IsOK(ecode2)) {
5462
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetFontSize" "', expected argument " "2"" of type '" "int""'");
5464
arg2 = static_cast< int >(val2);
5466
PyThreadState* __tstate = wxPyBeginAllowThreads();
5467
wxTextAttrEx_SetFontSize(arg1,arg2);
5468
wxPyEndAllowThreads(__tstate);
5469
if (PyErr_Occurred()) SWIG_fail;
5471
resultobj = SWIG_Py_Void();
5478
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5479
PyObject *resultobj = 0;
5480
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5486
PyObject * obj0 = 0 ;
5487
PyObject * obj1 = 0 ;
5488
char * kwnames[] = {
5489
(char *) "self",(char *) "fontStyle", NULL
5492
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFontStyle",kwnames,&obj0,&obj1)) SWIG_fail;
5493
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5494
if (!SWIG_IsOK(res1)) {
5495
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFontStyle" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5497
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5498
ecode2 = SWIG_AsVal_int(obj1, &val2);
5499
if (!SWIG_IsOK(ecode2)) {
5500
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
5502
arg2 = static_cast< int >(val2);
5504
PyThreadState* __tstate = wxPyBeginAllowThreads();
5505
wxTextAttrEx_SetFontStyle(arg1,arg2);
5506
wxPyEndAllowThreads(__tstate);
5507
if (PyErr_Occurred()) SWIG_fail;
5509
resultobj = SWIG_Py_Void();
5516
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5517
PyObject *resultobj = 0;
5518
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5524
PyObject * obj0 = 0 ;
5525
PyObject * obj1 = 0 ;
5526
char * kwnames[] = {
5527
(char *) "self",(char *) "fontWeight", NULL
5530
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFontWeight",kwnames,&obj0,&obj1)) SWIG_fail;
5531
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5532
if (!SWIG_IsOK(res1)) {
5533
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFontWeight" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5535
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5536
ecode2 = SWIG_AsVal_int(obj1, &val2);
5537
if (!SWIG_IsOK(ecode2)) {
5538
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
5540
arg2 = static_cast< int >(val2);
5542
PyThreadState* __tstate = wxPyBeginAllowThreads();
5543
wxTextAttrEx_SetFontWeight(arg1,arg2);
5544
wxPyEndAllowThreads(__tstate);
5545
if (PyErr_Occurred()) SWIG_fail;
5547
resultobj = SWIG_Py_Void();
5554
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5555
PyObject *resultobj = 0;
5556
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5557
wxString *arg2 = 0 ;
5560
bool temp2 = false ;
5561
PyObject * obj0 = 0 ;
5562
PyObject * obj1 = 0 ;
5563
char * kwnames[] = {
5564
(char *) "self",(char *) "faceName", NULL
5567
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFontFaceName",kwnames,&obj0,&obj1)) SWIG_fail;
5568
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5569
if (!SWIG_IsOK(res1)) {
5570
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFontFaceName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5572
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5574
arg2 = wxString_in_helper(obj1);
5575
if (arg2 == NULL) SWIG_fail;
5579
PyThreadState* __tstate = wxPyBeginAllowThreads();
5580
wxTextAttrEx_SetFontFaceName(arg1,(wxString const &)*arg2);
5581
wxPyEndAllowThreads(__tstate);
5582
if (PyErr_Occurred()) SWIG_fail;
5584
resultobj = SWIG_Py_Void();
5599
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5600
PyObject *resultobj = 0;
5601
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5607
PyObject * obj0 = 0 ;
5608
PyObject * obj1 = 0 ;
5609
char * kwnames[] = {
5610
(char *) "self",(char *) "underlined", NULL
5613
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
5614
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5615
if (!SWIG_IsOK(res1)) {
5616
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFontUnderlined" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5618
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5619
ecode2 = SWIG_AsVal_bool(obj1, &val2);
5620
if (!SWIG_IsOK(ecode2)) {
5621
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
5623
arg2 = static_cast< bool >(val2);
5625
PyThreadState* __tstate = wxPyBeginAllowThreads();
5626
wxTextAttrEx_SetFontUnderlined(arg1,arg2);
5627
wxPyEndAllowThreads(__tstate);
5628
if (PyErr_Occurred()) SWIG_fail;
5630
resultobj = SWIG_Py_Void();
5637
SWIGINTERN PyObject *_wrap_TextAttrEx_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5638
PyObject *resultobj = 0;
5639
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5640
wxString *result = 0 ;
5643
PyObject *swig_obj[1] ;
5645
if (!args) SWIG_fail;
5647
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5648
if (!SWIG_IsOK(res1)) {
5649
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5651
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5653
PyThreadState* __tstate = wxPyBeginAllowThreads();
5655
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetCharacterStyleName();
5656
result = (wxString *) &_result_ref;
5658
wxPyEndAllowThreads(__tstate);
5659
if (PyErr_Occurred()) SWIG_fail;
5663
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5665
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5674
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5675
PyObject *resultobj = 0;
5676
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5677
wxString *result = 0 ;
5680
PyObject *swig_obj[1] ;
5682
if (!args) SWIG_fail;
5684
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5685
if (!SWIG_IsOK(res1)) {
5686
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5688
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5690
PyThreadState* __tstate = wxPyBeginAllowThreads();
5692
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetParagraphStyleName();
5693
result = (wxString *) &_result_ref;
5695
wxPyEndAllowThreads(__tstate);
5696
if (PyErr_Occurred()) SWIG_fail;
5700
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5702
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5711
SWIGINTERN PyObject *_wrap_TextAttrEx_GetListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5712
PyObject *resultobj = 0;
5713
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5714
wxString *result = 0 ;
5717
PyObject *swig_obj[1] ;
5719
if (!args) SWIG_fail;
5721
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5722
if (!SWIG_IsOK(res1)) {
5723
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5725
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5727
PyThreadState* __tstate = wxPyBeginAllowThreads();
5729
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetListStyleName();
5730
result = (wxString *) &_result_ref;
5732
wxPyEndAllowThreads(__tstate);
5733
if (PyErr_Occurred()) SWIG_fail;
5737
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5739
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5748
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5749
PyObject *resultobj = 0;
5750
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5754
PyObject *swig_obj[1] ;
5756
if (!args) SWIG_fail;
5758
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5759
if (!SWIG_IsOK(res1)) {
5760
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5762
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5764
PyThreadState* __tstate = wxPyBeginAllowThreads();
5765
result = (int)((wxTextAttrEx const *)arg1)->GetParagraphSpacingAfter();
5766
wxPyEndAllowThreads(__tstate);
5767
if (PyErr_Occurred()) SWIG_fail;
5769
resultobj = SWIG_From_int(static_cast< int >(result));
5776
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5777
PyObject *resultobj = 0;
5778
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5782
PyObject *swig_obj[1] ;
5784
if (!args) SWIG_fail;
5786
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5787
if (!SWIG_IsOK(res1)) {
5788
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5790
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5792
PyThreadState* __tstate = wxPyBeginAllowThreads();
5793
result = (int)((wxTextAttrEx const *)arg1)->GetParagraphSpacingBefore();
5794
wxPyEndAllowThreads(__tstate);
5795
if (PyErr_Occurred()) SWIG_fail;
5797
resultobj = SWIG_From_int(static_cast< int >(result));
5804
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5805
PyObject *resultobj = 0;
5806
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5810
PyObject *swig_obj[1] ;
5812
if (!args) SWIG_fail;
5814
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5815
if (!SWIG_IsOK(res1)) {
5816
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5818
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5820
PyThreadState* __tstate = wxPyBeginAllowThreads();
5821
result = (int)((wxTextAttrEx const *)arg1)->GetLineSpacing();
5822
wxPyEndAllowThreads(__tstate);
5823
if (PyErr_Occurred()) SWIG_fail;
5825
resultobj = SWIG_From_int(static_cast< int >(result));
5832
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5833
PyObject *resultobj = 0;
5834
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5838
PyObject *swig_obj[1] ;
5840
if (!args) SWIG_fail;
5842
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5843
if (!SWIG_IsOK(res1)) {
5844
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5846
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5848
PyThreadState* __tstate = wxPyBeginAllowThreads();
5849
result = (int)((wxTextAttrEx const *)arg1)->GetBulletStyle();
5850
wxPyEndAllowThreads(__tstate);
5851
if (PyErr_Occurred()) SWIG_fail;
5853
resultobj = SWIG_From_int(static_cast< int >(result));
5860
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5861
PyObject *resultobj = 0;
5862
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5866
PyObject *swig_obj[1] ;
5868
if (!args) SWIG_fail;
5870
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5871
if (!SWIG_IsOK(res1)) {
5872
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5874
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5876
PyThreadState* __tstate = wxPyBeginAllowThreads();
5877
result = (int)((wxTextAttrEx const *)arg1)->GetBulletNumber();
5878
wxPyEndAllowThreads(__tstate);
5879
if (PyErr_Occurred()) SWIG_fail;
5881
resultobj = SWIG_From_int(static_cast< int >(result));
5888
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5889
PyObject *resultobj = 0;
5890
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5891
wxString *result = 0 ;
5894
PyObject *swig_obj[1] ;
5896
if (!args) SWIG_fail;
5898
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5899
if (!SWIG_IsOK(res1)) {
5900
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5902
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5904
PyThreadState* __tstate = wxPyBeginAllowThreads();
5906
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletText();
5907
result = (wxString *) &_result_ref;
5909
wxPyEndAllowThreads(__tstate);
5910
if (PyErr_Occurred()) SWIG_fail;
5914
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5916
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5925
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5926
PyObject *resultobj = 0;
5927
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5928
wxString *result = 0 ;
5931
PyObject *swig_obj[1] ;
5933
if (!args) SWIG_fail;
5935
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5936
if (!SWIG_IsOK(res1)) {
5937
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5939
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5941
PyThreadState* __tstate = wxPyBeginAllowThreads();
5943
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletName();
5944
result = (wxString *) &_result_ref;
5946
wxPyEndAllowThreads(__tstate);
5947
if (PyErr_Occurred()) SWIG_fail;
5951
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5953
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5962
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5963
PyObject *resultobj = 0;
5964
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5965
wxString *result = 0 ;
5968
PyObject *swig_obj[1] ;
5970
if (!args) SWIG_fail;
5972
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5973
if (!SWIG_IsOK(res1)) {
5974
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5976
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5978
PyThreadState* __tstate = wxPyBeginAllowThreads();
5980
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletFont();
5981
result = (wxString *) &_result_ref;
5983
wxPyEndAllowThreads(__tstate);
5984
if (PyErr_Occurred()) SWIG_fail;
5988
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5990
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5999
SWIGINTERN PyObject *_wrap_TextAttrEx_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6000
PyObject *resultobj = 0;
6001
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6002
wxString *result = 0 ;
6005
PyObject *swig_obj[1] ;
6007
if (!args) SWIG_fail;
6009
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6010
if (!SWIG_IsOK(res1)) {
6011
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetURL" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6013
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6015
PyThreadState* __tstate = wxPyBeginAllowThreads();
6017
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetURL();
6018
result = (wxString *) &_result_ref;
6020
wxPyEndAllowThreads(__tstate);
6021
if (PyErr_Occurred()) SWIG_fail;
6025
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6027
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6036
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6037
PyObject *resultobj = 0;
6038
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6042
PyObject *swig_obj[1] ;
6044
if (!args) SWIG_fail;
6046
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6047
if (!SWIG_IsOK(res1)) {
6048
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6050
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6052
PyThreadState* __tstate = wxPyBeginAllowThreads();
6053
result = (int)((wxTextAttrEx const *)arg1)->GetTextEffects();
6054
wxPyEndAllowThreads(__tstate);
6055
if (PyErr_Occurred()) SWIG_fail;
6057
resultobj = SWIG_From_int(static_cast< int >(result));
6064
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextEffectFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6065
PyObject *resultobj = 0;
6066
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6070
PyObject *swig_obj[1] ;
6072
if (!args) SWIG_fail;
6074
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6075
if (!SWIG_IsOK(res1)) {
6076
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextEffectFlags" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6078
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6080
PyThreadState* __tstate = wxPyBeginAllowThreads();
6081
result = (int)((wxTextAttrEx const *)arg1)->GetTextEffectFlags();
6082
wxPyEndAllowThreads(__tstate);
6083
if (PyErr_Occurred()) SWIG_fail;
6085
resultobj = SWIG_From_int(static_cast< int >(result));
6092
SWIGINTERN PyObject *_wrap_TextAttrEx_GetOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6093
PyObject *resultobj = 0;
6094
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6098
PyObject *swig_obj[1] ;
6100
if (!args) SWIG_fail;
6102
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6103
if (!SWIG_IsOK(res1)) {
6104
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6106
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6108
PyThreadState* __tstate = wxPyBeginAllowThreads();
6109
result = (int)((wxTextAttrEx const *)arg1)->GetOutlineLevel();
6110
wxPyEndAllowThreads(__tstate);
6111
if (PyErr_Occurred()) SWIG_fail;
6113
resultobj = SWIG_From_int(static_cast< int >(result));
6120
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6121
PyObject *resultobj = 0;
6122
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6126
PyObject *swig_obj[1] ;
6128
if (!args) SWIG_fail;
6130
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6131
if (!SWIG_IsOK(res1)) {
6132
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontWeight" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6134
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6136
PyThreadState* __tstate = wxPyBeginAllowThreads();
6137
result = (bool)((wxTextAttrEx const *)arg1)->HasFontWeight();
6138
wxPyEndAllowThreads(__tstate);
6139
if (PyErr_Occurred()) SWIG_fail;
6142
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6150
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6151
PyObject *resultobj = 0;
6152
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6156
PyObject *swig_obj[1] ;
6158
if (!args) SWIG_fail;
6160
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6161
if (!SWIG_IsOK(res1)) {
6162
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontSize" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6164
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6166
PyThreadState* __tstate = wxPyBeginAllowThreads();
6167
result = (bool)((wxTextAttrEx const *)arg1)->HasFontSize();
6168
wxPyEndAllowThreads(__tstate);
6169
if (PyErr_Occurred()) SWIG_fail;
6172
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6180
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6181
PyObject *resultobj = 0;
6182
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6186
PyObject *swig_obj[1] ;
6188
if (!args) SWIG_fail;
6190
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6191
if (!SWIG_IsOK(res1)) {
6192
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontItalic" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6194
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6196
PyThreadState* __tstate = wxPyBeginAllowThreads();
6197
result = (bool)((wxTextAttrEx const *)arg1)->HasFontItalic();
6198
wxPyEndAllowThreads(__tstate);
6199
if (PyErr_Occurred()) SWIG_fail;
6202
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6210
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6211
PyObject *resultobj = 0;
6212
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6216
PyObject *swig_obj[1] ;
6218
if (!args) SWIG_fail;
6220
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6221
if (!SWIG_IsOK(res1)) {
6222
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontUnderlined" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6224
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6226
PyThreadState* __tstate = wxPyBeginAllowThreads();
6227
result = (bool)((wxTextAttrEx const *)arg1)->HasFontUnderlined();
6228
wxPyEndAllowThreads(__tstate);
6229
if (PyErr_Occurred()) SWIG_fail;
6232
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6240
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6241
PyObject *resultobj = 0;
6242
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6246
PyObject *swig_obj[1] ;
6248
if (!args) SWIG_fail;
6250
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6251
if (!SWIG_IsOK(res1)) {
6252
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontFaceName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6254
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6256
PyThreadState* __tstate = wxPyBeginAllowThreads();
6257
result = (bool)((wxTextAttrEx const *)arg1)->HasFontFaceName();
6258
wxPyEndAllowThreads(__tstate);
6259
if (PyErr_Occurred()) SWIG_fail;
6262
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6270
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6271
PyObject *resultobj = 0;
6272
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6276
PyObject *swig_obj[1] ;
6278
if (!args) SWIG_fail;
6280
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6281
if (!SWIG_IsOK(res1)) {
6282
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6284
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6286
PyThreadState* __tstate = wxPyBeginAllowThreads();
6287
result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphSpacingAfter();
6288
wxPyEndAllowThreads(__tstate);
6289
if (PyErr_Occurred()) SWIG_fail;
6292
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6300
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6301
PyObject *resultobj = 0;
6302
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6306
PyObject *swig_obj[1] ;
6308
if (!args) SWIG_fail;
6310
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6311
if (!SWIG_IsOK(res1)) {
6312
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6314
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6316
PyThreadState* __tstate = wxPyBeginAllowThreads();
6317
result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphSpacingBefore();
6318
wxPyEndAllowThreads(__tstate);
6319
if (PyErr_Occurred()) SWIG_fail;
6322
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6330
SWIGINTERN PyObject *_wrap_TextAttrEx_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6331
PyObject *resultobj = 0;
6332
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6336
PyObject *swig_obj[1] ;
6338
if (!args) SWIG_fail;
6340
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6341
if (!SWIG_IsOK(res1)) {
6342
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6344
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6346
PyThreadState* __tstate = wxPyBeginAllowThreads();
6347
result = (bool)((wxTextAttrEx const *)arg1)->HasLineSpacing();
6348
wxPyEndAllowThreads(__tstate);
6349
if (PyErr_Occurred()) SWIG_fail;
6352
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6360
SWIGINTERN PyObject *_wrap_TextAttrEx_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6361
PyObject *resultobj = 0;
6362
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6366
PyObject *swig_obj[1] ;
6368
if (!args) SWIG_fail;
6370
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6371
if (!SWIG_IsOK(res1)) {
6372
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6374
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6376
PyThreadState* __tstate = wxPyBeginAllowThreads();
6377
result = (bool)((wxTextAttrEx const *)arg1)->HasCharacterStyleName();
6378
wxPyEndAllowThreads(__tstate);
6379
if (PyErr_Occurred()) SWIG_fail;
6382
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6390
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6391
PyObject *resultobj = 0;
6392
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6396
PyObject *swig_obj[1] ;
6398
if (!args) SWIG_fail;
6400
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6401
if (!SWIG_IsOK(res1)) {
6402
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6404
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6406
PyThreadState* __tstate = wxPyBeginAllowThreads();
6407
result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphStyleName();
6408
wxPyEndAllowThreads(__tstate);
6409
if (PyErr_Occurred()) SWIG_fail;
6412
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6420
SWIGINTERN PyObject *_wrap_TextAttrEx_HasListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6421
PyObject *resultobj = 0;
6422
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6426
PyObject *swig_obj[1] ;
6428
if (!args) SWIG_fail;
6430
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6431
if (!SWIG_IsOK(res1)) {
6432
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6434
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6436
PyThreadState* __tstate = wxPyBeginAllowThreads();
6437
result = (bool)((wxTextAttrEx const *)arg1)->HasListStyleName();
6438
wxPyEndAllowThreads(__tstate);
6439
if (PyErr_Occurred()) SWIG_fail;
6442
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6450
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6451
PyObject *resultobj = 0;
6452
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6456
PyObject *swig_obj[1] ;
6458
if (!args) SWIG_fail;
6460
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6461
if (!SWIG_IsOK(res1)) {
6462
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6464
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6466
PyThreadState* __tstate = wxPyBeginAllowThreads();
6467
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletStyle();
6468
wxPyEndAllowThreads(__tstate);
6469
if (PyErr_Occurred()) SWIG_fail;
6472
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6480
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6481
PyObject *resultobj = 0;
6482
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6486
PyObject *swig_obj[1] ;
6488
if (!args) SWIG_fail;
6490
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6491
if (!SWIG_IsOK(res1)) {
6492
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6494
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6496
PyThreadState* __tstate = wxPyBeginAllowThreads();
6497
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletNumber();
6498
wxPyEndAllowThreads(__tstate);
6499
if (PyErr_Occurred()) SWIG_fail;
6502
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6510
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6511
PyObject *resultobj = 0;
6512
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6516
PyObject *swig_obj[1] ;
6518
if (!args) SWIG_fail;
6520
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6521
if (!SWIG_IsOK(res1)) {
6522
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6524
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6526
PyThreadState* __tstate = wxPyBeginAllowThreads();
6527
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletText();
6528
wxPyEndAllowThreads(__tstate);
6529
if (PyErr_Occurred()) SWIG_fail;
6532
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6540
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6541
PyObject *resultobj = 0;
6542
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6546
PyObject *swig_obj[1] ;
6548
if (!args) SWIG_fail;
6550
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6551
if (!SWIG_IsOK(res1)) {
6552
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6554
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6556
PyThreadState* __tstate = wxPyBeginAllowThreads();
6557
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletName();
6558
wxPyEndAllowThreads(__tstate);
6559
if (PyErr_Occurred()) SWIG_fail;
6562
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6570
SWIGINTERN PyObject *_wrap_TextAttrEx_HasURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6571
PyObject *resultobj = 0;
6572
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6576
PyObject *swig_obj[1] ;
6578
if (!args) SWIG_fail;
6580
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6581
if (!SWIG_IsOK(res1)) {
6582
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasURL" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6584
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6586
PyThreadState* __tstate = wxPyBeginAllowThreads();
6587
result = (bool)((wxTextAttrEx const *)arg1)->HasURL();
6588
wxPyEndAllowThreads(__tstate);
6589
if (PyErr_Occurred()) SWIG_fail;
6592
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6600
SWIGINTERN PyObject *_wrap_TextAttrEx_HasPageBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6601
PyObject *resultobj = 0;
6602
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6606
PyObject *swig_obj[1] ;
6608
if (!args) SWIG_fail;
6610
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6611
if (!SWIG_IsOK(res1)) {
6612
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasPageBreak" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6614
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6616
PyThreadState* __tstate = wxPyBeginAllowThreads();
6617
result = (bool)((wxTextAttrEx const *)arg1)->HasPageBreak();
6618
wxPyEndAllowThreads(__tstate);
6619
if (PyErr_Occurred()) SWIG_fail;
6622
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6630
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6631
PyObject *resultobj = 0;
6632
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6636
PyObject *swig_obj[1] ;
6638
if (!args) SWIG_fail;
6640
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6641
if (!SWIG_IsOK(res1)) {
6642
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6644
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6646
PyThreadState* __tstate = wxPyBeginAllowThreads();
6647
result = (bool)((wxTextAttrEx const *)arg1)->HasTextEffects();
6648
wxPyEndAllowThreads(__tstate);
6649
if (PyErr_Occurred()) SWIG_fail;
6652
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6660
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextEffect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6661
PyObject *resultobj = 0;
6662
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6669
PyObject * obj0 = 0 ;
6670
PyObject * obj1 = 0 ;
6671
char * kwnames[] = {
6672
(char *) "self",(char *) "effect", NULL
6675
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_HasTextEffect",kwnames,&obj0,&obj1)) SWIG_fail;
6676
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6677
if (!SWIG_IsOK(res1)) {
6678
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextEffect" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6680
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6681
ecode2 = SWIG_AsVal_int(obj1, &val2);
6682
if (!SWIG_IsOK(ecode2)) {
6683
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_HasTextEffect" "', expected argument " "2"" of type '" "int""'");
6685
arg2 = static_cast< int >(val2);
6687
PyThreadState* __tstate = wxPyBeginAllowThreads();
6688
result = (bool)((wxTextAttrEx const *)arg1)->HasTextEffect(arg2);
6689
wxPyEndAllowThreads(__tstate);
6690
if (PyErr_Occurred()) SWIG_fail;
6693
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6701
SWIGINTERN PyObject *_wrap_TextAttrEx_HasOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6702
PyObject *resultobj = 0;
6703
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6707
PyObject *swig_obj[1] ;
6709
if (!args) SWIG_fail;
6711
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6712
if (!SWIG_IsOK(res1)) {
6713
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6715
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6717
PyThreadState* __tstate = wxPyBeginAllowThreads();
6718
result = (bool)((wxTextAttrEx const *)arg1)->HasOutlineLevel();
6719
wxPyEndAllowThreads(__tstate);
6720
if (PyErr_Occurred()) SWIG_fail;
6723
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6731
SWIGINTERN PyObject *_wrap_TextAttrEx_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6732
PyObject *resultobj = 0;
6733
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6737
PyObject *swig_obj[1] ;
6739
if (!args) SWIG_fail;
6741
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6742
if (!SWIG_IsOK(res1)) {
6743
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsCharacterStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6745
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6747
PyThreadState* __tstate = wxPyBeginAllowThreads();
6748
result = (bool)((wxTextAttrEx const *)arg1)->IsCharacterStyle();
6749
wxPyEndAllowThreads(__tstate);
6750
if (PyErr_Occurred()) SWIG_fail;
6753
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6761
SWIGINTERN PyObject *_wrap_TextAttrEx_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6762
PyObject *resultobj = 0;
6763
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6767
PyObject *swig_obj[1] ;
6769
if (!args) SWIG_fail;
6771
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6772
if (!SWIG_IsOK(res1)) {
6773
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsParagraphStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6775
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6777
PyThreadState* __tstate = wxPyBeginAllowThreads();
6778
result = (bool)((wxTextAttrEx const *)arg1)->IsParagraphStyle();
6779
wxPyEndAllowThreads(__tstate);
6780
if (PyErr_Occurred()) SWIG_fail;
6783
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6791
SWIGINTERN PyObject *_wrap_TextAttrEx_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6792
PyObject *resultobj = 0;
6793
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6797
PyObject *swig_obj[1] ;
6799
if (!args) SWIG_fail;
6801
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6802
if (!SWIG_IsOK(res1)) {
6803
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsDefault" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6805
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6807
PyThreadState* __tstate = wxPyBeginAllowThreads();
6808
result = (bool)((wxTextAttrEx const *)arg1)->IsDefault();
6809
wxPyEndAllowThreads(__tstate);
6810
if (PyErr_Occurred()) SWIG_fail;
6813
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6821
SWIGINTERN PyObject *_wrap_TextAttrEx_CombineEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6822
PyObject *resultobj = 0;
6823
wxTextAttrEx *arg1 = 0 ;
6824
wxTextAttrEx *arg2 = 0 ;
6825
wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
6826
wxTextAttrEx result;
6833
PyObject * obj0 = 0 ;
6834
PyObject * obj1 = 0 ;
6835
PyObject * obj2 = 0 ;
6836
char * kwnames[] = {
6837
(char *) "attr",(char *) "attrDef",(char *) "text", NULL
6840
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttrEx_CombineEx",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6841
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
6842
if (!SWIG_IsOK(res1)) {
6843
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_CombineEx" "', expected argument " "1"" of type '" "wxTextAttrEx const &""'");
6846
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_CombineEx" "', expected argument " "1"" of type '" "wxTextAttrEx const &""'");
6848
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6849
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
6850
if (!SWIG_IsOK(res2)) {
6851
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_CombineEx" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
6854
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_CombineEx" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
6856
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
6857
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6858
if (!SWIG_IsOK(res3)) {
6859
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttrEx_CombineEx" "', expected argument " "3"" of type '" "wxRichTextCtrl const *""'");
6861
arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
6863
PyThreadState* __tstate = wxPyBeginAllowThreads();
6864
result = wxTextAttrEx::CombineEx((wxTextAttrEx const &)*arg1,(wxTextAttrEx const &)*arg2,(wxRichTextCtrl const *)arg3);
6865
wxPyEndAllowThreads(__tstate);
6866
if (PyErr_Occurred()) SWIG_fail;
6868
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
6875
SWIGINTERN PyObject *TextAttrEx_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6877
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6878
SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttrEx, SWIG_NewClientData(obj));
6879
return SWIG_Py_Void();
6882
SWIGINTERN PyObject *TextAttrEx_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6883
return SWIG_Python_InitShadowInstance(args);
6886
SWIGINTERN PyObject *_wrap_delete_RichTextObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6887
PyObject *resultobj = 0;
6888
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6891
PyObject *swig_obj[1] ;
6893
if (!args) SWIG_fail;
6895
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN | 0 );
6896
if (!SWIG_IsOK(res1)) {
6897
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObject" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6899
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6901
PyThreadState* __tstate = wxPyBeginAllowThreads();
6904
wxPyEndAllowThreads(__tstate);
6905
if (PyErr_Occurred()) SWIG_fail;
6907
resultobj = SWIG_Py_Void();
6914
SWIGINTERN PyObject *_wrap_RichTextObject_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6915
PyObject *resultobj = 0;
6916
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6918
wxRichTextRange *arg3 = 0 ;
6919
wxRichTextRange *arg4 = 0 ;
6928
wxRichTextRange temp3 ;
6929
wxRichTextRange temp4 ;
6935
PyObject * obj0 = 0 ;
6936
PyObject * obj1 = 0 ;
6937
PyObject * obj2 = 0 ;
6938
PyObject * obj3 = 0 ;
6939
PyObject * obj4 = 0 ;
6940
PyObject * obj5 = 0 ;
6941
PyObject * obj6 = 0 ;
6942
char * kwnames[] = {
6943
(char *) "self",(char *) "dc",(char *) "range",(char *) "selectionRange",(char *) "rect",(char *) "descent",(char *) "style", NULL
6946
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:RichTextObject_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6947
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
6948
if (!SWIG_IsOK(res1)) {
6949
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Draw" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6951
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6952
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
6953
if (!SWIG_IsOK(res2)) {
6954
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
6957
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
6959
arg2 = reinterpret_cast< wxDC * >(argp2);
6962
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
6966
if ( ! wxRichTextRange_helper(obj3, &arg4)) SWIG_fail;
6970
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
6972
ecode6 = SWIG_AsVal_int(obj5, &val6);
6973
if (!SWIG_IsOK(ecode6)) {
6974
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_Draw" "', expected argument " "6"" of type '" "int""'");
6976
arg6 = static_cast< int >(val6);
6977
ecode7 = SWIG_AsVal_int(obj6, &val7);
6978
if (!SWIG_IsOK(ecode7)) {
6979
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextObject_Draw" "', expected argument " "7"" of type '" "int""'");
6981
arg7 = static_cast< int >(val7);
6983
PyThreadState* __tstate = wxPyBeginAllowThreads();
6984
result = (bool)(arg1)->Draw(*arg2,(wxRichTextRange const &)*arg3,(wxRichTextRange const &)*arg4,(wxRect const &)*arg5,arg6,arg7);
6985
wxPyEndAllowThreads(__tstate);
6986
if (PyErr_Occurred()) SWIG_fail;
6989
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6997
SWIGINTERN PyObject *_wrap_RichTextObject_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6998
PyObject *resultobj = 0;
6999
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7011
PyObject * obj0 = 0 ;
7012
PyObject * obj1 = 0 ;
7013
PyObject * obj2 = 0 ;
7014
PyObject * obj3 = 0 ;
7015
char * kwnames[] = {
7016
(char *) "self",(char *) "dc",(char *) "rect",(char *) "style", NULL
7019
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextObject_Layout",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7020
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7021
if (!SWIG_IsOK(res1)) {
7022
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Layout" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7024
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7025
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7026
if (!SWIG_IsOK(res2)) {
7027
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Layout" "', expected argument " "2"" of type '" "wxDC &""'");
7030
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Layout" "', expected argument " "2"" of type '" "wxDC &""'");
7032
arg2 = reinterpret_cast< wxDC * >(argp2);
7035
if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
7037
ecode4 = SWIG_AsVal_int(obj3, &val4);
7038
if (!SWIG_IsOK(ecode4)) {
7039
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextObject_Layout" "', expected argument " "4"" of type '" "int""'");
7041
arg4 = static_cast< int >(val4);
7043
PyThreadState* __tstate = wxPyBeginAllowThreads();
7044
result = (bool)(arg1)->Layout(*arg2,(wxRect const &)*arg3,arg4);
7045
wxPyEndAllowThreads(__tstate);
7046
if (PyErr_Occurred()) SWIG_fail;
7049
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7057
SWIGINTERN PyObject *_wrap_RichTextObject_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7058
PyObject *resultobj = 0;
7059
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7070
int res4 = SWIG_TMPOBJ ;
7071
PyObject * obj0 = 0 ;
7072
PyObject * obj1 = 0 ;
7073
PyObject * obj2 = 0 ;
7074
char * kwnames[] = {
7075
(char *) "self",(char *) "dc",(char *) "pt", NULL
7079
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextObject_HitTest",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7080
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7081
if (!SWIG_IsOK(res1)) {
7082
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_HitTest" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7084
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7085
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7086
if (!SWIG_IsOK(res2)) {
7087
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_HitTest" "', expected argument " "2"" of type '" "wxDC &""'");
7090
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_HitTest" "', expected argument " "2"" of type '" "wxDC &""'");
7092
arg2 = reinterpret_cast< wxDC * >(argp2);
7095
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7098
PyThreadState* __tstate = wxPyBeginAllowThreads();
7099
result = (int)(arg1)->HitTest(*arg2,(wxPoint const &)*arg3,*arg4);
7100
wxPyEndAllowThreads(__tstate);
7101
if (PyErr_Occurred()) SWIG_fail;
7103
resultobj = SWIG_From_int(static_cast< int >(result));
7104
if (SWIG_IsTmpObj(res4)) {
7105
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
7107
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7108
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
7116
SWIGINTERN PyObject *_wrap_RichTextObject_FindPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7117
PyObject *resultobj = 0;
7118
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7122
int *arg5 = (int *) 0 ;
7133
int res5 = SWIG_TMPOBJ ;
7136
PyObject * obj0 = 0 ;
7137
PyObject * obj1 = 0 ;
7138
PyObject * obj2 = 0 ;
7139
PyObject * obj3 = 0 ;
7140
char * kwnames[] = {
7141
(char *) "self",(char *) "dc",(char *) "index",(char *) "forceLineStart", NULL
7146
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextObject_FindPosition",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7147
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7148
if (!SWIG_IsOK(res1)) {
7149
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_FindPosition" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7151
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7152
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7153
if (!SWIG_IsOK(res2)) {
7154
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_FindPosition" "', expected argument " "2"" of type '" "wxDC &""'");
7157
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_FindPosition" "', expected argument " "2"" of type '" "wxDC &""'");
7159
arg2 = reinterpret_cast< wxDC * >(argp2);
7160
ecode3 = SWIG_AsVal_long(obj2, &val3);
7161
if (!SWIG_IsOK(ecode3)) {
7162
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_FindPosition" "', expected argument " "3"" of type '" "long""'");
7164
arg3 = static_cast< long >(val3);
7165
ecode6 = SWIG_AsVal_bool(obj3, &val6);
7166
if (!SWIG_IsOK(ecode6)) {
7167
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_FindPosition" "', expected argument " "6"" of type '" "bool""'");
7169
arg6 = static_cast< bool >(val6);
7171
PyThreadState* __tstate = wxPyBeginAllowThreads();
7172
result = (bool)(arg1)->FindPosition(*arg2,arg3,*arg4,arg5,arg6);
7173
wxPyEndAllowThreads(__tstate);
7174
if (PyErr_Occurred()) SWIG_fail;
7177
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7179
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)new wxPoint(*arg4), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN));
7180
if (SWIG_IsTmpObj(res5)) {
7181
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
7183
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7184
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
7192
SWIGINTERN PyObject *_wrap_RichTextObject_GetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7193
PyObject *resultobj = 0;
7194
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7198
PyObject *swig_obj[1] ;
7200
if (!args) SWIG_fail;
7202
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7203
if (!SWIG_IsOK(res1)) {
7204
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBestSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7206
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7208
PyThreadState* __tstate = wxPyBeginAllowThreads();
7209
result = ((wxRichTextObject const *)arg1)->GetBestSize();
7210
wxPyEndAllowThreads(__tstate);
7211
if (PyErr_Occurred()) SWIG_fail;
7213
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
7220
SWIGINTERN PyObject *_wrap_RichTextObject_GetRangeSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7221
PyObject *resultobj = 0;
7222
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7223
wxRichTextRange *arg2 = 0 ;
7228
wxPoint arg7 = (wxPoint) wxPoint(0,0) ;
7232
wxRichTextRange temp2 ;
7235
int res4 = SWIG_TMPOBJ ;
7242
PyObject * obj0 = 0 ;
7243
PyObject * obj1 = 0 ;
7244
PyObject * obj2 = 0 ;
7245
PyObject * obj3 = 0 ;
7246
PyObject * obj4 = 0 ;
7247
char * kwnames[] = {
7248
(char *) "self",(char *) "range",(char *) "dc",(char *) "flags",(char *) "position", NULL
7253
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextObject_GetRangeSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7254
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7255
if (!SWIG_IsOK(res1)) {
7256
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7258
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7261
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7263
res5 = SWIG_ConvertPtr(obj2, &argp5, SWIGTYPE_p_wxDC, 0 );
7264
if (!SWIG_IsOK(res5)) {
7265
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "5"" of type '" "wxDC &""'");
7268
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_GetRangeSize" "', expected argument " "5"" of type '" "wxDC &""'");
7270
arg5 = reinterpret_cast< wxDC * >(argp5);
7271
ecode6 = SWIG_AsVal_int(obj3, &val6);
7272
if (!SWIG_IsOK(ecode6)) {
7273
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "6"" of type '" "int""'");
7275
arg6 = static_cast< int >(val6);
7278
res7 = SWIG_ConvertPtr(obj4, &argp7, SWIGTYPE_p_wxPoint, 0 | 0);
7279
if (!SWIG_IsOK(res7)) {
7280
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "7"" of type '" "wxPoint""'");
7283
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_GetRangeSize" "', expected argument " "7"" of type '" "wxPoint""'");
7285
wxPoint * temp = reinterpret_cast< wxPoint * >(argp7);
7287
if (SWIG_IsNewObj(res7)) delete temp;
7292
PyThreadState* __tstate = wxPyBeginAllowThreads();
7293
result = (bool)((wxRichTextObject const *)arg1)->GetRangeSize((wxRichTextRange const &)*arg2,*arg3,*arg4,*arg5,arg6,arg7);
7294
wxPyEndAllowThreads(__tstate);
7295
if (PyErr_Occurred()) SWIG_fail;
7298
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7300
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)new wxSize(*arg3), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN));
7301
if (SWIG_IsTmpObj(res4)) {
7302
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
7304
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7305
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
7313
SWIGINTERN PyObject *_wrap_RichTextObject_DoSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7314
PyObject *resultobj = 0;
7315
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7317
wxRichTextObject *result = 0 ;
7322
PyObject * obj0 = 0 ;
7323
PyObject * obj1 = 0 ;
7324
char * kwnames[] = {
7325
(char *) "self",(char *) "pos", NULL
7328
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_DoSplit",kwnames,&obj0,&obj1)) SWIG_fail;
7329
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7330
if (!SWIG_IsOK(res1)) {
7331
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_DoSplit" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7333
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7334
ecode2 = SWIG_AsVal_long(obj1, &val2);
7335
if (!SWIG_IsOK(ecode2)) {
7336
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_DoSplit" "', expected argument " "2"" of type '" "long""'");
7338
arg2 = static_cast< long >(val2);
7340
PyThreadState* __tstate = wxPyBeginAllowThreads();
7341
result = (wxRichTextObject *)(arg1)->DoSplit(arg2);
7342
wxPyEndAllowThreads(__tstate);
7343
if (PyErr_Occurred()) SWIG_fail;
7346
resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
7354
SWIGINTERN PyObject *_wrap_RichTextObject_CalculateRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7355
PyObject *resultobj = 0;
7356
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7364
int res3 = SWIG_TMPOBJ ;
7365
PyObject * obj0 = 0 ;
7366
PyObject * obj1 = 0 ;
7367
char * kwnames[] = {
7368
(char *) "self",(char *) "start", NULL
7372
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_CalculateRange",kwnames,&obj0,&obj1)) SWIG_fail;
7373
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7374
if (!SWIG_IsOK(res1)) {
7375
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_CalculateRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7377
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7378
ecode2 = SWIG_AsVal_long(obj1, &val2);
7379
if (!SWIG_IsOK(ecode2)) {
7380
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_CalculateRange" "', expected argument " "2"" of type '" "long""'");
7382
arg2 = static_cast< long >(val2);
7384
PyThreadState* __tstate = wxPyBeginAllowThreads();
7385
(arg1)->CalculateRange(arg2,*arg3);
7386
wxPyEndAllowThreads(__tstate);
7387
if (PyErr_Occurred()) SWIG_fail;
7389
resultobj = SWIG_Py_Void();
7390
if (SWIG_IsTmpObj(res3)) {
7391
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7393
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7394
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7402
SWIGINTERN PyObject *_wrap_RichTextObject_DeleteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7403
PyObject *resultobj = 0;
7404
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7405
wxRichTextRange *arg2 = 0 ;
7409
wxRichTextRange temp2 ;
7410
PyObject * obj0 = 0 ;
7411
PyObject * obj1 = 0 ;
7412
char * kwnames[] = {
7413
(char *) "self",(char *) "range", NULL
7416
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_DeleteRange",kwnames,&obj0,&obj1)) SWIG_fail;
7417
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7418
if (!SWIG_IsOK(res1)) {
7419
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_DeleteRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7421
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7424
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7427
PyThreadState* __tstate = wxPyBeginAllowThreads();
7428
result = (bool)(arg1)->DeleteRange((wxRichTextRange const &)*arg2);
7429
wxPyEndAllowThreads(__tstate);
7430
if (PyErr_Occurred()) SWIG_fail;
7433
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7441
SWIGINTERN PyObject *_wrap_RichTextObject_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7442
PyObject *resultobj = 0;
7443
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7447
PyObject *swig_obj[1] ;
7449
if (!args) SWIG_fail;
7451
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7452
if (!SWIG_IsOK(res1)) {
7453
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_IsEmpty" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7455
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7457
PyThreadState* __tstate = wxPyBeginAllowThreads();
7458
result = (bool)((wxRichTextObject const *)arg1)->IsEmpty();
7459
wxPyEndAllowThreads(__tstate);
7460
if (PyErr_Occurred()) SWIG_fail;
7463
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7471
SWIGINTERN PyObject *_wrap_RichTextObject_GetTextForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7472
PyObject *resultobj = 0;
7473
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7474
wxRichTextRange *arg2 = 0 ;
7478
wxRichTextRange temp2 ;
7479
PyObject * obj0 = 0 ;
7480
PyObject * obj1 = 0 ;
7481
char * kwnames[] = {
7482
(char *) "self",(char *) "range", NULL
7485
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_GetTextForRange",kwnames,&obj0,&obj1)) SWIG_fail;
7486
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7487
if (!SWIG_IsOK(res1)) {
7488
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetTextForRange" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7490
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7493
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7496
PyThreadState* __tstate = wxPyBeginAllowThreads();
7497
result = ((wxRichTextObject const *)arg1)->GetTextForRange((wxRichTextRange const &)*arg2);
7498
wxPyEndAllowThreads(__tstate);
7499
if (PyErr_Occurred()) SWIG_fail;
7503
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7505
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7514
SWIGINTERN PyObject *_wrap_RichTextObject_CanMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7515
PyObject *resultobj = 0;
7516
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7517
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
7523
PyObject * obj0 = 0 ;
7524
PyObject * obj1 = 0 ;
7525
char * kwnames[] = {
7526
(char *) "self",(char *) "object", NULL
7529
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_CanMerge",kwnames,&obj0,&obj1)) SWIG_fail;
7530
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7531
if (!SWIG_IsOK(res1)) {
7532
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_CanMerge" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7534
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7535
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7536
if (!SWIG_IsOK(res2)) {
7537
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_CanMerge" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
7539
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
7541
PyThreadState* __tstate = wxPyBeginAllowThreads();
7542
result = (bool)((wxRichTextObject const *)arg1)->CanMerge(arg2);
7543
wxPyEndAllowThreads(__tstate);
7544
if (PyErr_Occurred()) SWIG_fail;
7547
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7555
SWIGINTERN PyObject *_wrap_RichTextObject_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7556
PyObject *resultobj = 0;
7557
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7558
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
7564
PyObject * obj0 = 0 ;
7565
PyObject * obj1 = 0 ;
7566
char * kwnames[] = {
7567
(char *) "self",(char *) "object", NULL
7570
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
7571
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7572
if (!SWIG_IsOK(res1)) {
7573
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Merge" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7575
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7576
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7577
if (!SWIG_IsOK(res2)) {
7578
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Merge" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
7580
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
7582
PyThreadState* __tstate = wxPyBeginAllowThreads();
7583
result = (bool)(arg1)->Merge(arg2);
7584
wxPyEndAllowThreads(__tstate);
7585
if (PyErr_Occurred()) SWIG_fail;
7588
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7596
SWIGINTERN PyObject *_wrap_RichTextObject_Dump(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7597
PyObject *resultobj = 0;
7598
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7602
PyObject *swig_obj[1] ;
7604
if (!args) SWIG_fail;
7606
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7607
if (!SWIG_IsOK(res1)) {
7608
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Dump" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7610
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7612
PyThreadState* __tstate = wxPyBeginAllowThreads();
7613
result = wxRichTextObject_Dump(arg1);
7614
wxPyEndAllowThreads(__tstate);
7615
if (PyErr_Occurred()) SWIG_fail;
7619
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7621
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7630
SWIGINTERN PyObject *_wrap_RichTextObject_GetCachedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7631
PyObject *resultobj = 0;
7632
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7636
PyObject *swig_obj[1] ;
7638
if (!args) SWIG_fail;
7640
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7641
if (!SWIG_IsOK(res1)) {
7642
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetCachedSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7644
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7646
PyThreadState* __tstate = wxPyBeginAllowThreads();
7647
result = ((wxRichTextObject const *)arg1)->GetCachedSize();
7648
wxPyEndAllowThreads(__tstate);
7649
if (PyErr_Occurred()) SWIG_fail;
7651
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
7658
SWIGINTERN PyObject *_wrap_RichTextObject_SetCachedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7659
PyObject *resultobj = 0;
7660
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7665
PyObject * obj0 = 0 ;
7666
PyObject * obj1 = 0 ;
7667
char * kwnames[] = {
7668
(char *) "self",(char *) "sz", NULL
7671
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetCachedSize",kwnames,&obj0,&obj1)) SWIG_fail;
7672
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7673
if (!SWIG_IsOK(res1)) {
7674
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetCachedSize" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7676
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7679
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7682
PyThreadState* __tstate = wxPyBeginAllowThreads();
7683
(arg1)->SetCachedSize((wxSize const &)*arg2);
7684
wxPyEndAllowThreads(__tstate);
7685
if (PyErr_Occurred()) SWIG_fail;
7687
resultobj = SWIG_Py_Void();
7694
SWIGINTERN PyObject *_wrap_RichTextObject_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7695
PyObject *resultobj = 0;
7696
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7700
PyObject *swig_obj[1] ;
7702
if (!args) SWIG_fail;
7704
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7705
if (!SWIG_IsOK(res1)) {
7706
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetPosition" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7708
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7710
PyThreadState* __tstate = wxPyBeginAllowThreads();
7711
result = ((wxRichTextObject const *)arg1)->GetPosition();
7712
wxPyEndAllowThreads(__tstate);
7713
if (PyErr_Occurred()) SWIG_fail;
7715
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7722
SWIGINTERN PyObject *_wrap_RichTextObject_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7723
PyObject *resultobj = 0;
7724
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7729
PyObject * obj0 = 0 ;
7730
PyObject * obj1 = 0 ;
7731
char * kwnames[] = {
7732
(char *) "self",(char *) "pos", NULL
7735
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
7736
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7737
if (!SWIG_IsOK(res1)) {
7738
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetPosition" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7740
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7743
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7746
PyThreadState* __tstate = wxPyBeginAllowThreads();
7747
(arg1)->SetPosition((wxPoint const &)*arg2);
7748
wxPyEndAllowThreads(__tstate);
7749
if (PyErr_Occurred()) SWIG_fail;
7751
resultobj = SWIG_Py_Void();
7758
SWIGINTERN PyObject *_wrap_RichTextObject_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7759
PyObject *resultobj = 0;
7760
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7764
PyObject *swig_obj[1] ;
7766
if (!args) SWIG_fail;
7768
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7769
if (!SWIG_IsOK(res1)) {
7770
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRect" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7772
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7774
PyThreadState* __tstate = wxPyBeginAllowThreads();
7775
result = ((wxRichTextObject const *)arg1)->GetRect();
7776
wxPyEndAllowThreads(__tstate);
7777
if (PyErr_Occurred()) SWIG_fail;
7779
resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
7786
SWIGINTERN PyObject *_wrap_RichTextObject_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7787
PyObject *resultobj = 0;
7788
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7789
wxRichTextRange *arg2 = 0 ;
7792
wxRichTextRange temp2 ;
7793
PyObject * obj0 = 0 ;
7794
PyObject * obj1 = 0 ;
7795
char * kwnames[] = {
7796
(char *) "self",(char *) "range", NULL
7799
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7800
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7801
if (!SWIG_IsOK(res1)) {
7802
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7804
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7807
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7810
PyThreadState* __tstate = wxPyBeginAllowThreads();
7811
(arg1)->SetRange((wxRichTextRange const &)*arg2);
7812
wxPyEndAllowThreads(__tstate);
7813
if (PyErr_Occurred()) SWIG_fail;
7815
resultobj = SWIG_Py_Void();
7822
SWIGINTERN PyObject *_wrap_RichTextObject_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7823
PyObject *resultobj = 0;
7824
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7825
wxRichTextRange result;
7828
PyObject *swig_obj[1] ;
7830
if (!args) SWIG_fail;
7832
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7833
if (!SWIG_IsOK(res1)) {
7834
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7836
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7838
PyThreadState* __tstate = wxPyBeginAllowThreads();
7839
result = (arg1)->GetRange();
7840
wxPyEndAllowThreads(__tstate);
7841
if (PyErr_Occurred()) SWIG_fail;
7843
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
7850
SWIGINTERN PyObject *_wrap_RichTextObject_GetDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7851
PyObject *resultobj = 0;
7852
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7856
PyObject *swig_obj[1] ;
7858
if (!args) SWIG_fail;
7860
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7861
if (!SWIG_IsOK(res1)) {
7862
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetDirty" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7864
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7866
PyThreadState* __tstate = wxPyBeginAllowThreads();
7867
result = (bool)((wxRichTextObject const *)arg1)->GetDirty();
7868
wxPyEndAllowThreads(__tstate);
7869
if (PyErr_Occurred()) SWIG_fail;
7872
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7880
SWIGINTERN PyObject *_wrap_RichTextObject_SetDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7881
PyObject *resultobj = 0;
7882
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7888
PyObject * obj0 = 0 ;
7889
PyObject * obj1 = 0 ;
7890
char * kwnames[] = {
7891
(char *) "self",(char *) "dirty", NULL
7894
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetDirty",kwnames,&obj0,&obj1)) SWIG_fail;
7895
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7896
if (!SWIG_IsOK(res1)) {
7897
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetDirty" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7899
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7900
ecode2 = SWIG_AsVal_bool(obj1, &val2);
7901
if (!SWIG_IsOK(ecode2)) {
7902
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetDirty" "', expected argument " "2"" of type '" "bool""'");
7904
arg2 = static_cast< bool >(val2);
7906
PyThreadState* __tstate = wxPyBeginAllowThreads();
7907
(arg1)->SetDirty(arg2);
7908
wxPyEndAllowThreads(__tstate);
7909
if (PyErr_Occurred()) SWIG_fail;
7911
resultobj = SWIG_Py_Void();
7918
SWIGINTERN PyObject *_wrap_RichTextObject_IsComposite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7919
PyObject *resultobj = 0;
7920
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7924
PyObject *swig_obj[1] ;
7926
if (!args) SWIG_fail;
7928
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7929
if (!SWIG_IsOK(res1)) {
7930
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_IsComposite" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7932
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7934
PyThreadState* __tstate = wxPyBeginAllowThreads();
7935
result = (bool)((wxRichTextObject const *)arg1)->IsComposite();
7936
wxPyEndAllowThreads(__tstate);
7937
if (PyErr_Occurred()) SWIG_fail;
7940
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7948
SWIGINTERN PyObject *_wrap_RichTextObject_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7949
PyObject *resultobj = 0;
7950
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7951
wxRichTextObject *result = 0 ;
7954
PyObject *swig_obj[1] ;
7956
if (!args) SWIG_fail;
7958
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7959
if (!SWIG_IsOK(res1)) {
7960
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetParent" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7962
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7964
PyThreadState* __tstate = wxPyBeginAllowThreads();
7965
result = (wxRichTextObject *)((wxRichTextObject const *)arg1)->GetParent();
7966
wxPyEndAllowThreads(__tstate);
7967
if (PyErr_Occurred()) SWIG_fail;
7970
resultobj = wxPyMake_wxObject(result, (bool)0);
7978
SWIGINTERN PyObject *_wrap_RichTextObject_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7979
PyObject *resultobj = 0;
7980
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7981
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
7986
PyObject * obj0 = 0 ;
7987
PyObject * obj1 = 0 ;
7988
char * kwnames[] = {
7989
(char *) "self",(char *) "parent", NULL
7992
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7993
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7994
if (!SWIG_IsOK(res1)) {
7995
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetParent" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7997
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7998
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7999
if (!SWIG_IsOK(res2)) {
8000
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_SetParent" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
8002
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8004
PyThreadState* __tstate = wxPyBeginAllowThreads();
8005
(arg1)->SetParent(arg2);
8006
wxPyEndAllowThreads(__tstate);
8007
if (PyErr_Occurred()) SWIG_fail;
8009
resultobj = SWIG_Py_Void();
8016
SWIGINTERN PyObject *_wrap_RichTextObject_SetSameMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8017
PyObject *resultobj = 0;
8018
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8024
PyObject * obj0 = 0 ;
8025
PyObject * obj1 = 0 ;
8026
char * kwnames[] = {
8027
(char *) "self",(char *) "margin", NULL
8030
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetSameMargins",kwnames,&obj0,&obj1)) SWIG_fail;
8031
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8032
if (!SWIG_IsOK(res1)) {
8033
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetSameMargins" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8035
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8036
ecode2 = SWIG_AsVal_int(obj1, &val2);
8037
if (!SWIG_IsOK(ecode2)) {
8038
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetSameMargins" "', expected argument " "2"" of type '" "int""'");
8040
arg2 = static_cast< int >(val2);
8042
PyThreadState* __tstate = wxPyBeginAllowThreads();
8043
(arg1)->SetMargins(arg2);
8044
wxPyEndAllowThreads(__tstate);
8045
if (PyErr_Occurred()) SWIG_fail;
8047
resultobj = SWIG_Py_Void();
8054
SWIGINTERN PyObject *_wrap_RichTextObject_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8055
PyObject *resultobj = 0;
8056
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8071
PyObject * obj0 = 0 ;
8072
PyObject * obj1 = 0 ;
8073
PyObject * obj2 = 0 ;
8074
PyObject * obj3 = 0 ;
8075
PyObject * obj4 = 0 ;
8076
char * kwnames[] = {
8077
(char *) "self",(char *) "leftMargin",(char *) "rightMargin",(char *) "topMargin",(char *) "bottomMargin", NULL
8080
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextObject_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8081
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8082
if (!SWIG_IsOK(res1)) {
8083
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetMargins" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8085
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8086
ecode2 = SWIG_AsVal_int(obj1, &val2);
8087
if (!SWIG_IsOK(ecode2)) {
8088
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetMargins" "', expected argument " "2"" of type '" "int""'");
8090
arg2 = static_cast< int >(val2);
8091
ecode3 = SWIG_AsVal_int(obj2, &val3);
8092
if (!SWIG_IsOK(ecode3)) {
8093
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_SetMargins" "', expected argument " "3"" of type '" "int""'");
8095
arg3 = static_cast< int >(val3);
8096
ecode4 = SWIG_AsVal_int(obj3, &val4);
8097
if (!SWIG_IsOK(ecode4)) {
8098
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextObject_SetMargins" "', expected argument " "4"" of type '" "int""'");
8100
arg4 = static_cast< int >(val4);
8101
ecode5 = SWIG_AsVal_int(obj4, &val5);
8102
if (!SWIG_IsOK(ecode5)) {
8103
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextObject_SetMargins" "', expected argument " "5"" of type '" "int""'");
8105
arg5 = static_cast< int >(val5);
8107
PyThreadState* __tstate = wxPyBeginAllowThreads();
8108
(arg1)->SetMargins(arg2,arg3,arg4,arg5);
8109
wxPyEndAllowThreads(__tstate);
8110
if (PyErr_Occurred()) SWIG_fail;
8112
resultobj = SWIG_Py_Void();
8119
SWIGINTERN PyObject *_wrap_RichTextObject_GetLeftMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8120
PyObject *resultobj = 0;
8121
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8125
PyObject *swig_obj[1] ;
8127
if (!args) SWIG_fail;
8129
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8130
if (!SWIG_IsOK(res1)) {
8131
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetLeftMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8133
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8135
PyThreadState* __tstate = wxPyBeginAllowThreads();
8136
result = (int)((wxRichTextObject const *)arg1)->GetLeftMargin();
8137
wxPyEndAllowThreads(__tstate);
8138
if (PyErr_Occurred()) SWIG_fail;
8140
resultobj = SWIG_From_int(static_cast< int >(result));
8147
SWIGINTERN PyObject *_wrap_RichTextObject_GetRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8148
PyObject *resultobj = 0;
8149
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8153
PyObject *swig_obj[1] ;
8155
if (!args) SWIG_fail;
8157
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8158
if (!SWIG_IsOK(res1)) {
8159
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRightMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8161
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8163
PyThreadState* __tstate = wxPyBeginAllowThreads();
8164
result = (int)((wxRichTextObject const *)arg1)->GetRightMargin();
8165
wxPyEndAllowThreads(__tstate);
8166
if (PyErr_Occurred()) SWIG_fail;
8168
resultobj = SWIG_From_int(static_cast< int >(result));
8175
SWIGINTERN PyObject *_wrap_RichTextObject_GetTopMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8176
PyObject *resultobj = 0;
8177
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8181
PyObject *swig_obj[1] ;
8183
if (!args) SWIG_fail;
8185
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8186
if (!SWIG_IsOK(res1)) {
8187
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetTopMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8189
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8191
PyThreadState* __tstate = wxPyBeginAllowThreads();
8192
result = (int)((wxRichTextObject const *)arg1)->GetTopMargin();
8193
wxPyEndAllowThreads(__tstate);
8194
if (PyErr_Occurred()) SWIG_fail;
8196
resultobj = SWIG_From_int(static_cast< int >(result));
8203
SWIGINTERN PyObject *_wrap_RichTextObject_GetBottomMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8204
PyObject *resultobj = 0;
8205
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8209
PyObject *swig_obj[1] ;
8211
if (!args) SWIG_fail;
8213
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8214
if (!SWIG_IsOK(res1)) {
8215
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBottomMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8217
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8219
PyThreadState* __tstate = wxPyBeginAllowThreads();
8220
result = (int)((wxRichTextObject const *)arg1)->GetBottomMargin();
8221
wxPyEndAllowThreads(__tstate);
8222
if (PyErr_Occurred()) SWIG_fail;
8224
resultobj = SWIG_From_int(static_cast< int >(result));
8231
SWIGINTERN PyObject *_wrap_RichTextObject_SetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8232
PyObject *resultobj = 0;
8233
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8234
wxTextAttrEx *arg2 = 0 ;
8239
PyObject * obj0 = 0 ;
8240
PyObject * obj1 = 0 ;
8241
char * kwnames[] = {
8242
(char *) "self",(char *) "attr", NULL
8245
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
8246
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8247
if (!SWIG_IsOK(res1)) {
8248
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetAttributes" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8250
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8251
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
8252
if (!SWIG_IsOK(res2)) {
8253
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_SetAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
8256
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_SetAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
8258
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
8260
PyThreadState* __tstate = wxPyBeginAllowThreads();
8261
(arg1)->SetAttributes((wxTextAttrEx const &)*arg2);
8262
wxPyEndAllowThreads(__tstate);
8263
if (PyErr_Occurred()) SWIG_fail;
8265
resultobj = SWIG_Py_Void();
8272
SWIGINTERN PyObject *_wrap_RichTextObject_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8273
PyObject *resultobj = 0;
8274
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8275
wxTextAttrEx result;
8278
PyObject *swig_obj[1] ;
8280
if (!args) SWIG_fail;
8282
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8283
if (!SWIG_IsOK(res1)) {
8284
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetAttributes" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8286
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8288
PyThreadState* __tstate = wxPyBeginAllowThreads();
8289
result = (arg1)->GetAttributes();
8290
wxPyEndAllowThreads(__tstate);
8291
if (PyErr_Occurred()) SWIG_fail;
8293
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
8300
SWIGINTERN PyObject *_wrap_RichTextObject_SetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8301
PyObject *resultobj = 0;
8302
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8308
PyObject * obj0 = 0 ;
8309
PyObject * obj1 = 0 ;
8310
char * kwnames[] = {
8311
(char *) "self",(char *) "descent", NULL
8314
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetDescent",kwnames,&obj0,&obj1)) SWIG_fail;
8315
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8316
if (!SWIG_IsOK(res1)) {
8317
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetDescent" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8319
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8320
ecode2 = SWIG_AsVal_int(obj1, &val2);
8321
if (!SWIG_IsOK(ecode2)) {
8322
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetDescent" "', expected argument " "2"" of type '" "int""'");
8324
arg2 = static_cast< int >(val2);
8326
PyThreadState* __tstate = wxPyBeginAllowThreads();
8327
(arg1)->SetDescent(arg2);
8328
wxPyEndAllowThreads(__tstate);
8329
if (PyErr_Occurred()) SWIG_fail;
8331
resultobj = SWIG_Py_Void();
8338
SWIGINTERN PyObject *_wrap_RichTextObject_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8339
PyObject *resultobj = 0;
8340
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8344
PyObject *swig_obj[1] ;
8346
if (!args) SWIG_fail;
8348
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8349
if (!SWIG_IsOK(res1)) {
8350
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetDescent" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8352
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8354
PyThreadState* __tstate = wxPyBeginAllowThreads();
8355
result = (int)((wxRichTextObject const *)arg1)->GetDescent();
8356
wxPyEndAllowThreads(__tstate);
8357
if (PyErr_Occurred()) SWIG_fail;
8359
resultobj = SWIG_From_int(static_cast< int >(result));
8366
SWIGINTERN PyObject *_wrap_RichTextObject_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8367
PyObject *resultobj = 0;
8368
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8369
wxRichTextBuffer *result = 0 ;
8372
PyObject *swig_obj[1] ;
8374
if (!args) SWIG_fail;
8376
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8377
if (!SWIG_IsOK(res1)) {
8378
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8380
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8382
PyThreadState* __tstate = wxPyBeginAllowThreads();
8383
result = (wxRichTextBuffer *)((wxRichTextObject const *)arg1)->GetBuffer();
8384
wxPyEndAllowThreads(__tstate);
8385
if (PyErr_Occurred()) SWIG_fail;
8387
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
8394
SWIGINTERN PyObject *_wrap_RichTextObject_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8395
PyObject *resultobj = 0;
8396
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8397
wxRichTextObject *result = 0 ;
8400
PyObject *swig_obj[1] ;
8402
if (!args) SWIG_fail;
8404
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8405
if (!SWIG_IsOK(res1)) {
8406
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Clone" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8408
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8410
PyThreadState* __tstate = wxPyBeginAllowThreads();
8411
result = (wxRichTextObject *)((wxRichTextObject const *)arg1)->Clone();
8412
wxPyEndAllowThreads(__tstate);
8413
if (PyErr_Occurred()) SWIG_fail;
8416
resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
8424
SWIGINTERN PyObject *_wrap_RichTextObject_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8425
PyObject *resultobj = 0;
8426
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8427
wxRichTextObject *arg2 = 0 ;
8432
PyObject * obj0 = 0 ;
8433
PyObject * obj1 = 0 ;
8434
char * kwnames[] = {
8435
(char *) "self",(char *) "obj", NULL
8438
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
8439
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8440
if (!SWIG_IsOK(res1)) {
8441
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Copy" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8443
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8444
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextObject, 0 | 0);
8445
if (!SWIG_IsOK(res2)) {
8446
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Copy" "', expected argument " "2"" of type '" "wxRichTextObject const &""'");
8449
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Copy" "', expected argument " "2"" of type '" "wxRichTextObject const &""'");
8451
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8453
PyThreadState* __tstate = wxPyBeginAllowThreads();
8454
(arg1)->Copy((wxRichTextObject const &)*arg2);
8455
wxPyEndAllowThreads(__tstate);
8456
if (PyErr_Occurred()) SWIG_fail;
8458
resultobj = SWIG_Py_Void();
8465
SWIGINTERN PyObject *_wrap_RichTextObject_Reference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8466
PyObject *resultobj = 0;
8467
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8470
PyObject *swig_obj[1] ;
8472
if (!args) SWIG_fail;
8474
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8475
if (!SWIG_IsOK(res1)) {
8476
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Reference" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8478
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8480
PyThreadState* __tstate = wxPyBeginAllowThreads();
8481
(arg1)->Reference();
8482
wxPyEndAllowThreads(__tstate);
8483
if (PyErr_Occurred()) SWIG_fail;
8485
resultobj = SWIG_Py_Void();
8492
SWIGINTERN PyObject *_wrap_RichTextObject_Dereference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8493
PyObject *resultobj = 0;
8494
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8497
PyObject *swig_obj[1] ;
8499
if (!args) SWIG_fail;
8501
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8502
if (!SWIG_IsOK(res1)) {
8503
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Dereference" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8505
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8507
PyThreadState* __tstate = wxPyBeginAllowThreads();
8508
(arg1)->Dereference();
8509
wxPyEndAllowThreads(__tstate);
8510
if (PyErr_Occurred()) SWIG_fail;
8512
resultobj = SWIG_Py_Void();
8519
SWIGINTERN PyObject *_wrap_RichTextObject_ConvertTenthsMMToPixelsDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8520
PyObject *resultobj = 0;
8521
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8531
PyObject * obj0 = 0 ;
8532
PyObject * obj1 = 0 ;
8533
PyObject * obj2 = 0 ;
8534
char * kwnames[] = {
8535
(char *) "self",(char *) "dc",(char *) "units", NULL
8538
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextObject_ConvertTenthsMMToPixelsDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8539
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8540
if (!SWIG_IsOK(res1)) {
8541
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8543
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8544
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8545
if (!SWIG_IsOK(res2)) {
8546
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "2"" of type '" "wxDC &""'");
8549
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "2"" of type '" "wxDC &""'");
8551
arg2 = reinterpret_cast< wxDC * >(argp2);
8552
ecode3 = SWIG_AsVal_int(obj2, &val3);
8553
if (!SWIG_IsOK(ecode3)) {
8554
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "3"" of type '" "int""'");
8556
arg3 = static_cast< int >(val3);
8558
PyThreadState* __tstate = wxPyBeginAllowThreads();
8559
result = (int)(arg1)->ConvertTenthsMMToPixels(*arg2,arg3);
8560
wxPyEndAllowThreads(__tstate);
8561
if (PyErr_Occurred()) SWIG_fail;
8563
resultobj = SWIG_From_int(static_cast< int >(result));
8570
SWIGINTERN PyObject *_wrap_RichTextObject_ConvertTenthsMMToPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8571
PyObject *resultobj = 0;
8579
PyObject * obj0 = 0 ;
8580
PyObject * obj1 = 0 ;
8581
char * kwnames[] = {
8582
(char *) "ppi",(char *) "units", NULL
8585
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_ConvertTenthsMMToPixels",kwnames,&obj0,&obj1)) SWIG_fail;
8586
ecode1 = SWIG_AsVal_int(obj0, &val1);
8587
if (!SWIG_IsOK(ecode1)) {
8588
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextObject_ConvertTenthsMMToPixels" "', expected argument " "1"" of type '" "int""'");
8590
arg1 = static_cast< int >(val1);
8591
ecode2 = SWIG_AsVal_int(obj1, &val2);
8592
if (!SWIG_IsOK(ecode2)) {
8593
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_ConvertTenthsMMToPixels" "', expected argument " "2"" of type '" "int""'");
8595
arg2 = static_cast< int >(val2);
8597
PyThreadState* __tstate = wxPyBeginAllowThreads();
8598
result = (int)wxRichTextObject::ConvertTenthsMMToPixels(arg1,arg2);
8599
wxPyEndAllowThreads(__tstate);
8600
if (PyErr_Occurred()) SWIG_fail;
8602
resultobj = SWIG_From_int(static_cast< int >(result));
8609
SWIGINTERN PyObject *RichTextObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8611
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8612
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObject, SWIG_NewClientData(obj));
8613
return SWIG_Py_Void();
8616
SWIGINTERN PyObject *_wrap_delete_RichTextObjectList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8617
PyObject *resultobj = 0;
8618
wxRichTextObjectList_iterator *arg1 = (wxRichTextObjectList_iterator *) 0 ;
8621
PyObject *swig_obj[1] ;
8623
if (!args) SWIG_fail;
8625
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_POINTER_DISOWN | 0 );
8626
if (!SWIG_IsOK(res1)) {
8627
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObjectList_iterator" "', expected argument " "1"" of type '" "wxRichTextObjectList_iterator *""'");
8629
arg1 = reinterpret_cast< wxRichTextObjectList_iterator * >(argp1);
8631
PyThreadState* __tstate = wxPyBeginAllowThreads();
8634
wxPyEndAllowThreads(__tstate);
8635
if (PyErr_Occurred()) SWIG_fail;
8637
resultobj = SWIG_Py_Void();
8644
SWIGINTERN PyObject *_wrap_RichTextObjectList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8645
PyObject *resultobj = 0;
8646
wxRichTextObjectList_iterator *arg1 = (wxRichTextObjectList_iterator *) 0 ;
8647
wxRichTextObject *result = 0 ;
8650
PyObject *swig_obj[1] ;
8652
if (!args) SWIG_fail;
8654
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList_iterator, 0 | 0 );
8655
if (!SWIG_IsOK(res1)) {
8656
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList_iterator_next" "', expected argument " "1"" of type '" "wxRichTextObjectList_iterator *""'");
8658
arg1 = reinterpret_cast< wxRichTextObjectList_iterator * >(argp1);
8660
result = (wxRichTextObject *)(arg1)->next();
8661
if (PyErr_Occurred()) SWIG_fail;
8664
resultobj = wxPyMake_wxObject(result, (bool)0);
8672
SWIGINTERN PyObject *RichTextObjectList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8674
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8675
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_NewClientData(obj));
8676
return SWIG_Py_Void();
8679
SWIGINTERN PyObject *_wrap_delete_RichTextObjectList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8680
PyObject *resultobj = 0;
8681
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8684
PyObject *swig_obj[1] ;
8686
if (!args) SWIG_fail;
8688
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, SWIG_POINTER_DISOWN | 0 );
8689
if (!SWIG_IsOK(res1)) {
8690
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObjectList" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8692
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8694
PyThreadState* __tstate = wxPyBeginAllowThreads();
8697
wxPyEndAllowThreads(__tstate);
8698
if (PyErr_Occurred()) SWIG_fail;
8700
resultobj = SWIG_Py_Void();
8707
SWIGINTERN PyObject *_wrap_RichTextObjectList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708
PyObject *resultobj = 0;
8709
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8713
PyObject *swig_obj[1] ;
8715
if (!args) SWIG_fail;
8717
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8718
if (!SWIG_IsOK(res1)) {
8719
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___len__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8721
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8723
result = (size_t)wxRichTextObjectList___len__(arg1);
8724
if (PyErr_Occurred()) SWIG_fail;
8726
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8733
SWIGINTERN PyObject *_wrap_RichTextObjectList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8734
PyObject *resultobj = 0;
8735
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8737
wxRichTextObject *result = 0 ;
8742
PyObject * obj0 = 0 ;
8743
PyObject * obj1 = 0 ;
8744
char * kwnames[] = {
8745
(char *) "self",(char *) "index", NULL
8748
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
8749
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8750
if (!SWIG_IsOK(res1)) {
8751
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___getitem__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8753
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8754
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
8755
if (!SWIG_IsOK(ecode2)) {
8756
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObjectList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
8758
arg2 = static_cast< size_t >(val2);
8760
result = (wxRichTextObject *)wxRichTextObjectList___getitem__(arg1,arg2);
8761
if (PyErr_Occurred()) SWIG_fail;
8764
resultobj = wxPyMake_wxObject(result, (bool)0);
8772
SWIGINTERN PyObject *_wrap_RichTextObjectList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8773
PyObject *resultobj = 0;
8774
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8775
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8781
PyObject * obj0 = 0 ;
8782
PyObject * obj1 = 0 ;
8783
char * kwnames[] = {
8784
(char *) "self",(char *) "obj", NULL
8787
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
8788
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8789
if (!SWIG_IsOK(res1)) {
8790
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___contains__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8792
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8793
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8794
if (!SWIG_IsOK(res2)) {
8795
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObjectList___contains__" "', expected argument " "2"" of type '" "wxRichTextObject const *""'");
8797
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8799
result = (bool)wxRichTextObjectList___contains__(arg1,(wxRichTextObject const *)arg2);
8800
if (PyErr_Occurred()) SWIG_fail;
8803
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8811
SWIGINTERN PyObject *_wrap_RichTextObjectList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8812
PyObject *resultobj = 0;
8813
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8814
wxRichTextObjectList_iterator *result = 0 ;
8817
PyObject *swig_obj[1] ;
8819
if (!args) SWIG_fail;
8821
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8822
if (!SWIG_IsOK(res1)) {
8823
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___iter__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8825
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8827
result = (wxRichTextObjectList_iterator *)wxRichTextObjectList___iter__(arg1);
8828
if (PyErr_Occurred()) SWIG_fail;
8830
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_POINTER_OWN | 0 );
8837
SWIGINTERN PyObject *_wrap_RichTextObjectList_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8838
PyObject *resultobj = 0;
8839
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8840
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8846
PyObject * obj0 = 0 ;
8847
PyObject * obj1 = 0 ;
8848
char * kwnames[] = {
8849
(char *) "self",(char *) "obj", NULL
8852
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList_index",kwnames,&obj0,&obj1)) SWIG_fail;
8853
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8854
if (!SWIG_IsOK(res1)) {
8855
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList_index" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8857
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8858
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8859
if (!SWIG_IsOK(res2)) {
8860
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObjectList_index" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
8862
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8864
result = (int)wxRichTextObjectList_index(arg1,arg2);
8865
if (PyErr_Occurred()) SWIG_fail;
8867
resultobj = SWIG_From_int(static_cast< int >(result));
8874
SWIGINTERN PyObject *RichTextObjectList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8876
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8877
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObjectList, SWIG_NewClientData(obj));
8878
return SWIG_Py_Void();
8881
SWIGINTERN PyObject *_wrap_delete_RichTextCompositeObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8882
PyObject *resultobj = 0;
8883
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8886
PyObject *swig_obj[1] ;
8888
if (!args) SWIG_fail;
8890
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, SWIG_POINTER_DISOWN | 0 );
8891
if (!SWIG_IsOK(res1)) {
8892
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextCompositeObject" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8894
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8896
PyThreadState* __tstate = wxPyBeginAllowThreads();
8899
wxPyEndAllowThreads(__tstate);
8900
if (PyErr_Occurred()) SWIG_fail;
8902
resultobj = SWIG_Py_Void();
8909
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8910
PyObject *resultobj = 0;
8911
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8912
wxRichTextObjectList *result = 0 ;
8915
PyObject *swig_obj[1] ;
8917
if (!args) SWIG_fail;
8919
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8920
if (!SWIG_IsOK(res1)) {
8921
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChildren" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8923
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8925
PyThreadState* __tstate = wxPyBeginAllowThreads();
8927
wxRichTextObjectList &_result_ref = (arg1)->GetChildren();
8928
result = (wxRichTextObjectList *) &_result_ref;
8930
wxPyEndAllowThreads(__tstate);
8931
if (PyErr_Occurred()) SWIG_fail;
8933
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8940
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChildCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8941
PyObject *resultobj = 0;
8942
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8946
PyObject *swig_obj[1] ;
8948
if (!args) SWIG_fail;
8950
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8951
if (!SWIG_IsOK(res1)) {
8952
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChildCount" "', expected argument " "1"" of type '" "wxRichTextCompositeObject const *""'");
8954
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8956
PyThreadState* __tstate = wxPyBeginAllowThreads();
8957
result = (size_t)((wxRichTextCompositeObject const *)arg1)->GetChildCount();
8958
wxPyEndAllowThreads(__tstate);
8959
if (PyErr_Occurred()) SWIG_fail;
8961
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8968
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8969
PyObject *resultobj = 0;
8970
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8972
wxRichTextObject *result = 0 ;
8977
PyObject * obj0 = 0 ;
8978
PyObject * obj1 = 0 ;
8979
char * kwnames[] = {
8980
(char *) "self",(char *) "n", NULL
8983
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_GetChild",kwnames,&obj0,&obj1)) SWIG_fail;
8984
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8985
if (!SWIG_IsOK(res1)) {
8986
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject const *""'");
8988
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8989
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
8990
if (!SWIG_IsOK(ecode2)) {
8991
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCompositeObject_GetChild" "', expected argument " "2"" of type '" "size_t""'");
8993
arg2 = static_cast< size_t >(val2);
8995
PyThreadState* __tstate = wxPyBeginAllowThreads();
8996
result = (wxRichTextObject *)((wxRichTextCompositeObject const *)arg1)->GetChild(arg2);
8997
wxPyEndAllowThreads(__tstate);
8998
if (PyErr_Occurred()) SWIG_fail;
9001
resultobj = wxPyMake_wxObject(result, (bool)0);
9009
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9010
PyObject *resultobj = 0;
9011
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
9012
wxRichTextCompositeObject *arg2 = 0 ;
9017
PyObject * obj0 = 0 ;
9018
PyObject * obj1 = 0 ;
9019
char * kwnames[] = {
9020
(char *) "self",(char *) "obj", NULL
9023
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
9024
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
9025
if (!SWIG_IsOK(res1)) {
9026
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_Copy" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
9028
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
9029
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0);
9030
if (!SWIG_IsOK(res2)) {
9031
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_Copy" "', expected argument " "2"" of type '" "wxRichTextCompositeObject const &""'");
9034
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCompositeObject_Copy" "', expected argument " "2"" of type '" "wxRichTextCompositeObject const &""'");
9036
arg2 = reinterpret_cast< wxRichTextCompositeObject * >(argp2);
9038
PyThreadState* __tstate = wxPyBeginAllowThreads();
9039
(arg1)->Copy((wxRichTextCompositeObject const &)*arg2);
9040
wxPyEndAllowThreads(__tstate);
9041
if (PyErr_Occurred()) SWIG_fail;
9043
resultobj = SWIG_Py_Void();
9050
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_AppendChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9051
PyObject *resultobj = 0;
9052
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
9053
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
9058
PyObject * obj0 = 0 ;
9059
PyObject * obj1 = 0 ;
9060
char * kwnames[] = {
9061
(char *) "self",(char *) "child", NULL
9064
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_AppendChild",kwnames,&obj0,&obj1)) SWIG_fail;
9065
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
9066
if (!SWIG_IsOK(res1)) {
9067
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_AppendChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
9069
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
9070
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN | 0 );
9071
if (!SWIG_IsOK(res2)) {
9072
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_AppendChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
9075
PyThreadState* __tstate = wxPyBeginAllowThreads();
9076
result = (size_t)(arg1)->AppendChild(arg2);
9077
wxPyEndAllowThreads(__tstate);
9078
if (PyErr_Occurred()) SWIG_fail;
9080
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
9087
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_InsertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088
PyObject *resultobj = 0;
9089
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
9090
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
9091
wxRichTextObject *arg3 = (wxRichTextObject *) 0 ;
9098
PyObject * obj0 = 0 ;
9099
PyObject * obj1 = 0 ;
9100
PyObject * obj2 = 0 ;
9101
char * kwnames[] = {
9102
(char *) "self",(char *) "child",(char *) "inFrontOf", NULL
9105
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCompositeObject_InsertChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9106
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
9107
if (!SWIG_IsOK(res1)) {
9108
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
9110
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
9111
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN | 0 );
9112
if (!SWIG_IsOK(res2)) {
9113
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
9115
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9116
if (!SWIG_IsOK(res3)) {
9117
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "3"" of type '" "wxRichTextObject *""'");
9119
arg3 = reinterpret_cast< wxRichTextObject * >(argp3);
9121
PyThreadState* __tstate = wxPyBeginAllowThreads();
9122
result = (bool)(arg1)->InsertChild(arg2,arg3);
9123
wxPyEndAllowThreads(__tstate);
9124
if (PyErr_Occurred()) SWIG_fail;
9127
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9135
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_RemoveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9136
PyObject *resultobj = 0;
9137
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
9138
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
9139
bool arg3 = (bool) false ;
9147
PyObject * obj0 = 0 ;
9148
PyObject * obj1 = 0 ;
9149
PyObject * obj2 = 0 ;
9150
char * kwnames[] = {
9151
(char *) "self",(char *) "child",(char *) "deleteChild", NULL
9154
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCompositeObject_RemoveChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9155
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
9156
if (!SWIG_IsOK(res1)) {
9157
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
9159
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
9160
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9161
if (!SWIG_IsOK(res2)) {
9162
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
9164
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
9166
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9167
if (!SWIG_IsOK(ecode3)) {
9168
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "3"" of type '" "bool""'");
9170
arg3 = static_cast< bool >(val3);
9173
PyThreadState* __tstate = wxPyBeginAllowThreads();
9174
result = (bool)(arg1)->RemoveChild(arg2,arg3);
9175
wxPyEndAllowThreads(__tstate);
9176
if (PyErr_Occurred()) SWIG_fail;
9179
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9187
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9188
PyObject *resultobj = 0;
9189
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
9193
PyObject *swig_obj[1] ;
9195
if (!args) SWIG_fail;
9197
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
9198
if (!SWIG_IsOK(res1)) {
9199
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_DeleteChildren" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
9201
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
9203
PyThreadState* __tstate = wxPyBeginAllowThreads();
9204
result = (bool)(arg1)->DeleteChildren();
9205
wxPyEndAllowThreads(__tstate);
9206
if (PyErr_Occurred()) SWIG_fail;
9209
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9217
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_Defragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9218
PyObject *resultobj = 0;
9219
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
9223
PyObject *swig_obj[1] ;
9225
if (!args) SWIG_fail;
9227
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
9228
if (!SWIG_IsOK(res1)) {
9229
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_Defragment" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
9231
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
9233
PyThreadState* __tstate = wxPyBeginAllowThreads();
9234
result = (bool)(arg1)->Defragment();
9235
wxPyEndAllowThreads(__tstate);
9236
if (PyErr_Occurred()) SWIG_fail;
9239
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9247
SWIGINTERN PyObject *RichTextCompositeObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9249
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9250
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCompositeObject, SWIG_NewClientData(obj));
9251
return SWIG_Py_Void();
9254
SWIGINTERN PyObject *_wrap_new_RichTextBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9255
PyObject *resultobj = 0;
9256
wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
9257
wxRichTextBox *result = 0 ;
9260
PyObject * obj0 = 0 ;
9261
char * kwnames[] = {
9262
(char *) "parent", NULL
9265
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextBox",kwnames,&obj0)) SWIG_fail;
9267
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9268
if (!SWIG_IsOK(res1)) {
9269
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextBox" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
9271
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
9274
PyThreadState* __tstate = wxPyBeginAllowThreads();
9275
result = (wxRichTextBox *)new wxRichTextBox(arg1);
9276
wxPyEndAllowThreads(__tstate);
9277
if (PyErr_Occurred()) SWIG_fail;
9279
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBox, SWIG_POINTER_NEW | 0 );
9286
SWIGINTERN PyObject *_wrap_RichTextBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9287
PyObject *resultobj = 0;
9288
wxRichTextBox *arg1 = (wxRichTextBox *) 0 ;
9289
wxRichTextBox *arg2 = 0 ;
9294
PyObject * obj0 = 0 ;
9295
PyObject * obj1 = 0 ;
9296
char * kwnames[] = {
9297
(char *) "self",(char *) "obj", NULL
9300
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBox_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
9301
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBox, 0 | 0 );
9302
if (!SWIG_IsOK(res1)) {
9303
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBox_Copy" "', expected argument " "1"" of type '" "wxRichTextBox *""'");
9305
arg1 = reinterpret_cast< wxRichTextBox * >(argp1);
9306
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBox, 0 | 0);
9307
if (!SWIG_IsOK(res2)) {
9308
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBox_Copy" "', expected argument " "2"" of type '" "wxRichTextBox const &""'");
9311
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBox_Copy" "', expected argument " "2"" of type '" "wxRichTextBox const &""'");
9313
arg2 = reinterpret_cast< wxRichTextBox * >(argp2);
9315
PyThreadState* __tstate = wxPyBeginAllowThreads();
9316
(arg1)->Copy((wxRichTextBox const &)*arg2);
9317
wxPyEndAllowThreads(__tstate);
9318
if (PyErr_Occurred()) SWIG_fail;
9320
resultobj = SWIG_Py_Void();
9327
SWIGINTERN PyObject *RichTextBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9329
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9330
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextBox, SWIG_NewClientData(obj));
9331
return SWIG_Py_Void();
9334
SWIGINTERN PyObject *RichTextBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9335
return SWIG_Python_InitShadowInstance(args);
9338
SWIGINTERN PyObject *_wrap_new_RichTextParagraphLayoutBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9339
PyObject *resultobj = 0;
9340
wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
9341
wxRichTextParagraphLayoutBox *result = 0 ;
9344
PyObject * obj0 = 0 ;
9345
char * kwnames[] = {
9346
(char *) "parent", NULL
9349
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextParagraphLayoutBox",kwnames,&obj0)) SWIG_fail;
9351
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9352
if (!SWIG_IsOK(res1)) {
9353
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextParagraphLayoutBox" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
9355
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
9358
PyThreadState* __tstate = wxPyBeginAllowThreads();
9359
result = (wxRichTextParagraphLayoutBox *)new wxRichTextParagraphLayoutBox(arg1);
9360
wxPyEndAllowThreads(__tstate);
9361
if (PyErr_Occurred()) SWIG_fail;
9363
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraphLayoutBox, SWIG_POINTER_NEW | 0 );
9370
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9371
PyObject *resultobj = 0;
9372
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9373
wxRichTextCtrl *arg2 = (wxRichTextCtrl *) 0 ;
9378
PyObject * obj0 = 0 ;
9379
PyObject * obj1 = 0 ;
9380
char * kwnames[] = {
9381
(char *) "self",(char *) "ctrl", NULL
9384
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetRichTextCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
9385
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9386
if (!SWIG_IsOK(res1)) {
9387
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetRichTextCtrl" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9389
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9390
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9391
if (!SWIG_IsOK(res2)) {
9392
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetRichTextCtrl" "', expected argument " "2"" of type '" "wxRichTextCtrl *""'");
9394
arg2 = reinterpret_cast< wxRichTextCtrl * >(argp2);
9396
PyThreadState* __tstate = wxPyBeginAllowThreads();
9397
(arg1)->SetRichTextCtrl(arg2);
9398
wxPyEndAllowThreads(__tstate);
9399
if (PyErr_Occurred()) SWIG_fail;
9401
resultobj = SWIG_Py_Void();
9408
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9409
PyObject *resultobj = 0;
9410
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9411
wxRichTextCtrl *result = 0 ;
9414
PyObject *swig_obj[1] ;
9416
if (!args) SWIG_fail;
9418
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9419
if (!SWIG_IsOK(res1)) {
9420
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetRichTextCtrl" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9422
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9424
PyThreadState* __tstate = wxPyBeginAllowThreads();
9425
result = (wxRichTextCtrl *)((wxRichTextParagraphLayoutBox const *)arg1)->GetRichTextCtrl();
9426
wxPyEndAllowThreads(__tstate);
9427
if (PyErr_Occurred()) SWIG_fail;
9429
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9436
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetPartialParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9437
PyObject *resultobj = 0;
9438
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9444
PyObject * obj0 = 0 ;
9445
PyObject * obj1 = 0 ;
9446
char * kwnames[] = {
9447
(char *) "self",(char *) "partialPara", NULL
9450
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetPartialParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
9451
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9452
if (!SWIG_IsOK(res1)) {
9453
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetPartialParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9455
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9456
ecode2 = SWIG_AsVal_bool(obj1, &val2);
9457
if (!SWIG_IsOK(ecode2)) {
9458
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_SetPartialParagraph" "', expected argument " "2"" of type '" "bool""'");
9460
arg2 = static_cast< bool >(val2);
9462
PyThreadState* __tstate = wxPyBeginAllowThreads();
9463
(arg1)->SetPartialParagraph(arg2);
9464
wxPyEndAllowThreads(__tstate);
9465
if (PyErr_Occurred()) SWIG_fail;
9467
resultobj = SWIG_Py_Void();
9474
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetPartialParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9475
PyObject *resultobj = 0;
9476
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9480
PyObject *swig_obj[1] ;
9482
if (!args) SWIG_fail;
9484
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9485
if (!SWIG_IsOK(res1)) {
9486
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetPartialParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9488
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9490
PyThreadState* __tstate = wxPyBeginAllowThreads();
9491
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->GetPartialParagraph();
9492
wxPyEndAllowThreads(__tstate);
9493
if (PyErr_Occurred()) SWIG_fail;
9496
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9504
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9505
PyObject *resultobj = 0;
9506
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9507
wxRichTextStyleSheet *result = 0 ;
9510
PyObject *swig_obj[1] ;
9512
if (!args) SWIG_fail;
9514
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9515
if (!SWIG_IsOK(res1)) {
9516
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9518
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9520
PyThreadState* __tstate = wxPyBeginAllowThreads();
9521
result = (wxRichTextStyleSheet *)((wxRichTextParagraphLayoutBox const *)arg1)->GetStyleSheet();
9522
wxPyEndAllowThreads(__tstate);
9523
if (PyErr_Occurred()) SWIG_fail;
9525
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
9532
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9533
PyObject *resultobj = 0;
9534
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9537
PyObject *swig_obj[1] ;
9539
if (!args) SWIG_fail;
9541
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9542
if (!SWIG_IsOK(res1)) {
9543
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Init" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9545
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9547
PyThreadState* __tstate = wxPyBeginAllowThreads();
9549
wxPyEndAllowThreads(__tstate);
9550
if (PyErr_Occurred()) SWIG_fail;
9552
resultobj = SWIG_Py_Void();
9559
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9560
PyObject *resultobj = 0;
9561
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9564
PyObject *swig_obj[1] ;
9566
if (!args) SWIG_fail;
9568
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9569
if (!SWIG_IsOK(res1)) {
9570
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Clear" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9572
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9574
PyThreadState* __tstate = wxPyBeginAllowThreads();
9576
wxPyEndAllowThreads(__tstate);
9577
if (PyErr_Occurred()) SWIG_fail;
9579
resultobj = SWIG_Py_Void();
9586
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9587
PyObject *resultobj = 0;
9588
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9591
PyObject *swig_obj[1] ;
9593
if (!args) SWIG_fail;
9595
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9596
if (!SWIG_IsOK(res1)) {
9597
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Reset" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9599
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9601
PyThreadState* __tstate = wxPyBeginAllowThreads();
9603
wxPyEndAllowThreads(__tstate);
9604
if (PyErr_Occurred()) SWIG_fail;
9606
resultobj = SWIG_Py_Void();
9613
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9614
PyObject *resultobj = 0;
9615
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9616
wxString *arg2 = 0 ;
9617
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
9618
wxRichTextRange result;
9621
bool temp2 = false ;
9624
PyObject * obj0 = 0 ;
9625
PyObject * obj1 = 0 ;
9626
PyObject * obj2 = 0 ;
9627
char * kwnames[] = {
9628
(char *) "self",(char *) "text",(char *) "paraStyle", NULL
9631
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddParagraph",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9632
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9633
if (!SWIG_IsOK(res1)) {
9634
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9636
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9638
arg2 = wxString_in_helper(obj1);
9639
if (arg2 == NULL) SWIG_fail;
9643
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
9644
if (!SWIG_IsOK(res3)) {
9645
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddParagraph" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
9647
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
9650
PyThreadState* __tstate = wxPyBeginAllowThreads();
9651
result = (arg1)->AddParagraph((wxString const &)*arg2,arg3);
9652
wxPyEndAllowThreads(__tstate);
9653
if (PyErr_Occurred()) SWIG_fail;
9655
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9670
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9671
PyObject *resultobj = 0;
9672
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9674
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
9675
wxRichTextRange result;
9682
PyObject * obj0 = 0 ;
9683
PyObject * obj1 = 0 ;
9684
PyObject * obj2 = 0 ;
9685
char * kwnames[] = {
9686
(char *) "self",(char *) "image",(char *) "paraStyle", NULL
9689
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9690
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9691
if (!SWIG_IsOK(res1)) {
9692
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9694
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9695
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
9696
if (!SWIG_IsOK(res2)) {
9697
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9700
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9702
arg2 = reinterpret_cast< wxImage * >(argp2);
9704
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
9705
if (!SWIG_IsOK(res3)) {
9706
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
9708
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
9711
PyThreadState* __tstate = wxPyBeginAllowThreads();
9712
result = (arg1)->AddImage((wxImage const &)*arg2,arg3);
9713
wxPyEndAllowThreads(__tstate);
9714
if (PyErr_Occurred()) SWIG_fail;
9716
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9723
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddParagraphs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9724
PyObject *resultobj = 0;
9725
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9726
wxString *arg2 = 0 ;
9727
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
9728
wxRichTextRange result;
9731
bool temp2 = false ;
9734
PyObject * obj0 = 0 ;
9735
PyObject * obj1 = 0 ;
9736
PyObject * obj2 = 0 ;
9737
char * kwnames[] = {
9738
(char *) "self",(char *) "text",(char *) "paraStyle", NULL
9741
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddParagraphs",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9742
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9743
if (!SWIG_IsOK(res1)) {
9744
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddParagraphs" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9746
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9748
arg2 = wxString_in_helper(obj1);
9749
if (arg2 == NULL) SWIG_fail;
9753
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
9754
if (!SWIG_IsOK(res3)) {
9755
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddParagraphs" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
9757
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
9760
PyThreadState* __tstate = wxPyBeginAllowThreads();
9761
result = (arg1)->AddParagraphs((wxString const &)*arg2,arg3);
9762
wxPyEndAllowThreads(__tstate);
9763
if (PyErr_Occurred()) SWIG_fail;
9765
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9780
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9781
PyObject *resultobj = 0;
9782
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9784
bool arg3 = (bool) false ;
9785
wxRichTextLine *result = 0 ;
9792
PyObject * obj0 = 0 ;
9793
PyObject * obj1 = 0 ;
9794
PyObject * obj2 = 0 ;
9795
char * kwnames[] = {
9796
(char *) "self",(char *) "pos",(char *) "caretPosition", NULL
9799
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetLineAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9800
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9801
if (!SWIG_IsOK(res1)) {
9802
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9804
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9805
ecode2 = SWIG_AsVal_long(obj1, &val2);
9806
if (!SWIG_IsOK(ecode2)) {
9807
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "2"" of type '" "long""'");
9809
arg2 = static_cast< long >(val2);
9811
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9812
if (!SWIG_IsOK(ecode3)) {
9813
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "3"" of type '" "bool""'");
9815
arg3 = static_cast< bool >(val3);
9818
PyThreadState* __tstate = wxPyBeginAllowThreads();
9819
result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineAtPosition(arg2,arg3);
9820
wxPyEndAllowThreads(__tstate);
9821
if (PyErr_Occurred()) SWIG_fail;
9823
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
9830
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineAtYPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9831
PyObject *resultobj = 0;
9832
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9834
wxRichTextLine *result = 0 ;
9839
PyObject * obj0 = 0 ;
9840
PyObject * obj1 = 0 ;
9841
char * kwnames[] = {
9842
(char *) "self",(char *) "y", NULL
9845
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLineAtYPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9846
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9847
if (!SWIG_IsOK(res1)) {
9848
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineAtYPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9850
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9851
ecode2 = SWIG_AsVal_int(obj1, &val2);
9852
if (!SWIG_IsOK(ecode2)) {
9853
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineAtYPosition" "', expected argument " "2"" of type '" "int""'");
9855
arg2 = static_cast< int >(val2);
9857
PyThreadState* __tstate = wxPyBeginAllowThreads();
9858
result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineAtYPosition(arg2);
9859
wxPyEndAllowThreads(__tstate);
9860
if (PyErr_Occurred()) SWIG_fail;
9862
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
9869
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9870
PyObject *resultobj = 0;
9871
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9873
bool arg3 = (bool) false ;
9874
wxRichTextParagraph *result = 0 ;
9881
PyObject * obj0 = 0 ;
9882
PyObject * obj1 = 0 ;
9883
PyObject * obj2 = 0 ;
9884
char * kwnames[] = {
9885
(char *) "self",(char *) "pos",(char *) "caretPosition", NULL
9888
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetParagraphAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9889
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9890
if (!SWIG_IsOK(res1)) {
9891
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9893
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9894
ecode2 = SWIG_AsVal_long(obj1, &val2);
9895
if (!SWIG_IsOK(ecode2)) {
9896
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "2"" of type '" "long""'");
9898
arg2 = static_cast< long >(val2);
9900
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9901
if (!SWIG_IsOK(ecode3)) {
9902
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "3"" of type '" "bool""'");
9904
arg3 = static_cast< bool >(val3);
9907
PyThreadState* __tstate = wxPyBeginAllowThreads();
9908
result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphAtPosition(arg2,arg3);
9909
wxPyEndAllowThreads(__tstate);
9910
if (PyErr_Occurred()) SWIG_fail;
9912
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
9919
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineSizeAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9920
PyObject *resultobj = 0;
9921
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9923
bool arg3 = (bool) false ;
9931
PyObject * obj0 = 0 ;
9932
PyObject * obj1 = 0 ;
9933
PyObject * obj2 = 0 ;
9934
char * kwnames[] = {
9935
(char *) "self",(char *) "pos",(char *) "caretPosition", NULL
9938
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetLineSizeAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9939
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9940
if (!SWIG_IsOK(res1)) {
9941
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9943
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9944
ecode2 = SWIG_AsVal_long(obj1, &val2);
9945
if (!SWIG_IsOK(ecode2)) {
9946
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "2"" of type '" "long""'");
9948
arg2 = static_cast< long >(val2);
9950
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9951
if (!SWIG_IsOK(ecode3)) {
9952
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "3"" of type '" "bool""'");
9954
arg3 = static_cast< bool >(val3);
9957
PyThreadState* __tstate = wxPyBeginAllowThreads();
9958
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetLineSizeAtPosition(arg2,arg3);
9959
wxPyEndAllowThreads(__tstate);
9960
if (PyErr_Occurred()) SWIG_fail;
9962
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
9969
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetVisibleLineNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9970
PyObject *resultobj = 0;
9971
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9973
bool arg3 = (bool) false ;
9974
bool arg4 = (bool) false ;
9984
PyObject * obj0 = 0 ;
9985
PyObject * obj1 = 0 ;
9986
PyObject * obj2 = 0 ;
9987
PyObject * obj3 = 0 ;
9988
char * kwnames[] = {
9989
(char *) "self",(char *) "pos",(char *) "caretPosition",(char *) "startOfLine", NULL
9992
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextParagraphLayoutBox_GetVisibleLineNumber",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9993
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9994
if (!SWIG_IsOK(res1)) {
9995
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9997
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9998
ecode2 = SWIG_AsVal_long(obj1, &val2);
9999
if (!SWIG_IsOK(ecode2)) {
10000
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "2"" of type '" "long""'");
10002
arg2 = static_cast< long >(val2);
10004
ecode3 = SWIG_AsVal_bool(obj2, &val3);
10005
if (!SWIG_IsOK(ecode3)) {
10006
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "3"" of type '" "bool""'");
10008
arg3 = static_cast< bool >(val3);
10011
ecode4 = SWIG_AsVal_bool(obj3, &val4);
10012
if (!SWIG_IsOK(ecode4)) {
10013
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "4"" of type '" "bool""'");
10015
arg4 = static_cast< bool >(val4);
10018
PyThreadState* __tstate = wxPyBeginAllowThreads();
10019
result = (long)((wxRichTextParagraphLayoutBox const *)arg1)->GetVisibleLineNumber(arg2,arg3,arg4);
10020
wxPyEndAllowThreads(__tstate);
10021
if (PyErr_Occurred()) SWIG_fail;
10023
resultobj = SWIG_From_long(static_cast< long >(result));
10030
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineForVisibleLineNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10031
PyObject *resultobj = 0;
10032
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10034
wxRichTextLine *result = 0 ;
10039
PyObject * obj0 = 0 ;
10040
PyObject * obj1 = 0 ;
10041
char * kwnames[] = {
10042
(char *) "self",(char *) "lineNumber", NULL
10045
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLineForVisibleLineNumber",kwnames,&obj0,&obj1)) SWIG_fail;
10046
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10047
if (!SWIG_IsOK(res1)) {
10048
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineForVisibleLineNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10050
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10051
ecode2 = SWIG_AsVal_long(obj1, &val2);
10052
if (!SWIG_IsOK(ecode2)) {
10053
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineForVisibleLineNumber" "', expected argument " "2"" of type '" "long""'");
10055
arg2 = static_cast< long >(val2);
10057
PyThreadState* __tstate = wxPyBeginAllowThreads();
10058
result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineForVisibleLineNumber(arg2);
10059
wxPyEndAllowThreads(__tstate);
10060
if (PyErr_Occurred()) SWIG_fail;
10062
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
10069
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLeafObjectAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10070
PyObject *resultobj = 0;
10071
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10073
wxRichTextObject *result = 0 ;
10078
PyObject * obj0 = 0 ;
10079
PyObject * obj1 = 0 ;
10080
char * kwnames[] = {
10081
(char *) "self",(char *) "position", NULL
10084
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLeafObjectAtPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10085
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10086
if (!SWIG_IsOK(res1)) {
10087
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLeafObjectAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10089
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10090
ecode2 = SWIG_AsVal_long(obj1, &val2);
10091
if (!SWIG_IsOK(ecode2)) {
10092
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLeafObjectAtPosition" "', expected argument " "2"" of type '" "long""'");
10094
arg2 = static_cast< long >(val2);
10096
PyThreadState* __tstate = wxPyBeginAllowThreads();
10097
result = (wxRichTextObject *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLeafObjectAtPosition(arg2);
10098
wxPyEndAllowThreads(__tstate);
10099
if (PyErr_Occurred()) SWIG_fail;
10102
resultobj = wxPyMake_wxObject(result, (bool)0);
10110
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphAtLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10111
PyObject *resultobj = 0;
10112
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10114
wxRichTextParagraph *result = 0 ;
10119
PyObject * obj0 = 0 ;
10120
PyObject * obj1 = 0 ;
10121
char * kwnames[] = {
10122
(char *) "self",(char *) "paragraphNumber", NULL
10125
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphAtLine",kwnames,&obj0,&obj1)) SWIG_fail;
10126
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10127
if (!SWIG_IsOK(res1)) {
10128
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtLine" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10130
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10131
ecode2 = SWIG_AsVal_long(obj1, &val2);
10132
if (!SWIG_IsOK(ecode2)) {
10133
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtLine" "', expected argument " "2"" of type '" "long""'");
10135
arg2 = static_cast< long >(val2);
10137
PyThreadState* __tstate = wxPyBeginAllowThreads();
10138
result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphAtLine(arg2);
10139
wxPyEndAllowThreads(__tstate);
10140
if (PyErr_Occurred()) SWIG_fail;
10142
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
10149
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphForLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10150
PyObject *resultobj = 0;
10151
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10152
wxRichTextLine *arg2 = (wxRichTextLine *) 0 ;
10153
wxRichTextParagraph *result = 0 ;
10158
PyObject * obj0 = 0 ;
10159
PyObject * obj1 = 0 ;
10160
char * kwnames[] = {
10161
(char *) "self",(char *) "line", NULL
10164
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphForLine",kwnames,&obj0,&obj1)) SWIG_fail;
10165
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10166
if (!SWIG_IsOK(res1)) {
10167
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphForLine" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10169
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10170
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
10171
if (!SWIG_IsOK(res2)) {
10172
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_GetParagraphForLine" "', expected argument " "2"" of type '" "wxRichTextLine *""'");
10174
arg2 = reinterpret_cast< wxRichTextLine * >(argp2);
10176
PyThreadState* __tstate = wxPyBeginAllowThreads();
10177
result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphForLine(arg2);
10178
wxPyEndAllowThreads(__tstate);
10179
if (PyErr_Occurred()) SWIG_fail;
10181
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
10188
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10189
PyObject *resultobj = 0;
10190
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10197
PyObject * obj0 = 0 ;
10198
PyObject * obj1 = 0 ;
10199
char * kwnames[] = {
10200
(char *) "self",(char *) "paragraphNumber", NULL
10203
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphLength",kwnames,&obj0,&obj1)) SWIG_fail;
10204
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10205
if (!SWIG_IsOK(res1)) {
10206
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphLength" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10208
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10209
ecode2 = SWIG_AsVal_long(obj1, &val2);
10210
if (!SWIG_IsOK(ecode2)) {
10211
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphLength" "', expected argument " "2"" of type '" "long""'");
10213
arg2 = static_cast< long >(val2);
10215
PyThreadState* __tstate = wxPyBeginAllowThreads();
10216
result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphLength(arg2);
10217
wxPyEndAllowThreads(__tstate);
10218
if (PyErr_Occurred()) SWIG_fail;
10220
resultobj = SWIG_From_int(static_cast< int >(result));
10227
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10228
PyObject *resultobj = 0;
10229
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10233
PyObject *swig_obj[1] ;
10235
if (!args) SWIG_fail;
10236
swig_obj[0] = args;
10237
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10238
if (!SWIG_IsOK(res1)) {
10239
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphCount" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10241
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10243
PyThreadState* __tstate = wxPyBeginAllowThreads();
10244
result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphCount();
10245
wxPyEndAllowThreads(__tstate);
10246
if (PyErr_Occurred()) SWIG_fail;
10248
resultobj = SWIG_From_int(static_cast< int >(result));
10255
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10256
PyObject *resultobj = 0;
10257
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10261
PyObject *swig_obj[1] ;
10263
if (!args) SWIG_fail;
10264
swig_obj[0] = args;
10265
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10266
if (!SWIG_IsOK(res1)) {
10267
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineCount" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10269
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10271
PyThreadState* __tstate = wxPyBeginAllowThreads();
10272
result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineCount();
10273
wxPyEndAllowThreads(__tstate);
10274
if (PyErr_Occurred()) SWIG_fail;
10276
resultobj = SWIG_From_int(static_cast< int >(result));
10283
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10284
PyObject *resultobj = 0;
10285
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10292
PyObject * obj0 = 0 ;
10293
PyObject * obj1 = 0 ;
10294
char * kwnames[] = {
10295
(char *) "self",(char *) "paragraphNumber", NULL
10298
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphText",kwnames,&obj0,&obj1)) SWIG_fail;
10299
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10300
if (!SWIG_IsOK(res1)) {
10301
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphText" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10303
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10304
ecode2 = SWIG_AsVal_long(obj1, &val2);
10305
if (!SWIG_IsOK(ecode2)) {
10306
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphText" "', expected argument " "2"" of type '" "long""'");
10308
arg2 = static_cast< long >(val2);
10310
PyThreadState* __tstate = wxPyBeginAllowThreads();
10311
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphText(arg2);
10312
wxPyEndAllowThreads(__tstate);
10313
if (PyErr_Occurred()) SWIG_fail;
10317
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10319
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10328
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10329
PyObject *resultobj = 0;
10330
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10340
PyObject * obj0 = 0 ;
10341
PyObject * obj1 = 0 ;
10342
PyObject * obj2 = 0 ;
10343
char * kwnames[] = {
10344
(char *) "self",(char *) "x",(char *) "y", NULL
10347
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10348
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10349
if (!SWIG_IsOK(res1)) {
10350
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10352
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10353
ecode2 = SWIG_AsVal_long(obj1, &val2);
10354
if (!SWIG_IsOK(ecode2)) {
10355
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "2"" of type '" "long""'");
10357
arg2 = static_cast< long >(val2);
10358
ecode3 = SWIG_AsVal_long(obj2, &val3);
10359
if (!SWIG_IsOK(ecode3)) {
10360
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "3"" of type '" "long""'");
10362
arg3 = static_cast< long >(val3);
10364
PyThreadState* __tstate = wxPyBeginAllowThreads();
10365
result = (long)((wxRichTextParagraphLayoutBox const *)arg1)->XYToPosition(arg2,arg3);
10366
wxPyEndAllowThreads(__tstate);
10367
if (PyErr_Occurred()) SWIG_fail;
10369
resultobj = SWIG_From_long(static_cast< long >(result));
10376
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10377
PyObject *resultobj = 0;
10378
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10380
long *arg3 = (long *) 0 ;
10381
long *arg4 = (long *) 0 ;
10391
PyObject * obj0 = 0 ;
10392
PyObject * obj1 = 0 ;
10393
PyObject * obj2 = 0 ;
10394
PyObject * obj3 = 0 ;
10395
char * kwnames[] = {
10396
(char *) "self",(char *) "pos",(char *) "x",(char *) "y", NULL
10399
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextParagraphLayoutBox_PositionToXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10400
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10401
if (!SWIG_IsOK(res1)) {
10402
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10404
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10405
ecode2 = SWIG_AsVal_long(obj1, &val2);
10406
if (!SWIG_IsOK(ecode2)) {
10407
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "2"" of type '" "long""'");
10409
arg2 = static_cast< long >(val2);
10410
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long, 0 | 0 );
10411
if (!SWIG_IsOK(res3)) {
10412
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "3"" of type '" "long *""'");
10414
arg3 = reinterpret_cast< long * >(argp3);
10415
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long, 0 | 0 );
10416
if (!SWIG_IsOK(res4)) {
10417
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "4"" of type '" "long *""'");
10419
arg4 = reinterpret_cast< long * >(argp4);
10421
PyThreadState* __tstate = wxPyBeginAllowThreads();
10422
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->PositionToXY(arg2,arg3,arg4);
10423
wxPyEndAllowThreads(__tstate);
10424
if (PyErr_Occurred()) SWIG_fail;
10427
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10435
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10436
PyObject *resultobj = 0;
10437
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10438
wxRichTextRange *arg2 = 0 ;
10439
wxTextAttrEx *arg3 = 0 ;
10440
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10444
wxRichTextRange temp2 ;
10449
PyObject * obj0 = 0 ;
10450
PyObject * obj1 = 0 ;
10451
PyObject * obj2 = 0 ;
10452
PyObject * obj3 = 0 ;
10453
char * kwnames[] = {
10454
(char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL
10457
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextParagraphLayoutBox_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10458
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10459
if (!SWIG_IsOK(res1)) {
10460
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10462
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10465
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10467
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
10468
if (!SWIG_IsOK(res3)) {
10469
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10472
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10474
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10476
ecode4 = SWIG_AsVal_int(obj3, &val4);
10477
if (!SWIG_IsOK(ecode4)) {
10478
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "4"" of type '" "int""'");
10480
arg4 = static_cast< int >(val4);
10483
PyThreadState* __tstate = wxPyBeginAllowThreads();
10484
result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3,arg4);
10485
wxPyEndAllowThreads(__tstate);
10486
if (PyErr_Occurred()) SWIG_fail;
10489
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10497
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10498
PyObject *resultobj = 0;
10499
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10501
wxTextAttrEx *arg3 = 0 ;
10509
PyObject * obj0 = 0 ;
10510
PyObject * obj1 = 0 ;
10511
PyObject * obj2 = 0 ;
10512
char * kwnames[] = {
10513
(char *) "self",(char *) "position",(char *) "style", NULL
10516
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10517
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10518
if (!SWIG_IsOK(res1)) {
10519
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10521
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10522
ecode2 = SWIG_AsVal_long(obj1, &val2);
10523
if (!SWIG_IsOK(ecode2)) {
10524
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "2"" of type '" "long""'");
10526
arg2 = static_cast< long >(val2);
10527
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10528
if (!SWIG_IsOK(res3)) {
10529
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10532
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10534
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10536
PyThreadState* __tstate = wxPyBeginAllowThreads();
10537
result = (bool)(arg1)->GetStyle(arg2,*arg3);
10538
wxPyEndAllowThreads(__tstate);
10539
if (PyErr_Occurred()) SWIG_fail;
10542
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10550
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetUncombinedStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10551
PyObject *resultobj = 0;
10552
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10554
wxTextAttrEx *arg3 = 0 ;
10562
PyObject * obj0 = 0 ;
10563
PyObject * obj1 = 0 ;
10564
PyObject * obj2 = 0 ;
10565
char * kwnames[] = {
10566
(char *) "self",(char *) "position",(char *) "style", NULL
10569
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetUncombinedStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10570
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10571
if (!SWIG_IsOK(res1)) {
10572
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10574
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10575
ecode2 = SWIG_AsVal_long(obj1, &val2);
10576
if (!SWIG_IsOK(ecode2)) {
10577
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
10579
arg2 = static_cast< long >(val2);
10580
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10581
if (!SWIG_IsOK(res3)) {
10582
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10585
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10587
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10589
PyThreadState* __tstate = wxPyBeginAllowThreads();
10590
result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3);
10591
wxPyEndAllowThreads(__tstate);
10592
if (PyErr_Occurred()) SWIG_fail;
10595
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10603
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyleForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10604
PyObject *resultobj = 0;
10605
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10606
wxRichTextRange *arg2 = 0 ;
10607
wxTextAttrEx *arg3 = 0 ;
10611
wxRichTextRange temp2 ;
10614
PyObject * obj0 = 0 ;
10615
PyObject * obj1 = 0 ;
10616
PyObject * obj2 = 0 ;
10617
char * kwnames[] = {
10618
(char *) "self",(char *) "range",(char *) "style", NULL
10621
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetStyleForRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10622
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10623
if (!SWIG_IsOK(res1)) {
10624
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10626
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10629
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10631
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10632
if (!SWIG_IsOK(res3)) {
10633
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10636
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10638
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10640
PyThreadState* __tstate = wxPyBeginAllowThreads();
10641
result = (bool)(arg1)->GetStyleForRange((wxRichTextRange const &)*arg2,*arg3);
10642
wxPyEndAllowThreads(__tstate);
10643
if (PyErr_Occurred()) SWIG_fail;
10646
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10654
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_CollectStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10655
PyObject *resultobj = 0;
10656
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10657
wxTextAttrEx *arg2 = 0 ;
10658
wxTextAttrEx *arg3 = 0 ;
10672
PyObject * obj0 = 0 ;
10673
PyObject * obj1 = 0 ;
10674
PyObject * obj2 = 0 ;
10675
PyObject * obj3 = 0 ;
10676
PyObject * obj4 = 0 ;
10677
char * kwnames[] = {
10678
(char *) "self",(char *) "currentStyle",(char *) "style",(char *) "multipleStyleAttributes",(char *) "multipleTextEffectAttributes", NULL
10681
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextParagraphLayoutBox_CollectStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10682
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10683
if (!SWIG_IsOK(res1)) {
10684
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10686
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10687
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 );
10688
if (!SWIG_IsOK(res2)) {
10689
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "2"" of type '" "wxTextAttrEx &""'");
10692
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "2"" of type '" "wxTextAttrEx &""'");
10694
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
10695
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
10696
if (!SWIG_IsOK(res3)) {
10697
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10700
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10702
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10703
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_long, 0 );
10704
if (!SWIG_IsOK(res4)) {
10705
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "4"" of type '" "long &""'");
10708
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "4"" of type '" "long &""'");
10710
arg4 = reinterpret_cast< long * >(argp4);
10711
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 );
10712
if (!SWIG_IsOK(res5)) {
10713
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "5"" of type '" "int &""'");
10716
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "5"" of type '" "int &""'");
10718
arg5 = reinterpret_cast< int * >(argp5);
10720
PyThreadState* __tstate = wxPyBeginAllowThreads();
10721
result = (bool)(arg1)->CollectStyle(*arg2,(wxTextAttrEx const &)*arg3,*arg4,*arg5);
10722
wxPyEndAllowThreads(__tstate);
10723
if (PyErr_Occurred()) SWIG_fail;
10726
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10734
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10735
PyObject *resultobj = 0;
10736
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10737
wxRichTextRange *arg2 = 0 ;
10738
wxString *arg3 = 0 ;
10739
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10740
int arg5 = (int) 1 ;
10741
int arg6 = (int) -1 ;
10745
wxRichTextRange temp2 ;
10746
bool temp3 = false ;
10753
PyObject * obj0 = 0 ;
10754
PyObject * obj1 = 0 ;
10755
PyObject * obj2 = 0 ;
10756
PyObject * obj3 = 0 ;
10757
PyObject * obj4 = 0 ;
10758
PyObject * obj5 = 0 ;
10759
char * kwnames[] = {
10760
(char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
10763
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextParagraphLayoutBox_SetListStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10764
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10765
if (!SWIG_IsOK(res1)) {
10766
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10768
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10771
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10774
arg3 = wxString_in_helper(obj2);
10775
if (arg3 == NULL) SWIG_fail;
10779
ecode4 = SWIG_AsVal_int(obj3, &val4);
10780
if (!SWIG_IsOK(ecode4)) {
10781
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "4"" of type '" "int""'");
10783
arg4 = static_cast< int >(val4);
10786
ecode5 = SWIG_AsVal_int(obj4, &val5);
10787
if (!SWIG_IsOK(ecode5)) {
10788
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "5"" of type '" "int""'");
10790
arg5 = static_cast< int >(val5);
10793
ecode6 = SWIG_AsVal_int(obj5, &val6);
10794
if (!SWIG_IsOK(ecode6)) {
10795
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "6"" of type '" "int""'");
10797
arg6 = static_cast< int >(val6);
10800
PyThreadState* __tstate = wxPyBeginAllowThreads();
10801
result = (bool)(arg1)->SetListStyle((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
10802
wxPyEndAllowThreads(__tstate);
10803
if (PyErr_Occurred()) SWIG_fail;
10806
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10822
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_ClearListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10823
PyObject *resultobj = 0;
10824
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10825
wxRichTextRange *arg2 = 0 ;
10826
int arg3 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10830
wxRichTextRange temp2 ;
10833
PyObject * obj0 = 0 ;
10834
PyObject * obj1 = 0 ;
10835
PyObject * obj2 = 0 ;
10836
char * kwnames[] = {
10837
(char *) "self",(char *) "range",(char *) "flags", NULL
10840
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_ClearListStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10841
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10842
if (!SWIG_IsOK(res1)) {
10843
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_ClearListStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10845
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10848
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10851
ecode3 = SWIG_AsVal_int(obj2, &val3);
10852
if (!SWIG_IsOK(ecode3)) {
10853
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_ClearListStyle" "', expected argument " "3"" of type '" "int""'");
10855
arg3 = static_cast< int >(val3);
10858
PyThreadState* __tstate = wxPyBeginAllowThreads();
10859
result = (bool)(arg1)->ClearListStyle((wxRichTextRange const &)*arg2,arg3);
10860
wxPyEndAllowThreads(__tstate);
10861
if (PyErr_Occurred()) SWIG_fail;
10864
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10872
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_NumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10873
PyObject *resultobj = 0;
10874
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10875
wxRichTextRange *arg2 = 0 ;
10876
wxString *arg3 = 0 ;
10877
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10878
int arg5 = (int) 1 ;
10879
int arg6 = (int) -1 ;
10883
wxRichTextRange temp2 ;
10884
bool temp3 = false ;
10891
PyObject * obj0 = 0 ;
10892
PyObject * obj1 = 0 ;
10893
PyObject * obj2 = 0 ;
10894
PyObject * obj3 = 0 ;
10895
PyObject * obj4 = 0 ;
10896
PyObject * obj5 = 0 ;
10897
char * kwnames[] = {
10898
(char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
10901
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextParagraphLayoutBox_NumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10902
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10903
if (!SWIG_IsOK(res1)) {
10904
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10906
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10909
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10912
arg3 = wxString_in_helper(obj2);
10913
if (arg3 == NULL) SWIG_fail;
10917
ecode4 = SWIG_AsVal_int(obj3, &val4);
10918
if (!SWIG_IsOK(ecode4)) {
10919
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "4"" of type '" "int""'");
10921
arg4 = static_cast< int >(val4);
10924
ecode5 = SWIG_AsVal_int(obj4, &val5);
10925
if (!SWIG_IsOK(ecode5)) {
10926
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "5"" of type '" "int""'");
10928
arg5 = static_cast< int >(val5);
10931
ecode6 = SWIG_AsVal_int(obj5, &val6);
10932
if (!SWIG_IsOK(ecode6)) {
10933
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "6"" of type '" "int""'");
10935
arg6 = static_cast< int >(val6);
10938
PyThreadState* __tstate = wxPyBeginAllowThreads();
10939
result = (bool)(arg1)->NumberList((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
10940
wxPyEndAllowThreads(__tstate);
10941
if (PyErr_Occurred()) SWIG_fail;
10944
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10960
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_PromoteList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10961
PyObject *resultobj = 0;
10962
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10964
wxRichTextRange *arg3 = 0 ;
10965
wxString *arg4 = 0 ;
10966
int arg5 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10967
int arg6 = (int) -1 ;
10973
wxRichTextRange temp3 ;
10974
bool temp4 = false ;
10979
PyObject * obj0 = 0 ;
10980
PyObject * obj1 = 0 ;
10981
PyObject * obj2 = 0 ;
10982
PyObject * obj3 = 0 ;
10983
PyObject * obj4 = 0 ;
10984
PyObject * obj5 = 0 ;
10985
char * kwnames[] = {
10986
(char *) "self",(char *) "promoteBy",(char *) "range",(char *) "defName",(char *) "flags",(char *) "specifiedLevel", NULL
10989
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:RichTextParagraphLayoutBox_PromoteList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10990
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10991
if (!SWIG_IsOK(res1)) {
10992
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10994
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10995
ecode2 = SWIG_AsVal_int(obj1, &val2);
10996
if (!SWIG_IsOK(ecode2)) {
10997
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "2"" of type '" "int""'");
10999
arg2 = static_cast< int >(val2);
11002
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
11005
arg4 = wxString_in_helper(obj3);
11006
if (arg4 == NULL) SWIG_fail;
11010
ecode5 = SWIG_AsVal_int(obj4, &val5);
11011
if (!SWIG_IsOK(ecode5)) {
11012
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "5"" of type '" "int""'");
11014
arg5 = static_cast< int >(val5);
11017
ecode6 = SWIG_AsVal_int(obj5, &val6);
11018
if (!SWIG_IsOK(ecode6)) {
11019
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "6"" of type '" "int""'");
11021
arg6 = static_cast< int >(val6);
11024
PyThreadState* __tstate = wxPyBeginAllowThreads();
11025
result = (bool)(arg1)->PromoteList(arg2,(wxRichTextRange const &)*arg3,(wxString const &)*arg4,arg5,arg6);
11026
wxPyEndAllowThreads(__tstate);
11027
if (PyErr_Occurred()) SWIG_fail;
11030
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11046
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_DoNumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11047
PyObject *resultobj = 0;
11048
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11049
wxRichTextRange *arg2 = 0 ;
11050
wxRichTextRange *arg3 = 0 ;
11052
wxRichTextListStyleDefinition *arg5 = (wxRichTextListStyleDefinition *) 0 ;
11053
int arg6 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
11054
int arg7 = (int) 1 ;
11055
int arg8 = (int) -1 ;
11059
wxRichTextRange temp2 ;
11060
wxRichTextRange temp3 ;
11071
PyObject * obj0 = 0 ;
11072
PyObject * obj1 = 0 ;
11073
PyObject * obj2 = 0 ;
11074
PyObject * obj3 = 0 ;
11075
PyObject * obj4 = 0 ;
11076
PyObject * obj5 = 0 ;
11077
PyObject * obj6 = 0 ;
11078
PyObject * obj7 = 0 ;
11079
char * kwnames[] = {
11080
(char *) "self",(char *) "range",(char *) "promotionRange",(char *) "promoteBy",(char *) "def",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
11083
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:RichTextParagraphLayoutBox_DoNumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11084
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11085
if (!SWIG_IsOK(res1)) {
11086
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11088
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11091
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11095
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
11097
ecode4 = SWIG_AsVal_int(obj3, &val4);
11098
if (!SWIG_IsOK(ecode4)) {
11099
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "4"" of type '" "int""'");
11101
arg4 = static_cast< int >(val4);
11102
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRichTextListStyleDefinition, 0 | 0 );
11103
if (!SWIG_IsOK(res5)) {
11104
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "5"" of type '" "wxRichTextListStyleDefinition *""'");
11106
arg5 = reinterpret_cast< wxRichTextListStyleDefinition * >(argp5);
11108
ecode6 = SWIG_AsVal_int(obj5, &val6);
11109
if (!SWIG_IsOK(ecode6)) {
11110
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "6"" of type '" "int""'");
11112
arg6 = static_cast< int >(val6);
11115
ecode7 = SWIG_AsVal_int(obj6, &val7);
11116
if (!SWIG_IsOK(ecode7)) {
11117
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "7"" of type '" "int""'");
11119
arg7 = static_cast< int >(val7);
11122
ecode8 = SWIG_AsVal_int(obj7, &val8);
11123
if (!SWIG_IsOK(ecode8)) {
11124
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "8"" of type '" "int""'");
11126
arg8 = static_cast< int >(val8);
11129
PyThreadState* __tstate = wxPyBeginAllowThreads();
11130
result = (bool)(arg1)->DoNumberList((wxRichTextRange const &)*arg2,(wxRichTextRange const &)*arg3,arg4,arg5,arg6,arg7,arg8);
11131
wxPyEndAllowThreads(__tstate);
11132
if (PyErr_Occurred()) SWIG_fail;
11135
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11143
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_FindNextParagraphNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11144
PyObject *resultobj = 0;
11145
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11146
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
11147
wxTextAttrEx *arg3 = 0 ;
11155
PyObject * obj0 = 0 ;
11156
PyObject * obj1 = 0 ;
11157
PyObject * obj2 = 0 ;
11158
char * kwnames[] = {
11159
(char *) "self",(char *) "previousParagraph",(char *) "attr", NULL
11162
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_FindNextParagraphNumber",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11163
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11164
if (!SWIG_IsOK(res1)) {
11165
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11167
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11168
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
11169
if (!SWIG_IsOK(res2)) {
11170
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
11172
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
11173
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
11174
if (!SWIG_IsOK(res3)) {
11175
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
11178
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
11180
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
11182
PyThreadState* __tstate = wxPyBeginAllowThreads();
11183
result = (bool)wxRichTextParagraphLayoutBox_FindNextParagraphNumber((wxRichTextParagraphLayoutBox const *)arg1,arg2,*arg3);
11184
wxPyEndAllowThreads(__tstate);
11185
if (PyErr_Occurred()) SWIG_fail;
11188
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11197
PyObject *resultobj = 0;
11198
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11199
wxRichTextRange *arg2 = 0 ;
11200
wxTextAttrEx *arg3 = 0 ;
11204
wxRichTextRange temp2 ;
11207
PyObject * obj0 = 0 ;
11208
PyObject * obj1 = 0 ;
11209
PyObject * obj2 = 0 ;
11210
char * kwnames[] = {
11211
(char *) "self",(char *) "range",(char *) "style", NULL
11214
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11215
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11216
if (!SWIG_IsOK(res1)) {
11217
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11219
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11222
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11224
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11225
if (!SWIG_IsOK(res3)) {
11226
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
11229
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
11231
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
11233
PyThreadState* __tstate = wxPyBeginAllowThreads();
11234
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
11235
wxPyEndAllowThreads(__tstate);
11236
if (PyErr_Occurred()) SWIG_fail;
11239
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11247
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11248
PyObject *resultobj = 0;
11249
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11250
wxRichTextRange *arg2 = 0 ;
11251
wxTextAttrEx *arg3 = 0 ;
11255
wxRichTextRange temp2 ;
11258
PyObject * obj0 = 0 ;
11259
PyObject * obj1 = 0 ;
11260
PyObject * obj2 = 0 ;
11261
char * kwnames[] = {
11262
(char *) "self",(char *) "range",(char *) "style", NULL
11265
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11266
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11267
if (!SWIG_IsOK(res1)) {
11268
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11270
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11273
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11275
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11276
if (!SWIG_IsOK(res3)) {
11277
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
11280
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
11282
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
11284
PyThreadState* __tstate = wxPyBeginAllowThreads();
11285
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
11286
wxPyEndAllowThreads(__tstate);
11287
if (PyErr_Occurred()) SWIG_fail;
11290
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11298
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_InsertFragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11299
PyObject *resultobj = 0;
11300
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11302
wxRichTextParagraphLayoutBox *arg3 = 0 ;
11310
PyObject * obj0 = 0 ;
11311
PyObject * obj1 = 0 ;
11312
PyObject * obj2 = 0 ;
11313
char * kwnames[] = {
11314
(char *) "self",(char *) "position",(char *) "fragment", NULL
11317
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_InsertFragment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11318
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11319
if (!SWIG_IsOK(res1)) {
11320
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11322
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11323
ecode2 = SWIG_AsVal_long(obj1, &val2);
11324
if (!SWIG_IsOK(ecode2)) {
11325
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "2"" of type '" "long""'");
11327
arg2 = static_cast< long >(val2);
11328
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 );
11329
if (!SWIG_IsOK(res3)) {
11330
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11333
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11335
arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
11337
PyThreadState* __tstate = wxPyBeginAllowThreads();
11338
result = (bool)(arg1)->InsertFragment(arg2,*arg3);
11339
wxPyEndAllowThreads(__tstate);
11340
if (PyErr_Occurred()) SWIG_fail;
11343
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11351
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_CopyFragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11352
PyObject *resultobj = 0;
11353
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11354
wxRichTextRange *arg2 = 0 ;
11355
wxRichTextParagraphLayoutBox *arg3 = 0 ;
11359
wxRichTextRange temp2 ;
11362
PyObject * obj0 = 0 ;
11363
PyObject * obj1 = 0 ;
11364
PyObject * obj2 = 0 ;
11365
char * kwnames[] = {
11366
(char *) "self",(char *) "range",(char *) "fragment", NULL
11369
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_CopyFragment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11370
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11371
if (!SWIG_IsOK(res1)) {
11372
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11374
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11377
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11379
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 );
11380
if (!SWIG_IsOK(res3)) {
11381
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11384
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11386
arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
11388
PyThreadState* __tstate = wxPyBeginAllowThreads();
11389
result = (bool)(arg1)->CopyFragment((wxRichTextRange const &)*arg2,*arg3);
11390
wxPyEndAllowThreads(__tstate);
11391
if (PyErr_Occurred()) SWIG_fail;
11394
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11402
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11403
PyObject *resultobj = 0;
11404
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11405
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
11411
PyObject * obj0 = 0 ;
11412
PyObject * obj1 = 0 ;
11413
char * kwnames[] = {
11414
(char *) "self",(char *) "styleSheet", NULL
11417
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_ApplyStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
11418
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11419
if (!SWIG_IsOK(res1)) {
11420
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11422
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11423
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11424
if (!SWIG_IsOK(res2)) {
11425
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11427
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
11429
PyThreadState* __tstate = wxPyBeginAllowThreads();
11430
result = (bool)(arg1)->ApplyStyleSheet(arg2);
11431
wxPyEndAllowThreads(__tstate);
11432
if (PyErr_Occurred()) SWIG_fail;
11435
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11443
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11444
PyObject *resultobj = 0;
11445
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11446
wxRichTextParagraphLayoutBox *arg2 = 0 ;
11451
PyObject * obj0 = 0 ;
11452
PyObject * obj1 = 0 ;
11453
char * kwnames[] = {
11454
(char *) "self",(char *) "obj", NULL
11457
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
11458
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11459
if (!SWIG_IsOK(res1)) {
11460
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11462
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11463
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0);
11464
if (!SWIG_IsOK(res2)) {
11465
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraphLayoutBox const &""'");
11468
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraphLayoutBox const &""'");
11470
arg2 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp2);
11472
PyThreadState* __tstate = wxPyBeginAllowThreads();
11473
(arg1)->Copy((wxRichTextParagraphLayoutBox const &)*arg2);
11474
wxPyEndAllowThreads(__tstate);
11475
if (PyErr_Occurred()) SWIG_fail;
11477
resultobj = SWIG_Py_Void();
11484
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_UpdateRanges(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11485
PyObject *resultobj = 0;
11486
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11489
PyObject *swig_obj[1] ;
11491
if (!args) SWIG_fail;
11492
swig_obj[0] = args;
11493
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11494
if (!SWIG_IsOK(res1)) {
11495
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_UpdateRanges" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11497
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11499
PyThreadState* __tstate = wxPyBeginAllowThreads();
11500
(arg1)->UpdateRanges();
11501
wxPyEndAllowThreads(__tstate);
11502
if (PyErr_Occurred()) SWIG_fail;
11504
resultobj = SWIG_Py_Void();
11511
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11512
PyObject *resultobj = 0;
11513
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11517
PyObject *swig_obj[1] ;
11519
if (!args) SWIG_fail;
11520
swig_obj[0] = args;
11521
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11522
if (!SWIG_IsOK(res1)) {
11523
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetText" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11525
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11527
PyThreadState* __tstate = wxPyBeginAllowThreads();
11528
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetText();
11529
wxPyEndAllowThreads(__tstate);
11530
if (PyErr_Occurred()) SWIG_fail;
11534
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11536
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11545
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11546
PyObject *resultobj = 0;
11547
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11548
wxTextAttrEx *arg2 = 0 ;
11554
PyObject * obj0 = 0 ;
11555
PyObject * obj1 = 0 ;
11556
char * kwnames[] = {
11557
(char *) "self",(char *) "style", NULL
11560
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11561
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11562
if (!SWIG_IsOK(res1)) {
11563
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11565
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11566
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11567
if (!SWIG_IsOK(res2)) {
11568
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11571
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11573
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
11575
PyThreadState* __tstate = wxPyBeginAllowThreads();
11576
result = (bool)(arg1)->SetDefaultStyle((wxTextAttrEx const &)*arg2);
11577
wxPyEndAllowThreads(__tstate);
11578
if (PyErr_Occurred()) SWIG_fail;
11581
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11589
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11590
PyObject *resultobj = 0;
11591
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11592
wxTextAttrEx *result = 0 ;
11595
PyObject *swig_obj[1] ;
11597
if (!args) SWIG_fail;
11598
swig_obj[0] = args;
11599
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11600
if (!SWIG_IsOK(res1)) {
11601
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11603
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11605
PyThreadState* __tstate = wxPyBeginAllowThreads();
11607
wxTextAttrEx const &_result_ref = ((wxRichTextParagraphLayoutBox const *)arg1)->GetDefaultStyle();
11608
result = (wxTextAttrEx *) &_result_ref;
11610
wxPyEndAllowThreads(__tstate);
11611
if (PyErr_Occurred()) SWIG_fail;
11613
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
11620
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11621
PyObject *resultobj = 0;
11622
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11623
wxTextAttrEx *arg2 = 0 ;
11628
PyObject * obj0 = 0 ;
11629
PyObject * obj1 = 0 ;
11630
char * kwnames[] = {
11631
(char *) "self",(char *) "style", NULL
11634
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11635
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11636
if (!SWIG_IsOK(res1)) {
11637
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11639
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11640
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11641
if (!SWIG_IsOK(res2)) {
11642
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11645
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11647
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
11649
PyThreadState* __tstate = wxPyBeginAllowThreads();
11650
(arg1)->SetBasicStyle((wxTextAttrEx const &)*arg2);
11651
wxPyEndAllowThreads(__tstate);
11652
if (PyErr_Occurred()) SWIG_fail;
11654
resultobj = SWIG_Py_Void();
11661
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11662
PyObject *resultobj = 0;
11663
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11664
wxTextAttrEx *result = 0 ;
11667
PyObject *swig_obj[1] ;
11669
if (!args) SWIG_fail;
11670
swig_obj[0] = args;
11671
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11672
if (!SWIG_IsOK(res1)) {
11673
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11675
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11677
PyThreadState* __tstate = wxPyBeginAllowThreads();
11679
wxTextAttrEx const &_result_ref = ((wxRichTextParagraphLayoutBox const *)arg1)->GetBasicStyle();
11680
result = (wxTextAttrEx *) &_result_ref;
11682
wxPyEndAllowThreads(__tstate);
11683
if (PyErr_Occurred()) SWIG_fail;
11685
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
11692
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11693
PyObject *resultobj = 0;
11694
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11695
wxRichTextRange const &arg2_defvalue = wxRICHTEXT_ALL ;
11696
wxRichTextRange *arg2 = (wxRichTextRange *) &arg2_defvalue ;
11699
wxRichTextRange temp2 ;
11700
PyObject * obj0 = 0 ;
11701
PyObject * obj1 = 0 ;
11702
char * kwnames[] = {
11703
(char *) "self",(char *) "invalidRange", NULL
11706
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraphLayoutBox_Invalidate",kwnames,&obj0,&obj1)) SWIG_fail;
11707
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11708
if (!SWIG_IsOK(res1)) {
11709
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Invalidate" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11711
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11715
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11719
PyThreadState* __tstate = wxPyBeginAllowThreads();
11720
(arg1)->Invalidate((wxRichTextRange const &)*arg2);
11721
wxPyEndAllowThreads(__tstate);
11722
if (PyErr_Occurred()) SWIG_fail;
11724
resultobj = SWIG_Py_Void();
11731
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetInvalidRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11732
PyObject *resultobj = 0;
11733
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11734
bool arg2 = (bool) false ;
11735
wxRichTextRange result;
11740
PyObject * obj0 = 0 ;
11741
PyObject * obj1 = 0 ;
11742
char * kwnames[] = {
11743
(char *) "self",(char *) "wholeParagraphs", NULL
11746
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraphLayoutBox_GetInvalidRange",kwnames,&obj0,&obj1)) SWIG_fail;
11747
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11748
if (!SWIG_IsOK(res1)) {
11749
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetInvalidRange" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11751
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11753
ecode2 = SWIG_AsVal_bool(obj1, &val2);
11754
if (!SWIG_IsOK(ecode2)) {
11755
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetInvalidRange" "', expected argument " "2"" of type '" "bool""'");
11757
arg2 = static_cast< bool >(val2);
11760
PyThreadState* __tstate = wxPyBeginAllowThreads();
11761
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetInvalidRange(arg2);
11762
wxPyEndAllowThreads(__tstate);
11763
if (PyErr_Occurred()) SWIG_fail;
11765
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
11772
SWIGINTERN PyObject *RichTextParagraphLayoutBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11774
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11775
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextParagraphLayoutBox, SWIG_NewClientData(obj));
11776
return SWIG_Py_Void();
11779
SWIGINTERN PyObject *RichTextParagraphLayoutBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11780
return SWIG_Python_InitShadowInstance(args);
11783
SWIGINTERN PyObject *_wrap_new_RichTextLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11784
PyObject *resultobj = 0;
11785
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
11786
wxRichTextLine *result = 0 ;
11789
PyObject * obj0 = 0 ;
11790
char * kwnames[] = {
11791
(char *) "parent", NULL
11794
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RichTextLine",kwnames,&obj0)) SWIG_fail;
11795
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
11796
if (!SWIG_IsOK(res1)) {
11797
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextLine" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
11799
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
11801
PyThreadState* __tstate = wxPyBeginAllowThreads();
11802
result = (wxRichTextLine *)new wxRichTextLine(arg1);
11803
wxPyEndAllowThreads(__tstate);
11804
if (PyErr_Occurred()) SWIG_fail;
11806
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, SWIG_POINTER_NEW | 0 );
11813
SWIGINTERN PyObject *_wrap_delete_RichTextLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11814
PyObject *resultobj = 0;
11815
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11818
PyObject *swig_obj[1] ;
11820
if (!args) SWIG_fail;
11821
swig_obj[0] = args;
11822
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, SWIG_POINTER_DISOWN | 0 );
11823
if (!SWIG_IsOK(res1)) {
11824
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextLine" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11826
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11828
PyThreadState* __tstate = wxPyBeginAllowThreads();
11831
wxPyEndAllowThreads(__tstate);
11832
if (PyErr_Occurred()) SWIG_fail;
11834
resultobj = SWIG_Py_Void();
11841
SWIGINTERN PyObject *_wrap_RichTextLine_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11842
PyObject *resultobj = 0;
11843
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11844
wxRichTextRange *arg2 = 0 ;
11847
wxRichTextRange temp2 ;
11848
PyObject * obj0 = 0 ;
11849
PyObject * obj1 = 0 ;
11850
char * kwnames[] = {
11851
(char *) "self",(char *) "range", NULL
11854
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
11855
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11856
if (!SWIG_IsOK(res1)) {
11857
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetRange" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11859
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11862
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11865
PyThreadState* __tstate = wxPyBeginAllowThreads();
11866
(arg1)->SetRange((wxRichTextRange const &)*arg2);
11867
wxPyEndAllowThreads(__tstate);
11868
if (PyErr_Occurred()) SWIG_fail;
11870
resultobj = SWIG_Py_Void();
11877
SWIGINTERN PyObject *_wrap_RichTextLine_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11878
PyObject *resultobj = 0;
11879
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11880
wxRichTextParagraph *result = 0 ;
11883
PyObject *swig_obj[1] ;
11885
if (!args) SWIG_fail;
11886
swig_obj[0] = args;
11887
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11888
if (!SWIG_IsOK(res1)) {
11889
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetParent" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11891
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11893
PyThreadState* __tstate = wxPyBeginAllowThreads();
11894
result = (wxRichTextParagraph *)(arg1)->GetParent();
11895
wxPyEndAllowThreads(__tstate);
11896
if (PyErr_Occurred()) SWIG_fail;
11898
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
11905
SWIGINTERN PyObject *_wrap_RichTextLine_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11906
PyObject *resultobj = 0;
11907
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11908
wxRichTextRange result;
11911
PyObject *swig_obj[1] ;
11913
if (!args) SWIG_fail;
11914
swig_obj[0] = args;
11915
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11916
if (!SWIG_IsOK(res1)) {
11917
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetRange" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11919
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11921
PyThreadState* __tstate = wxPyBeginAllowThreads();
11922
result = (arg1)->GetRange();
11923
wxPyEndAllowThreads(__tstate);
11924
if (PyErr_Occurred()) SWIG_fail;
11926
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
11933
SWIGINTERN PyObject *_wrap_RichTextLine_GetAbsoluteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11934
PyObject *resultobj = 0;
11935
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11936
wxRichTextRange result;
11939
PyObject *swig_obj[1] ;
11941
if (!args) SWIG_fail;
11942
swig_obj[0] = args;
11943
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11944
if (!SWIG_IsOK(res1)) {
11945
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetAbsoluteRange" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11947
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11949
PyThreadState* __tstate = wxPyBeginAllowThreads();
11950
result = ((wxRichTextLine const *)arg1)->GetAbsoluteRange();
11951
wxPyEndAllowThreads(__tstate);
11952
if (PyErr_Occurred()) SWIG_fail;
11954
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
11961
SWIGINTERN PyObject *_wrap_RichTextLine_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11962
PyObject *resultobj = 0;
11963
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11967
PyObject *swig_obj[1] ;
11969
if (!args) SWIG_fail;
11970
swig_obj[0] = args;
11971
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11972
if (!SWIG_IsOK(res1)) {
11973
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetSize" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11975
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11977
PyThreadState* __tstate = wxPyBeginAllowThreads();
11978
result = ((wxRichTextLine const *)arg1)->GetSize();
11979
wxPyEndAllowThreads(__tstate);
11980
if (PyErr_Occurred()) SWIG_fail;
11982
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11989
SWIGINTERN PyObject *_wrap_RichTextLine_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11990
PyObject *resultobj = 0;
11991
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11996
PyObject * obj0 = 0 ;
11997
PyObject * obj1 = 0 ;
11998
char * kwnames[] = {
11999
(char *) "self",(char *) "sz", NULL
12002
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12003
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12004
if (!SWIG_IsOK(res1)) {
12005
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetSize" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
12007
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12010
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12013
PyThreadState* __tstate = wxPyBeginAllowThreads();
12014
(arg1)->SetSize((wxSize const &)*arg2);
12015
wxPyEndAllowThreads(__tstate);
12016
if (PyErr_Occurred()) SWIG_fail;
12018
resultobj = SWIG_Py_Void();
12025
SWIGINTERN PyObject *_wrap_RichTextLine_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12026
PyObject *resultobj = 0;
12027
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12031
PyObject *swig_obj[1] ;
12033
if (!args) SWIG_fail;
12034
swig_obj[0] = args;
12035
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12036
if (!SWIG_IsOK(res1)) {
12037
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetPosition" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
12039
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12041
PyThreadState* __tstate = wxPyBeginAllowThreads();
12042
result = ((wxRichTextLine const *)arg1)->GetPosition();
12043
wxPyEndAllowThreads(__tstate);
12044
if (PyErr_Occurred()) SWIG_fail;
12046
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
12053
SWIGINTERN PyObject *_wrap_RichTextLine_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12054
PyObject *resultobj = 0;
12055
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12056
wxPoint *arg2 = 0 ;
12060
PyObject * obj0 = 0 ;
12061
PyObject * obj1 = 0 ;
12062
char * kwnames[] = {
12063
(char *) "self",(char *) "pos", NULL
12066
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
12067
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12068
if (!SWIG_IsOK(res1)) {
12069
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetPosition" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
12071
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12074
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12077
PyThreadState* __tstate = wxPyBeginAllowThreads();
12078
(arg1)->SetPosition((wxPoint const &)*arg2);
12079
wxPyEndAllowThreads(__tstate);
12080
if (PyErr_Occurred()) SWIG_fail;
12082
resultobj = SWIG_Py_Void();
12089
SWIGINTERN PyObject *_wrap_RichTextLine_GetAbsolutePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12090
PyObject *resultobj = 0;
12091
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12095
PyObject *swig_obj[1] ;
12097
if (!args) SWIG_fail;
12098
swig_obj[0] = args;
12099
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12100
if (!SWIG_IsOK(res1)) {
12101
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetAbsolutePosition" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
12103
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12105
PyThreadState* __tstate = wxPyBeginAllowThreads();
12106
result = ((wxRichTextLine const *)arg1)->GetAbsolutePosition();
12107
wxPyEndAllowThreads(__tstate);
12108
if (PyErr_Occurred()) SWIG_fail;
12110
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
12117
SWIGINTERN PyObject *_wrap_RichTextLine_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12118
PyObject *resultobj = 0;
12119
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12123
PyObject *swig_obj[1] ;
12125
if (!args) SWIG_fail;
12126
swig_obj[0] = args;
12127
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12128
if (!SWIG_IsOK(res1)) {
12129
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetRect" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
12131
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12133
PyThreadState* __tstate = wxPyBeginAllowThreads();
12134
result = ((wxRichTextLine const *)arg1)->GetRect();
12135
wxPyEndAllowThreads(__tstate);
12136
if (PyErr_Occurred()) SWIG_fail;
12138
resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12145
SWIGINTERN PyObject *_wrap_RichTextLine_SetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12146
PyObject *resultobj = 0;
12147
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12153
PyObject * obj0 = 0 ;
12154
PyObject * obj1 = 0 ;
12155
char * kwnames[] = {
12156
(char *) "self",(char *) "descent", NULL
12159
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetDescent",kwnames,&obj0,&obj1)) SWIG_fail;
12160
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12161
if (!SWIG_IsOK(res1)) {
12162
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetDescent" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
12164
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12165
ecode2 = SWIG_AsVal_int(obj1, &val2);
12166
if (!SWIG_IsOK(ecode2)) {
12167
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextLine_SetDescent" "', expected argument " "2"" of type '" "int""'");
12169
arg2 = static_cast< int >(val2);
12171
PyThreadState* __tstate = wxPyBeginAllowThreads();
12172
(arg1)->SetDescent(arg2);
12173
wxPyEndAllowThreads(__tstate);
12174
if (PyErr_Occurred()) SWIG_fail;
12176
resultobj = SWIG_Py_Void();
12183
SWIGINTERN PyObject *_wrap_RichTextLine_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12184
PyObject *resultobj = 0;
12185
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12189
PyObject *swig_obj[1] ;
12191
if (!args) SWIG_fail;
12192
swig_obj[0] = args;
12193
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12194
if (!SWIG_IsOK(res1)) {
12195
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetDescent" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
12197
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12199
PyThreadState* __tstate = wxPyBeginAllowThreads();
12200
result = (int)((wxRichTextLine const *)arg1)->GetDescent();
12201
wxPyEndAllowThreads(__tstate);
12202
if (PyErr_Occurred()) SWIG_fail;
12204
resultobj = SWIG_From_int(static_cast< int >(result));
12211
SWIGINTERN PyObject *_wrap_RichTextLine_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12212
PyObject *resultobj = 0;
12213
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12214
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
12219
PyObject * obj0 = 0 ;
12220
PyObject * obj1 = 0 ;
12221
char * kwnames[] = {
12222
(char *) "self",(char *) "parent", NULL
12225
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_Init",kwnames,&obj0,&obj1)) SWIG_fail;
12226
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12227
if (!SWIG_IsOK(res1)) {
12228
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Init" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
12230
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12231
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12232
if (!SWIG_IsOK(res2)) {
12233
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextLine_Init" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
12235
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
12237
PyThreadState* __tstate = wxPyBeginAllowThreads();
12238
(arg1)->Init(arg2);
12239
wxPyEndAllowThreads(__tstate);
12240
if (PyErr_Occurred()) SWIG_fail;
12242
resultobj = SWIG_Py_Void();
12249
SWIGINTERN PyObject *_wrap_RichTextLine_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12250
PyObject *resultobj = 0;
12251
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12252
wxRichTextLine *arg2 = 0 ;
12257
PyObject * obj0 = 0 ;
12258
PyObject * obj1 = 0 ;
12259
char * kwnames[] = {
12260
(char *) "self",(char *) "obj", NULL
12263
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
12264
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12265
if (!SWIG_IsOK(res1)) {
12266
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Copy" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
12268
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12269
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextLine, 0 | 0);
12270
if (!SWIG_IsOK(res2)) {
12271
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextLine_Copy" "', expected argument " "2"" of type '" "wxRichTextLine const &""'");
12274
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextLine_Copy" "', expected argument " "2"" of type '" "wxRichTextLine const &""'");
12276
arg2 = reinterpret_cast< wxRichTextLine * >(argp2);
12278
PyThreadState* __tstate = wxPyBeginAllowThreads();
12279
(arg1)->Copy((wxRichTextLine const &)*arg2);
12280
wxPyEndAllowThreads(__tstate);
12281
if (PyErr_Occurred()) SWIG_fail;
12283
resultobj = SWIG_Py_Void();
12290
SWIGINTERN PyObject *_wrap_RichTextLine_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12291
PyObject *resultobj = 0;
12292
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12293
wxRichTextLine *result = 0 ;
12296
PyObject *swig_obj[1] ;
12298
if (!args) SWIG_fail;
12299
swig_obj[0] = args;
12300
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12301
if (!SWIG_IsOK(res1)) {
12302
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Clone" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
12304
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12306
PyThreadState* __tstate = wxPyBeginAllowThreads();
12307
result = (wxRichTextLine *)((wxRichTextLine const *)arg1)->Clone();
12308
wxPyEndAllowThreads(__tstate);
12309
if (PyErr_Occurred()) SWIG_fail;
12311
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12318
SWIGINTERN PyObject *RichTextLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12320
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12321
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextLine, SWIG_NewClientData(obj));
12322
return SWIG_Py_Void();
12325
SWIGINTERN PyObject *RichTextLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12326
return SWIG_Python_InitShadowInstance(args);
12329
SWIGINTERN PyObject *_wrap_new_RichTextParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12330
PyObject *resultobj = 0;
12331
wxString *arg1 = 0 ;
12332
wxRichTextObject *arg2 = (wxRichTextObject *) NULL ;
12333
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
12334
wxTextAttrEx *arg4 = (wxTextAttrEx *) NULL ;
12335
wxRichTextParagraph *result = 0 ;
12336
bool temp1 = false ;
12343
PyObject * obj0 = 0 ;
12344
PyObject * obj1 = 0 ;
12345
PyObject * obj2 = 0 ;
12346
PyObject * obj3 = 0 ;
12347
char * kwnames[] = {
12348
(char *) "text",(char *) "parent",(char *) "paraStyle",(char *) "charStyle", NULL
12351
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_RichTextParagraph",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12353
arg1 = wxString_in_helper(obj0);
12354
if (arg1 == NULL) SWIG_fail;
12358
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12359
if (!SWIG_IsOK(res2)) {
12360
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextParagraph" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
12362
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
12365
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
12366
if (!SWIG_IsOK(res3)) {
12367
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_RichTextParagraph" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
12369
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
12372
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
12373
if (!SWIG_IsOK(res4)) {
12374
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_RichTextParagraph" "', expected argument " "4"" of type '" "wxTextAttrEx *""'");
12376
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
12379
PyThreadState* __tstate = wxPyBeginAllowThreads();
12380
result = (wxRichTextParagraph *)new wxRichTextParagraph((wxString const &)*arg1,arg2,arg3,arg4);
12381
wxPyEndAllowThreads(__tstate);
12382
if (PyErr_Occurred()) SWIG_fail;
12384
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, SWIG_POINTER_NEW | 0 );
12399
SWIGINTERN PyObject *_wrap_delete_RichTextParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12400
PyObject *resultobj = 0;
12401
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12404
PyObject *swig_obj[1] ;
12406
if (!args) SWIG_fail;
12407
swig_obj[0] = args;
12408
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, SWIG_POINTER_DISOWN | 0 );
12409
if (!SWIG_IsOK(res1)) {
12410
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12412
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12414
PyThreadState* __tstate = wxPyBeginAllowThreads();
12417
wxPyEndAllowThreads(__tstate);
12418
if (PyErr_Occurred()) SWIG_fail;
12420
resultobj = SWIG_Py_Void();
12427
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12428
PyObject *resultobj = 0;
12429
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12430
wxRichTextLineList *result = 0 ;
12433
PyObject *swig_obj[1] ;
12435
if (!args) SWIG_fail;
12436
swig_obj[0] = args;
12437
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12438
if (!SWIG_IsOK(res1)) {
12439
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12441
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12443
PyThreadState* __tstate = wxPyBeginAllowThreads();
12445
wxRichTextLineList &_result_ref = (arg1)->GetLines();
12446
result = (wxRichTextLineList *) &_result_ref;
12448
wxPyEndAllowThreads(__tstate);
12449
if (PyErr_Occurred()) SWIG_fail;
12451
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLineList, 0 | 0 );
12458
SWIGINTERN PyObject *_wrap_RichTextParagraph_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12459
PyObject *resultobj = 0;
12460
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12461
wxRichTextParagraph *arg2 = 0 ;
12466
PyObject * obj0 = 0 ;
12467
PyObject * obj1 = 0 ;
12468
char * kwnames[] = {
12469
(char *) "self",(char *) "obj", NULL
12472
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
12473
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12474
if (!SWIG_IsOK(res1)) {
12475
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_Copy" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12477
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12478
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextParagraph, 0 | 0);
12479
if (!SWIG_IsOK(res2)) {
12480
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraph const &""'");
12483
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraph const &""'");
12485
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
12487
PyThreadState* __tstate = wxPyBeginAllowThreads();
12488
(arg1)->Copy((wxRichTextParagraph const &)*arg2);
12489
wxPyEndAllowThreads(__tstate);
12490
if (PyErr_Occurred()) SWIG_fail;
12492
resultobj = SWIG_Py_Void();
12499
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12500
PyObject *resultobj = 0;
12501
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12504
PyObject *swig_obj[1] ;
12506
if (!args) SWIG_fail;
12507
swig_obj[0] = args;
12508
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12509
if (!SWIG_IsOK(res1)) {
12510
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ClearLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12512
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12514
PyThreadState* __tstate = wxPyBeginAllowThreads();
12515
(arg1)->ClearLines();
12516
wxPyEndAllowThreads(__tstate);
12517
if (PyErr_Occurred()) SWIG_fail;
12519
resultobj = SWIG_Py_Void();
12526
SWIGINTERN PyObject *_wrap_RichTextParagraph_ApplyParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12527
PyObject *resultobj = 0;
12528
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12529
wxTextAttrEx *arg2 = 0 ;
12536
PyObject * obj0 = 0 ;
12537
PyObject * obj1 = 0 ;
12538
PyObject * obj2 = 0 ;
12539
char * kwnames[] = {
12540
(char *) "self",(char *) "attr",(char *) "rect", NULL
12543
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_ApplyParagraphStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12544
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12545
if (!SWIG_IsOK(res1)) {
12546
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12548
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12549
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
12550
if (!SWIG_IsOK(res2)) {
12551
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
12554
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
12556
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
12559
if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
12562
PyThreadState* __tstate = wxPyBeginAllowThreads();
12563
(arg1)->ApplyParagraphStyle((wxTextAttrEx const &)*arg2,(wxRect const &)*arg3);
12564
wxPyEndAllowThreads(__tstate);
12565
if (PyErr_Occurred()) SWIG_fail;
12567
resultobj = SWIG_Py_Void();
12574
SWIGINTERN PyObject *_wrap_RichTextParagraph_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12575
PyObject *resultobj = 0;
12576
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12578
wxString *arg3 = 0 ;
12584
bool temp3 = false ;
12585
PyObject * obj0 = 0 ;
12586
PyObject * obj1 = 0 ;
12587
PyObject * obj2 = 0 ;
12588
char * kwnames[] = {
12589
(char *) "self",(char *) "pos",(char *) "text", NULL
12592
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12593
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12594
if (!SWIG_IsOK(res1)) {
12595
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_InsertText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12597
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12598
ecode2 = SWIG_AsVal_long(obj1, &val2);
12599
if (!SWIG_IsOK(ecode2)) {
12600
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_InsertText" "', expected argument " "2"" of type '" "long""'");
12602
arg2 = static_cast< long >(val2);
12604
arg3 = wxString_in_helper(obj2);
12605
if (arg3 == NULL) SWIG_fail;
12609
PyThreadState* __tstate = wxPyBeginAllowThreads();
12610
result = (bool)(arg1)->InsertText(arg2,(wxString const &)*arg3);
12611
wxPyEndAllowThreads(__tstate);
12612
if (PyErr_Occurred()) SWIG_fail;
12615
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12631
SWIGINTERN PyObject *_wrap_RichTextParagraph_SplitAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12632
PyObject *resultobj = 0;
12633
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12635
wxRichTextObject **arg3 = (wxRichTextObject **) NULL ;
12636
wxRichTextObject *result = 0 ;
12643
PyObject * obj0 = 0 ;
12644
PyObject * obj1 = 0 ;
12645
PyObject * obj2 = 0 ;
12646
char * kwnames[] = {
12647
(char *) "self",(char *) "pos",(char *) "previousObject", NULL
12650
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraph_SplitAt",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12651
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12652
if (!SWIG_IsOK(res1)) {
12653
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12655
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12656
ecode2 = SWIG_AsVal_long(obj1, &val2);
12657
if (!SWIG_IsOK(ecode2)) {
12658
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "2"" of type '" "long""'");
12660
arg2 = static_cast< long >(val2);
12662
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_wxRichTextObject, 0 | 0 );
12663
if (!SWIG_IsOK(res3)) {
12664
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "3"" of type '" "wxRichTextObject **""'");
12666
arg3 = reinterpret_cast< wxRichTextObject ** >(argp3);
12669
PyThreadState* __tstate = wxPyBeginAllowThreads();
12670
result = (wxRichTextObject *)(arg1)->SplitAt(arg2,arg3);
12671
wxPyEndAllowThreads(__tstate);
12672
if (PyErr_Occurred()) SWIG_fail;
12675
resultobj = wxPyMake_wxObject(result, (bool)0);
12683
SWIGINTERN PyObject *_wrap_RichTextParagraph_MoveToList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12684
PyObject *resultobj = 0;
12685
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12686
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
12694
PyObject * obj0 = 0 ;
12695
PyObject * obj1 = 0 ;
12696
PyObject * obj2 = 0 ;
12697
char * kwnames[] = {
12698
(char *) "self",(char *) "obj",(char *) "list", NULL
12701
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_MoveToList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12702
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12703
if (!SWIG_IsOK(res1)) {
12704
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12706
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12707
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12708
if (!SWIG_IsOK(res2)) {
12709
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
12711
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
12712
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxList, 0 );
12713
if (!SWIG_IsOK(res3)) {
12714
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "3"" of type '" "wxList &""'");
12717
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_MoveToList" "', expected argument " "3"" of type '" "wxList &""'");
12719
arg3 = reinterpret_cast< wxList * >(argp3);
12721
PyThreadState* __tstate = wxPyBeginAllowThreads();
12722
(arg1)->MoveToList(arg2,*arg3);
12723
wxPyEndAllowThreads(__tstate);
12724
if (PyErr_Occurred()) SWIG_fail;
12726
resultobj = SWIG_Py_Void();
12733
SWIGINTERN PyObject *_wrap_RichTextParagraph_MoveFromList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12734
PyObject *resultobj = 0;
12735
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12741
PyObject * obj0 = 0 ;
12742
PyObject * obj1 = 0 ;
12743
char * kwnames[] = {
12744
(char *) "self",(char *) "list", NULL
12747
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_MoveFromList",kwnames,&obj0,&obj1)) SWIG_fail;
12748
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12749
if (!SWIG_IsOK(res1)) {
12750
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12752
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12753
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxList, 0 );
12754
if (!SWIG_IsOK(res2)) {
12755
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "2"" of type '" "wxList &""'");
12758
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "2"" of type '" "wxList &""'");
12760
arg2 = reinterpret_cast< wxList * >(argp2);
12762
PyThreadState* __tstate = wxPyBeginAllowThreads();
12763
(arg1)->MoveFromList(*arg2);
12764
wxPyEndAllowThreads(__tstate);
12765
if (PyErr_Occurred()) SWIG_fail;
12767
resultobj = SWIG_Py_Void();
12774
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetContiguousPlainText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12775
PyObject *resultobj = 0;
12776
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12777
wxString *arg2 = 0 ;
12778
wxRichTextRange *arg3 = 0 ;
12779
bool arg4 = (bool) true ;
12783
bool temp2 = false ;
12784
wxRichTextRange temp3 ;
12787
PyObject * obj0 = 0 ;
12788
PyObject * obj1 = 0 ;
12789
PyObject * obj2 = 0 ;
12790
PyObject * obj3 = 0 ;
12791
char * kwnames[] = {
12792
(char *) "self",(char *) "text",(char *) "range",(char *) "fromStart", NULL
12795
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextParagraph_GetContiguousPlainText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12796
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12797
if (!SWIG_IsOK(res1)) {
12798
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetContiguousPlainText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12800
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12802
arg2 = wxString_in_helper(obj1);
12803
if (arg2 == NULL) SWIG_fail;
12808
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
12811
ecode4 = SWIG_AsVal_bool(obj3, &val4);
12812
if (!SWIG_IsOK(ecode4)) {
12813
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraph_GetContiguousPlainText" "', expected argument " "4"" of type '" "bool""'");
12815
arg4 = static_cast< bool >(val4);
12818
PyThreadState* __tstate = wxPyBeginAllowThreads();
12819
result = (bool)(arg1)->GetContiguousPlainText(*arg2,(wxRichTextRange const &)*arg3,arg4);
12820
wxPyEndAllowThreads(__tstate);
12821
if (PyErr_Occurred()) SWIG_fail;
12824
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12840
SWIGINTERN PyObject *_wrap_RichTextParagraph_FindWrapPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12841
PyObject *resultobj = 0;
12842
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12843
wxRichTextRange *arg2 = 0 ;
12850
wxRichTextRange temp2 ;
12857
PyObject * obj0 = 0 ;
12858
PyObject * obj1 = 0 ;
12859
PyObject * obj2 = 0 ;
12860
PyObject * obj3 = 0 ;
12861
PyObject * obj4 = 0 ;
12862
char * kwnames[] = {
12863
(char *) "self",(char *) "range",(char *) "dc",(char *) "availableSpace",(char *) "wrapPosition", NULL
12866
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextParagraph_FindWrapPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12867
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12868
if (!SWIG_IsOK(res1)) {
12869
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12871
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12874
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
12876
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
12877
if (!SWIG_IsOK(res3)) {
12878
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "3"" of type '" "wxDC &""'");
12881
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "3"" of type '" "wxDC &""'");
12883
arg3 = reinterpret_cast< wxDC * >(argp3);
12884
ecode4 = SWIG_AsVal_int(obj3, &val4);
12885
if (!SWIG_IsOK(ecode4)) {
12886
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "4"" of type '" "int""'");
12888
arg4 = static_cast< int >(val4);
12889
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_long, 0 );
12890
if (!SWIG_IsOK(res5)) {
12891
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "5"" of type '" "long &""'");
12894
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "5"" of type '" "long &""'");
12896
arg5 = reinterpret_cast< long * >(argp5);
12898
PyThreadState* __tstate = wxPyBeginAllowThreads();
12899
result = (bool)(arg1)->FindWrapPosition((wxRichTextRange const &)*arg2,*arg3,arg4,*arg5);
12900
wxPyEndAllowThreads(__tstate);
12901
if (PyErr_Occurred()) SWIG_fail;
12904
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12912
SWIGINTERN PyObject *_wrap_RichTextParagraph_FindObjectAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12913
PyObject *resultobj = 0;
12914
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12916
wxRichTextObject *result = 0 ;
12921
PyObject * obj0 = 0 ;
12922
PyObject * obj1 = 0 ;
12923
char * kwnames[] = {
12924
(char *) "self",(char *) "position", NULL
12927
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_FindObjectAtPosition",kwnames,&obj0,&obj1)) SWIG_fail;
12928
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12929
if (!SWIG_IsOK(res1)) {
12930
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_FindObjectAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12932
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12933
ecode2 = SWIG_AsVal_long(obj1, &val2);
12934
if (!SWIG_IsOK(ecode2)) {
12935
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_FindObjectAtPosition" "', expected argument " "2"" of type '" "long""'");
12937
arg2 = static_cast< long >(val2);
12939
PyThreadState* __tstate = wxPyBeginAllowThreads();
12940
result = (wxRichTextObject *)(arg1)->FindObjectAtPosition(arg2);
12941
wxPyEndAllowThreads(__tstate);
12942
if (PyErr_Occurred()) SWIG_fail;
12945
resultobj = wxPyMake_wxObject(result, (bool)0);
12953
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12954
PyObject *resultobj = 0;
12955
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12959
PyObject *swig_obj[1] ;
12961
if (!args) SWIG_fail;
12962
swig_obj[0] = args;
12963
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12964
if (!SWIG_IsOK(res1)) {
12965
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12967
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12969
PyThreadState* __tstate = wxPyBeginAllowThreads();
12970
result = (arg1)->GetBulletText();
12971
wxPyEndAllowThreads(__tstate);
12972
if (PyErr_Occurred()) SWIG_fail;
12976
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12978
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12987
SWIGINTERN PyObject *_wrap_RichTextParagraph_AllocateLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12988
PyObject *resultobj = 0;
12989
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12991
wxRichTextLine *result = 0 ;
12996
PyObject * obj0 = 0 ;
12997
PyObject * obj1 = 0 ;
12998
char * kwnames[] = {
12999
(char *) "self",(char *) "pos", NULL
13002
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_AllocateLine",kwnames,&obj0,&obj1)) SWIG_fail;
13003
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
13004
if (!SWIG_IsOK(res1)) {
13005
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_AllocateLine" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
13007
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
13008
ecode2 = SWIG_AsVal_int(obj1, &val2);
13009
if (!SWIG_IsOK(ecode2)) {
13010
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_AllocateLine" "', expected argument " "2"" of type '" "int""'");
13012
arg2 = static_cast< int >(val2);
13014
PyThreadState* __tstate = wxPyBeginAllowThreads();
13015
result = (wxRichTextLine *)(arg1)->AllocateLine(arg2);
13016
wxPyEndAllowThreads(__tstate);
13017
if (PyErr_Occurred()) SWIG_fail;
13019
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
13026
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearUnusedLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13027
PyObject *resultobj = 0;
13028
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
13035
PyObject * obj0 = 0 ;
13036
PyObject * obj1 = 0 ;
13037
char * kwnames[] = {
13038
(char *) "self",(char *) "lineCount", NULL
13041
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_ClearUnusedLines",kwnames,&obj0,&obj1)) SWIG_fail;
13042
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
13043
if (!SWIG_IsOK(res1)) {
13044
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ClearUnusedLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
13046
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
13047
ecode2 = SWIG_AsVal_int(obj1, &val2);
13048
if (!SWIG_IsOK(ecode2)) {
13049
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_ClearUnusedLines" "', expected argument " "2"" of type '" "int""'");
13051
arg2 = static_cast< int >(val2);
13053
PyThreadState* __tstate = wxPyBeginAllowThreads();
13054
result = (bool)(arg1)->ClearUnusedLines(arg2);
13055
wxPyEndAllowThreads(__tstate);
13056
if (PyErr_Occurred()) SWIG_fail;
13059
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetCombinedAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13068
PyObject *resultobj = 0;
13069
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
13070
wxTextAttrEx *arg2 = (wxTextAttrEx *) NULL ;
13071
wxTextAttrEx result;
13076
PyObject * obj0 = 0 ;
13077
PyObject * obj1 = 0 ;
13078
char * kwnames[] = {
13079
(char *) "self",(char *) "contentStyle", NULL
13082
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraph_GetCombinedAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
13083
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
13084
if (!SWIG_IsOK(res1)) {
13085
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetCombinedAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
13087
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
13089
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
13090
if (!SWIG_IsOK(res2)) {
13091
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_GetCombinedAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx *""'");
13093
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
13096
PyThreadState* __tstate = wxPyBeginAllowThreads();
13097
result = wxRichTextParagraph_GetCombinedAttributes(arg1,arg2);
13098
wxPyEndAllowThreads(__tstate);
13099
if (PyErr_Occurred()) SWIG_fail;
13101
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
13108
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetFirstLineBreakPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13109
PyObject *resultobj = 0;
13110
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
13117
PyObject * obj0 = 0 ;
13118
PyObject * obj1 = 0 ;
13119
char * kwnames[] = {
13120
(char *) "self",(char *) "pos", NULL
13123
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_GetFirstLineBreakPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13124
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
13125
if (!SWIG_IsOK(res1)) {
13126
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetFirstLineBreakPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
13128
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
13129
ecode2 = SWIG_AsVal_long(obj1, &val2);
13130
if (!SWIG_IsOK(ecode2)) {
13131
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_GetFirstLineBreakPosition" "', expected argument " "2"" of type '" "long""'");
13133
arg2 = static_cast< long >(val2);
13135
PyThreadState* __tstate = wxPyBeginAllowThreads();
13136
result = (long)(arg1)->GetFirstLineBreakPosition(arg2);
13137
wxPyEndAllowThreads(__tstate);
13138
if (PyErr_Occurred()) SWIG_fail;
13140
resultobj = SWIG_From_long(static_cast< long >(result));
13147
SWIGINTERN PyObject *_wrap_RichTextParagraph_InitDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13148
PyObject *resultobj = 0;
13150
if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_InitDefaultTabs",0,0,0)) SWIG_fail;
13152
PyThreadState* __tstate = wxPyBeginAllowThreads();
13153
wxRichTextParagraph::InitDefaultTabs();
13154
wxPyEndAllowThreads(__tstate);
13155
if (PyErr_Occurred()) SWIG_fail;
13157
resultobj = SWIG_Py_Void();
13164
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13165
PyObject *resultobj = 0;
13167
if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_ClearDefaultTabs",0,0,0)) SWIG_fail;
13169
PyThreadState* __tstate = wxPyBeginAllowThreads();
13170
wxRichTextParagraph::ClearDefaultTabs();
13171
wxPyEndAllowThreads(__tstate);
13172
if (PyErr_Occurred()) SWIG_fail;
13174
resultobj = SWIG_Py_Void();
13181
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13182
PyObject *resultobj = 0;
13183
wxArrayInt *result = 0 ;
13185
if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_GetDefaultTabs",0,0,0)) SWIG_fail;
13187
PyThreadState* __tstate = wxPyBeginAllowThreads();
13189
wxArrayInt const &_result_ref = wxRichTextParagraph::GetDefaultTabs();
13190
result = (wxArrayInt *) &_result_ref;
13192
wxPyEndAllowThreads(__tstate);
13193
if (PyErr_Occurred()) SWIG_fail;
13196
resultobj = wxArrayInt2PyList_helper(*result);
13204
SWIGINTERN PyObject *RichTextParagraph_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13206
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13207
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextParagraph, SWIG_NewClientData(obj));
13208
return SWIG_Py_Void();
13211
SWIGINTERN PyObject *RichTextParagraph_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13212
return SWIG_Python_InitShadowInstance(args);
13215
SWIGINTERN PyObject *_wrap_new_RichTextPlainText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13216
PyObject *resultobj = 0;
13217
wxString const &arg1_defvalue = wxEmptyString ;
13218
wxString *arg1 = (wxString *) &arg1_defvalue ;
13219
wxRichTextObject *arg2 = (wxRichTextObject *) NULL ;
13220
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
13221
wxRichTextPlainText *result = 0 ;
13222
bool temp1 = false ;
13227
PyObject * obj0 = 0 ;
13228
PyObject * obj1 = 0 ;
13229
PyObject * obj2 = 0 ;
13230
char * kwnames[] = {
13231
(char *) "text",(char *) "parent",(char *) "style", NULL
13234
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextPlainText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13237
arg1 = wxString_in_helper(obj0);
13238
if (arg1 == NULL) SWIG_fail;
13243
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
13244
if (!SWIG_IsOK(res2)) {
13245
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextPlainText" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
13247
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
13250
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
13251
if (!SWIG_IsOK(res3)) {
13252
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_RichTextPlainText" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
13254
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
13257
PyThreadState* __tstate = wxPyBeginAllowThreads();
13258
result = (wxRichTextPlainText *)new wxRichTextPlainText((wxString const &)*arg1,arg2,arg3);
13259
wxPyEndAllowThreads(__tstate);
13260
if (PyErr_Occurred()) SWIG_fail;
13262
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPlainText, SWIG_POINTER_NEW | 0 );
13277
SWIGINTERN PyObject *_wrap_RichTextPlainText_GetFirstLineBreakPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13278
PyObject *resultobj = 0;
13279
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13286
PyObject * obj0 = 0 ;
13287
PyObject * obj1 = 0 ;
13288
char * kwnames[] = {
13289
(char *) "self",(char *) "pos", NULL
13292
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_GetFirstLineBreakPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13293
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13294
if (!SWIG_IsOK(res1)) {
13295
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_GetFirstLineBreakPosition" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'");
13297
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13298
ecode2 = SWIG_AsVal_long(obj1, &val2);
13299
if (!SWIG_IsOK(ecode2)) {
13300
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPlainText_GetFirstLineBreakPosition" "', expected argument " "2"" of type '" "long""'");
13302
arg2 = static_cast< long >(val2);
13304
PyThreadState* __tstate = wxPyBeginAllowThreads();
13305
result = (long)(arg1)->GetFirstLineBreakPosition(arg2);
13306
wxPyEndAllowThreads(__tstate);
13307
if (PyErr_Occurred()) SWIG_fail;
13309
resultobj = SWIG_From_long(static_cast< long >(result));
13316
SWIGINTERN PyObject *_wrap_RichTextPlainText_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13317
PyObject *resultobj = 0;
13318
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13319
wxString *result = 0 ;
13322
PyObject *swig_obj[1] ;
13324
if (!args) SWIG_fail;
13325
swig_obj[0] = args;
13326
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13327
if (!SWIG_IsOK(res1)) {
13328
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_GetText" "', expected argument " "1"" of type '" "wxRichTextPlainText const *""'");
13330
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13332
PyThreadState* __tstate = wxPyBeginAllowThreads();
13334
wxString const &_result_ref = ((wxRichTextPlainText const *)arg1)->GetText();
13335
result = (wxString *) &_result_ref;
13337
wxPyEndAllowThreads(__tstate);
13338
if (PyErr_Occurred()) SWIG_fail;
13342
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13344
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13353
SWIGINTERN PyObject *_wrap_RichTextPlainText_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13354
PyObject *resultobj = 0;
13355
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13356
wxString *arg2 = 0 ;
13359
bool temp2 = false ;
13360
PyObject * obj0 = 0 ;
13361
PyObject * obj1 = 0 ;
13362
char * kwnames[] = {
13363
(char *) "self",(char *) "text", NULL
13366
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
13367
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13368
if (!SWIG_IsOK(res1)) {
13369
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_SetText" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'");
13371
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13373
arg2 = wxString_in_helper(obj1);
13374
if (arg2 == NULL) SWIG_fail;
13378
PyThreadState* __tstate = wxPyBeginAllowThreads();
13379
(arg1)->SetText((wxString const &)*arg2);
13380
wxPyEndAllowThreads(__tstate);
13381
if (PyErr_Occurred()) SWIG_fail;
13383
resultobj = SWIG_Py_Void();
13398
SWIGINTERN PyObject *_wrap_RichTextPlainText_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13399
PyObject *resultobj = 0;
13400
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13401
wxRichTextPlainText *arg2 = 0 ;
13406
PyObject * obj0 = 0 ;
13407
PyObject * obj1 = 0 ;
13408
char * kwnames[] = {
13409
(char *) "self",(char *) "obj", NULL
13412
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
13413
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13414
if (!SWIG_IsOK(res1)) {
13415
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_Copy" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'");
13417
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13418
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextPlainText, 0 | 0);
13419
if (!SWIG_IsOK(res2)) {
13420
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPlainText_Copy" "', expected argument " "2"" of type '" "wxRichTextPlainText const &""'");
13423
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPlainText_Copy" "', expected argument " "2"" of type '" "wxRichTextPlainText const &""'");
13425
arg2 = reinterpret_cast< wxRichTextPlainText * >(argp2);
13427
PyThreadState* __tstate = wxPyBeginAllowThreads();
13428
(arg1)->Copy((wxRichTextPlainText const &)*arg2);
13429
wxPyEndAllowThreads(__tstate);
13430
if (PyErr_Occurred()) SWIG_fail;
13432
resultobj = SWIG_Py_Void();
13439
SWIGINTERN PyObject *RichTextPlainText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13441
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13442
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPlainText, SWIG_NewClientData(obj));
13443
return SWIG_Py_Void();
13446
SWIGINTERN PyObject *RichTextPlainText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13447
return SWIG_Python_InitShadowInstance(args);
13450
SWIGINTERN PyObject *_wrap_new_RichTextImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13451
PyObject *resultobj = 0;
13452
wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
13453
wxRichTextImage *result = 0 ;
13456
PyObject * obj0 = 0 ;
13457
char * kwnames[] = {
13458
(char *) "parent", NULL
13461
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextImage",kwnames,&obj0)) SWIG_fail;
13463
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
13464
if (!SWIG_IsOK(res1)) {
13465
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextImage" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
13467
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
13470
PyThreadState* __tstate = wxPyBeginAllowThreads();
13471
result = (wxRichTextImage *)new wxRichTextImage(arg1);
13472
wxPyEndAllowThreads(__tstate);
13473
if (PyErr_Occurred()) SWIG_fail;
13475
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextImage, SWIG_POINTER_NEW | 0 );
13482
SWIGINTERN PyObject *_wrap_RichTextImage_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13483
PyObject *resultobj = 0;
13484
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13485
wxImage *result = 0 ;
13488
PyObject *swig_obj[1] ;
13490
if (!args) SWIG_fail;
13491
swig_obj[0] = args;
13492
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13493
if (!SWIG_IsOK(res1)) {
13494
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_GetImage" "', expected argument " "1"" of type '" "wxRichTextImage const *""'");
13496
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13498
PyThreadState* __tstate = wxPyBeginAllowThreads();
13500
wxImage const &_result_ref = ((wxRichTextImage const *)arg1)->GetImage();
13501
result = (wxImage *) &_result_ref;
13503
wxPyEndAllowThreads(__tstate);
13504
if (PyErr_Occurred()) SWIG_fail;
13506
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxImage, 0 | 0 );
13513
SWIGINTERN PyObject *_wrap_RichTextImage_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13514
PyObject *resultobj = 0;
13515
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13516
wxImage *arg2 = 0 ;
13521
PyObject * obj0 = 0 ;
13522
PyObject * obj1 = 0 ;
13523
char * kwnames[] = {
13524
(char *) "self",(char *) "image", NULL
13527
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextImage_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
13528
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13529
if (!SWIG_IsOK(res1)) {
13530
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_SetImage" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13532
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13533
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
13534
if (!SWIG_IsOK(res2)) {
13535
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextImage_SetImage" "', expected argument " "2"" of type '" "wxImage const &""'");
13538
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextImage_SetImage" "', expected argument " "2"" of type '" "wxImage const &""'");
13540
arg2 = reinterpret_cast< wxImage * >(argp2);
13542
PyThreadState* __tstate = wxPyBeginAllowThreads();
13543
(arg1)->SetImage((wxImage const &)*arg2);
13544
wxPyEndAllowThreads(__tstate);
13545
if (PyErr_Occurred()) SWIG_fail;
13547
resultobj = SWIG_Py_Void();
13554
SWIGINTERN PyObject *_wrap_RichTextImage_GetImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13555
PyObject *resultobj = 0;
13556
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13557
wxRichTextImageBlock *result = 0 ;
13560
PyObject *swig_obj[1] ;
13562
if (!args) SWIG_fail;
13563
swig_obj[0] = args;
13564
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13565
if (!SWIG_IsOK(res1)) {
13566
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_GetImageBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13568
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13570
PyThreadState* __tstate = wxPyBeginAllowThreads();
13572
wxRichTextImageBlock &_result_ref = (arg1)->GetImageBlock();
13573
result = (wxRichTextImageBlock *) &_result_ref;
13575
wxPyEndAllowThreads(__tstate);
13576
if (PyErr_Occurred()) SWIG_fail;
13578
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextImageBlock, 0 | 0 );
13585
SWIGINTERN PyObject *_wrap_RichTextImage_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13586
PyObject *resultobj = 0;
13587
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13588
wxRichTextImage *arg2 = 0 ;
13593
PyObject * obj0 = 0 ;
13594
PyObject * obj1 = 0 ;
13595
char * kwnames[] = {
13596
(char *) "self",(char *) "obj", NULL
13599
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextImage_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
13600
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13601
if (!SWIG_IsOK(res1)) {
13602
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_Copy" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13604
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13605
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImage, 0 | 0);
13606
if (!SWIG_IsOK(res2)) {
13607
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextImage_Copy" "', expected argument " "2"" of type '" "wxRichTextImage const &""'");
13610
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextImage_Copy" "', expected argument " "2"" of type '" "wxRichTextImage const &""'");
13612
arg2 = reinterpret_cast< wxRichTextImage * >(argp2);
13614
PyThreadState* __tstate = wxPyBeginAllowThreads();
13615
(arg1)->Copy((wxRichTextImage const &)*arg2);
13616
wxPyEndAllowThreads(__tstate);
13617
if (PyErr_Occurred()) SWIG_fail;
13619
resultobj = SWIG_Py_Void();
13626
SWIGINTERN PyObject *_wrap_RichTextImage_LoadFromBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13627
PyObject *resultobj = 0;
13628
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13632
PyObject *swig_obj[1] ;
13634
if (!args) SWIG_fail;
13635
swig_obj[0] = args;
13636
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13637
if (!SWIG_IsOK(res1)) {
13638
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_LoadFromBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13640
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13642
PyThreadState* __tstate = wxPyBeginAllowThreads();
13643
result = (bool)(arg1)->LoadFromBlock();
13644
wxPyEndAllowThreads(__tstate);
13645
if (PyErr_Occurred()) SWIG_fail;
13648
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13656
SWIGINTERN PyObject *_wrap_RichTextImage_MakeBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13657
PyObject *resultobj = 0;
13658
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13662
PyObject *swig_obj[1] ;
13664
if (!args) SWIG_fail;
13665
swig_obj[0] = args;
13666
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13667
if (!SWIG_IsOK(res1)) {
13668
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_MakeBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13670
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13672
PyThreadState* __tstate = wxPyBeginAllowThreads();
13673
result = (bool)(arg1)->MakeBlock();
13674
wxPyEndAllowThreads(__tstate);
13675
if (PyErr_Occurred()) SWIG_fail;
13678
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13686
SWIGINTERN PyObject *RichTextImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13688
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13689
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextImage, SWIG_NewClientData(obj));
13690
return SWIG_Py_Void();
13693
SWIGINTERN PyObject *RichTextImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13694
return SWIG_Python_InitShadowInstance(args);
13697
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandlerList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13698
PyObject *resultobj = 0;
13699
wxRichTextFileHandlerList_iterator *arg1 = (wxRichTextFileHandlerList_iterator *) 0 ;
13702
PyObject *swig_obj[1] ;
13704
if (!args) SWIG_fail;
13705
swig_obj[0] = args;
13706
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_POINTER_DISOWN | 0 );
13707
if (!SWIG_IsOK(res1)) {
13708
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandlerList_iterator" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList_iterator *""'");
13710
arg1 = reinterpret_cast< wxRichTextFileHandlerList_iterator * >(argp1);
13712
PyThreadState* __tstate = wxPyBeginAllowThreads();
13715
wxPyEndAllowThreads(__tstate);
13716
if (PyErr_Occurred()) SWIG_fail;
13718
resultobj = SWIG_Py_Void();
13725
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13726
PyObject *resultobj = 0;
13727
wxRichTextFileHandlerList_iterator *arg1 = (wxRichTextFileHandlerList_iterator *) 0 ;
13728
wxRichTextFileHandler *result = 0 ;
13731
PyObject *swig_obj[1] ;
13733
if (!args) SWIG_fail;
13734
swig_obj[0] = args;
13735
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList_iterator, 0 | 0 );
13736
if (!SWIG_IsOK(res1)) {
13737
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList_iterator_next" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList_iterator *""'");
13739
arg1 = reinterpret_cast< wxRichTextFileHandlerList_iterator * >(argp1);
13741
result = (wxRichTextFileHandler *)(arg1)->next();
13742
if (PyErr_Occurred()) SWIG_fail;
13745
resultobj = wxPyMake_wxObject(result, (bool)0);
13753
SWIGINTERN PyObject *RichTextFileHandlerList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13755
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13756
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_NewClientData(obj));
13757
return SWIG_Py_Void();
13760
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandlerList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13761
PyObject *resultobj = 0;
13762
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13765
PyObject *swig_obj[1] ;
13767
if (!args) SWIG_fail;
13768
swig_obj[0] = args;
13769
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_POINTER_DISOWN | 0 );
13770
if (!SWIG_IsOK(res1)) {
13771
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandlerList" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13773
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13775
PyThreadState* __tstate = wxPyBeginAllowThreads();
13778
wxPyEndAllowThreads(__tstate);
13779
if (PyErr_Occurred()) SWIG_fail;
13781
resultobj = SWIG_Py_Void();
13788
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13789
PyObject *resultobj = 0;
13790
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13794
PyObject *swig_obj[1] ;
13796
if (!args) SWIG_fail;
13797
swig_obj[0] = args;
13798
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13799
if (!SWIG_IsOK(res1)) {
13800
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___len__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13802
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13804
result = (size_t)wxRichTextFileHandlerList___len__(arg1);
13805
if (PyErr_Occurred()) SWIG_fail;
13807
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13814
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13815
PyObject *resultobj = 0;
13816
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13818
wxRichTextFileHandler *result = 0 ;
13823
PyObject * obj0 = 0 ;
13824
PyObject * obj1 = 0 ;
13825
char * kwnames[] = {
13826
(char *) "self",(char *) "index", NULL
13829
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandlerList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
13830
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13831
if (!SWIG_IsOK(res1)) {
13832
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___getitem__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13834
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13835
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13836
if (!SWIG_IsOK(ecode2)) {
13837
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandlerList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
13839
arg2 = static_cast< size_t >(val2);
13841
result = (wxRichTextFileHandler *)wxRichTextFileHandlerList___getitem__(arg1,arg2);
13842
if (PyErr_Occurred()) SWIG_fail;
13845
resultobj = wxPyMake_wxObject(result, (bool)0);
13853
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13854
PyObject *resultobj = 0;
13855
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13856
wxRichTextFileHandler *arg2 = (wxRichTextFileHandler *) 0 ;
13862
PyObject * obj0 = 0 ;
13863
PyObject * obj1 = 0 ;
13864
char * kwnames[] = {
13865
(char *) "self",(char *) "obj", NULL
13868
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandlerList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
13869
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13870
if (!SWIG_IsOK(res1)) {
13871
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___contains__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13873
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13874
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
13875
if (!SWIG_IsOK(res2)) {
13876
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandlerList___contains__" "', expected argument " "2"" of type '" "wxRichTextFileHandler const *""'");
13878
arg2 = reinterpret_cast< wxRichTextFileHandler * >(argp2);
13880
result = (bool)wxRichTextFileHandlerList___contains__(arg1,(wxRichTextFileHandler const *)arg2);
13881
if (PyErr_Occurred()) SWIG_fail;
13884
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13892
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13893
PyObject *resultobj = 0;
13894
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13895
wxRichTextFileHandlerList_iterator *result = 0 ;
13898
PyObject *swig_obj[1] ;
13900
if (!args) SWIG_fail;
13901
swig_obj[0] = args;
13902
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13903
if (!SWIG_IsOK(res1)) {
13904
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___iter__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13906
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13908
result = (wxRichTextFileHandlerList_iterator *)wxRichTextFileHandlerList___iter__(arg1);
13909
if (PyErr_Occurred()) SWIG_fail;
13911
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_POINTER_OWN | 0 );
13918
SWIGINTERN PyObject *RichTextFileHandlerList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13920
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13921
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_NewClientData(obj));
13922
return SWIG_Py_Void();
13925
SWIGINTERN PyObject *_wrap_new_RichTextBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
13926
PyObject *resultobj = 0;
13927
wxRichTextBuffer *result = 0 ;
13929
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
13931
PyThreadState* __tstate = wxPyBeginAllowThreads();
13932
result = (wxRichTextBuffer *)new wxRichTextBuffer();
13933
wxPyEndAllowThreads(__tstate);
13934
if (PyErr_Occurred()) SWIG_fail;
13936
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_NEW | 0 );
13943
SWIGINTERN PyObject *_wrap_new_RichTextBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
13944
PyObject *resultobj = 0;
13945
wxRichTextBuffer *arg1 = 0 ;
13946
wxRichTextBuffer *result = 0 ;
13950
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
13951
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxRichTextBuffer, 0 | 0);
13952
if (!SWIG_IsOK(res1)) {
13953
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextBuffer const &""'");
13956
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextBuffer const &""'");
13958
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13960
PyThreadState* __tstate = wxPyBeginAllowThreads();
13961
result = (wxRichTextBuffer *)new wxRichTextBuffer((wxRichTextBuffer const &)*arg1);
13962
wxPyEndAllowThreads(__tstate);
13963
if (PyErr_Occurred()) SWIG_fail;
13965
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_NEW | 0 );
13972
SWIGINTERN PyObject *_wrap_new_RichTextBuffer(PyObject *self, PyObject *args) {
13976
if (!(argc = SWIG_Python_UnpackTuple(args,"new_RichTextBuffer",0,1,argv))) SWIG_fail;
13979
return _wrap_new_RichTextBuffer__SWIG_0(self, argc, argv);
13982
return _wrap_new_RichTextBuffer__SWIG_1(self, argc, argv);
13986
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_RichTextBuffer'");
13991
SWIGINTERN PyObject *_wrap_delete_RichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13992
PyObject *resultobj = 0;
13993
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13996
PyObject *swig_obj[1] ;
13998
if (!args) SWIG_fail;
13999
swig_obj[0] = args;
14000
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_DISOWN | 0 );
14001
if (!SWIG_IsOK(res1)) {
14002
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14004
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14006
PyThreadState* __tstate = wxPyBeginAllowThreads();
14009
wxPyEndAllowThreads(__tstate);
14010
if (PyErr_Occurred()) SWIG_fail;
14012
resultobj = SWIG_Py_Void();
14019
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetCommandProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14020
PyObject *resultobj = 0;
14021
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14022
wxCommandProcessor *result = 0 ;
14025
PyObject *swig_obj[1] ;
14027
if (!args) SWIG_fail;
14028
swig_obj[0] = args;
14029
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14030
if (!SWIG_IsOK(res1)) {
14031
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetCommandProcessor" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14033
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14035
PyThreadState* __tstate = wxPyBeginAllowThreads();
14036
result = (wxCommandProcessor *)((wxRichTextBuffer const *)arg1)->GetCommandProcessor();
14037
wxPyEndAllowThreads(__tstate);
14038
if (PyErr_Occurred()) SWIG_fail;
14040
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCommandProcessor, 0 | 0 );
14047
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14048
PyObject *resultobj = 0;
14049
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14050
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
14055
PyObject * obj0 = 0 ;
14056
PyObject * obj1 = 0 ;
14057
char * kwnames[] = {
14058
(char *) "self",(char *) "styleSheet", NULL
14061
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
14062
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14063
if (!SWIG_IsOK(res1)) {
14064
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14066
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14067
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
14068
if (!SWIG_IsOK(res2)) {
14069
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
14071
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
14073
PyThreadState* __tstate = wxPyBeginAllowThreads();
14074
(arg1)->SetStyleSheet(arg2);
14075
wxPyEndAllowThreads(__tstate);
14076
if (PyErr_Occurred()) SWIG_fail;
14078
resultobj = SWIG_Py_Void();
14085
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetStyleSheetAndNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14086
PyObject *resultobj = 0;
14087
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14088
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
14094
PyObject * obj0 = 0 ;
14095
PyObject * obj1 = 0 ;
14096
char * kwnames[] = {
14097
(char *) "self",(char *) "sheet", NULL
14100
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetStyleSheetAndNotify",kwnames,&obj0,&obj1)) SWIG_fail;
14101
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14102
if (!SWIG_IsOK(res1)) {
14103
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetStyleSheetAndNotify" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14105
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14106
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
14107
if (!SWIG_IsOK(res2)) {
14108
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SetStyleSheetAndNotify" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
14110
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
14112
PyThreadState* __tstate = wxPyBeginAllowThreads();
14113
result = (bool)(arg1)->SetStyleSheetAndNotify(arg2);
14114
wxPyEndAllowThreads(__tstate);
14115
if (PyErr_Occurred()) SWIG_fail;
14118
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14126
SWIGINTERN PyObject *_wrap_RichTextBuffer_PushStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14127
PyObject *resultobj = 0;
14128
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14129
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
14135
PyObject * obj0 = 0 ;
14136
PyObject * obj1 = 0 ;
14137
char * kwnames[] = {
14138
(char *) "self",(char *) "styleSheet", NULL
14141
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_PushStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
14142
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14143
if (!SWIG_IsOK(res1)) {
14144
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PushStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14146
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14147
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
14148
if (!SWIG_IsOK(res2)) {
14149
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_PushStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
14151
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
14153
PyThreadState* __tstate = wxPyBeginAllowThreads();
14154
result = (bool)(arg1)->PushStyleSheet(arg2);
14155
wxPyEndAllowThreads(__tstate);
14156
if (PyErr_Occurred()) SWIG_fail;
14159
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14167
SWIGINTERN PyObject *_wrap_RichTextBuffer_PopStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14168
PyObject *resultobj = 0;
14169
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14170
wxRichTextStyleSheet *result = 0 ;
14173
PyObject *swig_obj[1] ;
14175
if (!args) SWIG_fail;
14176
swig_obj[0] = args;
14177
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14178
if (!SWIG_IsOK(res1)) {
14179
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PopStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14181
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14183
PyThreadState* __tstate = wxPyBeginAllowThreads();
14184
result = (wxRichTextStyleSheet *)(arg1)->PopStyleSheet();
14185
wxPyEndAllowThreads(__tstate);
14186
if (PyErr_Occurred()) SWIG_fail;
14188
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
14195
SWIGINTERN PyObject *_wrap_RichTextBuffer_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14196
PyObject *resultobj = 0;
14197
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14200
PyObject *swig_obj[1] ;
14202
if (!args) SWIG_fail;
14203
swig_obj[0] = args;
14204
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14205
if (!SWIG_IsOK(res1)) {
14206
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Init" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14208
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14210
PyThreadState* __tstate = wxPyBeginAllowThreads();
14212
wxPyEndAllowThreads(__tstate);
14213
if (PyErr_Occurred()) SWIG_fail;
14215
resultobj = SWIG_Py_Void();
14222
SWIGINTERN PyObject *_wrap_RichTextBuffer_ResetAndClearCommands(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14223
PyObject *resultobj = 0;
14224
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14227
PyObject *swig_obj[1] ;
14229
if (!args) SWIG_fail;
14230
swig_obj[0] = args;
14231
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14232
if (!SWIG_IsOK(res1)) {
14233
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ResetAndClearCommands" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14235
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14237
PyThreadState* __tstate = wxPyBeginAllowThreads();
14238
(arg1)->ResetAndClearCommands();
14239
wxPyEndAllowThreads(__tstate);
14240
if (PyErr_Occurred()) SWIG_fail;
14242
resultobj = SWIG_Py_Void();
14249
SWIGINTERN PyObject *_wrap_RichTextBuffer_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14250
PyObject *resultobj = 0;
14251
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14252
wxString *arg2 = 0 ;
14253
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14257
bool temp2 = false ;
14260
PyObject * obj0 = 0 ;
14261
PyObject * obj1 = 0 ;
14262
PyObject * obj2 = 0 ;
14263
char * kwnames[] = {
14264
(char *) "self",(char *) "filename",(char *) "type", NULL
14267
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14268
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14269
if (!SWIG_IsOK(res1)) {
14270
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_LoadFile" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14272
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14274
arg2 = wxString_in_helper(obj1);
14275
if (arg2 == NULL) SWIG_fail;
14279
ecode3 = SWIG_AsVal_int(obj2, &val3);
14280
if (!SWIG_IsOK(ecode3)) {
14281
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_LoadFile" "', expected argument " "3"" of type '" "int""'");
14283
arg3 = static_cast< int >(val3);
14286
PyThreadState* __tstate = wxPyBeginAllowThreads();
14287
result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
14288
wxPyEndAllowThreads(__tstate);
14289
if (PyErr_Occurred()) SWIG_fail;
14292
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14308
SWIGINTERN PyObject *_wrap_RichTextBuffer_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14309
PyObject *resultobj = 0;
14310
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14311
wxString *arg2 = 0 ;
14312
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14316
bool temp2 = false ;
14319
PyObject * obj0 = 0 ;
14320
PyObject * obj1 = 0 ;
14321
PyObject * obj2 = 0 ;
14322
char * kwnames[] = {
14323
(char *) "self",(char *) "filename",(char *) "type", NULL
14326
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14327
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14328
if (!SWIG_IsOK(res1)) {
14329
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SaveFile" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14331
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14333
arg2 = wxString_in_helper(obj1);
14334
if (arg2 == NULL) SWIG_fail;
14338
ecode3 = SWIG_AsVal_int(obj2, &val3);
14339
if (!SWIG_IsOK(ecode3)) {
14340
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SaveFile" "', expected argument " "3"" of type '" "int""'");
14342
arg3 = static_cast< int >(val3);
14345
PyThreadState* __tstate = wxPyBeginAllowThreads();
14346
result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
14347
wxPyEndAllowThreads(__tstate);
14348
if (PyErr_Occurred()) SWIG_fail;
14351
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14367
SWIGINTERN PyObject *_wrap_RichTextBuffer_LoadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14368
PyObject *resultobj = 0;
14369
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14370
wxInputStream *arg2 = 0 ;
14371
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14375
wxPyInputStream *temp2 ;
14379
PyObject * obj0 = 0 ;
14380
PyObject * obj1 = 0 ;
14381
PyObject * obj2 = 0 ;
14382
char * kwnames[] = {
14383
(char *) "self",(char *) "stream",(char *) "type", NULL
14386
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_LoadStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14387
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14388
if (!SWIG_IsOK(res1)) {
14389
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_LoadStream" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14391
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14393
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
14394
arg2 = temp2->m_wxis;
14397
PyErr_Clear(); // clear the failure of the wxPyConvert above
14398
arg2 = wxPyCBInputStream_create(obj1, false);
14399
if (arg2 == NULL) {
14400
PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
14407
ecode3 = SWIG_AsVal_int(obj2, &val3);
14408
if (!SWIG_IsOK(ecode3)) {
14409
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_LoadStream" "', expected argument " "3"" of type '" "int""'");
14411
arg3 = static_cast< int >(val3);
14414
PyThreadState* __tstate = wxPyBeginAllowThreads();
14415
result = (bool)(arg1)->LoadFile(*arg2,arg3);
14416
wxPyEndAllowThreads(__tstate);
14417
if (PyErr_Occurred()) SWIG_fail;
14420
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14423
if (created2) delete arg2;
14428
if (created2) delete arg2;
14434
SWIGINTERN PyObject *_wrap_RichTextBuffer_SaveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14435
PyObject *resultobj = 0;
14436
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14437
wxOutputStream *arg2 = 0 ;
14438
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14442
wxPyOutputStream *temp2 ;
14446
PyObject * obj0 = 0 ;
14447
PyObject * obj1 = 0 ;
14448
PyObject * obj2 = 0 ;
14449
char * kwnames[] = {
14450
(char *) "self",(char *) "stream",(char *) "type", NULL
14453
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SaveStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14454
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14455
if (!SWIG_IsOK(res1)) {
14456
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SaveStream" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14458
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14460
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyOutputStream"))) {
14461
arg2 = temp2->m_wxos;
14464
PyErr_Clear(); // clear the failure of the wxPyConvert above
14465
arg2 = wxPyCBOutputStream_create(obj1, false);
14466
if (arg2 == NULL) {
14467
PyErr_SetString(PyExc_TypeError, "Expected wx.OutputStream or Python file-like object.");
14474
ecode3 = SWIG_AsVal_int(obj2, &val3);
14475
if (!SWIG_IsOK(ecode3)) {
14476
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SaveStream" "', expected argument " "3"" of type '" "int""'");
14478
arg3 = static_cast< int >(val3);
14481
PyThreadState* __tstate = wxPyBeginAllowThreads();
14482
result = (bool)(arg1)->SaveFile(*arg2,arg3);
14483
wxPyEndAllowThreads(__tstate);
14484
if (PyErr_Occurred()) SWIG_fail;
14487
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14490
if (created2) delete arg2;
14495
if (created2) delete arg2;
14501
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14502
PyObject *resultobj = 0;
14503
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14509
PyObject * obj0 = 0 ;
14510
PyObject * obj1 = 0 ;
14511
char * kwnames[] = {
14512
(char *) "self",(char *) "flags", NULL
14515
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetHandlerFlags",kwnames,&obj0,&obj1)) SWIG_fail;
14516
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14517
if (!SWIG_IsOK(res1)) {
14518
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14520
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14521
ecode2 = SWIG_AsVal_int(obj1, &val2);
14522
if (!SWIG_IsOK(ecode2)) {
14523
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'");
14525
arg2 = static_cast< int >(val2);
14527
PyThreadState* __tstate = wxPyBeginAllowThreads();
14528
(arg1)->SetHandlerFlags(arg2);
14529
wxPyEndAllowThreads(__tstate);
14530
if (PyErr_Occurred()) SWIG_fail;
14532
resultobj = SWIG_Py_Void();
14539
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14540
PyObject *resultobj = 0;
14541
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14545
PyObject *swig_obj[1] ;
14547
if (!args) SWIG_fail;
14548
swig_obj[0] = args;
14549
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14550
if (!SWIG_IsOK(res1)) {
14551
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14553
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14555
PyThreadState* __tstate = wxPyBeginAllowThreads();
14556
result = (int)((wxRichTextBuffer const *)arg1)->GetHandlerFlags();
14557
wxPyEndAllowThreads(__tstate);
14558
if (PyErr_Occurred()) SWIG_fail;
14560
resultobj = SWIG_From_int(static_cast< int >(result));
14567
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14568
PyObject *resultobj = 0;
14569
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14570
wxString *arg2 = 0 ;
14574
bool temp2 = false ;
14575
PyObject * obj0 = 0 ;
14576
PyObject * obj1 = 0 ;
14577
char * kwnames[] = {
14578
(char *) "self",(char *) "cmdName", NULL
14581
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
14582
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14583
if (!SWIG_IsOK(res1)) {
14584
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14586
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14588
arg2 = wxString_in_helper(obj1);
14589
if (arg2 == NULL) SWIG_fail;
14593
PyThreadState* __tstate = wxPyBeginAllowThreads();
14594
result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
14595
wxPyEndAllowThreads(__tstate);
14596
if (PyErr_Occurred()) SWIG_fail;
14599
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14615
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14616
PyObject *resultobj = 0;
14617
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14621
PyObject *swig_obj[1] ;
14623
if (!args) SWIG_fail;
14624
swig_obj[0] = args;
14625
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14626
if (!SWIG_IsOK(res1)) {
14627
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14629
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14631
PyThreadState* __tstate = wxPyBeginAllowThreads();
14632
result = (bool)(arg1)->EndBatchUndo();
14633
wxPyEndAllowThreads(__tstate);
14634
if (PyErr_Occurred()) SWIG_fail;
14637
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14645
SWIGINTERN PyObject *_wrap_RichTextBuffer_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14646
PyObject *resultobj = 0;
14647
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14651
PyObject *swig_obj[1] ;
14653
if (!args) SWIG_fail;
14654
swig_obj[0] = args;
14655
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14656
if (!SWIG_IsOK(res1)) {
14657
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14659
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14661
PyThreadState* __tstate = wxPyBeginAllowThreads();
14662
result = (bool)((wxRichTextBuffer const *)arg1)->BatchingUndo();
14663
wxPyEndAllowThreads(__tstate);
14664
if (PyErr_Occurred()) SWIG_fail;
14667
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14675
SWIGINTERN PyObject *_wrap_RichTextBuffer_SubmitAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14676
PyObject *resultobj = 0;
14677
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14678
wxRichTextAction *arg2 = (wxRichTextAction *) 0 ;
14684
PyObject * obj0 = 0 ;
14685
PyObject * obj1 = 0 ;
14686
char * kwnames[] = {
14687
(char *) "self",(char *) "action", NULL
14690
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SubmitAction",kwnames,&obj0,&obj1)) SWIG_fail;
14691
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14692
if (!SWIG_IsOK(res1)) {
14693
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SubmitAction" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14695
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14696
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextAction, 0 | 0 );
14697
if (!SWIG_IsOK(res2)) {
14698
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SubmitAction" "', expected argument " "2"" of type '" "wxRichTextAction *""'");
14700
arg2 = reinterpret_cast< wxRichTextAction * >(argp2);
14702
PyThreadState* __tstate = wxPyBeginAllowThreads();
14703
result = (bool)(arg1)->SubmitAction(arg2);
14704
wxPyEndAllowThreads(__tstate);
14705
if (PyErr_Occurred()) SWIG_fail;
14708
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14716
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBatchedCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14717
PyObject *resultobj = 0;
14718
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14719
wxRichTextCommand *result = 0 ;
14722
PyObject *swig_obj[1] ;
14724
if (!args) SWIG_fail;
14725
swig_obj[0] = args;
14726
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14727
if (!SWIG_IsOK(res1)) {
14728
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetBatchedCommand" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14730
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14732
PyThreadState* __tstate = wxPyBeginAllowThreads();
14733
result = (wxRichTextCommand *)((wxRichTextBuffer const *)arg1)->GetBatchedCommand();
14734
wxPyEndAllowThreads(__tstate);
14735
if (PyErr_Occurred()) SWIG_fail;
14737
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCommand, 0 | 0 );
14744
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14745
PyObject *resultobj = 0;
14746
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14750
PyObject *swig_obj[1] ;
14752
if (!args) SWIG_fail;
14753
swig_obj[0] = args;
14754
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14755
if (!SWIG_IsOK(res1)) {
14756
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14758
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14760
PyThreadState* __tstate = wxPyBeginAllowThreads();
14761
result = (bool)(arg1)->BeginSuppressUndo();
14762
wxPyEndAllowThreads(__tstate);
14763
if (PyErr_Occurred()) SWIG_fail;
14766
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14774
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14775
PyObject *resultobj = 0;
14776
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14780
PyObject *swig_obj[1] ;
14782
if (!args) SWIG_fail;
14783
swig_obj[0] = args;
14784
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14785
if (!SWIG_IsOK(res1)) {
14786
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14788
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14790
PyThreadState* __tstate = wxPyBeginAllowThreads();
14791
result = (bool)(arg1)->EndSuppressUndo();
14792
wxPyEndAllowThreads(__tstate);
14793
if (PyErr_Occurred()) SWIG_fail;
14796
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14804
SWIGINTERN PyObject *_wrap_RichTextBuffer_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14805
PyObject *resultobj = 0;
14806
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14810
PyObject *swig_obj[1] ;
14812
if (!args) SWIG_fail;
14813
swig_obj[0] = args;
14814
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14815
if (!SWIG_IsOK(res1)) {
14816
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14818
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14820
PyThreadState* __tstate = wxPyBeginAllowThreads();
14821
result = (bool)((wxRichTextBuffer const *)arg1)->SuppressingUndo();
14822
wxPyEndAllowThreads(__tstate);
14823
if (PyErr_Occurred()) SWIG_fail;
14826
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14834
SWIGINTERN PyObject *_wrap_RichTextBuffer_CopyToClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14835
PyObject *resultobj = 0;
14836
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14837
wxRichTextRange *arg2 = 0 ;
14841
wxRichTextRange temp2 ;
14842
PyObject * obj0 = 0 ;
14843
PyObject * obj1 = 0 ;
14844
char * kwnames[] = {
14845
(char *) "self",(char *) "range", NULL
14848
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_CopyToClipboard",kwnames,&obj0,&obj1)) SWIG_fail;
14849
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14850
if (!SWIG_IsOK(res1)) {
14851
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_CopyToClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14853
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14856
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
14859
PyThreadState* __tstate = wxPyBeginAllowThreads();
14860
result = (bool)(arg1)->CopyToClipboard((wxRichTextRange const &)*arg2);
14861
wxPyEndAllowThreads(__tstate);
14862
if (PyErr_Occurred()) SWIG_fail;
14865
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14873
SWIGINTERN PyObject *_wrap_RichTextBuffer_PasteFromClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14874
PyObject *resultobj = 0;
14875
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14882
PyObject * obj0 = 0 ;
14883
PyObject * obj1 = 0 ;
14884
char * kwnames[] = {
14885
(char *) "self",(char *) "position", NULL
14888
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_PasteFromClipboard",kwnames,&obj0,&obj1)) SWIG_fail;
14889
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14890
if (!SWIG_IsOK(res1)) {
14891
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PasteFromClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14893
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14894
ecode2 = SWIG_AsVal_long(obj1, &val2);
14895
if (!SWIG_IsOK(ecode2)) {
14896
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_PasteFromClipboard" "', expected argument " "2"" of type '" "long""'");
14898
arg2 = static_cast< long >(val2);
14900
PyThreadState* __tstate = wxPyBeginAllowThreads();
14901
result = (bool)(arg1)->PasteFromClipboard(arg2);
14902
wxPyEndAllowThreads(__tstate);
14903
if (PyErr_Occurred()) SWIG_fail;
14906
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14914
SWIGINTERN PyObject *_wrap_RichTextBuffer_CanPasteFromClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14915
PyObject *resultobj = 0;
14916
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14920
PyObject *swig_obj[1] ;
14922
if (!args) SWIG_fail;
14923
swig_obj[0] = args;
14924
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14925
if (!SWIG_IsOK(res1)) {
14926
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_CanPasteFromClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14928
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14930
PyThreadState* __tstate = wxPyBeginAllowThreads();
14931
result = (bool)((wxRichTextBuffer const *)arg1)->CanPasteFromClipboard();
14932
wxPyEndAllowThreads(__tstate);
14933
if (PyErr_Occurred()) SWIG_fail;
14936
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14944
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14945
PyObject *resultobj = 0;
14946
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14947
wxTextAttrEx *arg2 = 0 ;
14953
PyObject * obj0 = 0 ;
14954
PyObject * obj1 = 0 ;
14955
char * kwnames[] = {
14956
(char *) "self",(char *) "style", NULL
14959
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginStyle",kwnames,&obj0,&obj1)) SWIG_fail;
14960
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14961
if (!SWIG_IsOK(res1)) {
14962
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14964
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14965
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
14966
if (!SWIG_IsOK(res2)) {
14967
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
14970
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
14972
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
14974
PyThreadState* __tstate = wxPyBeginAllowThreads();
14975
result = (bool)(arg1)->BeginStyle((wxTextAttrEx const &)*arg2);
14976
wxPyEndAllowThreads(__tstate);
14977
if (PyErr_Occurred()) SWIG_fail;
14980
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14988
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14989
PyObject *resultobj = 0;
14990
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14994
PyObject *swig_obj[1] ;
14996
if (!args) SWIG_fail;
14997
swig_obj[0] = args;
14998
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14999
if (!SWIG_IsOK(res1)) {
15000
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15002
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15004
PyThreadState* __tstate = wxPyBeginAllowThreads();
15005
result = (bool)(arg1)->EndStyle();
15006
wxPyEndAllowThreads(__tstate);
15007
if (PyErr_Occurred()) SWIG_fail;
15010
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15018
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15019
PyObject *resultobj = 0;
15020
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15024
PyObject *swig_obj[1] ;
15026
if (!args) SWIG_fail;
15027
swig_obj[0] = args;
15028
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15029
if (!SWIG_IsOK(res1)) {
15030
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15032
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15034
PyThreadState* __tstate = wxPyBeginAllowThreads();
15035
result = (bool)(arg1)->EndAllStyles();
15036
wxPyEndAllowThreads(__tstate);
15037
if (PyErr_Occurred()) SWIG_fail;
15040
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15048
SWIGINTERN PyObject *_wrap_RichTextBuffer_ClearStyleStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15049
PyObject *resultobj = 0;
15050
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15053
PyObject *swig_obj[1] ;
15055
if (!args) SWIG_fail;
15056
swig_obj[0] = args;
15057
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15058
if (!SWIG_IsOK(res1)) {
15059
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ClearStyleStack" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15061
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15063
PyThreadState* __tstate = wxPyBeginAllowThreads();
15064
(arg1)->ClearStyleStack();
15065
wxPyEndAllowThreads(__tstate);
15066
if (PyErr_Occurred()) SWIG_fail;
15068
resultobj = SWIG_Py_Void();
15075
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetStyleStackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15076
PyObject *resultobj = 0;
15077
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15081
PyObject *swig_obj[1] ;
15083
if (!args) SWIG_fail;
15084
swig_obj[0] = args;
15085
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15086
if (!SWIG_IsOK(res1)) {
15087
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetStyleStackSize" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
15089
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15091
PyThreadState* __tstate = wxPyBeginAllowThreads();
15092
result = (size_t)((wxRichTextBuffer const *)arg1)->GetStyleStackSize();
15093
wxPyEndAllowThreads(__tstate);
15094
if (PyErr_Occurred()) SWIG_fail;
15096
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15103
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15104
PyObject *resultobj = 0;
15105
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15109
PyObject *swig_obj[1] ;
15111
if (!args) SWIG_fail;
15112
swig_obj[0] = args;
15113
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15114
if (!SWIG_IsOK(res1)) {
15115
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginBold" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15117
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15119
PyThreadState* __tstate = wxPyBeginAllowThreads();
15120
result = (bool)(arg1)->BeginBold();
15121
wxPyEndAllowThreads(__tstate);
15122
if (PyErr_Occurred()) SWIG_fail;
15125
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15133
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15134
PyObject *resultobj = 0;
15135
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15139
PyObject *swig_obj[1] ;
15141
if (!args) SWIG_fail;
15142
swig_obj[0] = args;
15143
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15144
if (!SWIG_IsOK(res1)) {
15145
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndBold" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15147
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15149
PyThreadState* __tstate = wxPyBeginAllowThreads();
15150
result = (bool)(arg1)->EndBold();
15151
wxPyEndAllowThreads(__tstate);
15152
if (PyErr_Occurred()) SWIG_fail;
15155
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15163
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15164
PyObject *resultobj = 0;
15165
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15169
PyObject *swig_obj[1] ;
15171
if (!args) SWIG_fail;
15172
swig_obj[0] = args;
15173
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15174
if (!SWIG_IsOK(res1)) {
15175
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15177
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15179
PyThreadState* __tstate = wxPyBeginAllowThreads();
15180
result = (bool)(arg1)->BeginItalic();
15181
wxPyEndAllowThreads(__tstate);
15182
if (PyErr_Occurred()) SWIG_fail;
15185
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15193
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15194
PyObject *resultobj = 0;
15195
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15199
PyObject *swig_obj[1] ;
15201
if (!args) SWIG_fail;
15202
swig_obj[0] = args;
15203
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15204
if (!SWIG_IsOK(res1)) {
15205
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndItalic" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15207
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15209
PyThreadState* __tstate = wxPyBeginAllowThreads();
15210
result = (bool)(arg1)->EndItalic();
15211
wxPyEndAllowThreads(__tstate);
15212
if (PyErr_Occurred()) SWIG_fail;
15215
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15223
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15224
PyObject *resultobj = 0;
15225
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15229
PyObject *swig_obj[1] ;
15231
if (!args) SWIG_fail;
15232
swig_obj[0] = args;
15233
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15234
if (!SWIG_IsOK(res1)) {
15235
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15237
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15239
PyThreadState* __tstate = wxPyBeginAllowThreads();
15240
result = (bool)(arg1)->BeginUnderline();
15241
wxPyEndAllowThreads(__tstate);
15242
if (PyErr_Occurred()) SWIG_fail;
15245
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15253
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15254
PyObject *resultobj = 0;
15255
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15259
PyObject *swig_obj[1] ;
15261
if (!args) SWIG_fail;
15262
swig_obj[0] = args;
15263
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15264
if (!SWIG_IsOK(res1)) {
15265
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15267
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15269
PyThreadState* __tstate = wxPyBeginAllowThreads();
15270
result = (bool)(arg1)->EndUnderline();
15271
wxPyEndAllowThreads(__tstate);
15272
if (PyErr_Occurred()) SWIG_fail;
15275
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15283
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15284
PyObject *resultobj = 0;
15285
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15292
PyObject * obj0 = 0 ;
15293
PyObject * obj1 = 0 ;
15294
char * kwnames[] = {
15295
(char *) "self",(char *) "pointSize", NULL
15298
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
15299
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15300
if (!SWIG_IsOK(res1)) {
15301
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15303
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15304
ecode2 = SWIG_AsVal_int(obj1, &val2);
15305
if (!SWIG_IsOK(ecode2)) {
15306
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
15308
arg2 = static_cast< int >(val2);
15310
PyThreadState* __tstate = wxPyBeginAllowThreads();
15311
result = (bool)(arg1)->BeginFontSize(arg2);
15312
wxPyEndAllowThreads(__tstate);
15313
if (PyErr_Occurred()) SWIG_fail;
15316
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15324
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15325
PyObject *resultobj = 0;
15326
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15330
PyObject *swig_obj[1] ;
15332
if (!args) SWIG_fail;
15333
swig_obj[0] = args;
15334
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15335
if (!SWIG_IsOK(res1)) {
15336
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15338
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15340
PyThreadState* __tstate = wxPyBeginAllowThreads();
15341
result = (bool)(arg1)->EndFontSize();
15342
wxPyEndAllowThreads(__tstate);
15343
if (PyErr_Occurred()) SWIG_fail;
15346
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15354
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15355
PyObject *resultobj = 0;
15356
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15363
PyObject * obj0 = 0 ;
15364
PyObject * obj1 = 0 ;
15365
char * kwnames[] = {
15366
(char *) "self",(char *) "font", NULL
15369
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
15370
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15371
if (!SWIG_IsOK(res1)) {
15372
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginFont" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15374
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15375
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
15376
if (!SWIG_IsOK(res2)) {
15377
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
15380
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
15382
arg2 = reinterpret_cast< wxFont * >(argp2);
15384
PyThreadState* __tstate = wxPyBeginAllowThreads();
15385
result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
15386
wxPyEndAllowThreads(__tstate);
15387
if (PyErr_Occurred()) SWIG_fail;
15390
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15398
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15399
PyObject *resultobj = 0;
15400
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15404
PyObject *swig_obj[1] ;
15406
if (!args) SWIG_fail;
15407
swig_obj[0] = args;
15408
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15409
if (!SWIG_IsOK(res1)) {
15410
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndFont" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15412
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15414
PyThreadState* __tstate = wxPyBeginAllowThreads();
15415
result = (bool)(arg1)->EndFont();
15416
wxPyEndAllowThreads(__tstate);
15417
if (PyErr_Occurred()) SWIG_fail;
15420
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15428
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15429
PyObject *resultobj = 0;
15430
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15431
wxColour *arg2 = 0 ;
15436
PyObject * obj0 = 0 ;
15437
PyObject * obj1 = 0 ;
15438
char * kwnames[] = {
15439
(char *) "self",(char *) "colour", NULL
15442
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
15443
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15444
if (!SWIG_IsOK(res1)) {
15445
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15447
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15450
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15453
PyThreadState* __tstate = wxPyBeginAllowThreads();
15454
result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
15455
wxPyEndAllowThreads(__tstate);
15456
if (PyErr_Occurred()) SWIG_fail;
15459
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15467
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15468
PyObject *resultobj = 0;
15469
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15473
PyObject *swig_obj[1] ;
15475
if (!args) SWIG_fail;
15476
swig_obj[0] = args;
15477
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15478
if (!SWIG_IsOK(res1)) {
15479
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15481
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15483
PyThreadState* __tstate = wxPyBeginAllowThreads();
15484
result = (bool)(arg1)->EndTextColour();
15485
wxPyEndAllowThreads(__tstate);
15486
if (PyErr_Occurred()) SWIG_fail;
15489
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15497
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15498
PyObject *resultobj = 0;
15499
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15500
wxTextAttrAlignment arg2 ;
15506
PyObject * obj0 = 0 ;
15507
PyObject * obj1 = 0 ;
15508
char * kwnames[] = {
15509
(char *) "self",(char *) "alignment", NULL
15512
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
15513
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15514
if (!SWIG_IsOK(res1)) {
15515
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15517
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15518
ecode2 = SWIG_AsVal_int(obj1, &val2);
15519
if (!SWIG_IsOK(ecode2)) {
15520
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
15522
arg2 = static_cast< wxTextAttrAlignment >(val2);
15524
PyThreadState* __tstate = wxPyBeginAllowThreads();
15525
result = (bool)(arg1)->BeginAlignment(arg2);
15526
wxPyEndAllowThreads(__tstate);
15527
if (PyErr_Occurred()) SWIG_fail;
15530
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15538
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15539
PyObject *resultobj = 0;
15540
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15544
PyObject *swig_obj[1] ;
15546
if (!args) SWIG_fail;
15547
swig_obj[0] = args;
15548
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15549
if (!SWIG_IsOK(res1)) {
15550
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15552
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15554
PyThreadState* __tstate = wxPyBeginAllowThreads();
15555
result = (bool)(arg1)->EndAlignment();
15556
wxPyEndAllowThreads(__tstate);
15557
if (PyErr_Occurred()) SWIG_fail;
15560
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15568
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15569
PyObject *resultobj = 0;
15570
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15572
int arg3 = (int) 0 ;
15580
PyObject * obj0 = 0 ;
15581
PyObject * obj1 = 0 ;
15582
PyObject * obj2 = 0 ;
15583
char * kwnames[] = {
15584
(char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
15587
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15588
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15589
if (!SWIG_IsOK(res1)) {
15590
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15592
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15593
ecode2 = SWIG_AsVal_int(obj1, &val2);
15594
if (!SWIG_IsOK(ecode2)) {
15595
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
15597
arg2 = static_cast< int >(val2);
15599
ecode3 = SWIG_AsVal_int(obj2, &val3);
15600
if (!SWIG_IsOK(ecode3)) {
15601
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
15603
arg3 = static_cast< int >(val3);
15606
PyThreadState* __tstate = wxPyBeginAllowThreads();
15607
result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
15608
wxPyEndAllowThreads(__tstate);
15609
if (PyErr_Occurred()) SWIG_fail;
15612
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15620
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15621
PyObject *resultobj = 0;
15622
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15626
PyObject *swig_obj[1] ;
15628
if (!args) SWIG_fail;
15629
swig_obj[0] = args;
15630
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15631
if (!SWIG_IsOK(res1)) {
15632
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15634
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15636
PyThreadState* __tstate = wxPyBeginAllowThreads();
15637
result = (bool)(arg1)->EndLeftIndent();
15638
wxPyEndAllowThreads(__tstate);
15639
if (PyErr_Occurred()) SWIG_fail;
15642
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15650
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15651
PyObject *resultobj = 0;
15652
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15659
PyObject * obj0 = 0 ;
15660
PyObject * obj1 = 0 ;
15661
char * kwnames[] = {
15662
(char *) "self",(char *) "rightIndent", NULL
15665
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
15666
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15667
if (!SWIG_IsOK(res1)) {
15668
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15670
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15671
ecode2 = SWIG_AsVal_int(obj1, &val2);
15672
if (!SWIG_IsOK(ecode2)) {
15673
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
15675
arg2 = static_cast< int >(val2);
15677
PyThreadState* __tstate = wxPyBeginAllowThreads();
15678
result = (bool)(arg1)->BeginRightIndent(arg2);
15679
wxPyEndAllowThreads(__tstate);
15680
if (PyErr_Occurred()) SWIG_fail;
15683
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15691
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15692
PyObject *resultobj = 0;
15693
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15697
PyObject *swig_obj[1] ;
15699
if (!args) SWIG_fail;
15700
swig_obj[0] = args;
15701
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15702
if (!SWIG_IsOK(res1)) {
15703
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15705
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15707
PyThreadState* __tstate = wxPyBeginAllowThreads();
15708
result = (bool)(arg1)->EndRightIndent();
15709
wxPyEndAllowThreads(__tstate);
15710
if (PyErr_Occurred()) SWIG_fail;
15713
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15721
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15722
PyObject *resultobj = 0;
15723
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15733
PyObject * obj0 = 0 ;
15734
PyObject * obj1 = 0 ;
15735
PyObject * obj2 = 0 ;
15736
char * kwnames[] = {
15737
(char *) "self",(char *) "before",(char *) "after", NULL
15740
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextBuffer_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15741
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15742
if (!SWIG_IsOK(res1)) {
15743
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15745
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15746
ecode2 = SWIG_AsVal_int(obj1, &val2);
15747
if (!SWIG_IsOK(ecode2)) {
15748
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
15750
arg2 = static_cast< int >(val2);
15751
ecode3 = SWIG_AsVal_int(obj2, &val3);
15752
if (!SWIG_IsOK(ecode3)) {
15753
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
15755
arg3 = static_cast< int >(val3);
15757
PyThreadState* __tstate = wxPyBeginAllowThreads();
15758
result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
15759
wxPyEndAllowThreads(__tstate);
15760
if (PyErr_Occurred()) SWIG_fail;
15763
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15771
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15772
PyObject *resultobj = 0;
15773
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15777
PyObject *swig_obj[1] ;
15779
if (!args) SWIG_fail;
15780
swig_obj[0] = args;
15781
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15782
if (!SWIG_IsOK(res1)) {
15783
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15785
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15787
PyThreadState* __tstate = wxPyBeginAllowThreads();
15788
result = (bool)(arg1)->EndParagraphSpacing();
15789
wxPyEndAllowThreads(__tstate);
15790
if (PyErr_Occurred()) SWIG_fail;
15793
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15801
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15802
PyObject *resultobj = 0;
15803
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15810
PyObject * obj0 = 0 ;
15811
PyObject * obj1 = 0 ;
15812
char * kwnames[] = {
15813
(char *) "self",(char *) "lineSpacing", NULL
15816
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
15817
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15818
if (!SWIG_IsOK(res1)) {
15819
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15821
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15822
ecode2 = SWIG_AsVal_int(obj1, &val2);
15823
if (!SWIG_IsOK(ecode2)) {
15824
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
15826
arg2 = static_cast< int >(val2);
15828
PyThreadState* __tstate = wxPyBeginAllowThreads();
15829
result = (bool)(arg1)->BeginLineSpacing(arg2);
15830
wxPyEndAllowThreads(__tstate);
15831
if (PyErr_Occurred()) SWIG_fail;
15834
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15842
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15843
PyObject *resultobj = 0;
15844
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15848
PyObject *swig_obj[1] ;
15850
if (!args) SWIG_fail;
15851
swig_obj[0] = args;
15852
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15853
if (!SWIG_IsOK(res1)) {
15854
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15856
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15858
PyThreadState* __tstate = wxPyBeginAllowThreads();
15859
result = (bool)(arg1)->EndLineSpacing();
15860
wxPyEndAllowThreads(__tstate);
15861
if (PyErr_Occurred()) SWIG_fail;
15864
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15872
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15873
PyObject *resultobj = 0;
15874
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15878
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
15890
PyObject * obj0 = 0 ;
15891
PyObject * obj1 = 0 ;
15892
PyObject * obj2 = 0 ;
15893
PyObject * obj3 = 0 ;
15894
PyObject * obj4 = 0 ;
15895
char * kwnames[] = {
15896
(char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
15899
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15900
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15901
if (!SWIG_IsOK(res1)) {
15902
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15904
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15905
ecode2 = SWIG_AsVal_int(obj1, &val2);
15906
if (!SWIG_IsOK(ecode2)) {
15907
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
15909
arg2 = static_cast< int >(val2);
15910
ecode3 = SWIG_AsVal_int(obj2, &val3);
15911
if (!SWIG_IsOK(ecode3)) {
15912
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
15914
arg3 = static_cast< int >(val3);
15915
ecode4 = SWIG_AsVal_int(obj3, &val4);
15916
if (!SWIG_IsOK(ecode4)) {
15917
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
15919
arg4 = static_cast< int >(val4);
15921
ecode5 = SWIG_AsVal_int(obj4, &val5);
15922
if (!SWIG_IsOK(ecode5)) {
15923
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
15925
arg5 = static_cast< int >(val5);
15928
PyThreadState* __tstate = wxPyBeginAllowThreads();
15929
result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
15930
wxPyEndAllowThreads(__tstate);
15931
if (PyErr_Occurred()) SWIG_fail;
15934
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15942
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15943
PyObject *resultobj = 0;
15944
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15948
PyObject *swig_obj[1] ;
15950
if (!args) SWIG_fail;
15951
swig_obj[0] = args;
15952
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15953
if (!SWIG_IsOK(res1)) {
15954
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15956
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15958
PyThreadState* __tstate = wxPyBeginAllowThreads();
15959
result = (bool)(arg1)->EndNumberedBullet();
15960
wxPyEndAllowThreads(__tstate);
15961
if (PyErr_Occurred()) SWIG_fail;
15964
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15972
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15973
PyObject *resultobj = 0;
15974
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15975
wxString *arg2 = 0 ;
15978
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
15982
bool temp2 = false ;
15989
PyObject * obj0 = 0 ;
15990
PyObject * obj1 = 0 ;
15991
PyObject * obj2 = 0 ;
15992
PyObject * obj3 = 0 ;
15993
PyObject * obj4 = 0 ;
15994
char * kwnames[] = {
15995
(char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
15998
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15999
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16000
if (!SWIG_IsOK(res1)) {
16001
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16003
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16005
arg2 = wxString_in_helper(obj1);
16006
if (arg2 == NULL) SWIG_fail;
16009
ecode3 = SWIG_AsVal_int(obj2, &val3);
16010
if (!SWIG_IsOK(ecode3)) {
16011
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
16013
arg3 = static_cast< int >(val3);
16014
ecode4 = SWIG_AsVal_int(obj3, &val4);
16015
if (!SWIG_IsOK(ecode4)) {
16016
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
16018
arg4 = static_cast< int >(val4);
16020
ecode5 = SWIG_AsVal_int(obj4, &val5);
16021
if (!SWIG_IsOK(ecode5)) {
16022
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
16024
arg5 = static_cast< int >(val5);
16027
PyThreadState* __tstate = wxPyBeginAllowThreads();
16028
result = (bool)(arg1)->BeginSymbolBullet((wxString const &)*arg2,arg3,arg4,arg5);
16029
wxPyEndAllowThreads(__tstate);
16030
if (PyErr_Occurred()) SWIG_fail;
16033
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16049
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16050
PyObject *resultobj = 0;
16051
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16055
PyObject *swig_obj[1] ;
16057
if (!args) SWIG_fail;
16058
swig_obj[0] = args;
16059
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16060
if (!SWIG_IsOK(res1)) {
16061
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16063
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16065
PyThreadState* __tstate = wxPyBeginAllowThreads();
16066
result = (bool)(arg1)->EndSymbolBullet();
16067
wxPyEndAllowThreads(__tstate);
16068
if (PyErr_Occurred()) SWIG_fail;
16071
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16079
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16080
PyObject *resultobj = 0;
16081
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16082
wxString *arg2 = 0 ;
16085
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_STANDARD ;
16089
bool temp2 = false ;
16096
PyObject * obj0 = 0 ;
16097
PyObject * obj1 = 0 ;
16098
PyObject * obj2 = 0 ;
16099
PyObject * obj3 = 0 ;
16100
PyObject * obj4 = 0 ;
16101
char * kwnames[] = {
16102
(char *) "self",(char *) "bulletName",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
16105
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16106
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16107
if (!SWIG_IsOK(res1)) {
16108
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16110
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16112
arg2 = wxString_in_helper(obj1);
16113
if (arg2 == NULL) SWIG_fail;
16116
ecode3 = SWIG_AsVal_int(obj2, &val3);
16117
if (!SWIG_IsOK(ecode3)) {
16118
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "3"" of type '" "int""'");
16120
arg3 = static_cast< int >(val3);
16121
ecode4 = SWIG_AsVal_int(obj3, &val4);
16122
if (!SWIG_IsOK(ecode4)) {
16123
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "4"" of type '" "int""'");
16125
arg4 = static_cast< int >(val4);
16127
ecode5 = SWIG_AsVal_int(obj4, &val5);
16128
if (!SWIG_IsOK(ecode5)) {
16129
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "5"" of type '" "int""'");
16131
arg5 = static_cast< int >(val5);
16134
PyThreadState* __tstate = wxPyBeginAllowThreads();
16135
result = (bool)(arg1)->BeginStandardBullet((wxString const &)*arg2,arg3,arg4,arg5);
16136
wxPyEndAllowThreads(__tstate);
16137
if (PyErr_Occurred()) SWIG_fail;
16140
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16156
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16157
PyObject *resultobj = 0;
16158
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16162
PyObject *swig_obj[1] ;
16164
if (!args) SWIG_fail;
16165
swig_obj[0] = args;
16166
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16167
if (!SWIG_IsOK(res1)) {
16168
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndStandardBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16170
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16172
PyThreadState* __tstate = wxPyBeginAllowThreads();
16173
result = (bool)(arg1)->EndStandardBullet();
16174
wxPyEndAllowThreads(__tstate);
16175
if (PyErr_Occurred()) SWIG_fail;
16178
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16186
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16187
PyObject *resultobj = 0;
16188
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16189
wxString *arg2 = 0 ;
16193
bool temp2 = false ;
16194
PyObject * obj0 = 0 ;
16195
PyObject * obj1 = 0 ;
16196
char * kwnames[] = {
16197
(char *) "self",(char *) "characterStyle", NULL
16200
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
16201
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16202
if (!SWIG_IsOK(res1)) {
16203
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16205
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16207
arg2 = wxString_in_helper(obj1);
16208
if (arg2 == NULL) SWIG_fail;
16212
PyThreadState* __tstate = wxPyBeginAllowThreads();
16213
result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
16214
wxPyEndAllowThreads(__tstate);
16215
if (PyErr_Occurred()) SWIG_fail;
16218
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16234
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16235
PyObject *resultobj = 0;
16236
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16240
PyObject *swig_obj[1] ;
16242
if (!args) SWIG_fail;
16243
swig_obj[0] = args;
16244
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16245
if (!SWIG_IsOK(res1)) {
16246
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16248
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16250
PyThreadState* __tstate = wxPyBeginAllowThreads();
16251
result = (bool)(arg1)->EndCharacterStyle();
16252
wxPyEndAllowThreads(__tstate);
16253
if (PyErr_Occurred()) SWIG_fail;
16256
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16264
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16265
PyObject *resultobj = 0;
16266
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16267
wxString *arg2 = 0 ;
16271
bool temp2 = false ;
16272
PyObject * obj0 = 0 ;
16273
PyObject * obj1 = 0 ;
16274
char * kwnames[] = {
16275
(char *) "self",(char *) "paragraphStyle", NULL
16278
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
16279
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16280
if (!SWIG_IsOK(res1)) {
16281
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16283
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16285
arg2 = wxString_in_helper(obj1);
16286
if (arg2 == NULL) SWIG_fail;
16290
PyThreadState* __tstate = wxPyBeginAllowThreads();
16291
result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
16292
wxPyEndAllowThreads(__tstate);
16293
if (PyErr_Occurred()) SWIG_fail;
16296
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16312
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16313
PyObject *resultobj = 0;
16314
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16318
PyObject *swig_obj[1] ;
16320
if (!args) SWIG_fail;
16321
swig_obj[0] = args;
16322
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16323
if (!SWIG_IsOK(res1)) {
16324
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16326
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16328
PyThreadState* __tstate = wxPyBeginAllowThreads();
16329
result = (bool)(arg1)->EndParagraphStyle();
16330
wxPyEndAllowThreads(__tstate);
16331
if (PyErr_Occurred()) SWIG_fail;
16334
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16342
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16343
PyObject *resultobj = 0;
16344
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16345
wxString *arg2 = 0 ;
16346
int arg3 = (int) 1 ;
16347
int arg4 = (int) 1 ;
16351
bool temp2 = false ;
16356
PyObject * obj0 = 0 ;
16357
PyObject * obj1 = 0 ;
16358
PyObject * obj2 = 0 ;
16359
PyObject * obj3 = 0 ;
16360
char * kwnames[] = {
16361
(char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL
16364
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextBuffer_BeginListStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16365
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16366
if (!SWIG_IsOK(res1)) {
16367
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16369
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16371
arg2 = wxString_in_helper(obj1);
16372
if (arg2 == NULL) SWIG_fail;
16376
ecode3 = SWIG_AsVal_int(obj2, &val3);
16377
if (!SWIG_IsOK(ecode3)) {
16378
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "3"" of type '" "int""'");
16380
arg3 = static_cast< int >(val3);
16383
ecode4 = SWIG_AsVal_int(obj3, &val4);
16384
if (!SWIG_IsOK(ecode4)) {
16385
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "4"" of type '" "int""'");
16387
arg4 = static_cast< int >(val4);
16390
PyThreadState* __tstate = wxPyBeginAllowThreads();
16391
result = (bool)(arg1)->BeginListStyle((wxString const &)*arg2,arg3,arg4);
16392
wxPyEndAllowThreads(__tstate);
16393
if (PyErr_Occurred()) SWIG_fail;
16396
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16412
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16413
PyObject *resultobj = 0;
16414
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16418
PyObject *swig_obj[1] ;
16420
if (!args) SWIG_fail;
16421
swig_obj[0] = args;
16422
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16423
if (!SWIG_IsOK(res1)) {
16424
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16426
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16428
PyThreadState* __tstate = wxPyBeginAllowThreads();
16429
result = (bool)(arg1)->EndListStyle();
16430
wxPyEndAllowThreads(__tstate);
16431
if (PyErr_Occurred()) SWIG_fail;
16434
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16442
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16443
PyObject *resultobj = 0;
16444
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16445
wxString *arg2 = 0 ;
16446
wxString const &arg3_defvalue = wxEmptyString ;
16447
wxString *arg3 = (wxString *) &arg3_defvalue ;
16451
bool temp2 = false ;
16452
bool temp3 = false ;
16453
PyObject * obj0 = 0 ;
16454
PyObject * obj1 = 0 ;
16455
PyObject * obj2 = 0 ;
16456
char * kwnames[] = {
16457
(char *) "self",(char *) "url",(char *) "characterStyle", NULL
16460
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_BeginURL",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16461
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16462
if (!SWIG_IsOK(res1)) {
16463
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginURL" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16465
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16467
arg2 = wxString_in_helper(obj1);
16468
if (arg2 == NULL) SWIG_fail;
16473
arg3 = wxString_in_helper(obj2);
16474
if (arg3 == NULL) SWIG_fail;
16479
PyThreadState* __tstate = wxPyBeginAllowThreads();
16480
result = (bool)(arg1)->BeginURL((wxString const &)*arg2,(wxString const &)*arg3);
16481
wxPyEndAllowThreads(__tstate);
16482
if (PyErr_Occurred()) SWIG_fail;
16485
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16509
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16510
PyObject *resultobj = 0;
16511
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16515
PyObject *swig_obj[1] ;
16517
if (!args) SWIG_fail;
16518
swig_obj[0] = args;
16519
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16520
if (!SWIG_IsOK(res1)) {
16521
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndURL" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16523
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16525
PyThreadState* __tstate = wxPyBeginAllowThreads();
16526
result = (bool)(arg1)->EndURL();
16527
wxPyEndAllowThreads(__tstate);
16528
if (PyErr_Occurred()) SWIG_fail;
16531
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16539
SWIGINTERN PyObject *_wrap_RichTextBuffer_AddEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16540
PyObject *resultobj = 0;
16541
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16542
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
16548
PyObject * obj0 = 0 ;
16549
PyObject * obj1 = 0 ;
16550
char * kwnames[] = {
16551
(char *) "self",(char *) "handler", NULL
16554
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_AddEventHandler",kwnames,&obj0,&obj1)) SWIG_fail;
16555
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16556
if (!SWIG_IsOK(res1)) {
16557
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_AddEventHandler" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16559
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16560
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxEvtHandler, 0 | 0 );
16561
if (!SWIG_IsOK(res2)) {
16562
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_AddEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
16564
arg2 = reinterpret_cast< wxEvtHandler * >(argp2);
16566
PyThreadState* __tstate = wxPyBeginAllowThreads();
16567
result = (bool)(arg1)->AddEventHandler(arg2);
16568
wxPyEndAllowThreads(__tstate);
16569
if (PyErr_Occurred()) SWIG_fail;
16572
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16580
SWIGINTERN PyObject *_wrap_RichTextBuffer_RemoveEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16581
PyObject *resultobj = 0;
16582
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16583
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
16584
bool arg3 = (bool) false ;
16592
PyObject * obj0 = 0 ;
16593
PyObject * obj1 = 0 ;
16594
PyObject * obj2 = 0 ;
16595
char * kwnames[] = {
16596
(char *) "self",(char *) "handler",(char *) "deleteHandler", NULL
16599
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_RemoveEventHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16600
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16601
if (!SWIG_IsOK(res1)) {
16602
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16604
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16605
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxEvtHandler, 0 | 0 );
16606
if (!SWIG_IsOK(res2)) {
16607
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
16609
arg2 = reinterpret_cast< wxEvtHandler * >(argp2);
16611
ecode3 = SWIG_AsVal_bool(obj2, &val3);
16612
if (!SWIG_IsOK(ecode3)) {
16613
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "3"" of type '" "bool""'");
16615
arg3 = static_cast< bool >(val3);
16618
PyThreadState* __tstate = wxPyBeginAllowThreads();
16619
result = (bool)(arg1)->RemoveEventHandler(arg2,arg3);
16620
wxPyEndAllowThreads(__tstate);
16621
if (PyErr_Occurred()) SWIG_fail;
16624
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16632
SWIGINTERN PyObject *_wrap_RichTextBuffer_ClearEventHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16633
PyObject *resultobj = 0;
16634
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16637
PyObject *swig_obj[1] ;
16639
if (!args) SWIG_fail;
16640
swig_obj[0] = args;
16641
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16642
if (!SWIG_IsOK(res1)) {
16643
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ClearEventHandlers" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16645
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16647
PyThreadState* __tstate = wxPyBeginAllowThreads();
16648
(arg1)->ClearEventHandlers();
16649
wxPyEndAllowThreads(__tstate);
16650
if (PyErr_Occurred()) SWIG_fail;
16652
resultobj = SWIG_Py_Void();
16659
SWIGINTERN PyObject *_wrap_RichTextBuffer_SendEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16660
PyObject *resultobj = 0;
16661
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16662
wxEvent *arg2 = 0 ;
16663
bool arg3 = (bool) true ;
16671
PyObject * obj0 = 0 ;
16672
PyObject * obj1 = 0 ;
16673
PyObject * obj2 = 0 ;
16674
char * kwnames[] = {
16675
(char *) "self",(char *) "event",(char *) "sendToAll", NULL
16678
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SendEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16679
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16680
if (!SWIG_IsOK(res1)) {
16681
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16683
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16684
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxEvent, 0 );
16685
if (!SWIG_IsOK(res2)) {
16686
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
16689
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_SendEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
16691
arg2 = reinterpret_cast< wxEvent * >(argp2);
16693
ecode3 = SWIG_AsVal_bool(obj2, &val3);
16694
if (!SWIG_IsOK(ecode3)) {
16695
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "3"" of type '" "bool""'");
16697
arg3 = static_cast< bool >(val3);
16700
PyThreadState* __tstate = wxPyBeginAllowThreads();
16701
result = (bool)(arg1)->SendEvent(*arg2,arg3);
16702
wxPyEndAllowThreads(__tstate);
16703
if (PyErr_Occurred()) SWIG_fail;
16706
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16714
SWIGINTERN PyObject *_wrap_RichTextBuffer_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16715
PyObject *resultobj = 0;
16716
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16717
wxRichTextBuffer *arg2 = 0 ;
16722
PyObject * obj0 = 0 ;
16723
PyObject * obj1 = 0 ;
16724
char * kwnames[] = {
16725
(char *) "self",(char *) "obj", NULL
16728
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
16729
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16730
if (!SWIG_IsOK(res1)) {
16731
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Copy" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16733
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16734
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBuffer, 0 | 0);
16735
if (!SWIG_IsOK(res2)) {
16736
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_Copy" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
16739
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_Copy" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
16741
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
16743
PyThreadState* __tstate = wxPyBeginAllowThreads();
16744
(arg1)->Copy((wxRichTextBuffer const &)*arg2);
16745
wxPyEndAllowThreads(__tstate);
16746
if (PyErr_Occurred()) SWIG_fail;
16748
resultobj = SWIG_Py_Void();
16755
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertParagraphsWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16756
PyObject *resultobj = 0;
16757
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16759
wxRichTextParagraphLayoutBox *arg3 = 0 ;
16760
wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
16761
int arg5 = (int) 0 ;
16773
PyObject * obj0 = 0 ;
16774
PyObject * obj1 = 0 ;
16775
PyObject * obj2 = 0 ;
16776
PyObject * obj3 = 0 ;
16777
PyObject * obj4 = 0 ;
16778
char * kwnames[] = {
16779
(char *) "self",(char *) "pos",(char *) "paragraphs",(char *) "ctrl",(char *) "flags", NULL
16782
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertParagraphsWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16783
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16784
if (!SWIG_IsOK(res1)) {
16785
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16787
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16788
ecode2 = SWIG_AsVal_long(obj1, &val2);
16789
if (!SWIG_IsOK(ecode2)) {
16790
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "2"" of type '" "long""'");
16792
arg2 = static_cast< long >(val2);
16793
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0);
16794
if (!SWIG_IsOK(res3)) {
16795
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox const &""'");
16798
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox const &""'");
16800
arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
16801
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16802
if (!SWIG_IsOK(res4)) {
16803
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'");
16805
arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
16807
ecode5 = SWIG_AsVal_int(obj4, &val5);
16808
if (!SWIG_IsOK(ecode5)) {
16809
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "5"" of type '" "int""'");
16811
arg5 = static_cast< int >(val5);
16814
PyThreadState* __tstate = wxPyBeginAllowThreads();
16815
result = (bool)(arg1)->InsertParagraphsWithUndo(arg2,(wxRichTextParagraphLayoutBox const &)*arg3,arg4,arg5);
16816
wxPyEndAllowThreads(__tstate);
16817
if (PyErr_Occurred()) SWIG_fail;
16820
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16828
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertTextWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16829
PyObject *resultobj = 0;
16830
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16832
wxString *arg3 = 0 ;
16833
wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
16834
int arg5 = (int) 0 ;
16840
bool temp3 = false ;
16845
PyObject * obj0 = 0 ;
16846
PyObject * obj1 = 0 ;
16847
PyObject * obj2 = 0 ;
16848
PyObject * obj3 = 0 ;
16849
PyObject * obj4 = 0 ;
16850
char * kwnames[] = {
16851
(char *) "self",(char *) "pos",(char *) "text",(char *) "ctrl",(char *) "flags", NULL
16854
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertTextWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16855
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16856
if (!SWIG_IsOK(res1)) {
16857
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16859
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16860
ecode2 = SWIG_AsVal_long(obj1, &val2);
16861
if (!SWIG_IsOK(ecode2)) {
16862
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "2"" of type '" "long""'");
16864
arg2 = static_cast< long >(val2);
16866
arg3 = wxString_in_helper(obj2);
16867
if (arg3 == NULL) SWIG_fail;
16870
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16871
if (!SWIG_IsOK(res4)) {
16872
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'");
16874
arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
16876
ecode5 = SWIG_AsVal_int(obj4, &val5);
16877
if (!SWIG_IsOK(ecode5)) {
16878
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "5"" of type '" "int""'");
16880
arg5 = static_cast< int >(val5);
16883
PyThreadState* __tstate = wxPyBeginAllowThreads();
16884
result = (bool)(arg1)->InsertTextWithUndo(arg2,(wxString const &)*arg3,arg4,arg5);
16885
wxPyEndAllowThreads(__tstate);
16886
if (PyErr_Occurred()) SWIG_fail;
16889
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16905
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertNewlineWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16906
PyObject *resultobj = 0;
16907
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16909
wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
16910
int arg4 = (int) 0 ;
16920
PyObject * obj0 = 0 ;
16921
PyObject * obj1 = 0 ;
16922
PyObject * obj2 = 0 ;
16923
PyObject * obj3 = 0 ;
16924
char * kwnames[] = {
16925
(char *) "self",(char *) "pos",(char *) "ctrl",(char *) "flags", NULL
16928
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextBuffer_InsertNewlineWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16929
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16930
if (!SWIG_IsOK(res1)) {
16931
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16933
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16934
ecode2 = SWIG_AsVal_long(obj1, &val2);
16935
if (!SWIG_IsOK(ecode2)) {
16936
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "2"" of type '" "long""'");
16938
arg2 = static_cast< long >(val2);
16939
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16940
if (!SWIG_IsOK(res3)) {
16941
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "3"" of type '" "wxRichTextCtrl *""'");
16943
arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
16945
ecode4 = SWIG_AsVal_int(obj3, &val4);
16946
if (!SWIG_IsOK(ecode4)) {
16947
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "4"" of type '" "int""'");
16949
arg4 = static_cast< int >(val4);
16952
PyThreadState* __tstate = wxPyBeginAllowThreads();
16953
result = (bool)(arg1)->InsertNewlineWithUndo(arg2,arg3,arg4);
16954
wxPyEndAllowThreads(__tstate);
16955
if (PyErr_Occurred()) SWIG_fail;
16958
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16966
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertImageWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16967
PyObject *resultobj = 0;
16968
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16970
wxRichTextImageBlock *arg3 = 0 ;
16971
wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
16972
int arg5 = (int) 0 ;
16984
PyObject * obj0 = 0 ;
16985
PyObject * obj1 = 0 ;
16986
PyObject * obj2 = 0 ;
16987
PyObject * obj3 = 0 ;
16988
PyObject * obj4 = 0 ;
16989
char * kwnames[] = {
16990
(char *) "self",(char *) "pos",(char *) "imageBlock",(char *) "ctrl",(char *) "flags", NULL
16993
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertImageWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16994
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16995
if (!SWIG_IsOK(res1)) {
16996
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16998
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16999
ecode2 = SWIG_AsVal_long(obj1, &val2);
17000
if (!SWIG_IsOK(ecode2)) {
17001
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "2"" of type '" "long""'");
17003
arg2 = static_cast< long >(val2);
17004
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0);
17005
if (!SWIG_IsOK(res3)) {
17006
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "3"" of type '" "wxRichTextImageBlock const &""'");
17009
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "3"" of type '" "wxRichTextImageBlock const &""'");
17011
arg3 = reinterpret_cast< wxRichTextImageBlock * >(argp3);
17012
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
17013
if (!SWIG_IsOK(res4)) {
17014
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'");
17016
arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
17018
ecode5 = SWIG_AsVal_int(obj4, &val5);
17019
if (!SWIG_IsOK(ecode5)) {
17020
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "5"" of type '" "int""'");
17022
arg5 = static_cast< int >(val5);
17025
PyThreadState* __tstate = wxPyBeginAllowThreads();
17026
result = (bool)(arg1)->InsertImageWithUndo(arg2,(wxRichTextImageBlock const &)*arg3,arg4,arg5);
17027
wxPyEndAllowThreads(__tstate);
17028
if (PyErr_Occurred()) SWIG_fail;
17031
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17039
SWIGINTERN PyObject *_wrap_RichTextBuffer_DeleteRangeWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17040
PyObject *resultobj = 0;
17041
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17042
wxRichTextRange *arg2 = 0 ;
17043
wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
17047
wxRichTextRange temp2 ;
17050
PyObject * obj0 = 0 ;
17051
PyObject * obj1 = 0 ;
17052
PyObject * obj2 = 0 ;
17053
char * kwnames[] = {
17054
(char *) "self",(char *) "range",(char *) "ctrl", NULL
17057
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextBuffer_DeleteRangeWithUndo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17058
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17059
if (!SWIG_IsOK(res1)) {
17060
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_DeleteRangeWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
17062
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17065
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
17067
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
17068
if (!SWIG_IsOK(res3)) {
17069
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_DeleteRangeWithUndo" "', expected argument " "3"" of type '" "wxRichTextCtrl *""'");
17071
arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
17073
PyThreadState* __tstate = wxPyBeginAllowThreads();
17074
result = (bool)(arg1)->DeleteRangeWithUndo((wxRichTextRange const &)*arg2,arg3);
17075
wxPyEndAllowThreads(__tstate);
17076
if (PyErr_Occurred()) SWIG_fail;
17079
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17087
SWIGINTERN PyObject *_wrap_RichTextBuffer_Modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17088
PyObject *resultobj = 0;
17089
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17090
bool arg2 = (bool) true ;
17095
PyObject * obj0 = 0 ;
17096
PyObject * obj1 = 0 ;
17097
char * kwnames[] = {
17098
(char *) "self",(char *) "modify", NULL
17101
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextBuffer_Modify",kwnames,&obj0,&obj1)) SWIG_fail;
17102
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17103
if (!SWIG_IsOK(res1)) {
17104
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Modify" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
17106
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17108
ecode2 = SWIG_AsVal_bool(obj1, &val2);
17109
if (!SWIG_IsOK(ecode2)) {
17110
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_Modify" "', expected argument " "2"" of type '" "bool""'");
17112
arg2 = static_cast< bool >(val2);
17115
PyThreadState* __tstate = wxPyBeginAllowThreads();
17116
(arg1)->Modify(arg2);
17117
wxPyEndAllowThreads(__tstate);
17118
if (PyErr_Occurred()) SWIG_fail;
17120
resultobj = SWIG_Py_Void();
17127
SWIGINTERN PyObject *_wrap_RichTextBuffer_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17128
PyObject *resultobj = 0;
17129
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17133
PyObject *swig_obj[1] ;
17135
if (!args) SWIG_fail;
17136
swig_obj[0] = args;
17137
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17138
if (!SWIG_IsOK(res1)) {
17139
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_IsModified" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
17141
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17143
PyThreadState* __tstate = wxPyBeginAllowThreads();
17144
result = (bool)((wxRichTextBuffer const *)arg1)->IsModified();
17145
wxPyEndAllowThreads(__tstate);
17146
if (PyErr_Occurred()) SWIG_fail;
17149
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17157
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetStyleForNewParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17158
PyObject *resultobj = 0;
17159
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17161
bool arg3 = (bool) false ;
17162
bool arg4 = (bool) false ;
17163
wxTextAttrEx result;
17172
PyObject * obj0 = 0 ;
17173
PyObject * obj1 = 0 ;
17174
PyObject * obj2 = 0 ;
17175
PyObject * obj3 = 0 ;
17176
char * kwnames[] = {
17177
(char *) "self",(char *) "pos",(char *) "caretPosition",(char *) "lookUpNewParaStyle", NULL
17180
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextBuffer_GetStyleForNewParagraph",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17181
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17182
if (!SWIG_IsOK(res1)) {
17183
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
17185
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17186
ecode2 = SWIG_AsVal_long(obj1, &val2);
17187
if (!SWIG_IsOK(ecode2)) {
17188
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "2"" of type '" "long""'");
17190
arg2 = static_cast< long >(val2);
17192
ecode3 = SWIG_AsVal_bool(obj2, &val3);
17193
if (!SWIG_IsOK(ecode3)) {
17194
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "3"" of type '" "bool""'");
17196
arg3 = static_cast< bool >(val3);
17199
ecode4 = SWIG_AsVal_bool(obj3, &val4);
17200
if (!SWIG_IsOK(ecode4)) {
17201
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "4"" of type '" "bool""'");
17203
arg4 = static_cast< bool >(val4);
17206
PyThreadState* __tstate = wxPyBeginAllowThreads();
17207
result = ((wxRichTextBuffer const *)arg1)->GetStyleForNewParagraph(arg2,arg3,arg4);
17208
wxPyEndAllowThreads(__tstate);
17209
if (PyErr_Occurred()) SWIG_fail;
17211
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
17218
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17219
PyObject *resultobj = 0;
17220
wxRichTextFileHandlerList_t *result = 0 ;
17222
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetHandlers",0,0,0)) SWIG_fail;
17224
PyThreadState* __tstate = wxPyBeginAllowThreads();
17226
wxRichTextFileHandlerList_t &_result_ref = wxRichTextBuffer::GetHandlers();
17227
result = (wxRichTextFileHandlerList_t *) &_result_ref;
17229
wxPyEndAllowThreads(__tstate);
17230
if (PyErr_Occurred()) SWIG_fail;
17233
wxRichTextFileHandlerList* mylist = new wxRichTextFileHandlerList(result);
17234
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(mylist), SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_POINTER_OWN );
17242
SWIGINTERN PyObject *_wrap_RichTextBuffer_AddHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17243
PyObject *resultobj = 0;
17244
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17246
PyObject * obj0 = 0 ;
17247
char * kwnames[] = {
17248
(char *) "handler", NULL
17251
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_AddHandler",kwnames,&obj0)) SWIG_fail;
17252
res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN | 0 );
17253
if (!SWIG_IsOK(res1)) {
17254
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_AddHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17257
PyThreadState* __tstate = wxPyBeginAllowThreads();
17258
wxRichTextBuffer::AddHandler(arg1);
17259
wxPyEndAllowThreads(__tstate);
17260
if (PyErr_Occurred()) SWIG_fail;
17262
resultobj = SWIG_Py_Void();
17269
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17270
PyObject *resultobj = 0;
17271
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17273
PyObject * obj0 = 0 ;
17274
char * kwnames[] = {
17275
(char *) "handler", NULL
17278
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_InsertHandler",kwnames,&obj0)) SWIG_fail;
17279
res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN | 0 );
17280
if (!SWIG_IsOK(res1)) {
17281
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17284
PyThreadState* __tstate = wxPyBeginAllowThreads();
17285
wxRichTextBuffer::InsertHandler(arg1);
17286
wxPyEndAllowThreads(__tstate);
17287
if (PyErr_Occurred()) SWIG_fail;
17289
resultobj = SWIG_Py_Void();
17296
SWIGINTERN PyObject *_wrap_RichTextBuffer_RemoveHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17297
PyObject *resultobj = 0;
17298
wxString *arg1 = 0 ;
17300
bool temp1 = false ;
17301
PyObject * obj0 = 0 ;
17302
char * kwnames[] = {
17303
(char *) "name", NULL
17306
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_RemoveHandler",kwnames,&obj0)) SWIG_fail;
17308
arg1 = wxString_in_helper(obj0);
17309
if (arg1 == NULL) SWIG_fail;
17313
PyThreadState* __tstate = wxPyBeginAllowThreads();
17314
result = (bool)wxRichTextBuffer::RemoveHandler((wxString const &)*arg1);
17315
wxPyEndAllowThreads(__tstate);
17316
if (PyErr_Occurred()) SWIG_fail;
17319
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17335
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17336
PyObject *resultobj = 0;
17337
wxString *arg1 = 0 ;
17338
wxRichTextFileHandler *result = 0 ;
17339
bool temp1 = false ;
17340
PyObject * obj0 = 0 ;
17341
char * kwnames[] = {
17342
(char *) "name", NULL
17345
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_FindHandlerByName",kwnames,&obj0)) SWIG_fail;
17347
arg1 = wxString_in_helper(obj0);
17348
if (arg1 == NULL) SWIG_fail;
17352
PyThreadState* __tstate = wxPyBeginAllowThreads();
17353
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler((wxString const &)*arg1);
17354
wxPyEndAllowThreads(__tstate);
17355
if (PyErr_Occurred()) SWIG_fail;
17358
resultobj = wxPyMake_wxObject(result, (bool)0);
17374
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17375
PyObject *resultobj = 0;
17376
wxString *arg1 = 0 ;
17378
wxRichTextFileHandler *result = 0 ;
17379
bool temp1 = false ;
17382
PyObject * obj0 = 0 ;
17383
PyObject * obj1 = 0 ;
17384
char * kwnames[] = {
17385
(char *) "extension",(char *) "imageType", NULL
17388
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_FindHandlerByExtension",kwnames,&obj0,&obj1)) SWIG_fail;
17390
arg1 = wxString_in_helper(obj0);
17391
if (arg1 == NULL) SWIG_fail;
17394
ecode2 = SWIG_AsVal_int(obj1, &val2);
17395
if (!SWIG_IsOK(ecode2)) {
17396
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_FindHandlerByExtension" "', expected argument " "2"" of type '" "int""'");
17398
arg2 = static_cast< int >(val2);
17400
PyThreadState* __tstate = wxPyBeginAllowThreads();
17401
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler((wxString const &)*arg1,arg2);
17402
wxPyEndAllowThreads(__tstate);
17403
if (PyErr_Occurred()) SWIG_fail;
17406
resultobj = wxPyMake_wxObject(result, (bool)0);
17422
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17423
PyObject *resultobj = 0;
17424
wxString *arg1 = 0 ;
17426
wxRichTextFileHandler *result = 0 ;
17427
bool temp1 = false ;
17430
PyObject * obj0 = 0 ;
17431
PyObject * obj1 = 0 ;
17432
char * kwnames[] = {
17433
(char *) "filename",(char *) "imageType", NULL
17436
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_FindHandlerByFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17438
arg1 = wxString_in_helper(obj0);
17439
if (arg1 == NULL) SWIG_fail;
17442
ecode2 = SWIG_AsVal_int(obj1, &val2);
17443
if (!SWIG_IsOK(ecode2)) {
17444
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_FindHandlerByFilename" "', expected argument " "2"" of type '" "int""'");
17446
arg2 = static_cast< int >(val2);
17448
PyThreadState* __tstate = wxPyBeginAllowThreads();
17449
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandlerFilenameOrType((wxString const &)*arg1,arg2);
17450
wxPyEndAllowThreads(__tstate);
17451
if (PyErr_Occurred()) SWIG_fail;
17454
resultobj = wxPyMake_wxObject(result, (bool)0);
17470
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17471
PyObject *resultobj = 0;
17473
wxRichTextFileHandler *result = 0 ;
17476
PyObject * obj0 = 0 ;
17477
char * kwnames[] = {
17478
(char *) "imageType", NULL
17481
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_FindHandlerByType",kwnames,&obj0)) SWIG_fail;
17482
ecode1 = SWIG_AsVal_int(obj0, &val1);
17483
if (!SWIG_IsOK(ecode1)) {
17484
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_FindHandlerByType" "', expected argument " "1"" of type '" "int""'");
17486
arg1 = static_cast< int >(val1);
17488
PyThreadState* __tstate = wxPyBeginAllowThreads();
17489
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler(arg1);
17490
wxPyEndAllowThreads(__tstate);
17491
if (PyErr_Occurred()) SWIG_fail;
17494
resultobj = wxPyMake_wxObject(result, (bool)0);
17502
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetExtWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17503
PyObject *resultobj = 0;
17504
bool arg1 = (bool) false ;
17505
bool arg2 = (bool) false ;
17506
PyObject *result = 0 ;
17511
PyObject * obj0 = 0 ;
17512
PyObject * obj1 = 0 ;
17513
char * kwnames[] = {
17514
(char *) "combine",(char *) "save", NULL
17517
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:RichTextBuffer_GetExtWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17519
ecode1 = SWIG_AsVal_bool(obj0, &val1);
17520
if (!SWIG_IsOK(ecode1)) {
17521
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_GetExtWildcard" "', expected argument " "1"" of type '" "bool""'");
17523
arg1 = static_cast< bool >(val1);
17526
ecode2 = SWIG_AsVal_bool(obj1, &val2);
17527
if (!SWIG_IsOK(ecode2)) {
17528
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_GetExtWildcard" "', expected argument " "2"" of type '" "bool""'");
17530
arg2 = static_cast< bool >(val2);
17533
result = (PyObject *)wxRichTextBuffer_GetExtWildcard(arg1,arg2);
17534
if (PyErr_Occurred()) SWIG_fail;
17536
resultobj = result;
17543
SWIGINTERN PyObject *_wrap_RichTextBuffer_CleanUpHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17544
PyObject *resultobj = 0;
17546
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_CleanUpHandlers",0,0,0)) SWIG_fail;
17548
PyThreadState* __tstate = wxPyBeginAllowThreads();
17549
wxRichTextBuffer::CleanUpHandlers();
17550
wxPyEndAllowThreads(__tstate);
17551
if (PyErr_Occurred()) SWIG_fail;
17553
resultobj = SWIG_Py_Void();
17560
SWIGINTERN PyObject *_wrap_RichTextBuffer_InitStandardHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17561
PyObject *resultobj = 0;
17563
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_InitStandardHandlers",0,0,0)) SWIG_fail;
17565
PyThreadState* __tstate = wxPyBeginAllowThreads();
17566
wxRichTextBuffer::InitStandardHandlers();
17567
wxPyEndAllowThreads(__tstate);
17568
if (PyErr_Occurred()) SWIG_fail;
17570
resultobj = SWIG_Py_Void();
17577
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17578
PyObject *resultobj = 0;
17579
wxRichTextRenderer *result = 0 ;
17581
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetRenderer",0,0,0)) SWIG_fail;
17583
PyThreadState* __tstate = wxPyBeginAllowThreads();
17584
result = (wxRichTextRenderer *)wxRichTextBuffer::GetRenderer();
17585
wxPyEndAllowThreads(__tstate);
17586
if (PyErr_Occurred()) SWIG_fail;
17588
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
17595
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17596
PyObject *resultobj = 0;
17597
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
17600
PyObject * obj0 = 0 ;
17601
char * kwnames[] = {
17602
(char *) "renderer", NULL
17605
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetRenderer",kwnames,&obj0)) SWIG_fail;
17606
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
17607
if (!SWIG_IsOK(res1)) {
17608
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetRenderer" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
17610
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
17612
PyThreadState* __tstate = wxPyBeginAllowThreads();
17613
wxRichTextBuffer::SetRenderer(arg1);
17614
wxPyEndAllowThreads(__tstate);
17615
if (PyErr_Occurred()) SWIG_fail;
17617
resultobj = SWIG_Py_Void();
17624
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBulletRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17625
PyObject *resultobj = 0;
17628
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetBulletRightMargin",0,0,0)) SWIG_fail;
17630
PyThreadState* __tstate = wxPyBeginAllowThreads();
17631
result = (int)wxRichTextBuffer::GetBulletRightMargin();
17632
wxPyEndAllowThreads(__tstate);
17633
if (PyErr_Occurred()) SWIG_fail;
17635
resultobj = SWIG_From_int(static_cast< int >(result));
17642
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetBulletRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17643
PyObject *resultobj = 0;
17647
PyObject * obj0 = 0 ;
17648
char * kwnames[] = {
17649
(char *) "margin", NULL
17652
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetBulletRightMargin",kwnames,&obj0)) SWIG_fail;
17653
ecode1 = SWIG_AsVal_int(obj0, &val1);
17654
if (!SWIG_IsOK(ecode1)) {
17655
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_SetBulletRightMargin" "', expected argument " "1"" of type '" "int""'");
17657
arg1 = static_cast< int >(val1);
17659
PyThreadState* __tstate = wxPyBeginAllowThreads();
17660
wxRichTextBuffer::SetBulletRightMargin(arg1);
17661
wxPyEndAllowThreads(__tstate);
17662
if (PyErr_Occurred()) SWIG_fail;
17664
resultobj = SWIG_Py_Void();
17671
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBulletProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17672
PyObject *resultobj = 0;
17675
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetBulletProportion",0,0,0)) SWIG_fail;
17677
PyThreadState* __tstate = wxPyBeginAllowThreads();
17678
result = (float)wxRichTextBuffer::GetBulletProportion();
17679
wxPyEndAllowThreads(__tstate);
17680
if (PyErr_Occurred()) SWIG_fail;
17682
resultobj = SWIG_From_float(static_cast< float >(result));
17689
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetBulletProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17690
PyObject *resultobj = 0;
17694
PyObject * obj0 = 0 ;
17695
char * kwnames[] = {
17696
(char *) "prop", NULL
17699
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetBulletProportion",kwnames,&obj0)) SWIG_fail;
17700
ecode1 = SWIG_AsVal_float(obj0, &val1);
17701
if (!SWIG_IsOK(ecode1)) {
17702
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_SetBulletProportion" "', expected argument " "1"" of type '" "float""'");
17704
arg1 = static_cast< float >(val1);
17706
PyThreadState* __tstate = wxPyBeginAllowThreads();
17707
wxRichTextBuffer::SetBulletProportion(arg1);
17708
wxPyEndAllowThreads(__tstate);
17709
if (PyErr_Occurred()) SWIG_fail;
17711
resultobj = SWIG_Py_Void();
17718
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17719
PyObject *resultobj = 0;
17720
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17724
PyObject *swig_obj[1] ;
17726
if (!args) SWIG_fail;
17727
swig_obj[0] = args;
17728
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17729
if (!SWIG_IsOK(res1)) {
17730
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetScale" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
17732
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17734
PyThreadState* __tstate = wxPyBeginAllowThreads();
17735
result = (double)((wxRichTextBuffer const *)arg1)->GetScale();
17736
wxPyEndAllowThreads(__tstate);
17737
if (PyErr_Occurred()) SWIG_fail;
17739
resultobj = SWIG_From_double(static_cast< double >(result));
17746
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17747
PyObject *resultobj = 0;
17748
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17754
PyObject * obj0 = 0 ;
17755
PyObject * obj1 = 0 ;
17756
char * kwnames[] = {
17757
(char *) "self",(char *) "scale", NULL
17760
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
17761
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17762
if (!SWIG_IsOK(res1)) {
17763
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetScale" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
17765
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17766
ecode2 = SWIG_AsVal_double(obj1, &val2);
17767
if (!SWIG_IsOK(ecode2)) {
17768
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_SetScale" "', expected argument " "2"" of type '" "double""'");
17770
arg2 = static_cast< double >(val2);
17772
PyThreadState* __tstate = wxPyBeginAllowThreads();
17773
(arg1)->SetScale(arg2);
17774
wxPyEndAllowThreads(__tstate);
17775
if (PyErr_Occurred()) SWIG_fail;
17777
resultobj = SWIG_Py_Void();
17784
SWIGINTERN PyObject *RichTextBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17786
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17787
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextBuffer, SWIG_NewClientData(obj));
17788
return SWIG_Py_Void();
17791
SWIGINTERN PyObject *RichTextBuffer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17792
return SWIG_Python_InitShadowInstance(args);
17795
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17796
PyObject *resultobj = 0;
17797
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17800
PyObject *swig_obj[1] ;
17802
if (!args) SWIG_fail;
17803
swig_obj[0] = args;
17804
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN | 0 );
17805
if (!SWIG_IsOK(res1)) {
17806
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17808
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17810
PyThreadState* __tstate = wxPyBeginAllowThreads();
17813
wxPyEndAllowThreads(__tstate);
17814
if (PyErr_Occurred()) SWIG_fail;
17816
resultobj = SWIG_Py_Void();
17823
SWIGINTERN PyObject *_wrap_RichTextFileHandler_LoadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17824
PyObject *resultobj = 0;
17825
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17826
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17827
wxInputStream *arg3 = 0 ;
17833
wxPyInputStream *temp3 ;
17835
PyObject * obj0 = 0 ;
17836
PyObject * obj1 = 0 ;
17837
PyObject * obj2 = 0 ;
17838
char * kwnames[] = {
17839
(char *) "self",(char *) "buffer",(char *) "stream", NULL
17842
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_LoadStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17843
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17844
if (!SWIG_IsOK(res1)) {
17845
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_LoadStream" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17847
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17848
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17849
if (!SWIG_IsOK(res2)) {
17850
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_LoadStream" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17852
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17854
if (wxPyConvertSwigPtr(obj2, (void **)&temp3, wxT("wxPyInputStream"))) {
17855
arg3 = temp3->m_wxis;
17858
PyErr_Clear(); // clear the failure of the wxPyConvert above
17859
arg3 = wxPyCBInputStream_create(obj2, false);
17860
if (arg3 == NULL) {
17861
PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
17868
PyThreadState* __tstate = wxPyBeginAllowThreads();
17869
result = (bool)(arg1)->LoadFile(arg2,*arg3);
17870
wxPyEndAllowThreads(__tstate);
17871
if (PyErr_Occurred()) SWIG_fail;
17874
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17877
if (created3) delete arg3;
17882
if (created3) delete arg3;
17888
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SaveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17889
PyObject *resultobj = 0;
17890
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17891
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17892
wxOutputStream *arg3 = 0 ;
17898
wxPyOutputStream *temp3 ;
17900
PyObject * obj0 = 0 ;
17901
PyObject * obj1 = 0 ;
17902
PyObject * obj2 = 0 ;
17903
char * kwnames[] = {
17904
(char *) "self",(char *) "buffer",(char *) "stream", NULL
17907
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_SaveStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17908
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17909
if (!SWIG_IsOK(res1)) {
17910
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SaveStream" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17912
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17913
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17914
if (!SWIG_IsOK(res2)) {
17915
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_SaveStream" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17917
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17919
if (wxPyConvertSwigPtr(obj2, (void **)&temp3, wxT("wxPyOutputStream"))) {
17920
arg3 = temp3->m_wxos;
17923
PyErr_Clear(); // clear the failure of the wxPyConvert above
17924
arg3 = wxPyCBOutputStream_create(obj2, false);
17925
if (arg3 == NULL) {
17926
PyErr_SetString(PyExc_TypeError, "Expected wx.OutputStream or Python file-like object.");
17933
PyThreadState* __tstate = wxPyBeginAllowThreads();
17934
result = (bool)(arg1)->SaveFile(arg2,*arg3);
17935
wxPyEndAllowThreads(__tstate);
17936
if (PyErr_Occurred()) SWIG_fail;
17939
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17942
if (created3) delete arg3;
17947
if (created3) delete arg3;
17953
SWIGINTERN PyObject *_wrap_RichTextFileHandler_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17954
PyObject *resultobj = 0;
17955
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17956
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17957
wxString *arg3 = 0 ;
17963
bool temp3 = false ;
17964
PyObject * obj0 = 0 ;
17965
PyObject * obj1 = 0 ;
17966
PyObject * obj2 = 0 ;
17967
char * kwnames[] = {
17968
(char *) "self",(char *) "buffer",(char *) "filename", NULL
17971
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17972
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17973
if (!SWIG_IsOK(res1)) {
17974
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_LoadFile" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17976
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17977
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17978
if (!SWIG_IsOK(res2)) {
17979
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_LoadFile" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17981
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17983
arg3 = wxString_in_helper(obj2);
17984
if (arg3 == NULL) SWIG_fail;
17988
PyThreadState* __tstate = wxPyBeginAllowThreads();
17989
result = (bool)(arg1)->LoadFile(arg2,(wxString const &)*arg3);
17990
wxPyEndAllowThreads(__tstate);
17991
if (PyErr_Occurred()) SWIG_fail;
17994
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18010
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18011
PyObject *resultobj = 0;
18012
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18013
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
18014
wxString *arg3 = 0 ;
18020
bool temp3 = false ;
18021
PyObject * obj0 = 0 ;
18022
PyObject * obj1 = 0 ;
18023
PyObject * obj2 = 0 ;
18024
char * kwnames[] = {
18025
(char *) "self",(char *) "buffer",(char *) "filename", NULL
18028
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18029
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18030
if (!SWIG_IsOK(res1)) {
18031
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SaveFile" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18033
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18034
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
18035
if (!SWIG_IsOK(res2)) {
18036
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_SaveFile" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
18038
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
18040
arg3 = wxString_in_helper(obj2);
18041
if (arg3 == NULL) SWIG_fail;
18045
PyThreadState* __tstate = wxPyBeginAllowThreads();
18046
result = (bool)(arg1)->SaveFile(arg2,(wxString const &)*arg3);
18047
wxPyEndAllowThreads(__tstate);
18048
if (PyErr_Occurred()) SWIG_fail;
18051
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18067
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18068
PyObject *resultobj = 0;
18069
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18070
wxString *arg2 = 0 ;
18074
bool temp2 = false ;
18075
PyObject * obj0 = 0 ;
18076
PyObject * obj1 = 0 ;
18077
char * kwnames[] = {
18078
(char *) "self",(char *) "filename", NULL
18081
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_CanHandle",kwnames,&obj0,&obj1)) SWIG_fail;
18082
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18083
if (!SWIG_IsOK(res1)) {
18084
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanHandle" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18086
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18088
arg2 = wxString_in_helper(obj1);
18089
if (arg2 == NULL) SWIG_fail;
18093
PyThreadState* __tstate = wxPyBeginAllowThreads();
18094
result = (bool)((wxRichTextFileHandler const *)arg1)->CanHandle((wxString const &)*arg2);
18095
wxPyEndAllowThreads(__tstate);
18096
if (PyErr_Occurred()) SWIG_fail;
18099
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18115
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanSave(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18116
PyObject *resultobj = 0;
18117
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18121
PyObject *swig_obj[1] ;
18123
if (!args) SWIG_fail;
18124
swig_obj[0] = args;
18125
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18126
if (!SWIG_IsOK(res1)) {
18127
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanSave" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18129
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18131
PyThreadState* __tstate = wxPyBeginAllowThreads();
18132
result = (bool)((wxRichTextFileHandler const *)arg1)->CanSave();
18133
wxPyEndAllowThreads(__tstate);
18134
if (PyErr_Occurred()) SWIG_fail;
18137
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18145
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanLoad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18146
PyObject *resultobj = 0;
18147
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18151
PyObject *swig_obj[1] ;
18153
if (!args) SWIG_fail;
18154
swig_obj[0] = args;
18155
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18156
if (!SWIG_IsOK(res1)) {
18157
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanLoad" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18159
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18161
PyThreadState* __tstate = wxPyBeginAllowThreads();
18162
result = (bool)((wxRichTextFileHandler const *)arg1)->CanLoad();
18163
wxPyEndAllowThreads(__tstate);
18164
if (PyErr_Occurred()) SWIG_fail;
18167
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18175
SWIGINTERN PyObject *_wrap_RichTextFileHandler_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18176
PyObject *resultobj = 0;
18177
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18181
PyObject *swig_obj[1] ;
18183
if (!args) SWIG_fail;
18184
swig_obj[0] = args;
18185
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18186
if (!SWIG_IsOK(res1)) {
18187
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_IsVisible" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18189
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18191
PyThreadState* __tstate = wxPyBeginAllowThreads();
18192
result = (bool)((wxRichTextFileHandler const *)arg1)->IsVisible();
18193
wxPyEndAllowThreads(__tstate);
18194
if (PyErr_Occurred()) SWIG_fail;
18197
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18205
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18206
PyObject *resultobj = 0;
18207
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18213
PyObject * obj0 = 0 ;
18214
PyObject * obj1 = 0 ;
18215
char * kwnames[] = {
18216
(char *) "self",(char *) "visible", NULL
18219
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetVisible",kwnames,&obj0,&obj1)) SWIG_fail;
18220
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18221
if (!SWIG_IsOK(res1)) {
18222
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetVisible" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18224
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18225
ecode2 = SWIG_AsVal_bool(obj1, &val2);
18226
if (!SWIG_IsOK(ecode2)) {
18227
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetVisible" "', expected argument " "2"" of type '" "bool""'");
18229
arg2 = static_cast< bool >(val2);
18231
PyThreadState* __tstate = wxPyBeginAllowThreads();
18232
(arg1)->SetVisible(arg2);
18233
wxPyEndAllowThreads(__tstate);
18234
if (PyErr_Occurred()) SWIG_fail;
18236
resultobj = SWIG_Py_Void();
18243
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18244
PyObject *resultobj = 0;
18245
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18246
wxString *arg2 = 0 ;
18249
bool temp2 = false ;
18250
PyObject * obj0 = 0 ;
18251
PyObject * obj1 = 0 ;
18252
char * kwnames[] = {
18253
(char *) "self",(char *) "name", NULL
18256
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetName",kwnames,&obj0,&obj1)) SWIG_fail;
18257
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18258
if (!SWIG_IsOK(res1)) {
18259
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetName" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18261
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18263
arg2 = wxString_in_helper(obj1);
18264
if (arg2 == NULL) SWIG_fail;
18268
PyThreadState* __tstate = wxPyBeginAllowThreads();
18269
(arg1)->SetName((wxString const &)*arg2);
18270
wxPyEndAllowThreads(__tstate);
18271
if (PyErr_Occurred()) SWIG_fail;
18273
resultobj = SWIG_Py_Void();
18288
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18289
PyObject *resultobj = 0;
18290
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18294
PyObject *swig_obj[1] ;
18296
if (!args) SWIG_fail;
18297
swig_obj[0] = args;
18298
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18299
if (!SWIG_IsOK(res1)) {
18300
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetName" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18302
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18304
PyThreadState* __tstate = wxPyBeginAllowThreads();
18305
result = ((wxRichTextFileHandler const *)arg1)->GetName();
18306
wxPyEndAllowThreads(__tstate);
18307
if (PyErr_Occurred()) SWIG_fail;
18311
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18313
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18322
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18323
PyObject *resultobj = 0;
18324
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18325
wxString *arg2 = 0 ;
18328
bool temp2 = false ;
18329
PyObject * obj0 = 0 ;
18330
PyObject * obj1 = 0 ;
18331
char * kwnames[] = {
18332
(char *) "self",(char *) "ext", NULL
18335
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetExtension",kwnames,&obj0,&obj1)) SWIG_fail;
18336
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18337
if (!SWIG_IsOK(res1)) {
18338
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetExtension" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18340
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18342
arg2 = wxString_in_helper(obj1);
18343
if (arg2 == NULL) SWIG_fail;
18347
PyThreadState* __tstate = wxPyBeginAllowThreads();
18348
(arg1)->SetExtension((wxString const &)*arg2);
18349
wxPyEndAllowThreads(__tstate);
18350
if (PyErr_Occurred()) SWIG_fail;
18352
resultobj = SWIG_Py_Void();
18367
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18368
PyObject *resultobj = 0;
18369
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18373
PyObject *swig_obj[1] ;
18375
if (!args) SWIG_fail;
18376
swig_obj[0] = args;
18377
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18378
if (!SWIG_IsOK(res1)) {
18379
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetExtension" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18381
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18383
PyThreadState* __tstate = wxPyBeginAllowThreads();
18384
result = ((wxRichTextFileHandler const *)arg1)->GetExtension();
18385
wxPyEndAllowThreads(__tstate);
18386
if (PyErr_Occurred()) SWIG_fail;
18390
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18392
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18401
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18402
PyObject *resultobj = 0;
18403
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18409
PyObject * obj0 = 0 ;
18410
PyObject * obj1 = 0 ;
18411
char * kwnames[] = {
18412
(char *) "self",(char *) "type", NULL
18415
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetType",kwnames,&obj0,&obj1)) SWIG_fail;
18416
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18417
if (!SWIG_IsOK(res1)) {
18418
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetType" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18420
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18421
ecode2 = SWIG_AsVal_int(obj1, &val2);
18422
if (!SWIG_IsOK(ecode2)) {
18423
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetType" "', expected argument " "2"" of type '" "int""'");
18425
arg2 = static_cast< int >(val2);
18427
PyThreadState* __tstate = wxPyBeginAllowThreads();
18428
(arg1)->SetType(arg2);
18429
wxPyEndAllowThreads(__tstate);
18430
if (PyErr_Occurred()) SWIG_fail;
18432
resultobj = SWIG_Py_Void();
18439
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18440
PyObject *resultobj = 0;
18441
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18445
PyObject *swig_obj[1] ;
18447
if (!args) SWIG_fail;
18448
swig_obj[0] = args;
18449
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18450
if (!SWIG_IsOK(res1)) {
18451
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetType" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18453
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18455
PyThreadState* __tstate = wxPyBeginAllowThreads();
18456
result = (int)((wxRichTextFileHandler const *)arg1)->GetType();
18457
wxPyEndAllowThreads(__tstate);
18458
if (PyErr_Occurred()) SWIG_fail;
18460
resultobj = SWIG_From_int(static_cast< int >(result));
18467
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18468
PyObject *resultobj = 0;
18469
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18475
PyObject * obj0 = 0 ;
18476
PyObject * obj1 = 0 ;
18477
char * kwnames[] = {
18478
(char *) "self",(char *) "flags", NULL
18481
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
18482
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18483
if (!SWIG_IsOK(res1)) {
18484
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetFlags" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18486
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18487
ecode2 = SWIG_AsVal_int(obj1, &val2);
18488
if (!SWIG_IsOK(ecode2)) {
18489
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetFlags" "', expected argument " "2"" of type '" "int""'");
18491
arg2 = static_cast< int >(val2);
18493
PyThreadState* __tstate = wxPyBeginAllowThreads();
18494
(arg1)->SetFlags(arg2);
18495
wxPyEndAllowThreads(__tstate);
18496
if (PyErr_Occurred()) SWIG_fail;
18498
resultobj = SWIG_Py_Void();
18505
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18506
PyObject *resultobj = 0;
18507
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18511
PyObject *swig_obj[1] ;
18513
if (!args) SWIG_fail;
18514
swig_obj[0] = args;
18515
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18516
if (!SWIG_IsOK(res1)) {
18517
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetFlags" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18519
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18521
PyThreadState* __tstate = wxPyBeginAllowThreads();
18522
result = (int)((wxRichTextFileHandler const *)arg1)->GetFlags();
18523
wxPyEndAllowThreads(__tstate);
18524
if (PyErr_Occurred()) SWIG_fail;
18526
resultobj = SWIG_From_int(static_cast< int >(result));
18533
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18534
PyObject *resultobj = 0;
18535
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18536
wxString *arg2 = 0 ;
18539
bool temp2 = false ;
18540
PyObject * obj0 = 0 ;
18541
PyObject * obj1 = 0 ;
18542
char * kwnames[] = {
18543
(char *) "self",(char *) "encoding", NULL
18546
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetEncoding",kwnames,&obj0,&obj1)) SWIG_fail;
18547
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18548
if (!SWIG_IsOK(res1)) {
18549
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetEncoding" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18551
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18553
arg2 = wxString_in_helper(obj1);
18554
if (arg2 == NULL) SWIG_fail;
18558
PyThreadState* __tstate = wxPyBeginAllowThreads();
18559
(arg1)->SetEncoding((wxString const &)*arg2);
18560
wxPyEndAllowThreads(__tstate);
18561
if (PyErr_Occurred()) SWIG_fail;
18563
resultobj = SWIG_Py_Void();
18578
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18579
PyObject *resultobj = 0;
18580
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18581
wxString *result = 0 ;
18584
PyObject *swig_obj[1] ;
18586
if (!args) SWIG_fail;
18587
swig_obj[0] = args;
18588
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18589
if (!SWIG_IsOK(res1)) {
18590
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetEncoding" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18592
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18594
PyThreadState* __tstate = wxPyBeginAllowThreads();
18596
wxString const &_result_ref = ((wxRichTextFileHandler const *)arg1)->GetEncoding();
18597
result = (wxString *) &_result_ref;
18599
wxPyEndAllowThreads(__tstate);
18600
if (PyErr_Occurred()) SWIG_fail;
18604
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18606
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18615
SWIGINTERN PyObject *RichTextFileHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18617
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18618
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandler, SWIG_NewClientData(obj));
18619
return SWIG_Py_Void();
18622
SWIGINTERN int TextName_set(PyObject *) {
18623
SWIG_Error(SWIG_AttributeError,"Variable TextName is read-only.");
18628
SWIGINTERN PyObject *TextName_get(void) {
18629
PyObject *pyobj = 0;
18633
pyobj = PyUnicode_FromWideChar((&wxPyTextName)->c_str(), (&wxPyTextName)->Len());
18635
pyobj = PyString_FromStringAndSize((&wxPyTextName)->c_str(), (&wxPyTextName)->Len());
18642
SWIGINTERN int TextExt_set(PyObject *) {
18643
SWIG_Error(SWIG_AttributeError,"Variable TextExt is read-only.");
18648
SWIGINTERN PyObject *TextExt_get(void) {
18649
PyObject *pyobj = 0;
18653
pyobj = PyUnicode_FromWideChar((&wxPyTextExt)->c_str(), (&wxPyTextExt)->Len());
18655
pyobj = PyString_FromStringAndSize((&wxPyTextExt)->c_str(), (&wxPyTextExt)->Len());
18662
SWIGINTERN PyObject *_wrap_new_RichTextPlainTextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18663
PyObject *resultobj = 0;
18664
wxString const &arg1_defvalue = wxPyTextName ;
18665
wxString *arg1 = (wxString *) &arg1_defvalue ;
18666
wxString const &arg2_defvalue = wxPyTextExt ;
18667
wxString *arg2 = (wxString *) &arg2_defvalue ;
18668
int arg3 = (int) wxRICHTEXT_TYPE_TEXT ;
18669
wxRichTextPlainTextHandler *result = 0 ;
18670
bool temp1 = false ;
18671
bool temp2 = false ;
18674
PyObject * obj0 = 0 ;
18675
PyObject * obj1 = 0 ;
18676
PyObject * obj2 = 0 ;
18677
char * kwnames[] = {
18678
(char *) "name",(char *) "ext",(char *) "type", NULL
18681
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextPlainTextHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18684
arg1 = wxString_in_helper(obj0);
18685
if (arg1 == NULL) SWIG_fail;
18691
arg2 = wxString_in_helper(obj1);
18692
if (arg2 == NULL) SWIG_fail;
18697
ecode3 = SWIG_AsVal_int(obj2, &val3);
18698
if (!SWIG_IsOK(ecode3)) {
18699
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextPlainTextHandler" "', expected argument " "3"" of type '" "int""'");
18701
arg3 = static_cast< int >(val3);
18704
PyThreadState* __tstate = wxPyBeginAllowThreads();
18705
result = (wxRichTextPlainTextHandler *)new wxRichTextPlainTextHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
18706
wxPyEndAllowThreads(__tstate);
18707
if (PyErr_Occurred()) SWIG_fail;
18709
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPlainTextHandler, SWIG_POINTER_NEW | 0 );
18732
SWIGINTERN PyObject *RichTextPlainTextHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18734
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18735
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPlainTextHandler, SWIG_NewClientData(obj));
18736
return SWIG_Py_Void();
18739
SWIGINTERN PyObject *RichTextPlainTextHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18740
return SWIG_Python_InitShadowInstance(args);
18743
SWIGINTERN PyObject *_wrap_delete_RichTextRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18744
PyObject *resultobj = 0;
18745
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18748
PyObject *swig_obj[1] ;
18750
if (!args) SWIG_fail;
18751
swig_obj[0] = args;
18752
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRenderer, SWIG_POINTER_DISOWN | 0 );
18753
if (!SWIG_IsOK(res1)) {
18754
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRenderer" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18756
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18758
PyThreadState* __tstate = wxPyBeginAllowThreads();
18761
wxPyEndAllowThreads(__tstate);
18762
if (PyErr_Occurred()) SWIG_fail;
18764
resultobj = SWIG_Py_Void();
18771
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18772
PyObject *resultobj = 0;
18773
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18774
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
18776
wxTextAttrEx *arg4 = 0 ;
18788
PyObject * obj0 = 0 ;
18789
PyObject * obj1 = 0 ;
18790
PyObject * obj2 = 0 ;
18791
PyObject * obj3 = 0 ;
18792
PyObject * obj4 = 0 ;
18793
char * kwnames[] = {
18794
(char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect", NULL
18797
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextRenderer_DrawStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18798
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18799
if (!SWIG_IsOK(res1)) {
18800
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18802
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18803
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
18804
if (!SWIG_IsOK(res2)) {
18805
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
18807
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
18808
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
18809
if (!SWIG_IsOK(res3)) {
18810
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18813
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18815
arg3 = reinterpret_cast< wxDC * >(argp3);
18816
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
18817
if (!SWIG_IsOK(res4)) {
18818
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18821
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18823
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
18826
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
18829
PyThreadState* __tstate = wxPyBeginAllowThreads();
18830
result = (bool)(arg1)->DrawStandardBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5);
18831
wxPyEndAllowThreads(__tstate);
18832
if (PyErr_Occurred()) SWIG_fail;
18835
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18843
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawTextBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18844
PyObject *resultobj = 0;
18845
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18846
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
18848
wxTextAttrEx *arg4 = 0 ;
18850
wxString *arg6 = 0 ;
18861
bool temp6 = false ;
18862
PyObject * obj0 = 0 ;
18863
PyObject * obj1 = 0 ;
18864
PyObject * obj2 = 0 ;
18865
PyObject * obj3 = 0 ;
18866
PyObject * obj4 = 0 ;
18867
PyObject * obj5 = 0 ;
18868
char * kwnames[] = {
18869
(char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect",(char *) "text", NULL
18872
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:RichTextRenderer_DrawTextBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18873
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18874
if (!SWIG_IsOK(res1)) {
18875
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18877
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18878
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
18879
if (!SWIG_IsOK(res2)) {
18880
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
18882
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
18883
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
18884
if (!SWIG_IsOK(res3)) {
18885
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18888
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18890
arg3 = reinterpret_cast< wxDC * >(argp3);
18891
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
18892
if (!SWIG_IsOK(res4)) {
18893
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18896
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18898
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
18901
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
18904
arg6 = wxString_in_helper(obj5);
18905
if (arg6 == NULL) SWIG_fail;
18909
PyThreadState* __tstate = wxPyBeginAllowThreads();
18910
result = (bool)(arg1)->DrawTextBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5,(wxString const &)*arg6);
18911
wxPyEndAllowThreads(__tstate);
18912
if (PyErr_Occurred()) SWIG_fail;
18915
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18931
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawBitmapBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18932
PyObject *resultobj = 0;
18933
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18934
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
18936
wxTextAttrEx *arg4 = 0 ;
18948
PyObject * obj0 = 0 ;
18949
PyObject * obj1 = 0 ;
18950
PyObject * obj2 = 0 ;
18951
PyObject * obj3 = 0 ;
18952
PyObject * obj4 = 0 ;
18953
char * kwnames[] = {
18954
(char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect", NULL
18957
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextRenderer_DrawBitmapBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18958
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18959
if (!SWIG_IsOK(res1)) {
18960
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18962
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18963
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
18964
if (!SWIG_IsOK(res2)) {
18965
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
18967
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
18968
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
18969
if (!SWIG_IsOK(res3)) {
18970
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18973
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18975
arg3 = reinterpret_cast< wxDC * >(argp3);
18976
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
18977
if (!SWIG_IsOK(res4)) {
18978
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18981
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18983
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
18986
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
18989
PyThreadState* __tstate = wxPyBeginAllowThreads();
18990
result = (bool)(arg1)->DrawBitmapBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5);
18991
wxPyEndAllowThreads(__tstate);
18992
if (PyErr_Occurred()) SWIG_fail;
18995
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19003
SWIGINTERN PyObject *_wrap_RichTextRenderer_EnumerateStandardBulletNames(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19004
PyObject *resultobj = 0;
19005
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
19006
wxArrayString *arg2 = 0 ;
19010
bool temp2 = false ;
19011
PyObject * obj0 = 0 ;
19012
PyObject * obj1 = 0 ;
19013
char * kwnames[] = {
19014
(char *) "self",(char *) "bulletNames", NULL
19017
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRenderer_EnumerateStandardBulletNames",kwnames,&obj0,&obj1)) SWIG_fail;
19018
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
19019
if (!SWIG_IsOK(res1)) {
19020
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_EnumerateStandardBulletNames" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
19022
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
19024
if (! PySequence_Check(obj1)) {
19025
PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
19028
arg2 = new wxArrayString;
19030
int i, len=PySequence_Length(obj1);
19031
for (i=0; i<len; i++) {
19032
PyObject* item = PySequence_GetItem(obj1, i);
19033
wxString* s = wxString_in_helper(item);
19034
if (PyErr_Occurred()) SWIG_fail;
19041
PyThreadState* __tstate = wxPyBeginAllowThreads();
19042
result = (bool)(arg1)->EnumerateStandardBulletNames(*arg2);
19043
wxPyEndAllowThreads(__tstate);
19044
if (PyErr_Occurred()) SWIG_fail;
19047
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19050
if (temp2) delete arg2;
19055
if (temp2) delete arg2;
19061
SWIGINTERN PyObject *RichTextRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19063
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19064
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRenderer, SWIG_NewClientData(obj));
19065
return SWIG_Py_Void();
19068
SWIGINTERN PyObject *_wrap_new_RichTextStdRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19069
PyObject *resultobj = 0;
19070
wxRichTextStdRenderer *result = 0 ;
19072
if (!SWIG_Python_UnpackTuple(args,"new_RichTextStdRenderer",0,0,0)) SWIG_fail;
19074
PyThreadState* __tstate = wxPyBeginAllowThreads();
19075
result = (wxRichTextStdRenderer *)new wxRichTextStdRenderer();
19076
wxPyEndAllowThreads(__tstate);
19077
if (PyErr_Occurred()) SWIG_fail;
19079
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStdRenderer, SWIG_POINTER_NEW | 0 );
19086
SWIGINTERN PyObject *RichTextStdRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19088
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19089
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextStdRenderer, SWIG_NewClientData(obj));
19090
return SWIG_Py_Void();
19093
SWIGINTERN PyObject *RichTextStdRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19094
return SWIG_Python_InitShadowInstance(args);
19097
SWIGINTERN int RichTextCtrlNameStr_set(PyObject *) {
19098
SWIG_Error(SWIG_AttributeError,"Variable RichTextCtrlNameStr is read-only.");
19103
SWIGINTERN PyObject *RichTextCtrlNameStr_get(void) {
19104
PyObject *pyobj = 0;
19108
pyobj = PyUnicode_FromWideChar((&wxPyRichTextCtrlNameStr)->c_str(), (&wxPyRichTextCtrlNameStr)->Len());
19110
pyobj = PyString_FromStringAndSize((&wxPyRichTextCtrlNameStr)->c_str(), (&wxPyRichTextCtrlNameStr)->Len());
19117
SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19118
PyObject *resultobj = 0;
19119
wxWindow *arg1 = (wxWindow *) 0 ;
19120
int arg2 = (int) -1 ;
19121
wxString const &arg3_defvalue = wxPyEmptyString ;
19122
wxString *arg3 = (wxString *) &arg3_defvalue ;
19123
wxPoint const &arg4_defvalue = wxDefaultPosition ;
19124
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19125
wxSize const &arg5_defvalue = wxDefaultSize ;
19126
wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19127
long arg6 = (long) wxRE_MULTILINE ;
19128
wxValidator const &arg7_defvalue = wxDefaultValidator ;
19129
wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19130
wxString const &arg8_defvalue = wxPyRichTextCtrlNameStr ;
19131
wxString *arg8 = (wxString *) &arg8_defvalue ;
19132
wxRichTextCtrl *result = 0 ;
19137
bool temp3 = false ;
19144
bool temp8 = false ;
19145
PyObject * obj0 = 0 ;
19146
PyObject * obj1 = 0 ;
19147
PyObject * obj2 = 0 ;
19148
PyObject * obj3 = 0 ;
19149
PyObject * obj4 = 0 ;
19150
PyObject * obj5 = 0 ;
19151
PyObject * obj6 = 0 ;
19152
PyObject * obj7 = 0 ;
19153
char * kwnames[] = {
19154
(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19157
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
19158
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19159
if (!SWIG_IsOK(res1)) {
19160
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
19162
arg1 = reinterpret_cast< wxWindow * >(argp1);
19164
ecode2 = SWIG_AsVal_int(obj1, &val2);
19165
if (!SWIG_IsOK(ecode2)) {
19166
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
19168
arg2 = static_cast< int >(val2);
19172
arg3 = wxString_in_helper(obj2);
19173
if (arg3 == NULL) SWIG_fail;
19180
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19186
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19190
ecode6 = SWIG_AsVal_long(obj5, &val6);
19191
if (!SWIG_IsOK(ecode6)) {
19192
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'");
19194
arg6 = static_cast< long >(val6);
19197
res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
19198
if (!SWIG_IsOK(res7)) {
19199
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RichTextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
19202
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RichTextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
19204
arg7 = reinterpret_cast< wxValidator * >(argp7);
19208
arg8 = wxString_in_helper(obj7);
19209
if (arg8 == NULL) SWIG_fail;
19214
if (!wxPyCheckForApp()) SWIG_fail;
19215
PyThreadState* __tstate = wxPyBeginAllowThreads();
19216
result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19217
wxPyEndAllowThreads(__tstate);
19218
if (PyErr_Occurred()) SWIG_fail;
19220
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_NEW | 0 );
19243
SWIGINTERN PyObject *_wrap_new_PreRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19244
PyObject *resultobj = 0;
19245
wxRichTextCtrl *result = 0 ;
19247
if (!SWIG_Python_UnpackTuple(args,"new_PreRichTextCtrl",0,0,0)) SWIG_fail;
19249
if (!wxPyCheckForApp()) SWIG_fail;
19250
PyThreadState* __tstate = wxPyBeginAllowThreads();
19251
result = (wxRichTextCtrl *)new wxRichTextCtrl();
19252
wxPyEndAllowThreads(__tstate);
19253
if (PyErr_Occurred()) SWIG_fail;
19255
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_OWN | 0 );
19262
SWIGINTERN PyObject *_wrap_RichTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19263
PyObject *resultobj = 0;
19264
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19265
wxWindow *arg2 = (wxWindow *) 0 ;
19266
int arg3 = (int) -1 ;
19267
wxString const &arg4_defvalue = wxPyEmptyString ;
19268
wxString *arg4 = (wxString *) &arg4_defvalue ;
19269
wxPoint const &arg5_defvalue = wxDefaultPosition ;
19270
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19271
wxSize const &arg6_defvalue = wxDefaultSize ;
19272
wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19273
long arg7 = (long) wxRE_MULTILINE ;
19274
wxValidator const &arg8_defvalue = wxDefaultValidator ;
19275
wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
19276
wxString const &arg9_defvalue = wxPyRichTextCtrlNameStr ;
19277
wxString *arg9 = (wxString *) &arg9_defvalue ;
19285
bool temp4 = false ;
19292
bool temp9 = false ;
19293
PyObject * obj0 = 0 ;
19294
PyObject * obj1 = 0 ;
19295
PyObject * obj2 = 0 ;
19296
PyObject * obj3 = 0 ;
19297
PyObject * obj4 = 0 ;
19298
PyObject * obj5 = 0 ;
19299
PyObject * obj6 = 0 ;
19300
PyObject * obj7 = 0 ;
19301
PyObject * obj8 = 0 ;
19302
char * kwnames[] = {
19303
(char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19306
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19307
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19308
if (!SWIG_IsOK(res1)) {
19309
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
19311
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19312
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19313
if (!SWIG_IsOK(res2)) {
19314
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19316
arg2 = reinterpret_cast< wxWindow * >(argp2);
19318
ecode3 = SWIG_AsVal_int(obj2, &val3);
19319
if (!SWIG_IsOK(ecode3)) {
19320
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
19322
arg3 = static_cast< int >(val3);
19326
arg4 = wxString_in_helper(obj3);
19327
if (arg4 == NULL) SWIG_fail;
19334
if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19340
if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19344
ecode7 = SWIG_AsVal_long(obj6, &val7);
19345
if (!SWIG_IsOK(ecode7)) {
19346
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
19348
arg7 = static_cast< long >(val7);
19351
res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19352
if (!SWIG_IsOK(res8)) {
19353
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RichTextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19356
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19358
arg8 = reinterpret_cast< wxValidator * >(argp8);
19362
arg9 = wxString_in_helper(obj8);
19363
if (arg9 == NULL) SWIG_fail;
19368
PyThreadState* __tstate = wxPyBeginAllowThreads();
19369
result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19370
wxPyEndAllowThreads(__tstate);
19371
if (PyErr_Occurred()) SWIG_fail;
19374
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19398
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19399
PyObject *resultobj = 0;
19400
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19404
PyObject *swig_obj[1] ;
19406
if (!args) SWIG_fail;
19407
swig_obj[0] = args;
19408
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19409
if (!SWIG_IsOK(res1)) {
19410
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19412
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19414
PyThreadState* __tstate = wxPyBeginAllowThreads();
19415
result = ((wxRichTextCtrl const *)arg1)->GetValue();
19416
wxPyEndAllowThreads(__tstate);
19417
if (PyErr_Occurred()) SWIG_fail;
19421
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19423
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19432
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19433
PyObject *resultobj = 0;
19434
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19435
wxString *arg2 = 0 ;
19438
bool temp2 = false ;
19439
PyObject * obj0 = 0 ;
19440
PyObject * obj1 = 0 ;
19441
char * kwnames[] = {
19442
(char *) "self",(char *) "value", NULL
19445
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19446
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19447
if (!SWIG_IsOK(res1)) {
19448
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
19450
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19452
arg2 = wxString_in_helper(obj1);
19453
if (arg2 == NULL) SWIG_fail;
19457
PyThreadState* __tstate = wxPyBeginAllowThreads();
19458
(arg1)->SetValue((wxString const &)*arg2);
19459
wxPyEndAllowThreads(__tstate);
19460
if (PyErr_Occurred()) SWIG_fail;
19462
resultobj = SWIG_Py_Void();
19477
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19478
PyObject *resultobj = 0;
19479
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19489
PyObject * obj0 = 0 ;
19490
PyObject * obj1 = 0 ;
19491
PyObject * obj2 = 0 ;
19492
char * kwnames[] = {
19493
(char *) "self",(char *) "from",(char *) "to", NULL
19496
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19497
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19498
if (!SWIG_IsOK(res1)) {
19499
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19501
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19502
ecode2 = SWIG_AsVal_long(obj1, &val2);
19503
if (!SWIG_IsOK(ecode2)) {
19504
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
19506
arg2 = static_cast< long >(val2);
19507
ecode3 = SWIG_AsVal_long(obj2, &val3);
19508
if (!SWIG_IsOK(ecode3)) {
19509
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
19511
arg3 = static_cast< long >(val3);
19513
PyThreadState* __tstate = wxPyBeginAllowThreads();
19514
result = ((wxRichTextCtrl const *)arg1)->GetRange(arg2,arg3);
19515
wxPyEndAllowThreads(__tstate);
19516
if (PyErr_Occurred()) SWIG_fail;
19520
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19522
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19531
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19532
PyObject *resultobj = 0;
19533
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19540
PyObject * obj0 = 0 ;
19541
PyObject * obj1 = 0 ;
19542
char * kwnames[] = {
19543
(char *) "self",(char *) "lineNo", NULL
19546
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
19547
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19548
if (!SWIG_IsOK(res1)) {
19549
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19551
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19552
ecode2 = SWIG_AsVal_long(obj1, &val2);
19553
if (!SWIG_IsOK(ecode2)) {
19554
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
19556
arg2 = static_cast< long >(val2);
19558
PyThreadState* __tstate = wxPyBeginAllowThreads();
19559
result = (int)((wxRichTextCtrl const *)arg1)->GetLineLength(arg2);
19560
wxPyEndAllowThreads(__tstate);
19561
if (PyErr_Occurred()) SWIG_fail;
19563
resultobj = SWIG_From_int(static_cast< int >(result));
19570
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19571
PyObject *resultobj = 0;
19572
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19579
PyObject * obj0 = 0 ;
19580
PyObject * obj1 = 0 ;
19581
char * kwnames[] = {
19582
(char *) "self",(char *) "lineNo", NULL
19585
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
19586
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19587
if (!SWIG_IsOK(res1)) {
19588
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19590
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19591
ecode2 = SWIG_AsVal_long(obj1, &val2);
19592
if (!SWIG_IsOK(ecode2)) {
19593
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
19595
arg2 = static_cast< long >(val2);
19597
PyThreadState* __tstate = wxPyBeginAllowThreads();
19598
result = ((wxRichTextCtrl const *)arg1)->GetLineText(arg2);
19599
wxPyEndAllowThreads(__tstate);
19600
if (PyErr_Occurred()) SWIG_fail;
19604
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19606
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19615
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19616
PyObject *resultobj = 0;
19617
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19621
PyObject *swig_obj[1] ;
19623
if (!args) SWIG_fail;
19624
swig_obj[0] = args;
19625
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19626
if (!SWIG_IsOK(res1)) {
19627
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19629
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19631
PyThreadState* __tstate = wxPyBeginAllowThreads();
19632
result = (int)((wxRichTextCtrl const *)arg1)->GetNumberOfLines();
19633
wxPyEndAllowThreads(__tstate);
19634
if (PyErr_Occurred()) SWIG_fail;
19636
resultobj = SWIG_From_int(static_cast< int >(result));
19643
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19644
PyObject *resultobj = 0;
19645
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19649
PyObject *swig_obj[1] ;
19651
if (!args) SWIG_fail;
19652
swig_obj[0] = args;
19653
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19654
if (!SWIG_IsOK(res1)) {
19655
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19657
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19659
PyThreadState* __tstate = wxPyBeginAllowThreads();
19660
result = (bool)((wxRichTextCtrl const *)arg1)->IsModified();
19661
wxPyEndAllowThreads(__tstate);
19662
if (PyErr_Occurred()) SWIG_fail;
19665
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19673
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19674
PyObject *resultobj = 0;
19675
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19679
PyObject *swig_obj[1] ;
19681
if (!args) SWIG_fail;
19682
swig_obj[0] = args;
19683
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19684
if (!SWIG_IsOK(res1)) {
19685
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19687
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19689
PyThreadState* __tstate = wxPyBeginAllowThreads();
19690
result = (bool)((wxRichTextCtrl const *)arg1)->IsEditable();
19691
wxPyEndAllowThreads(__tstate);
19692
if (PyErr_Occurred()) SWIG_fail;
19695
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19703
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19704
PyObject *resultobj = 0;
19705
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19709
PyObject *swig_obj[1] ;
19711
if (!args) SWIG_fail;
19712
swig_obj[0] = args;
19713
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19714
if (!SWIG_IsOK(res1)) {
19715
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19717
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19719
PyThreadState* __tstate = wxPyBeginAllowThreads();
19720
result = (bool)((wxRichTextCtrl const *)arg1)->IsSingleLine();
19721
wxPyEndAllowThreads(__tstate);
19722
if (PyErr_Occurred()) SWIG_fail;
19725
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19733
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19734
PyObject *resultobj = 0;
19735
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19739
PyObject *swig_obj[1] ;
19741
if (!args) SWIG_fail;
19742
swig_obj[0] = args;
19743
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19744
if (!SWIG_IsOK(res1)) {
19745
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19747
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19749
PyThreadState* __tstate = wxPyBeginAllowThreads();
19750
result = (bool)((wxRichTextCtrl const *)arg1)->IsMultiLine();
19751
wxPyEndAllowThreads(__tstate);
19752
if (PyErr_Occurred()) SWIG_fail;
19755
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19763
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19764
PyObject *resultobj = 0;
19765
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19766
long *arg2 = (long *) 0 ;
19767
long *arg3 = (long *) 0 ;
19771
int res2 = SWIG_TMPOBJ ;
19773
int res3 = SWIG_TMPOBJ ;
19774
PyObject *swig_obj[1] ;
19778
if (!args) SWIG_fail;
19779
swig_obj[0] = args;
19780
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19781
if (!SWIG_IsOK(res1)) {
19782
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19784
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19786
PyThreadState* __tstate = wxPyBeginAllowThreads();
19787
((wxRichTextCtrl const *)arg1)->GetSelection(arg2,arg3);
19788
wxPyEndAllowThreads(__tstate);
19789
if (PyErr_Occurred()) SWIG_fail;
19791
resultobj = SWIG_Py_Void();
19792
if (SWIG_IsTmpObj(res2)) {
19793
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
19795
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19796
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
19798
if (SWIG_IsTmpObj(res3)) {
19799
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
19801
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19802
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
19810
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19811
PyObject *resultobj = 0;
19812
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19816
PyObject *swig_obj[1] ;
19818
if (!args) SWIG_fail;
19819
swig_obj[0] = args;
19820
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19821
if (!SWIG_IsOK(res1)) {
19822
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19824
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19826
PyThreadState* __tstate = wxPyBeginAllowThreads();
19827
result = ((wxRichTextCtrl const *)arg1)->GetStringSelection();
19828
wxPyEndAllowThreads(__tstate);
19829
if (PyErr_Occurred()) SWIG_fail;
19833
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19835
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19844
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19845
PyObject *resultobj = 0;
19846
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19850
PyObject *swig_obj[1] ;
19852
if (!args) SWIG_fail;
19853
swig_obj[0] = args;
19854
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19855
if (!SWIG_IsOK(res1)) {
19856
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19858
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19860
PyThreadState* __tstate = wxPyBeginAllowThreads();
19861
result = ((wxRichTextCtrl const *)arg1)->GetFilename();
19862
wxPyEndAllowThreads(__tstate);
19863
if (PyErr_Occurred()) SWIG_fail;
19867
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19869
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19878
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19879
PyObject *resultobj = 0;
19880
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19881
wxString *arg2 = 0 ;
19884
bool temp2 = false ;
19885
PyObject * obj0 = 0 ;
19886
PyObject * obj1 = 0 ;
19887
char * kwnames[] = {
19888
(char *) "self",(char *) "filename", NULL
19891
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19892
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19893
if (!SWIG_IsOK(res1)) {
19894
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
19896
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19898
arg2 = wxString_in_helper(obj1);
19899
if (arg2 == NULL) SWIG_fail;
19903
PyThreadState* __tstate = wxPyBeginAllowThreads();
19904
(arg1)->SetFilename((wxString const &)*arg2);
19905
wxPyEndAllowThreads(__tstate);
19906
if (PyErr_Occurred()) SWIG_fail;
19908
resultobj = SWIG_Py_Void();
19923
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19924
PyObject *resultobj = 0;
19925
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19931
PyObject * obj0 = 0 ;
19932
PyObject * obj1 = 0 ;
19933
char * kwnames[] = {
19934
(char *) "self",(char *) "threshold", NULL
19937
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames,&obj0,&obj1)) SWIG_fail;
19938
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19939
if (!SWIG_IsOK(res1)) {
19940
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
19942
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19943
ecode2 = SWIG_AsVal_long(obj1, &val2);
19944
if (!SWIG_IsOK(ecode2)) {
19945
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
19947
arg2 = static_cast< long >(val2);
19949
PyThreadState* __tstate = wxPyBeginAllowThreads();
19950
(arg1)->SetDelayedLayoutThreshold(arg2);
19951
wxPyEndAllowThreads(__tstate);
19952
if (PyErr_Occurred()) SWIG_fail;
19954
resultobj = SWIG_Py_Void();
19961
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19962
PyObject *resultobj = 0;
19963
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19967
PyObject *swig_obj[1] ;
19969
if (!args) SWIG_fail;
19970
swig_obj[0] = args;
19971
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
19972
if (!SWIG_IsOK(res1)) {
19973
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
19975
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
19977
PyThreadState* __tstate = wxPyBeginAllowThreads();
19978
result = (long)((wxRichTextCtrl const *)arg1)->GetDelayedLayoutThreshold();
19979
wxPyEndAllowThreads(__tstate);
19980
if (PyErr_Occurred()) SWIG_fail;
19982
resultobj = SWIG_From_long(static_cast< long >(result));
19989
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetTextCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19990
PyObject *resultobj = 0;
19991
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
19992
wxCursor *arg2 = 0 ;
19997
PyObject * obj0 = 0 ;
19998
PyObject * obj1 = 0 ;
19999
char * kwnames[] = {
20000
(char *) "self",(char *) "cursor", NULL
20003
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetTextCursor",kwnames,&obj0,&obj1)) SWIG_fail;
20004
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20005
if (!SWIG_IsOK(res1)) {
20006
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetTextCursor" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20008
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20009
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
20010
if (!SWIG_IsOK(res2)) {
20011
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetTextCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
20014
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetTextCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
20016
arg2 = reinterpret_cast< wxCursor * >(argp2);
20018
PyThreadState* __tstate = wxPyBeginAllowThreads();
20019
(arg1)->SetTextCursor((wxCursor const &)*arg2);
20020
wxPyEndAllowThreads(__tstate);
20021
if (PyErr_Occurred()) SWIG_fail;
20023
resultobj = SWIG_Py_Void();
20030
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetTextCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20031
PyObject *resultobj = 0;
20032
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20036
PyObject *swig_obj[1] ;
20038
if (!args) SWIG_fail;
20039
swig_obj[0] = args;
20040
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20041
if (!SWIG_IsOK(res1)) {
20042
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetTextCursor" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
20044
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20046
PyThreadState* __tstate = wxPyBeginAllowThreads();
20047
result = ((wxRichTextCtrl const *)arg1)->GetTextCursor();
20048
wxPyEndAllowThreads(__tstate);
20049
if (PyErr_Occurred()) SWIG_fail;
20051
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
20058
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetURLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20059
PyObject *resultobj = 0;
20060
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20061
wxCursor *arg2 = 0 ;
20066
PyObject * obj0 = 0 ;
20067
PyObject * obj1 = 0 ;
20068
char * kwnames[] = {
20069
(char *) "self",(char *) "cursor", NULL
20072
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetURLCursor",kwnames,&obj0,&obj1)) SWIG_fail;
20073
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20074
if (!SWIG_IsOK(res1)) {
20075
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetURLCursor" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20077
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20078
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
20079
if (!SWIG_IsOK(res2)) {
20080
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetURLCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
20083
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetURLCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
20085
arg2 = reinterpret_cast< wxCursor * >(argp2);
20087
PyThreadState* __tstate = wxPyBeginAllowThreads();
20088
(arg1)->SetURLCursor((wxCursor const &)*arg2);
20089
wxPyEndAllowThreads(__tstate);
20090
if (PyErr_Occurred()) SWIG_fail;
20092
resultobj = SWIG_Py_Void();
20099
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetURLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20100
PyObject *resultobj = 0;
20101
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20105
PyObject *swig_obj[1] ;
20107
if (!args) SWIG_fail;
20108
swig_obj[0] = args;
20109
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20110
if (!SWIG_IsOK(res1)) {
20111
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetURLCursor" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
20113
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20115
PyThreadState* __tstate = wxPyBeginAllowThreads();
20116
result = ((wxRichTextCtrl const *)arg1)->GetURLCursor();
20117
wxPyEndAllowThreads(__tstate);
20118
if (PyErr_Occurred()) SWIG_fail;
20120
resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
20127
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetContextMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20128
PyObject *resultobj = 0;
20129
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20130
wxMenu *result = 0 ;
20133
PyObject *swig_obj[1] ;
20135
if (!args) SWIG_fail;
20136
swig_obj[0] = args;
20137
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20138
if (!SWIG_IsOK(res1)) {
20139
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetContextMenu" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
20141
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20143
PyThreadState* __tstate = wxPyBeginAllowThreads();
20144
result = (wxMenu *)((wxRichTextCtrl const *)arg1)->GetContextMenu();
20145
wxPyEndAllowThreads(__tstate);
20146
if (PyErr_Occurred()) SWIG_fail;
20149
resultobj = wxPyMake_wxObject(result, 0);
20157
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetContextMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20158
PyObject *resultobj = 0;
20159
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20160
wxMenu *arg2 = (wxMenu *) 0 ;
20165
PyObject * obj0 = 0 ;
20166
PyObject * obj1 = 0 ;
20167
char * kwnames[] = {
20168
(char *) "self",(char *) "menu", NULL
20171
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetContextMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20172
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20173
if (!SWIG_IsOK(res1)) {
20174
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetContextMenu" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20176
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20177
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20178
if (!SWIG_IsOK(res2)) {
20179
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetContextMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20181
arg2 = reinterpret_cast< wxMenu * >(argp2);
20183
PyThreadState* __tstate = wxPyBeginAllowThreads();
20184
(arg1)->SetContextMenu(arg2);
20185
wxPyEndAllowThreads(__tstate);
20186
if (PyErr_Occurred()) SWIG_fail;
20188
resultobj = SWIG_Py_Void();
20195
SWIGINTERN PyObject *_wrap_RichTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20196
PyObject *resultobj = 0;
20197
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20200
PyObject *swig_obj[1] ;
20202
if (!args) SWIG_fail;
20203
swig_obj[0] = args;
20204
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20205
if (!SWIG_IsOK(res1)) {
20206
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20208
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20210
PyThreadState* __tstate = wxPyBeginAllowThreads();
20212
wxPyEndAllowThreads(__tstate);
20213
if (PyErr_Occurred()) SWIG_fail;
20215
resultobj = SWIG_Py_Void();
20222
SWIGINTERN PyObject *_wrap_RichTextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20223
PyObject *resultobj = 0;
20224
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20227
wxString *arg4 = 0 ;
20234
bool temp4 = false ;
20235
PyObject * obj0 = 0 ;
20236
PyObject * obj1 = 0 ;
20237
PyObject * obj2 = 0 ;
20238
PyObject * obj3 = 0 ;
20239
char * kwnames[] = {
20240
(char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
20243
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20244
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20245
if (!SWIG_IsOK(res1)) {
20246
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20248
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20249
ecode2 = SWIG_AsVal_long(obj1, &val2);
20250
if (!SWIG_IsOK(ecode2)) {
20251
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
20253
arg2 = static_cast< long >(val2);
20254
ecode3 = SWIG_AsVal_long(obj2, &val3);
20255
if (!SWIG_IsOK(ecode3)) {
20256
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
20258
arg3 = static_cast< long >(val3);
20260
arg4 = wxString_in_helper(obj3);
20261
if (arg4 == NULL) SWIG_fail;
20265
PyThreadState* __tstate = wxPyBeginAllowThreads();
20266
(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
20267
wxPyEndAllowThreads(__tstate);
20268
if (PyErr_Occurred()) SWIG_fail;
20270
resultobj = SWIG_Py_Void();
20285
SWIGINTERN PyObject *_wrap_RichTextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20286
PyObject *resultobj = 0;
20287
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20296
PyObject * obj0 = 0 ;
20297
PyObject * obj1 = 0 ;
20298
PyObject * obj2 = 0 ;
20299
char * kwnames[] = {
20300
(char *) "self",(char *) "from",(char *) "to", NULL
20303
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20304
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20305
if (!SWIG_IsOK(res1)) {
20306
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20308
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20309
ecode2 = SWIG_AsVal_long(obj1, &val2);
20310
if (!SWIG_IsOK(ecode2)) {
20311
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
20313
arg2 = static_cast< long >(val2);
20314
ecode3 = SWIG_AsVal_long(obj2, &val3);
20315
if (!SWIG_IsOK(ecode3)) {
20316
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
20318
arg3 = static_cast< long >(val3);
20320
PyThreadState* __tstate = wxPyBeginAllowThreads();
20321
(arg1)->Remove(arg2,arg3);
20322
wxPyEndAllowThreads(__tstate);
20323
if (PyErr_Occurred()) SWIG_fail;
20325
resultobj = SWIG_Py_Void();
20332
SWIGINTERN PyObject *_wrap_RichTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20333
PyObject *resultobj = 0;
20334
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20335
wxString *arg2 = 0 ;
20336
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
20340
bool temp2 = false ;
20343
PyObject * obj0 = 0 ;
20344
PyObject * obj1 = 0 ;
20345
PyObject * obj2 = 0 ;
20346
char * kwnames[] = {
20347
(char *) "self",(char *) "file",(char *) "type", NULL
20350
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20351
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20352
if (!SWIG_IsOK(res1)) {
20353
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20355
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20357
arg2 = wxString_in_helper(obj1);
20358
if (arg2 == NULL) SWIG_fail;
20362
ecode3 = SWIG_AsVal_int(obj2, &val3);
20363
if (!SWIG_IsOK(ecode3)) {
20364
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
20366
arg3 = static_cast< int >(val3);
20369
PyThreadState* __tstate = wxPyBeginAllowThreads();
20370
result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
20371
wxPyEndAllowThreads(__tstate);
20372
if (PyErr_Occurred()) SWIG_fail;
20375
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20391
SWIGINTERN PyObject *_wrap_RichTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20392
PyObject *resultobj = 0;
20393
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20394
wxString const &arg2_defvalue = wxPyEmptyString ;
20395
wxString *arg2 = (wxString *) &arg2_defvalue ;
20396
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
20400
bool temp2 = false ;
20403
PyObject * obj0 = 0 ;
20404
PyObject * obj1 = 0 ;
20405
PyObject * obj2 = 0 ;
20406
char * kwnames[] = {
20407
(char *) "self",(char *) "file",(char *) "type", NULL
20410
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20411
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20412
if (!SWIG_IsOK(res1)) {
20413
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20415
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20418
arg2 = wxString_in_helper(obj1);
20419
if (arg2 == NULL) SWIG_fail;
20424
ecode3 = SWIG_AsVal_int(obj2, &val3);
20425
if (!SWIG_IsOK(ecode3)) {
20426
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
20428
arg3 = static_cast< int >(val3);
20431
PyThreadState* __tstate = wxPyBeginAllowThreads();
20432
result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
20433
wxPyEndAllowThreads(__tstate);
20434
if (PyErr_Occurred()) SWIG_fail;
20437
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20453
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20454
PyObject *resultobj = 0;
20455
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20461
PyObject * obj0 = 0 ;
20462
PyObject * obj1 = 0 ;
20463
char * kwnames[] = {
20464
(char *) "self",(char *) "flags", NULL
20467
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetHandlerFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20468
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20469
if (!SWIG_IsOK(res1)) {
20470
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20472
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20473
ecode2 = SWIG_AsVal_int(obj1, &val2);
20474
if (!SWIG_IsOK(ecode2)) {
20475
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'");
20477
arg2 = static_cast< int >(val2);
20479
PyThreadState* __tstate = wxPyBeginAllowThreads();
20480
(arg1)->SetHandlerFlags(arg2);
20481
wxPyEndAllowThreads(__tstate);
20482
if (PyErr_Occurred()) SWIG_fail;
20484
resultobj = SWIG_Py_Void();
20491
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20492
PyObject *resultobj = 0;
20493
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20497
PyObject *swig_obj[1] ;
20499
if (!args) SWIG_fail;
20500
swig_obj[0] = args;
20501
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20502
if (!SWIG_IsOK(res1)) {
20503
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
20505
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20507
PyThreadState* __tstate = wxPyBeginAllowThreads();
20508
result = (int)((wxRichTextCtrl const *)arg1)->GetHandlerFlags();
20509
wxPyEndAllowThreads(__tstate);
20510
if (PyErr_Occurred()) SWIG_fail;
20512
resultobj = SWIG_From_int(static_cast< int >(result));
20519
SWIGINTERN PyObject *_wrap_RichTextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20520
PyObject *resultobj = 0;
20521
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20524
PyObject *swig_obj[1] ;
20526
if (!args) SWIG_fail;
20527
swig_obj[0] = args;
20528
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20529
if (!SWIG_IsOK(res1)) {
20530
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20532
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20534
PyThreadState* __tstate = wxPyBeginAllowThreads();
20535
(arg1)->MarkDirty();
20536
wxPyEndAllowThreads(__tstate);
20537
if (PyErr_Occurred()) SWIG_fail;
20539
resultobj = SWIG_Py_Void();
20546
SWIGINTERN PyObject *_wrap_RichTextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20547
PyObject *resultobj = 0;
20548
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20551
PyObject *swig_obj[1] ;
20553
if (!args) SWIG_fail;
20554
swig_obj[0] = args;
20555
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20556
if (!SWIG_IsOK(res1)) {
20557
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20559
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20561
PyThreadState* __tstate = wxPyBeginAllowThreads();
20562
(arg1)->DiscardEdits();
20563
wxPyEndAllowThreads(__tstate);
20564
if (PyErr_Occurred()) SWIG_fail;
20566
resultobj = SWIG_Py_Void();
20573
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20574
PyObject *resultobj = 0;
20575
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20576
unsigned long arg2 ;
20579
unsigned long val2 ;
20581
PyObject * obj0 = 0 ;
20582
PyObject * obj1 = 0 ;
20583
char * kwnames[] = {
20584
(char *) "self",(char *) "len", NULL
20587
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
20588
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20589
if (!SWIG_IsOK(res1)) {
20590
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20592
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20593
ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
20594
if (!SWIG_IsOK(ecode2)) {
20595
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
20597
arg2 = static_cast< unsigned long >(val2);
20599
PyThreadState* __tstate = wxPyBeginAllowThreads();
20600
(arg1)->SetMaxLength(arg2);
20601
wxPyEndAllowThreads(__tstate);
20602
if (PyErr_Occurred()) SWIG_fail;
20604
resultobj = SWIG_Py_Void();
20611
SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20612
PyObject *resultobj = 0;
20613
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20614
wxString *arg2 = 0 ;
20617
bool temp2 = false ;
20618
PyObject * obj0 = 0 ;
20619
PyObject * obj1 = 0 ;
20620
char * kwnames[] = {
20621
(char *) "self",(char *) "text", NULL
20624
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
20625
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20626
if (!SWIG_IsOK(res1)) {
20627
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20629
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20631
arg2 = wxString_in_helper(obj1);
20632
if (arg2 == NULL) SWIG_fail;
20636
PyThreadState* __tstate = wxPyBeginAllowThreads();
20637
(arg1)->WriteText((wxString const &)*arg2);
20638
wxPyEndAllowThreads(__tstate);
20639
if (PyErr_Occurred()) SWIG_fail;
20641
resultobj = SWIG_Py_Void();
20656
SWIGINTERN PyObject *_wrap_RichTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20657
PyObject *resultobj = 0;
20658
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20659
wxString *arg2 = 0 ;
20662
bool temp2 = false ;
20663
PyObject * obj0 = 0 ;
20664
PyObject * obj1 = 0 ;
20665
char * kwnames[] = {
20666
(char *) "self",(char *) "text", NULL
20669
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
20670
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20671
if (!SWIG_IsOK(res1)) {
20672
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20674
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20676
arg2 = wxString_in_helper(obj1);
20677
if (arg2 == NULL) SWIG_fail;
20681
PyThreadState* __tstate = wxPyBeginAllowThreads();
20682
(arg1)->AppendText((wxString const &)*arg2);
20683
wxPyEndAllowThreads(__tstate);
20684
if (PyErr_Occurred()) SWIG_fail;
20686
resultobj = SWIG_Py_Void();
20701
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20702
PyObject *resultobj = 0;
20703
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20704
wxRichTextRange *arg2 = 0 ;
20705
wxTextAttrEx *arg3 = 0 ;
20709
wxRichTextRange temp2 ;
20712
PyObject * obj0 = 0 ;
20713
PyObject * obj1 = 0 ;
20714
PyObject * obj2 = 0 ;
20715
char * kwnames[] = {
20716
(char *) "self",(char *) "range",(char *) "style", NULL
20719
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20720
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20721
if (!SWIG_IsOK(res1)) {
20722
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20724
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20727
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
20729
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
20730
if (!SWIG_IsOK(res3)) {
20731
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
20734
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
20736
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
20738
PyThreadState* __tstate = wxPyBeginAllowThreads();
20739
result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
20740
wxPyEndAllowThreads(__tstate);
20741
if (PyErr_Occurred()) SWIG_fail;
20744
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20752
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20753
PyObject *resultobj = 0;
20754
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20756
wxTextAttrEx *arg3 = 0 ;
20764
PyObject * obj0 = 0 ;
20765
PyObject * obj1 = 0 ;
20766
PyObject * obj2 = 0 ;
20767
char * kwnames[] = {
20768
(char *) "self",(char *) "position",(char *) "style", NULL
20771
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20772
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20773
if (!SWIG_IsOK(res1)) {
20774
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20776
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20777
ecode2 = SWIG_AsVal_long(obj1, &val2);
20778
if (!SWIG_IsOK(ecode2)) {
20779
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
20781
arg2 = static_cast< long >(val2);
20782
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
20783
if (!SWIG_IsOK(res3)) {
20784
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
20787
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
20789
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
20791
PyThreadState* __tstate = wxPyBeginAllowThreads();
20792
result = (bool)(arg1)->GetStyle(arg2,*arg3);
20793
wxPyEndAllowThreads(__tstate);
20794
if (PyErr_Occurred()) SWIG_fail;
20797
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20805
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20806
PyObject *resultobj = 0;
20807
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20808
wxRichTextRange *arg2 = 0 ;
20809
wxTextAttrEx *arg3 = 0 ;
20813
wxRichTextRange temp2 ;
20816
PyObject * obj0 = 0 ;
20817
PyObject * obj1 = 0 ;
20818
PyObject * obj2 = 0 ;
20819
char * kwnames[] = {
20820
(char *) "self",(char *) "range",(char *) "style", NULL
20823
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyleForRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20824
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20825
if (!SWIG_IsOK(res1)) {
20826
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleForRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20828
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20831
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
20833
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
20834
if (!SWIG_IsOK(res3)) {
20835
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
20838
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
20840
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
20842
PyThreadState* __tstate = wxPyBeginAllowThreads();
20843
result = (bool)(arg1)->GetStyleForRange((wxRichTextRange const &)*arg2,*arg3);
20844
wxPyEndAllowThreads(__tstate);
20845
if (PyErr_Occurred()) SWIG_fail;
20848
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20856
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20857
PyObject *resultobj = 0;
20858
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20859
wxRichTextRange *arg2 = 0 ;
20860
wxTextAttrEx *arg3 = 0 ;
20861
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
20865
wxRichTextRange temp2 ;
20870
PyObject * obj0 = 0 ;
20871
PyObject * obj1 = 0 ;
20872
PyObject * obj2 = 0 ;
20873
PyObject * obj3 = 0 ;
20874
char * kwnames[] = {
20875
(char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL
20878
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextCtrl_SetStyleEx",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20879
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20880
if (!SWIG_IsOK(res1)) {
20881
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20883
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20886
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
20888
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
20889
if (!SWIG_IsOK(res3)) {
20890
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
20893
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
20895
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
20897
ecode4 = SWIG_AsVal_int(obj3, &val4);
20898
if (!SWIG_IsOK(ecode4)) {
20899
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "4"" of type '" "int""'");
20901
arg4 = static_cast< int >(val4);
20904
PyThreadState* __tstate = wxPyBeginAllowThreads();
20905
result = (bool)(arg1)->SetStyleEx((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3,arg4);
20906
wxPyEndAllowThreads(__tstate);
20907
if (PyErr_Occurred()) SWIG_fail;
20910
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20918
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetUncombinedStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20919
PyObject *resultobj = 0;
20920
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20922
wxTextAttrEx *arg3 = 0 ;
20930
PyObject * obj0 = 0 ;
20931
PyObject * obj1 = 0 ;
20932
PyObject * obj2 = 0 ;
20933
char * kwnames[] = {
20934
(char *) "self",(char *) "position",(char *) "style", NULL
20937
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetUncombinedStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20938
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20939
if (!SWIG_IsOK(res1)) {
20940
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20942
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20943
ecode2 = SWIG_AsVal_long(obj1, &val2);
20944
if (!SWIG_IsOK(ecode2)) {
20945
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
20947
arg2 = static_cast< long >(val2);
20948
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
20949
if (!SWIG_IsOK(res3)) {
20950
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
20953
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
20955
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
20957
PyThreadState* __tstate = wxPyBeginAllowThreads();
20958
result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3);
20959
wxPyEndAllowThreads(__tstate);
20960
if (PyErr_Occurred()) SWIG_fail;
20963
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20971
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20972
PyObject *resultobj = 0;
20973
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
20974
wxTextAttrEx *arg2 = 0 ;
20980
PyObject * obj0 = 0 ;
20981
PyObject * obj1 = 0 ;
20982
char * kwnames[] = {
20983
(char *) "self",(char *) "style", NULL
20986
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
20987
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
20988
if (!SWIG_IsOK(res1)) {
20989
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
20991
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
20992
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
20993
if (!SWIG_IsOK(res2)) {
20994
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
20997
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
20999
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
21001
PyThreadState* __tstate = wxPyBeginAllowThreads();
21002
result = (bool)(arg1)->SetDefaultStyle((wxTextAttrEx const &)*arg2);
21003
wxPyEndAllowThreads(__tstate);
21004
if (PyErr_Occurred()) SWIG_fail;
21007
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21015
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21016
PyObject *resultobj = 0;
21017
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21018
wxTextAttrEx result;
21021
PyObject *swig_obj[1] ;
21023
if (!args) SWIG_fail;
21024
swig_obj[0] = args;
21025
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21026
if (!SWIG_IsOK(res1)) {
21027
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21029
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21031
PyThreadState* __tstate = wxPyBeginAllowThreads();
21032
result = ((wxRichTextCtrl const *)arg1)->GetDefaultStyleEx();
21033
wxPyEndAllowThreads(__tstate);
21034
if (PyErr_Occurred()) SWIG_fail;
21036
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
21043
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21044
PyObject *resultobj = 0;
21045
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21046
wxRichTextRange *arg2 = 0 ;
21047
wxString *arg3 = 0 ;
21048
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
21049
int arg5 = (int) 1 ;
21050
int arg6 = (int) -1 ;
21054
wxRichTextRange temp2 ;
21055
bool temp3 = false ;
21062
PyObject * obj0 = 0 ;
21063
PyObject * obj1 = 0 ;
21064
PyObject * obj2 = 0 ;
21065
PyObject * obj3 = 0 ;
21066
PyObject * obj4 = 0 ;
21067
PyObject * obj5 = 0 ;
21068
char * kwnames[] = {
21069
(char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
21072
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextCtrl_SetListStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21073
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21074
if (!SWIG_IsOK(res1)) {
21075
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21077
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21080
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
21083
arg3 = wxString_in_helper(obj2);
21084
if (arg3 == NULL) SWIG_fail;
21088
ecode4 = SWIG_AsVal_int(obj3, &val4);
21089
if (!SWIG_IsOK(ecode4)) {
21090
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "4"" of type '" "int""'");
21092
arg4 = static_cast< int >(val4);
21095
ecode5 = SWIG_AsVal_int(obj4, &val5);
21096
if (!SWIG_IsOK(ecode5)) {
21097
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "5"" of type '" "int""'");
21099
arg5 = static_cast< int >(val5);
21102
ecode6 = SWIG_AsVal_int(obj5, &val6);
21103
if (!SWIG_IsOK(ecode6)) {
21104
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "6"" of type '" "int""'");
21106
arg6 = static_cast< int >(val6);
21109
PyThreadState* __tstate = wxPyBeginAllowThreads();
21110
result = (bool)(arg1)->SetListStyle((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
21111
wxPyEndAllowThreads(__tstate);
21112
if (PyErr_Occurred()) SWIG_fail;
21115
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21131
SWIGINTERN PyObject *_wrap_RichTextCtrl_ClearListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21132
PyObject *resultobj = 0;
21133
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21134
wxRichTextRange *arg2 = 0 ;
21135
int arg3 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
21139
wxRichTextRange temp2 ;
21142
PyObject * obj0 = 0 ;
21143
PyObject * obj1 = 0 ;
21144
PyObject * obj2 = 0 ;
21145
char * kwnames[] = {
21146
(char *) "self",(char *) "range",(char *) "flags", NULL
21149
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_ClearListStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21150
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21151
if (!SWIG_IsOK(res1)) {
21152
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ClearListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21154
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21157
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
21160
ecode3 = SWIG_AsVal_int(obj2, &val3);
21161
if (!SWIG_IsOK(ecode3)) {
21162
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_ClearListStyle" "', expected argument " "3"" of type '" "int""'");
21164
arg3 = static_cast< int >(val3);
21167
PyThreadState* __tstate = wxPyBeginAllowThreads();
21168
result = (bool)(arg1)->ClearListStyle((wxRichTextRange const &)*arg2,arg3);
21169
wxPyEndAllowThreads(__tstate);
21170
if (PyErr_Occurred()) SWIG_fail;
21173
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21181
SWIGINTERN PyObject *_wrap_RichTextCtrl_NumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21182
PyObject *resultobj = 0;
21183
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21184
wxRichTextRange *arg2 = 0 ;
21185
wxString *arg3 = 0 ;
21186
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
21187
int arg5 = (int) 1 ;
21188
int arg6 = (int) -1 ;
21192
wxRichTextRange temp2 ;
21193
bool temp3 = false ;
21200
PyObject * obj0 = 0 ;
21201
PyObject * obj1 = 0 ;
21202
PyObject * obj2 = 0 ;
21203
PyObject * obj3 = 0 ;
21204
PyObject * obj4 = 0 ;
21205
PyObject * obj5 = 0 ;
21206
char * kwnames[] = {
21207
(char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
21210
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextCtrl_NumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21211
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21212
if (!SWIG_IsOK(res1)) {
21213
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_NumberList" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21215
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21218
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
21221
arg3 = wxString_in_helper(obj2);
21222
if (arg3 == NULL) SWIG_fail;
21226
ecode4 = SWIG_AsVal_int(obj3, &val4);
21227
if (!SWIG_IsOK(ecode4)) {
21228
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_NumberList" "', expected argument " "4"" of type '" "int""'");
21230
arg4 = static_cast< int >(val4);
21233
ecode5 = SWIG_AsVal_int(obj4, &val5);
21234
if (!SWIG_IsOK(ecode5)) {
21235
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_NumberList" "', expected argument " "5"" of type '" "int""'");
21237
arg5 = static_cast< int >(val5);
21240
ecode6 = SWIG_AsVal_int(obj5, &val6);
21241
if (!SWIG_IsOK(ecode6)) {
21242
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_NumberList" "', expected argument " "6"" of type '" "int""'");
21244
arg6 = static_cast< int >(val6);
21247
PyThreadState* __tstate = wxPyBeginAllowThreads();
21248
result = (bool)(arg1)->NumberList((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
21249
wxPyEndAllowThreads(__tstate);
21250
if (PyErr_Occurred()) SWIG_fail;
21253
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21269
SWIGINTERN PyObject *_wrap_RichTextCtrl_PromoteList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21270
PyObject *resultobj = 0;
21271
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21273
wxRichTextRange *arg3 = 0 ;
21274
wxString *arg4 = 0 ;
21275
int arg5 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
21276
int arg6 = (int) -1 ;
21282
wxRichTextRange temp3 ;
21283
bool temp4 = false ;
21288
PyObject * obj0 = 0 ;
21289
PyObject * obj1 = 0 ;
21290
PyObject * obj2 = 0 ;
21291
PyObject * obj3 = 0 ;
21292
PyObject * obj4 = 0 ;
21293
PyObject * obj5 = 0 ;
21294
char * kwnames[] = {
21295
(char *) "self",(char *) "promoteBy",(char *) "range",(char *) "defName",(char *) "flags",(char *) "specifiedLevel", NULL
21298
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:RichTextCtrl_PromoteList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21299
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21300
if (!SWIG_IsOK(res1)) {
21301
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21303
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21304
ecode2 = SWIG_AsVal_int(obj1, &val2);
21305
if (!SWIG_IsOK(ecode2)) {
21306
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "2"" of type '" "int""'");
21308
arg2 = static_cast< int >(val2);
21311
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
21314
arg4 = wxString_in_helper(obj3);
21315
if (arg4 == NULL) SWIG_fail;
21319
ecode5 = SWIG_AsVal_int(obj4, &val5);
21320
if (!SWIG_IsOK(ecode5)) {
21321
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "5"" of type '" "int""'");
21323
arg5 = static_cast< int >(val5);
21326
ecode6 = SWIG_AsVal_int(obj5, &val6);
21327
if (!SWIG_IsOK(ecode6)) {
21328
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "6"" of type '" "int""'");
21330
arg6 = static_cast< int >(val6);
21333
PyThreadState* __tstate = wxPyBeginAllowThreads();
21334
result = (bool)(arg1)->PromoteList(arg2,(wxRichTextRange const &)*arg3,(wxString const &)*arg4,arg5,arg6);
21335
wxPyEndAllowThreads(__tstate);
21336
if (PyErr_Occurred()) SWIG_fail;
21339
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21355
SWIGINTERN PyObject *_wrap_RichTextCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21356
PyObject *resultobj = 0;
21357
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21358
wxRichTextRange *arg2 = 0 ;
21362
wxRichTextRange temp2 ;
21363
PyObject * obj0 = 0 ;
21364
PyObject * obj1 = 0 ;
21365
char * kwnames[] = {
21366
(char *) "self",(char *) "range", NULL
21369
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
21370
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21371
if (!SWIG_IsOK(res1)) {
21372
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Delete" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21374
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21377
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
21380
PyThreadState* __tstate = wxPyBeginAllowThreads();
21381
result = (bool)(arg1)->Delete((wxRichTextRange const &)*arg2);
21382
wxPyEndAllowThreads(__tstate);
21383
if (PyErr_Occurred()) SWIG_fail;
21386
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21394
SWIGINTERN PyObject *_wrap_RichTextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21395
PyObject *resultobj = 0;
21396
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21406
PyObject * obj0 = 0 ;
21407
PyObject * obj1 = 0 ;
21408
PyObject * obj2 = 0 ;
21409
char * kwnames[] = {
21410
(char *) "self",(char *) "x",(char *) "y", NULL
21413
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21414
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21415
if (!SWIG_IsOK(res1)) {
21416
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21418
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21419
ecode2 = SWIG_AsVal_long(obj1, &val2);
21420
if (!SWIG_IsOK(ecode2)) {
21421
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
21423
arg2 = static_cast< long >(val2);
21424
ecode3 = SWIG_AsVal_long(obj2, &val3);
21425
if (!SWIG_IsOK(ecode3)) {
21426
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
21428
arg3 = static_cast< long >(val3);
21430
PyThreadState* __tstate = wxPyBeginAllowThreads();
21431
result = (long)((wxRichTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
21432
wxPyEndAllowThreads(__tstate);
21433
if (PyErr_Occurred()) SWIG_fail;
21435
resultobj = SWIG_From_long(static_cast< long >(result));
21442
SWIGINTERN PyObject *_wrap_RichTextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21443
PyObject *resultobj = 0;
21444
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21446
long *arg3 = (long *) 0 ;
21447
long *arg4 = (long *) 0 ;
21453
int res3 = SWIG_TMPOBJ ;
21455
int res4 = SWIG_TMPOBJ ;
21456
PyObject * obj0 = 0 ;
21457
PyObject * obj1 = 0 ;
21458
char * kwnames[] = {
21459
(char *) "self",(char *) "pos", NULL
21464
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
21465
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21466
if (!SWIG_IsOK(res1)) {
21467
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21469
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21470
ecode2 = SWIG_AsVal_long(obj1, &val2);
21471
if (!SWIG_IsOK(ecode2)) {
21472
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
21474
arg2 = static_cast< long >(val2);
21476
PyThreadState* __tstate = wxPyBeginAllowThreads();
21477
((wxRichTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
21478
wxPyEndAllowThreads(__tstate);
21479
if (PyErr_Occurred()) SWIG_fail;
21481
resultobj = SWIG_Py_Void();
21482
if (SWIG_IsTmpObj(res3)) {
21483
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
21485
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21486
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
21488
if (SWIG_IsTmpObj(res4)) {
21489
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
21491
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21492
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
21500
SWIGINTERN PyObject *_wrap_RichTextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21501
PyObject *resultobj = 0;
21502
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21508
PyObject * obj0 = 0 ;
21509
PyObject * obj1 = 0 ;
21510
char * kwnames[] = {
21511
(char *) "self",(char *) "position", NULL
21514
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
21515
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21516
if (!SWIG_IsOK(res1)) {
21517
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21519
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21520
ecode2 = SWIG_AsVal_long(obj1, &val2);
21521
if (!SWIG_IsOK(ecode2)) {
21522
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
21524
arg2 = static_cast< long >(val2);
21526
PyThreadState* __tstate = wxPyBeginAllowThreads();
21527
(arg1)->ShowPosition(arg2);
21528
wxPyEndAllowThreads(__tstate);
21529
if (PyErr_Occurred()) SWIG_fail;
21531
resultobj = SWIG_Py_Void();
21538
SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21539
PyObject *resultobj = 0;
21540
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21541
wxPoint *arg2 = 0 ;
21542
long *arg3 = (long *) 0 ;
21543
wxTextCtrlHitTestResult result;
21548
int res3 = SWIG_TMPOBJ ;
21549
PyObject * obj0 = 0 ;
21550
PyObject * obj1 = 0 ;
21551
char * kwnames[] = {
21552
(char *) "self",(char *) "pt", NULL
21556
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
21557
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21558
if (!SWIG_IsOK(res1)) {
21559
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21561
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21564
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21567
PyThreadState* __tstate = wxPyBeginAllowThreads();
21568
result = (wxTextCtrlHitTestResult)((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
21569
wxPyEndAllowThreads(__tstate);
21570
if (PyErr_Occurred()) SWIG_fail;
21572
resultobj = SWIG_From_int(static_cast< int >(result));
21573
if (SWIG_IsTmpObj(res3)) {
21574
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
21576
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21577
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
21585
SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21586
PyObject *resultobj = 0;
21587
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21588
wxPoint *arg2 = 0 ;
21589
wxTextCoord *arg3 = (wxTextCoord *) 0 ;
21590
wxTextCoord *arg4 = (wxTextCoord *) 0 ;
21591
wxTextCtrlHitTestResult result;
21599
PyObject * obj0 = 0 ;
21600
PyObject * obj1 = 0 ;
21601
PyObject * obj2 = 0 ;
21602
PyObject * obj3 = 0 ;
21603
char * kwnames[] = {
21604
(char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
21607
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21608
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21609
if (!SWIG_IsOK(res1)) {
21610
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21612
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21615
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21617
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCoord, 0 | 0 );
21618
if (!SWIG_IsOK(res3)) {
21619
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
21621
arg3 = reinterpret_cast< wxTextCoord * >(argp3);
21622
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextCoord, 0 | 0 );
21623
if (!SWIG_IsOK(res4)) {
21624
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
21626
arg4 = reinterpret_cast< wxTextCoord * >(argp4);
21628
PyThreadState* __tstate = wxPyBeginAllowThreads();
21629
result = (wxTextCtrlHitTestResult)((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
21630
wxPyEndAllowThreads(__tstate);
21631
if (PyErr_Occurred()) SWIG_fail;
21633
resultobj = SWIG_From_int(static_cast< int >(result));
21640
SWIGINTERN PyObject *_wrap_RichTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21641
PyObject *resultobj = 0;
21642
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21645
PyObject *swig_obj[1] ;
21647
if (!args) SWIG_fail;
21648
swig_obj[0] = args;
21649
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21650
if (!SWIG_IsOK(res1)) {
21651
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21653
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21655
PyThreadState* __tstate = wxPyBeginAllowThreads();
21657
wxPyEndAllowThreads(__tstate);
21658
if (PyErr_Occurred()) SWIG_fail;
21660
resultobj = SWIG_Py_Void();
21667
SWIGINTERN PyObject *_wrap_RichTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21668
PyObject *resultobj = 0;
21669
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21672
PyObject *swig_obj[1] ;
21674
if (!args) SWIG_fail;
21675
swig_obj[0] = args;
21676
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21677
if (!SWIG_IsOK(res1)) {
21678
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21680
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21682
PyThreadState* __tstate = wxPyBeginAllowThreads();
21684
wxPyEndAllowThreads(__tstate);
21685
if (PyErr_Occurred()) SWIG_fail;
21687
resultobj = SWIG_Py_Void();
21694
SWIGINTERN PyObject *_wrap_RichTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21695
PyObject *resultobj = 0;
21696
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21699
PyObject *swig_obj[1] ;
21701
if (!args) SWIG_fail;
21702
swig_obj[0] = args;
21703
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21704
if (!SWIG_IsOK(res1)) {
21705
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21707
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21709
PyThreadState* __tstate = wxPyBeginAllowThreads();
21711
wxPyEndAllowThreads(__tstate);
21712
if (PyErr_Occurred()) SWIG_fail;
21714
resultobj = SWIG_Py_Void();
21721
SWIGINTERN PyObject *_wrap_RichTextCtrl_DeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21722
PyObject *resultobj = 0;
21723
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21726
PyObject *swig_obj[1] ;
21728
if (!args) SWIG_fail;
21729
swig_obj[0] = args;
21730
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21731
if (!SWIG_IsOK(res1)) {
21732
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21734
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21736
PyThreadState* __tstate = wxPyBeginAllowThreads();
21737
(arg1)->DeleteSelection();
21738
wxPyEndAllowThreads(__tstate);
21739
if (PyErr_Occurred()) SWIG_fail;
21741
resultobj = SWIG_Py_Void();
21748
SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21749
PyObject *resultobj = 0;
21750
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21754
PyObject *swig_obj[1] ;
21756
if (!args) SWIG_fail;
21757
swig_obj[0] = args;
21758
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21759
if (!SWIG_IsOK(res1)) {
21760
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21762
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21764
PyThreadState* __tstate = wxPyBeginAllowThreads();
21765
result = (bool)((wxRichTextCtrl const *)arg1)->CanCopy();
21766
wxPyEndAllowThreads(__tstate);
21767
if (PyErr_Occurred()) SWIG_fail;
21770
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21778
SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21779
PyObject *resultobj = 0;
21780
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21784
PyObject *swig_obj[1] ;
21786
if (!args) SWIG_fail;
21787
swig_obj[0] = args;
21788
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21789
if (!SWIG_IsOK(res1)) {
21790
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21792
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21794
PyThreadState* __tstate = wxPyBeginAllowThreads();
21795
result = (bool)((wxRichTextCtrl const *)arg1)->CanCut();
21796
wxPyEndAllowThreads(__tstate);
21797
if (PyErr_Occurred()) SWIG_fail;
21800
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21808
SWIGINTERN PyObject *_wrap_RichTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21809
PyObject *resultobj = 0;
21810
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21814
PyObject *swig_obj[1] ;
21816
if (!args) SWIG_fail;
21817
swig_obj[0] = args;
21818
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21819
if (!SWIG_IsOK(res1)) {
21820
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21822
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21824
PyThreadState* __tstate = wxPyBeginAllowThreads();
21825
result = (bool)((wxRichTextCtrl const *)arg1)->CanPaste();
21826
wxPyEndAllowThreads(__tstate);
21827
if (PyErr_Occurred()) SWIG_fail;
21830
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21838
SWIGINTERN PyObject *_wrap_RichTextCtrl_CanDeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21839
PyObject *resultobj = 0;
21840
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21844
PyObject *swig_obj[1] ;
21846
if (!args) SWIG_fail;
21847
swig_obj[0] = args;
21848
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21849
if (!SWIG_IsOK(res1)) {
21850
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21852
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21854
PyThreadState* __tstate = wxPyBeginAllowThreads();
21855
result = (bool)((wxRichTextCtrl const *)arg1)->CanDeleteSelection();
21856
wxPyEndAllowThreads(__tstate);
21857
if (PyErr_Occurred()) SWIG_fail;
21860
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21868
SWIGINTERN PyObject *_wrap_RichTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21869
PyObject *resultobj = 0;
21870
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21873
PyObject *swig_obj[1] ;
21875
if (!args) SWIG_fail;
21876
swig_obj[0] = args;
21877
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21878
if (!SWIG_IsOK(res1)) {
21879
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21881
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21883
PyThreadState* __tstate = wxPyBeginAllowThreads();
21885
wxPyEndAllowThreads(__tstate);
21886
if (PyErr_Occurred()) SWIG_fail;
21888
resultobj = SWIG_Py_Void();
21895
SWIGINTERN PyObject *_wrap_RichTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21896
PyObject *resultobj = 0;
21897
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21900
PyObject *swig_obj[1] ;
21902
if (!args) SWIG_fail;
21903
swig_obj[0] = args;
21904
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21905
if (!SWIG_IsOK(res1)) {
21906
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
21908
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21910
PyThreadState* __tstate = wxPyBeginAllowThreads();
21912
wxPyEndAllowThreads(__tstate);
21913
if (PyErr_Occurred()) SWIG_fail;
21915
resultobj = SWIG_Py_Void();
21922
SWIGINTERN PyObject *_wrap_RichTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21923
PyObject *resultobj = 0;
21924
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21928
PyObject *swig_obj[1] ;
21930
if (!args) SWIG_fail;
21931
swig_obj[0] = args;
21932
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21933
if (!SWIG_IsOK(res1)) {
21934
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21936
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21938
PyThreadState* __tstate = wxPyBeginAllowThreads();
21939
result = (bool)((wxRichTextCtrl const *)arg1)->CanUndo();
21940
wxPyEndAllowThreads(__tstate);
21941
if (PyErr_Occurred()) SWIG_fail;
21944
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21952
SWIGINTERN PyObject *_wrap_RichTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21953
PyObject *resultobj = 0;
21954
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21958
PyObject *swig_obj[1] ;
21960
if (!args) SWIG_fail;
21961
swig_obj[0] = args;
21962
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21963
if (!SWIG_IsOK(res1)) {
21964
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
21966
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
21968
PyThreadState* __tstate = wxPyBeginAllowThreads();
21969
result = (bool)((wxRichTextCtrl const *)arg1)->CanRedo();
21970
wxPyEndAllowThreads(__tstate);
21971
if (PyErr_Occurred()) SWIG_fail;
21974
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21982
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21983
PyObject *resultobj = 0;
21984
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
21990
PyObject * obj0 = 0 ;
21991
PyObject * obj1 = 0 ;
21992
char * kwnames[] = {
21993
(char *) "self",(char *) "pos", NULL
21996
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
21997
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
21998
if (!SWIG_IsOK(res1)) {
21999
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22001
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22002
ecode2 = SWIG_AsVal_long(obj1, &val2);
22003
if (!SWIG_IsOK(ecode2)) {
22004
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
22006
arg2 = static_cast< long >(val2);
22008
PyThreadState* __tstate = wxPyBeginAllowThreads();
22009
(arg1)->SetInsertionPoint(arg2);
22010
wxPyEndAllowThreads(__tstate);
22011
if (PyErr_Occurred()) SWIG_fail;
22013
resultobj = SWIG_Py_Void();
22020
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22021
PyObject *resultobj = 0;
22022
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22025
PyObject *swig_obj[1] ;
22027
if (!args) SWIG_fail;
22028
swig_obj[0] = args;
22029
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22030
if (!SWIG_IsOK(res1)) {
22031
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22033
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22035
PyThreadState* __tstate = wxPyBeginAllowThreads();
22036
(arg1)->SetInsertionPointEnd();
22037
wxPyEndAllowThreads(__tstate);
22038
if (PyErr_Occurred()) SWIG_fail;
22040
resultobj = SWIG_Py_Void();
22047
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22048
PyObject *resultobj = 0;
22049
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22053
PyObject *swig_obj[1] ;
22055
if (!args) SWIG_fail;
22056
swig_obj[0] = args;
22057
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22058
if (!SWIG_IsOK(res1)) {
22059
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
22061
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22063
PyThreadState* __tstate = wxPyBeginAllowThreads();
22064
result = (long)((wxRichTextCtrl const *)arg1)->GetInsertionPoint();
22065
wxPyEndAllowThreads(__tstate);
22066
if (PyErr_Occurred()) SWIG_fail;
22068
resultobj = SWIG_From_long(static_cast< long >(result));
22075
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22076
PyObject *resultobj = 0;
22077
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22081
PyObject *swig_obj[1] ;
22083
if (!args) SWIG_fail;
22084
swig_obj[0] = args;
22085
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22086
if (!SWIG_IsOK(res1)) {
22087
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
22089
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22091
PyThreadState* __tstate = wxPyBeginAllowThreads();
22092
result = (long)((wxRichTextCtrl const *)arg1)->GetLastPosition();
22093
wxPyEndAllowThreads(__tstate);
22094
if (PyErr_Occurred()) SWIG_fail;
22096
resultobj = SWIG_From_long(static_cast< long >(result));
22103
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22104
PyObject *resultobj = 0;
22105
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22114
PyObject * obj0 = 0 ;
22115
PyObject * obj1 = 0 ;
22116
PyObject * obj2 = 0 ;
22117
char * kwnames[] = {
22118
(char *) "self",(char *) "from",(char *) "to", NULL
22121
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22122
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22123
if (!SWIG_IsOK(res1)) {
22124
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22126
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22127
ecode2 = SWIG_AsVal_long(obj1, &val2);
22128
if (!SWIG_IsOK(ecode2)) {
22129
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
22131
arg2 = static_cast< long >(val2);
22132
ecode3 = SWIG_AsVal_long(obj2, &val3);
22133
if (!SWIG_IsOK(ecode3)) {
22134
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
22136
arg3 = static_cast< long >(val3);
22138
PyThreadState* __tstate = wxPyBeginAllowThreads();
22139
(arg1)->SetSelection(arg2,arg3);
22140
wxPyEndAllowThreads(__tstate);
22141
if (PyErr_Occurred()) SWIG_fail;
22143
resultobj = SWIG_Py_Void();
22150
SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22151
PyObject *resultobj = 0;
22152
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22155
PyObject *swig_obj[1] ;
22157
if (!args) SWIG_fail;
22158
swig_obj[0] = args;
22159
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22160
if (!SWIG_IsOK(res1)) {
22161
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22163
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22165
PyThreadState* __tstate = wxPyBeginAllowThreads();
22166
(arg1)->SelectAll();
22167
wxPyEndAllowThreads(__tstate);
22168
if (PyErr_Occurred()) SWIG_fail;
22170
resultobj = SWIG_Py_Void();
22177
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22178
PyObject *resultobj = 0;
22179
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22185
PyObject * obj0 = 0 ;
22186
PyObject * obj1 = 0 ;
22187
char * kwnames[] = {
22188
(char *) "self",(char *) "editable", NULL
22191
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
22192
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22193
if (!SWIG_IsOK(res1)) {
22194
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22196
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22197
ecode2 = SWIG_AsVal_bool(obj1, &val2);
22198
if (!SWIG_IsOK(ecode2)) {
22199
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
22201
arg2 = static_cast< bool >(val2);
22203
PyThreadState* __tstate = wxPyBeginAllowThreads();
22204
(arg1)->SetEditable(arg2);
22205
wxPyEndAllowThreads(__tstate);
22206
if (PyErr_Occurred()) SWIG_fail;
22208
resultobj = SWIG_Py_Void();
22215
SWIGINTERN PyObject *_wrap_RichTextCtrl_HasSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22216
PyObject *resultobj = 0;
22217
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22221
PyObject *swig_obj[1] ;
22223
if (!args) SWIG_fail;
22224
swig_obj[0] = args;
22225
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22226
if (!SWIG_IsOK(res1)) {
22227
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
22229
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22231
PyThreadState* __tstate = wxPyBeginAllowThreads();
22232
result = (bool)((wxRichTextCtrl const *)arg1)->HasSelection();
22233
wxPyEndAllowThreads(__tstate);
22234
if (PyErr_Occurred()) SWIG_fail;
22237
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22245
SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22246
PyObject *resultobj = 0;
22247
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22248
wxImage *arg2 = 0 ;
22249
int arg3 = (int) wxBITMAP_TYPE_PNG ;
22257
PyObject * obj0 = 0 ;
22258
PyObject * obj1 = 0 ;
22259
PyObject * obj2 = 0 ;
22260
char * kwnames[] = {
22261
(char *) "self",(char *) "image",(char *) "bitmapType", NULL
22264
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22265
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22266
if (!SWIG_IsOK(res1)) {
22267
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22269
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22270
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
22271
if (!SWIG_IsOK(res2)) {
22272
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
22275
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
22277
arg2 = reinterpret_cast< wxImage * >(argp2);
22279
ecode3 = SWIG_AsVal_int(obj2, &val3);
22280
if (!SWIG_IsOK(ecode3)) {
22281
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
22283
arg3 = static_cast< int >(val3);
22286
PyThreadState* __tstate = wxPyBeginAllowThreads();
22287
result = (bool)(arg1)->WriteImage((wxImage const &)*arg2,arg3);
22288
wxPyEndAllowThreads(__tstate);
22289
if (PyErr_Occurred()) SWIG_fail;
22292
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22300
SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22301
PyObject *resultobj = 0;
22302
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22303
wxBitmap *arg2 = 0 ;
22304
int arg3 = (int) wxBITMAP_TYPE_PNG ;
22312
PyObject * obj0 = 0 ;
22313
PyObject * obj1 = 0 ;
22314
PyObject * obj2 = 0 ;
22315
char * kwnames[] = {
22316
(char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
22319
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22320
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22321
if (!SWIG_IsOK(res1)) {
22322
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22324
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22325
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
22326
if (!SWIG_IsOK(res2)) {
22327
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22330
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22332
arg2 = reinterpret_cast< wxBitmap * >(argp2);
22334
ecode3 = SWIG_AsVal_int(obj2, &val3);
22335
if (!SWIG_IsOK(ecode3)) {
22336
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
22338
arg3 = static_cast< int >(val3);
22341
PyThreadState* __tstate = wxPyBeginAllowThreads();
22342
result = (bool)(arg1)->WriteImage((wxBitmap const &)*arg2,arg3);
22343
wxPyEndAllowThreads(__tstate);
22344
if (PyErr_Occurred()) SWIG_fail;
22347
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22355
SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22356
PyObject *resultobj = 0;
22357
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22358
wxString *arg2 = 0 ;
22363
bool temp2 = false ;
22366
PyObject * obj0 = 0 ;
22367
PyObject * obj1 = 0 ;
22368
PyObject * obj2 = 0 ;
22369
char * kwnames[] = {
22370
(char *) "self",(char *) "filename",(char *) "bitmapType", NULL
22373
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22374
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22375
if (!SWIG_IsOK(res1)) {
22376
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22378
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22380
arg2 = wxString_in_helper(obj1);
22381
if (arg2 == NULL) SWIG_fail;
22384
ecode3 = SWIG_AsVal_int(obj2, &val3);
22385
if (!SWIG_IsOK(ecode3)) {
22386
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
22388
arg3 = static_cast< int >(val3);
22390
PyThreadState* __tstate = wxPyBeginAllowThreads();
22391
result = (bool)(arg1)->WriteImage((wxString const &)*arg2,arg3);
22392
wxPyEndAllowThreads(__tstate);
22393
if (PyErr_Occurred()) SWIG_fail;
22396
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22412
SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22413
PyObject *resultobj = 0;
22414
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22415
wxRichTextImageBlock *arg2 = 0 ;
22421
PyObject * obj0 = 0 ;
22422
PyObject * obj1 = 0 ;
22423
char * kwnames[] = {
22424
(char *) "self",(char *) "imageBlock", NULL
22427
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames,&obj0,&obj1)) SWIG_fail;
22428
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22429
if (!SWIG_IsOK(res1)) {
22430
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22432
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22433
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0);
22434
if (!SWIG_IsOK(res2)) {
22435
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
22438
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
22440
arg2 = reinterpret_cast< wxRichTextImageBlock * >(argp2);
22442
PyThreadState* __tstate = wxPyBeginAllowThreads();
22443
result = (bool)(arg1)->WriteImage((wxRichTextImageBlock const &)*arg2);
22444
wxPyEndAllowThreads(__tstate);
22445
if (PyErr_Occurred()) SWIG_fail;
22448
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22456
SWIGINTERN PyObject *_wrap_RichTextCtrl_Newline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22457
PyObject *resultobj = 0;
22458
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22462
PyObject *swig_obj[1] ;
22464
if (!args) SWIG_fail;
22465
swig_obj[0] = args;
22466
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22467
if (!SWIG_IsOK(res1)) {
22468
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22470
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22472
PyThreadState* __tstate = wxPyBeginAllowThreads();
22473
result = (bool)(arg1)->Newline();
22474
wxPyEndAllowThreads(__tstate);
22475
if (PyErr_Occurred()) SWIG_fail;
22478
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22486
SWIGINTERN PyObject *_wrap_RichTextCtrl_LineBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22487
PyObject *resultobj = 0;
22488
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22492
PyObject *swig_obj[1] ;
22494
if (!args) SWIG_fail;
22495
swig_obj[0] = args;
22496
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22497
if (!SWIG_IsOK(res1)) {
22498
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LineBreak" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22500
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22502
PyThreadState* __tstate = wxPyBeginAllowThreads();
22503
result = (bool)(arg1)->LineBreak();
22504
wxPyEndAllowThreads(__tstate);
22505
if (PyErr_Occurred()) SWIG_fail;
22508
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22516
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22517
PyObject *resultobj = 0;
22518
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22519
wxTextAttrEx *arg2 = 0 ;
22524
PyObject * obj0 = 0 ;
22525
PyObject * obj1 = 0 ;
22526
char * kwnames[] = {
22527
(char *) "self",(char *) "style", NULL
22530
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
22531
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22532
if (!SWIG_IsOK(res1)) {
22533
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22535
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22536
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
22537
if (!SWIG_IsOK(res2)) {
22538
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
22541
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
22543
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
22545
PyThreadState* __tstate = wxPyBeginAllowThreads();
22546
(arg1)->SetBasicStyle((wxTextAttrEx const &)*arg2);
22547
wxPyEndAllowThreads(__tstate);
22548
if (PyErr_Occurred()) SWIG_fail;
22550
resultobj = SWIG_Py_Void();
22557
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22558
PyObject *resultobj = 0;
22559
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22560
wxTextAttrEx result;
22563
PyObject *swig_obj[1] ;
22565
if (!args) SWIG_fail;
22566
swig_obj[0] = args;
22567
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22568
if (!SWIG_IsOK(res1)) {
22569
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
22571
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22573
PyThreadState* __tstate = wxPyBeginAllowThreads();
22574
result = ((wxRichTextCtrl const *)arg1)->GetBasicStyle();
22575
wxPyEndAllowThreads(__tstate);
22576
if (PyErr_Occurred()) SWIG_fail;
22578
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
22585
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22586
PyObject *resultobj = 0;
22587
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22588
wxTextAttrEx *arg2 = 0 ;
22594
PyObject * obj0 = 0 ;
22595
PyObject * obj1 = 0 ;
22596
char * kwnames[] = {
22597
(char *) "self",(char *) "style", NULL
22600
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginStyle",kwnames,&obj0,&obj1)) SWIG_fail;
22601
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22602
if (!SWIG_IsOK(res1)) {
22603
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22605
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22606
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
22607
if (!SWIG_IsOK(res2)) {
22608
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
22611
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
22613
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
22615
PyThreadState* __tstate = wxPyBeginAllowThreads();
22616
result = (bool)(arg1)->BeginStyle((wxTextAttrEx const &)*arg2);
22617
wxPyEndAllowThreads(__tstate);
22618
if (PyErr_Occurred()) SWIG_fail;
22621
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22629
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22630
PyObject *resultobj = 0;
22631
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22635
PyObject *swig_obj[1] ;
22637
if (!args) SWIG_fail;
22638
swig_obj[0] = args;
22639
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22640
if (!SWIG_IsOK(res1)) {
22641
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22643
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22645
PyThreadState* __tstate = wxPyBeginAllowThreads();
22646
result = (bool)(arg1)->EndStyle();
22647
wxPyEndAllowThreads(__tstate);
22648
if (PyErr_Occurred()) SWIG_fail;
22651
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22659
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22660
PyObject *resultobj = 0;
22661
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22665
PyObject *swig_obj[1] ;
22667
if (!args) SWIG_fail;
22668
swig_obj[0] = args;
22669
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22670
if (!SWIG_IsOK(res1)) {
22671
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22673
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22675
PyThreadState* __tstate = wxPyBeginAllowThreads();
22676
result = (bool)(arg1)->EndAllStyles();
22677
wxPyEndAllowThreads(__tstate);
22678
if (PyErr_Occurred()) SWIG_fail;
22681
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22689
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22690
PyObject *resultobj = 0;
22691
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22695
PyObject *swig_obj[1] ;
22697
if (!args) SWIG_fail;
22698
swig_obj[0] = args;
22699
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22700
if (!SWIG_IsOK(res1)) {
22701
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22703
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22705
PyThreadState* __tstate = wxPyBeginAllowThreads();
22706
result = (bool)(arg1)->BeginBold();
22707
wxPyEndAllowThreads(__tstate);
22708
if (PyErr_Occurred()) SWIG_fail;
22711
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22719
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22720
PyObject *resultobj = 0;
22721
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22725
PyObject *swig_obj[1] ;
22727
if (!args) SWIG_fail;
22728
swig_obj[0] = args;
22729
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22730
if (!SWIG_IsOK(res1)) {
22731
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22733
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22735
PyThreadState* __tstate = wxPyBeginAllowThreads();
22736
result = (bool)(arg1)->EndBold();
22737
wxPyEndAllowThreads(__tstate);
22738
if (PyErr_Occurred()) SWIG_fail;
22741
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22749
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22750
PyObject *resultobj = 0;
22751
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22755
PyObject *swig_obj[1] ;
22757
if (!args) SWIG_fail;
22758
swig_obj[0] = args;
22759
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22760
if (!SWIG_IsOK(res1)) {
22761
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22763
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22765
PyThreadState* __tstate = wxPyBeginAllowThreads();
22766
result = (bool)(arg1)->BeginItalic();
22767
wxPyEndAllowThreads(__tstate);
22768
if (PyErr_Occurred()) SWIG_fail;
22771
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22779
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22780
PyObject *resultobj = 0;
22781
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22785
PyObject *swig_obj[1] ;
22787
if (!args) SWIG_fail;
22788
swig_obj[0] = args;
22789
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22790
if (!SWIG_IsOK(res1)) {
22791
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22793
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22795
PyThreadState* __tstate = wxPyBeginAllowThreads();
22796
result = (bool)(arg1)->EndItalic();
22797
wxPyEndAllowThreads(__tstate);
22798
if (PyErr_Occurred()) SWIG_fail;
22801
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22809
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22810
PyObject *resultobj = 0;
22811
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22815
PyObject *swig_obj[1] ;
22817
if (!args) SWIG_fail;
22818
swig_obj[0] = args;
22819
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22820
if (!SWIG_IsOK(res1)) {
22821
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22823
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22825
PyThreadState* __tstate = wxPyBeginAllowThreads();
22826
result = (bool)(arg1)->BeginUnderline();
22827
wxPyEndAllowThreads(__tstate);
22828
if (PyErr_Occurred()) SWIG_fail;
22831
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22839
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22840
PyObject *resultobj = 0;
22841
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22845
PyObject *swig_obj[1] ;
22847
if (!args) SWIG_fail;
22848
swig_obj[0] = args;
22849
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22850
if (!SWIG_IsOK(res1)) {
22851
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22853
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22855
PyThreadState* __tstate = wxPyBeginAllowThreads();
22856
result = (bool)(arg1)->EndUnderline();
22857
wxPyEndAllowThreads(__tstate);
22858
if (PyErr_Occurred()) SWIG_fail;
22861
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22869
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22870
PyObject *resultobj = 0;
22871
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22878
PyObject * obj0 = 0 ;
22879
PyObject * obj1 = 0 ;
22880
char * kwnames[] = {
22881
(char *) "self",(char *) "pointSize", NULL
22884
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
22885
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22886
if (!SWIG_IsOK(res1)) {
22887
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22889
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22890
ecode2 = SWIG_AsVal_int(obj1, &val2);
22891
if (!SWIG_IsOK(ecode2)) {
22892
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
22894
arg2 = static_cast< int >(val2);
22896
PyThreadState* __tstate = wxPyBeginAllowThreads();
22897
result = (bool)(arg1)->BeginFontSize(arg2);
22898
wxPyEndAllowThreads(__tstate);
22899
if (PyErr_Occurred()) SWIG_fail;
22902
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22910
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22911
PyObject *resultobj = 0;
22912
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22916
PyObject *swig_obj[1] ;
22918
if (!args) SWIG_fail;
22919
swig_obj[0] = args;
22920
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22921
if (!SWIG_IsOK(res1)) {
22922
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22924
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22926
PyThreadState* __tstate = wxPyBeginAllowThreads();
22927
result = (bool)(arg1)->EndFontSize();
22928
wxPyEndAllowThreads(__tstate);
22929
if (PyErr_Occurred()) SWIG_fail;
22932
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22940
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22941
PyObject *resultobj = 0;
22942
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22949
PyObject * obj0 = 0 ;
22950
PyObject * obj1 = 0 ;
22951
char * kwnames[] = {
22952
(char *) "self",(char *) "font", NULL
22955
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
22956
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22957
if (!SWIG_IsOK(res1)) {
22958
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22960
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
22961
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
22962
if (!SWIG_IsOK(res2)) {
22963
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
22966
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
22968
arg2 = reinterpret_cast< wxFont * >(argp2);
22970
PyThreadState* __tstate = wxPyBeginAllowThreads();
22971
result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
22972
wxPyEndAllowThreads(__tstate);
22973
if (PyErr_Occurred()) SWIG_fail;
22976
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22984
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22985
PyObject *resultobj = 0;
22986
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
22990
PyObject *swig_obj[1] ;
22992
if (!args) SWIG_fail;
22993
swig_obj[0] = args;
22994
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
22995
if (!SWIG_IsOK(res1)) {
22996
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
22998
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23000
PyThreadState* __tstate = wxPyBeginAllowThreads();
23001
result = (bool)(arg1)->EndFont();
23002
wxPyEndAllowThreads(__tstate);
23003
if (PyErr_Occurred()) SWIG_fail;
23006
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23014
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23015
PyObject *resultobj = 0;
23016
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23017
wxColour *arg2 = 0 ;
23022
PyObject * obj0 = 0 ;
23023
PyObject * obj1 = 0 ;
23024
char * kwnames[] = {
23025
(char *) "self",(char *) "colour", NULL
23028
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
23029
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23030
if (!SWIG_IsOK(res1)) {
23031
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23033
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23036
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23039
PyThreadState* __tstate = wxPyBeginAllowThreads();
23040
result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
23041
wxPyEndAllowThreads(__tstate);
23042
if (PyErr_Occurred()) SWIG_fail;
23045
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23053
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23054
PyObject *resultobj = 0;
23055
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23059
PyObject *swig_obj[1] ;
23061
if (!args) SWIG_fail;
23062
swig_obj[0] = args;
23063
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23064
if (!SWIG_IsOK(res1)) {
23065
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23067
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23069
PyThreadState* __tstate = wxPyBeginAllowThreads();
23070
result = (bool)(arg1)->EndTextColour();
23071
wxPyEndAllowThreads(__tstate);
23072
if (PyErr_Occurred()) SWIG_fail;
23075
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23083
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23084
PyObject *resultobj = 0;
23085
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23086
wxTextAttrAlignment arg2 ;
23092
PyObject * obj0 = 0 ;
23093
PyObject * obj1 = 0 ;
23094
char * kwnames[] = {
23095
(char *) "self",(char *) "alignment", NULL
23098
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
23099
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23100
if (!SWIG_IsOK(res1)) {
23101
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23103
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23104
ecode2 = SWIG_AsVal_int(obj1, &val2);
23105
if (!SWIG_IsOK(ecode2)) {
23106
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
23108
arg2 = static_cast< wxTextAttrAlignment >(val2);
23110
PyThreadState* __tstate = wxPyBeginAllowThreads();
23111
result = (bool)(arg1)->BeginAlignment(arg2);
23112
wxPyEndAllowThreads(__tstate);
23113
if (PyErr_Occurred()) SWIG_fail;
23116
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23124
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23125
PyObject *resultobj = 0;
23126
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23130
PyObject *swig_obj[1] ;
23132
if (!args) SWIG_fail;
23133
swig_obj[0] = args;
23134
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23135
if (!SWIG_IsOK(res1)) {
23136
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23138
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23140
PyThreadState* __tstate = wxPyBeginAllowThreads();
23141
result = (bool)(arg1)->EndAlignment();
23142
wxPyEndAllowThreads(__tstate);
23143
if (PyErr_Occurred()) SWIG_fail;
23146
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23154
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23155
PyObject *resultobj = 0;
23156
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23158
int arg3 = (int) 0 ;
23166
PyObject * obj0 = 0 ;
23167
PyObject * obj1 = 0 ;
23168
PyObject * obj2 = 0 ;
23169
char * kwnames[] = {
23170
(char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
23173
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23174
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23175
if (!SWIG_IsOK(res1)) {
23176
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23178
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23179
ecode2 = SWIG_AsVal_int(obj1, &val2);
23180
if (!SWIG_IsOK(ecode2)) {
23181
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
23183
arg2 = static_cast< int >(val2);
23185
ecode3 = SWIG_AsVal_int(obj2, &val3);
23186
if (!SWIG_IsOK(ecode3)) {
23187
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
23189
arg3 = static_cast< int >(val3);
23192
PyThreadState* __tstate = wxPyBeginAllowThreads();
23193
result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
23194
wxPyEndAllowThreads(__tstate);
23195
if (PyErr_Occurred()) SWIG_fail;
23198
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23206
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23207
PyObject *resultobj = 0;
23208
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23212
PyObject *swig_obj[1] ;
23214
if (!args) SWIG_fail;
23215
swig_obj[0] = args;
23216
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23217
if (!SWIG_IsOK(res1)) {
23218
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23220
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23222
PyThreadState* __tstate = wxPyBeginAllowThreads();
23223
result = (bool)(arg1)->EndLeftIndent();
23224
wxPyEndAllowThreads(__tstate);
23225
if (PyErr_Occurred()) SWIG_fail;
23228
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23236
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23237
PyObject *resultobj = 0;
23238
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23245
PyObject * obj0 = 0 ;
23246
PyObject * obj1 = 0 ;
23247
char * kwnames[] = {
23248
(char *) "self",(char *) "rightIndent", NULL
23251
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
23252
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23253
if (!SWIG_IsOK(res1)) {
23254
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23256
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23257
ecode2 = SWIG_AsVal_int(obj1, &val2);
23258
if (!SWIG_IsOK(ecode2)) {
23259
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
23261
arg2 = static_cast< int >(val2);
23263
PyThreadState* __tstate = wxPyBeginAllowThreads();
23264
result = (bool)(arg1)->BeginRightIndent(arg2);
23265
wxPyEndAllowThreads(__tstate);
23266
if (PyErr_Occurred()) SWIG_fail;
23269
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23277
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23278
PyObject *resultobj = 0;
23279
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23283
PyObject *swig_obj[1] ;
23285
if (!args) SWIG_fail;
23286
swig_obj[0] = args;
23287
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23288
if (!SWIG_IsOK(res1)) {
23289
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23291
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23293
PyThreadState* __tstate = wxPyBeginAllowThreads();
23294
result = (bool)(arg1)->EndRightIndent();
23295
wxPyEndAllowThreads(__tstate);
23296
if (PyErr_Occurred()) SWIG_fail;
23299
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23307
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23308
PyObject *resultobj = 0;
23309
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23319
PyObject * obj0 = 0 ;
23320
PyObject * obj1 = 0 ;
23321
PyObject * obj2 = 0 ;
23322
char * kwnames[] = {
23323
(char *) "self",(char *) "before",(char *) "after", NULL
23326
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23327
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23328
if (!SWIG_IsOK(res1)) {
23329
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23331
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23332
ecode2 = SWIG_AsVal_int(obj1, &val2);
23333
if (!SWIG_IsOK(ecode2)) {
23334
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
23336
arg2 = static_cast< int >(val2);
23337
ecode3 = SWIG_AsVal_int(obj2, &val3);
23338
if (!SWIG_IsOK(ecode3)) {
23339
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
23341
arg3 = static_cast< int >(val3);
23343
PyThreadState* __tstate = wxPyBeginAllowThreads();
23344
result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
23345
wxPyEndAllowThreads(__tstate);
23346
if (PyErr_Occurred()) SWIG_fail;
23349
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23357
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23358
PyObject *resultobj = 0;
23359
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23363
PyObject *swig_obj[1] ;
23365
if (!args) SWIG_fail;
23366
swig_obj[0] = args;
23367
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23368
if (!SWIG_IsOK(res1)) {
23369
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23371
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23373
PyThreadState* __tstate = wxPyBeginAllowThreads();
23374
result = (bool)(arg1)->EndParagraphSpacing();
23375
wxPyEndAllowThreads(__tstate);
23376
if (PyErr_Occurred()) SWIG_fail;
23379
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23387
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23388
PyObject *resultobj = 0;
23389
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23396
PyObject * obj0 = 0 ;
23397
PyObject * obj1 = 0 ;
23398
char * kwnames[] = {
23399
(char *) "self",(char *) "lineSpacing", NULL
23402
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
23403
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23404
if (!SWIG_IsOK(res1)) {
23405
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23407
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23408
ecode2 = SWIG_AsVal_int(obj1, &val2);
23409
if (!SWIG_IsOK(ecode2)) {
23410
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
23412
arg2 = static_cast< int >(val2);
23414
PyThreadState* __tstate = wxPyBeginAllowThreads();
23415
result = (bool)(arg1)->BeginLineSpacing(arg2);
23416
wxPyEndAllowThreads(__tstate);
23417
if (PyErr_Occurred()) SWIG_fail;
23420
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23428
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23429
PyObject *resultobj = 0;
23430
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23434
PyObject *swig_obj[1] ;
23436
if (!args) SWIG_fail;
23437
swig_obj[0] = args;
23438
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23439
if (!SWIG_IsOK(res1)) {
23440
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23442
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23444
PyThreadState* __tstate = wxPyBeginAllowThreads();
23445
result = (bool)(arg1)->EndLineSpacing();
23446
wxPyEndAllowThreads(__tstate);
23447
if (PyErr_Occurred()) SWIG_fail;
23450
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23458
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23459
PyObject *resultobj = 0;
23460
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23464
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
23476
PyObject * obj0 = 0 ;
23477
PyObject * obj1 = 0 ;
23478
PyObject * obj2 = 0 ;
23479
PyObject * obj3 = 0 ;
23480
PyObject * obj4 = 0 ;
23481
char * kwnames[] = {
23482
(char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
23485
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23486
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23487
if (!SWIG_IsOK(res1)) {
23488
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23490
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23491
ecode2 = SWIG_AsVal_int(obj1, &val2);
23492
if (!SWIG_IsOK(ecode2)) {
23493
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
23495
arg2 = static_cast< int >(val2);
23496
ecode3 = SWIG_AsVal_int(obj2, &val3);
23497
if (!SWIG_IsOK(ecode3)) {
23498
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
23500
arg3 = static_cast< int >(val3);
23501
ecode4 = SWIG_AsVal_int(obj3, &val4);
23502
if (!SWIG_IsOK(ecode4)) {
23503
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
23505
arg4 = static_cast< int >(val4);
23507
ecode5 = SWIG_AsVal_int(obj4, &val5);
23508
if (!SWIG_IsOK(ecode5)) {
23509
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
23511
arg5 = static_cast< int >(val5);
23514
PyThreadState* __tstate = wxPyBeginAllowThreads();
23515
result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
23516
wxPyEndAllowThreads(__tstate);
23517
if (PyErr_Occurred()) SWIG_fail;
23520
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23528
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23529
PyObject *resultobj = 0;
23530
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23534
PyObject *swig_obj[1] ;
23536
if (!args) SWIG_fail;
23537
swig_obj[0] = args;
23538
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23539
if (!SWIG_IsOK(res1)) {
23540
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23542
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23544
PyThreadState* __tstate = wxPyBeginAllowThreads();
23545
result = (bool)(arg1)->EndNumberedBullet();
23546
wxPyEndAllowThreads(__tstate);
23547
if (PyErr_Occurred()) SWIG_fail;
23550
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23558
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23559
PyObject *resultobj = 0;
23560
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23561
wxString *arg2 = 0 ;
23564
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
23568
bool temp2 = false ;
23575
PyObject * obj0 = 0 ;
23576
PyObject * obj1 = 0 ;
23577
PyObject * obj2 = 0 ;
23578
PyObject * obj3 = 0 ;
23579
PyObject * obj4 = 0 ;
23580
char * kwnames[] = {
23581
(char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
23584
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23585
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23586
if (!SWIG_IsOK(res1)) {
23587
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23589
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23591
arg2 = wxString_in_helper(obj1);
23592
if (arg2 == NULL) SWIG_fail;
23595
ecode3 = SWIG_AsVal_int(obj2, &val3);
23596
if (!SWIG_IsOK(ecode3)) {
23597
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
23599
arg3 = static_cast< int >(val3);
23600
ecode4 = SWIG_AsVal_int(obj3, &val4);
23601
if (!SWIG_IsOK(ecode4)) {
23602
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
23604
arg4 = static_cast< int >(val4);
23606
ecode5 = SWIG_AsVal_int(obj4, &val5);
23607
if (!SWIG_IsOK(ecode5)) {
23608
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
23610
arg5 = static_cast< int >(val5);
23613
PyThreadState* __tstate = wxPyBeginAllowThreads();
23614
result = (bool)(arg1)->BeginSymbolBullet((wxString const &)*arg2,arg3,arg4,arg5);
23615
wxPyEndAllowThreads(__tstate);
23616
if (PyErr_Occurred()) SWIG_fail;
23619
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23635
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23636
PyObject *resultobj = 0;
23637
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23641
PyObject *swig_obj[1] ;
23643
if (!args) SWIG_fail;
23644
swig_obj[0] = args;
23645
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23646
if (!SWIG_IsOK(res1)) {
23647
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23649
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23651
PyThreadState* __tstate = wxPyBeginAllowThreads();
23652
result = (bool)(arg1)->EndSymbolBullet();
23653
wxPyEndAllowThreads(__tstate);
23654
if (PyErr_Occurred()) SWIG_fail;
23657
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23665
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23666
PyObject *resultobj = 0;
23667
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23668
wxString *arg2 = 0 ;
23671
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_STANDARD ;
23675
bool temp2 = false ;
23682
PyObject * obj0 = 0 ;
23683
PyObject * obj1 = 0 ;
23684
PyObject * obj2 = 0 ;
23685
PyObject * obj3 = 0 ;
23686
PyObject * obj4 = 0 ;
23687
char * kwnames[] = {
23688
(char *) "self",(char *) "bulletName",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
23691
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23692
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23693
if (!SWIG_IsOK(res1)) {
23694
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23696
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23698
arg2 = wxString_in_helper(obj1);
23699
if (arg2 == NULL) SWIG_fail;
23702
ecode3 = SWIG_AsVal_int(obj2, &val3);
23703
if (!SWIG_IsOK(ecode3)) {
23704
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "3"" of type '" "int""'");
23706
arg3 = static_cast< int >(val3);
23707
ecode4 = SWIG_AsVal_int(obj3, &val4);
23708
if (!SWIG_IsOK(ecode4)) {
23709
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "4"" of type '" "int""'");
23711
arg4 = static_cast< int >(val4);
23713
ecode5 = SWIG_AsVal_int(obj4, &val5);
23714
if (!SWIG_IsOK(ecode5)) {
23715
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "5"" of type '" "int""'");
23717
arg5 = static_cast< int >(val5);
23720
PyThreadState* __tstate = wxPyBeginAllowThreads();
23721
result = (bool)(arg1)->BeginStandardBullet((wxString const &)*arg2,arg3,arg4,arg5);
23722
wxPyEndAllowThreads(__tstate);
23723
if (PyErr_Occurred()) SWIG_fail;
23726
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23742
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23743
PyObject *resultobj = 0;
23744
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23748
PyObject *swig_obj[1] ;
23750
if (!args) SWIG_fail;
23751
swig_obj[0] = args;
23752
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23753
if (!SWIG_IsOK(res1)) {
23754
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStandardBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23756
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23758
PyThreadState* __tstate = wxPyBeginAllowThreads();
23759
result = (bool)(arg1)->EndStandardBullet();
23760
wxPyEndAllowThreads(__tstate);
23761
if (PyErr_Occurred()) SWIG_fail;
23764
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23772
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23773
PyObject *resultobj = 0;
23774
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23775
wxString *arg2 = 0 ;
23779
bool temp2 = false ;
23780
PyObject * obj0 = 0 ;
23781
PyObject * obj1 = 0 ;
23782
char * kwnames[] = {
23783
(char *) "self",(char *) "characterStyle", NULL
23786
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
23787
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23788
if (!SWIG_IsOK(res1)) {
23789
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23791
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23793
arg2 = wxString_in_helper(obj1);
23794
if (arg2 == NULL) SWIG_fail;
23798
PyThreadState* __tstate = wxPyBeginAllowThreads();
23799
result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
23800
wxPyEndAllowThreads(__tstate);
23801
if (PyErr_Occurred()) SWIG_fail;
23804
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23820
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23821
PyObject *resultobj = 0;
23822
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23826
PyObject *swig_obj[1] ;
23828
if (!args) SWIG_fail;
23829
swig_obj[0] = args;
23830
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23831
if (!SWIG_IsOK(res1)) {
23832
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23834
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23836
PyThreadState* __tstate = wxPyBeginAllowThreads();
23837
result = (bool)(arg1)->EndCharacterStyle();
23838
wxPyEndAllowThreads(__tstate);
23839
if (PyErr_Occurred()) SWIG_fail;
23842
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23850
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23851
PyObject *resultobj = 0;
23852
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23853
wxString *arg2 = 0 ;
23857
bool temp2 = false ;
23858
PyObject * obj0 = 0 ;
23859
PyObject * obj1 = 0 ;
23860
char * kwnames[] = {
23861
(char *) "self",(char *) "paragraphStyle", NULL
23864
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
23865
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23866
if (!SWIG_IsOK(res1)) {
23867
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23869
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23871
arg2 = wxString_in_helper(obj1);
23872
if (arg2 == NULL) SWIG_fail;
23876
PyThreadState* __tstate = wxPyBeginAllowThreads();
23877
result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
23878
wxPyEndAllowThreads(__tstate);
23879
if (PyErr_Occurred()) SWIG_fail;
23882
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23898
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23899
PyObject *resultobj = 0;
23900
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23904
PyObject *swig_obj[1] ;
23906
if (!args) SWIG_fail;
23907
swig_obj[0] = args;
23908
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23909
if (!SWIG_IsOK(res1)) {
23910
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23912
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23914
PyThreadState* __tstate = wxPyBeginAllowThreads();
23915
result = (bool)(arg1)->EndParagraphStyle();
23916
wxPyEndAllowThreads(__tstate);
23917
if (PyErr_Occurred()) SWIG_fail;
23920
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23928
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23929
PyObject *resultobj = 0;
23930
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
23931
wxString *arg2 = 0 ;
23932
int arg3 = (int) 1 ;
23933
int arg4 = (int) 1 ;
23937
bool temp2 = false ;
23942
PyObject * obj0 = 0 ;
23943
PyObject * obj1 = 0 ;
23944
PyObject * obj2 = 0 ;
23945
PyObject * obj3 = 0 ;
23946
char * kwnames[] = {
23947
(char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL
23950
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextCtrl_BeginListStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
23951
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
23952
if (!SWIG_IsOK(res1)) {
23953
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
23955
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
23957
arg2 = wxString_in_helper(obj1);
23958
if (arg2 == NULL) SWIG_fail;
23962
ecode3 = SWIG_AsVal_int(obj2, &val3);
23963
if (!SWIG_IsOK(ecode3)) {
23964
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "3"" of type '" "int""'");
23966
arg3 = static_cast< int >(val3);
23969
ecode4 = SWIG_AsVal_int(obj3, &val4);
23970
if (!SWIG_IsOK(ecode4)) {
23971
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "4"" of type '" "int""'");
23973
arg4 = static_cast< int >(val4);
23976
PyThreadState* __tstate = wxPyBeginAllowThreads();
23977
result = (bool)(arg1)->BeginListStyle((wxString const &)*arg2,arg3,arg4);
23978
wxPyEndAllowThreads(__tstate);
23979
if (PyErr_Occurred()) SWIG_fail;
23982
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23998
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23999
PyObject *resultobj = 0;
24000
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24004
PyObject *swig_obj[1] ;
24006
if (!args) SWIG_fail;
24007
swig_obj[0] = args;
24008
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24009
if (!SWIG_IsOK(res1)) {
24010
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24012
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24014
PyThreadState* __tstate = wxPyBeginAllowThreads();
24015
result = (bool)(arg1)->EndListStyle();
24016
wxPyEndAllowThreads(__tstate);
24017
if (PyErr_Occurred()) SWIG_fail;
24020
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24028
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24029
PyObject *resultobj = 0;
24030
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24031
wxString *arg2 = 0 ;
24032
wxString const &arg3_defvalue = wxEmptyString ;
24033
wxString *arg3 = (wxString *) &arg3_defvalue ;
24037
bool temp2 = false ;
24038
bool temp3 = false ;
24039
PyObject * obj0 = 0 ;
24040
PyObject * obj1 = 0 ;
24041
PyObject * obj2 = 0 ;
24042
char * kwnames[] = {
24043
(char *) "self",(char *) "url",(char *) "characterStyle", NULL
24046
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginURL",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24047
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24048
if (!SWIG_IsOK(res1)) {
24049
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24051
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24053
arg2 = wxString_in_helper(obj1);
24054
if (arg2 == NULL) SWIG_fail;
24059
arg3 = wxString_in_helper(obj2);
24060
if (arg3 == NULL) SWIG_fail;
24065
PyThreadState* __tstate = wxPyBeginAllowThreads();
24066
result = (bool)(arg1)->BeginURL((wxString const &)*arg2,(wxString const &)*arg3);
24067
wxPyEndAllowThreads(__tstate);
24068
if (PyErr_Occurred()) SWIG_fail;
24071
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24095
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24096
PyObject *resultobj = 0;
24097
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24101
PyObject *swig_obj[1] ;
24103
if (!args) SWIG_fail;
24104
swig_obj[0] = args;
24105
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24106
if (!SWIG_IsOK(res1)) {
24107
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24109
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24111
PyThreadState* __tstate = wxPyBeginAllowThreads();
24112
result = (bool)(arg1)->EndURL();
24113
wxPyEndAllowThreads(__tstate);
24114
if (PyErr_Occurred()) SWIG_fail;
24117
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24125
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24126
PyObject *resultobj = 0;
24127
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24131
PyObject *swig_obj[1] ;
24133
if (!args) SWIG_fail;
24134
swig_obj[0] = args;
24135
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24136
if (!SWIG_IsOK(res1)) {
24137
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24139
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24141
PyThreadState* __tstate = wxPyBeginAllowThreads();
24142
result = (bool)(arg1)->SetDefaultStyleToCursorStyle();
24143
wxPyEndAllowThreads(__tstate);
24144
if (PyErr_Occurred()) SWIG_fail;
24147
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24155
SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectNone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24156
PyObject *resultobj = 0;
24157
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24160
PyObject *swig_obj[1] ;
24162
if (!args) SWIG_fail;
24163
swig_obj[0] = args;
24164
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24165
if (!SWIG_IsOK(res1)) {
24166
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24168
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24170
PyThreadState* __tstate = wxPyBeginAllowThreads();
24171
(arg1)->SelectNone();
24172
wxPyEndAllowThreads(__tstate);
24173
if (PyErr_Occurred()) SWIG_fail;
24175
resultobj = SWIG_Py_Void();
24182
SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24183
PyObject *resultobj = 0;
24184
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24191
PyObject * obj0 = 0 ;
24192
PyObject * obj1 = 0 ;
24193
char * kwnames[] = {
24194
(char *) "self",(char *) "position", NULL
24197
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
24198
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24199
if (!SWIG_IsOK(res1)) {
24200
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24202
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24203
ecode2 = SWIG_AsVal_long(obj1, &val2);
24204
if (!SWIG_IsOK(ecode2)) {
24205
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "2"" of type '" "long""'");
24207
arg2 = static_cast< long >(val2);
24209
PyThreadState* __tstate = wxPyBeginAllowThreads();
24210
result = (bool)(arg1)->SelectWord(arg2);
24211
wxPyEndAllowThreads(__tstate);
24212
if (PyErr_Occurred()) SWIG_fail;
24215
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24223
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24224
PyObject *resultobj = 0;
24225
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24226
wxRichTextRange result;
24229
PyObject *swig_obj[1] ;
24231
if (!args) SWIG_fail;
24232
swig_obj[0] = args;
24233
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24234
if (!SWIG_IsOK(res1)) {
24235
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
24237
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24239
PyThreadState* __tstate = wxPyBeginAllowThreads();
24240
result = ((wxRichTextCtrl const *)arg1)->GetSelectionRange();
24241
wxPyEndAllowThreads(__tstate);
24242
if (PyErr_Occurred()) SWIG_fail;
24244
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
24251
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24252
PyObject *resultobj = 0;
24253
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24254
wxRichTextRange *arg2 = 0 ;
24257
wxRichTextRange temp2 ;
24258
PyObject * obj0 = 0 ;
24259
PyObject * obj1 = 0 ;
24260
char * kwnames[] = {
24261
(char *) "self",(char *) "range", NULL
24264
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail;
24265
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24266
if (!SWIG_IsOK(res1)) {
24267
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24269
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24272
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
24275
PyThreadState* __tstate = wxPyBeginAllowThreads();
24276
(arg1)->SetSelectionRange((wxRichTextRange const &)*arg2);
24277
wxPyEndAllowThreads(__tstate);
24278
if (PyErr_Occurred()) SWIG_fail;
24280
resultobj = SWIG_Py_Void();
24287
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInternalSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24288
PyObject *resultobj = 0;
24289
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24290
wxRichTextRange *result = 0 ;
24293
PyObject *swig_obj[1] ;
24295
if (!args) SWIG_fail;
24296
swig_obj[0] = args;
24297
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24298
if (!SWIG_IsOK(res1)) {
24299
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
24301
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24303
PyThreadState* __tstate = wxPyBeginAllowThreads();
24305
wxRichTextRange const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetInternalSelectionRange();
24306
result = (wxRichTextRange *) &_result_ref;
24308
wxPyEndAllowThreads(__tstate);
24309
if (PyErr_Occurred()) SWIG_fail;
24311
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 | 0 );
24318
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInternalSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24319
PyObject *resultobj = 0;
24320
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24321
wxRichTextRange *arg2 = 0 ;
24324
wxRichTextRange temp2 ;
24325
PyObject * obj0 = 0 ;
24326
PyObject * obj1 = 0 ;
24327
char * kwnames[] = {
24328
(char *) "self",(char *) "range", NULL
24331
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInternalSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail;
24332
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24333
if (!SWIG_IsOK(res1)) {
24334
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24336
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24339
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
24342
PyThreadState* __tstate = wxPyBeginAllowThreads();
24343
(arg1)->SetInternalSelectionRange((wxRichTextRange const &)*arg2);
24344
wxPyEndAllowThreads(__tstate);
24345
if (PyErr_Occurred()) SWIG_fail;
24347
resultobj = SWIG_Py_Void();
24354
SWIGINTERN PyObject *_wrap_RichTextCtrl_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24355
PyObject *resultobj = 0;
24356
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24357
wxString *arg2 = 0 ;
24358
wxRichTextRange result;
24361
bool temp2 = false ;
24362
PyObject * obj0 = 0 ;
24363
PyObject * obj1 = 0 ;
24364
char * kwnames[] = {
24365
(char *) "self",(char *) "text", NULL
24368
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
24369
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24370
if (!SWIG_IsOK(res1)) {
24371
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24373
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24375
arg2 = wxString_in_helper(obj1);
24376
if (arg2 == NULL) SWIG_fail;
24380
PyThreadState* __tstate = wxPyBeginAllowThreads();
24381
result = (arg1)->AddParagraph((wxString const &)*arg2);
24382
wxPyEndAllowThreads(__tstate);
24383
if (PyErr_Occurred()) SWIG_fail;
24385
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
24400
SWIGINTERN PyObject *_wrap_RichTextCtrl_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24401
PyObject *resultobj = 0;
24402
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24403
wxImage *arg2 = 0 ;
24404
wxRichTextRange result;
24409
PyObject * obj0 = 0 ;
24410
PyObject * obj1 = 0 ;
24411
char * kwnames[] = {
24412
(char *) "self",(char *) "image", NULL
24415
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddImage",kwnames,&obj0,&obj1)) SWIG_fail;
24416
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24417
if (!SWIG_IsOK(res1)) {
24418
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24420
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24421
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
24422
if (!SWIG_IsOK(res2)) {
24423
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
24426
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
24428
arg2 = reinterpret_cast< wxImage * >(argp2);
24430
PyThreadState* __tstate = wxPyBeginAllowThreads();
24431
result = (arg1)->AddImage((wxImage const &)*arg2);
24432
wxPyEndAllowThreads(__tstate);
24433
if (PyErr_Occurred()) SWIG_fail;
24435
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
24442
SWIGINTERN PyObject *_wrap_RichTextCtrl_LayoutContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24443
PyObject *resultobj = 0;
24444
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24445
bool arg2 = (bool) false ;
24451
PyObject * obj0 = 0 ;
24452
PyObject * obj1 = 0 ;
24453
char * kwnames[] = {
24454
(char *) "self",(char *) "onlyVisibleRect", NULL
24457
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames,&obj0,&obj1)) SWIG_fail;
24458
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24459
if (!SWIG_IsOK(res1)) {
24460
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24462
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24464
ecode2 = SWIG_AsVal_bool(obj1, &val2);
24465
if (!SWIG_IsOK(ecode2)) {
24466
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
24468
arg2 = static_cast< bool >(val2);
24471
PyThreadState* __tstate = wxPyBeginAllowThreads();
24472
result = (bool)(arg1)->LayoutContent(arg2);
24473
wxPyEndAllowThreads(__tstate);
24474
if (PyErr_Occurred()) SWIG_fail;
24477
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24485
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24486
PyObject *resultobj = 0;
24487
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24489
bool arg3 = (bool) false ;
24497
PyObject * obj0 = 0 ;
24498
PyObject * obj1 = 0 ;
24499
PyObject * obj2 = 0 ;
24500
char * kwnames[] = {
24501
(char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
24504
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24505
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24506
if (!SWIG_IsOK(res1)) {
24507
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24509
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24510
ecode2 = SWIG_AsVal_long(obj1, &val2);
24511
if (!SWIG_IsOK(ecode2)) {
24512
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
24514
arg2 = static_cast< long >(val2);
24516
ecode3 = SWIG_AsVal_bool(obj2, &val3);
24517
if (!SWIG_IsOK(ecode3)) {
24518
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
24520
arg3 = static_cast< bool >(val3);
24523
PyThreadState* __tstate = wxPyBeginAllowThreads();
24524
result = (bool)(arg1)->MoveCaret(arg2,arg3);
24525
wxPyEndAllowThreads(__tstate);
24526
if (PyErr_Occurred()) SWIG_fail;
24529
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24537
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24538
PyObject *resultobj = 0;
24539
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24540
int arg2 = (int) 1 ;
24541
int arg3 = (int) 0 ;
24549
PyObject * obj0 = 0 ;
24550
PyObject * obj1 = 0 ;
24551
PyObject * obj2 = 0 ;
24552
char * kwnames[] = {
24553
(char *) "self",(char *) "noPositions",(char *) "flags", NULL
24556
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24557
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24558
if (!SWIG_IsOK(res1)) {
24559
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24561
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24563
ecode2 = SWIG_AsVal_int(obj1, &val2);
24564
if (!SWIG_IsOK(ecode2)) {
24565
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
24567
arg2 = static_cast< int >(val2);
24570
ecode3 = SWIG_AsVal_int(obj2, &val3);
24571
if (!SWIG_IsOK(ecode3)) {
24572
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
24574
arg3 = static_cast< int >(val3);
24577
PyThreadState* __tstate = wxPyBeginAllowThreads();
24578
result = (bool)(arg1)->MoveRight(arg2,arg3);
24579
wxPyEndAllowThreads(__tstate);
24580
if (PyErr_Occurred()) SWIG_fail;
24583
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24591
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24592
PyObject *resultobj = 0;
24593
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24594
int arg2 = (int) 1 ;
24595
int arg3 = (int) 0 ;
24603
PyObject * obj0 = 0 ;
24604
PyObject * obj1 = 0 ;
24605
PyObject * obj2 = 0 ;
24606
char * kwnames[] = {
24607
(char *) "self",(char *) "noPositions",(char *) "flags", NULL
24610
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24611
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24612
if (!SWIG_IsOK(res1)) {
24613
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24615
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24617
ecode2 = SWIG_AsVal_int(obj1, &val2);
24618
if (!SWIG_IsOK(ecode2)) {
24619
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
24621
arg2 = static_cast< int >(val2);
24624
ecode3 = SWIG_AsVal_int(obj2, &val3);
24625
if (!SWIG_IsOK(ecode3)) {
24626
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
24628
arg3 = static_cast< int >(val3);
24631
PyThreadState* __tstate = wxPyBeginAllowThreads();
24632
result = (bool)(arg1)->MoveLeft(arg2,arg3);
24633
wxPyEndAllowThreads(__tstate);
24634
if (PyErr_Occurred()) SWIG_fail;
24637
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24645
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24646
PyObject *resultobj = 0;
24647
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24648
int arg2 = (int) 1 ;
24649
int arg3 = (int) 0 ;
24657
PyObject * obj0 = 0 ;
24658
PyObject * obj1 = 0 ;
24659
PyObject * obj2 = 0 ;
24660
char * kwnames[] = {
24661
(char *) "self",(char *) "noLines",(char *) "flags", NULL
24664
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24665
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24666
if (!SWIG_IsOK(res1)) {
24667
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24669
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24671
ecode2 = SWIG_AsVal_int(obj1, &val2);
24672
if (!SWIG_IsOK(ecode2)) {
24673
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
24675
arg2 = static_cast< int >(val2);
24678
ecode3 = SWIG_AsVal_int(obj2, &val3);
24679
if (!SWIG_IsOK(ecode3)) {
24680
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
24682
arg3 = static_cast< int >(val3);
24685
PyThreadState* __tstate = wxPyBeginAllowThreads();
24686
result = (bool)(arg1)->MoveUp(arg2,arg3);
24687
wxPyEndAllowThreads(__tstate);
24688
if (PyErr_Occurred()) SWIG_fail;
24691
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24699
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24700
PyObject *resultobj = 0;
24701
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24702
int arg2 = (int) 1 ;
24703
int arg3 = (int) 0 ;
24711
PyObject * obj0 = 0 ;
24712
PyObject * obj1 = 0 ;
24713
PyObject * obj2 = 0 ;
24714
char * kwnames[] = {
24715
(char *) "self",(char *) "noLines",(char *) "flags", NULL
24718
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24719
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24720
if (!SWIG_IsOK(res1)) {
24721
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24723
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24725
ecode2 = SWIG_AsVal_int(obj1, &val2);
24726
if (!SWIG_IsOK(ecode2)) {
24727
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
24729
arg2 = static_cast< int >(val2);
24732
ecode3 = SWIG_AsVal_int(obj2, &val3);
24733
if (!SWIG_IsOK(ecode3)) {
24734
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
24736
arg3 = static_cast< int >(val3);
24739
PyThreadState* __tstate = wxPyBeginAllowThreads();
24740
result = (bool)(arg1)->MoveDown(arg2,arg3);
24741
wxPyEndAllowThreads(__tstate);
24742
if (PyErr_Occurred()) SWIG_fail;
24745
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24753
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24754
PyObject *resultobj = 0;
24755
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24756
int arg2 = (int) 0 ;
24762
PyObject * obj0 = 0 ;
24763
PyObject * obj1 = 0 ;
24764
char * kwnames[] = {
24765
(char *) "self",(char *) "flags", NULL
24768
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames,&obj0,&obj1)) SWIG_fail;
24769
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24770
if (!SWIG_IsOK(res1)) {
24771
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24773
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24775
ecode2 = SWIG_AsVal_int(obj1, &val2);
24776
if (!SWIG_IsOK(ecode2)) {
24777
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
24779
arg2 = static_cast< int >(val2);
24782
PyThreadState* __tstate = wxPyBeginAllowThreads();
24783
result = (bool)(arg1)->MoveToLineEnd(arg2);
24784
wxPyEndAllowThreads(__tstate);
24785
if (PyErr_Occurred()) SWIG_fail;
24788
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24796
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24797
PyObject *resultobj = 0;
24798
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24799
int arg2 = (int) 0 ;
24805
PyObject * obj0 = 0 ;
24806
PyObject * obj1 = 0 ;
24807
char * kwnames[] = {
24808
(char *) "self",(char *) "flags", NULL
24811
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames,&obj0,&obj1)) SWIG_fail;
24812
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24813
if (!SWIG_IsOK(res1)) {
24814
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24816
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24818
ecode2 = SWIG_AsVal_int(obj1, &val2);
24819
if (!SWIG_IsOK(ecode2)) {
24820
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
24822
arg2 = static_cast< int >(val2);
24825
PyThreadState* __tstate = wxPyBeginAllowThreads();
24826
result = (bool)(arg1)->MoveToLineStart(arg2);
24827
wxPyEndAllowThreads(__tstate);
24828
if (PyErr_Occurred()) SWIG_fail;
24831
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24839
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24840
PyObject *resultobj = 0;
24841
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24842
int arg2 = (int) 0 ;
24848
PyObject * obj0 = 0 ;
24849
PyObject * obj1 = 0 ;
24850
char * kwnames[] = {
24851
(char *) "self",(char *) "flags", NULL
24854
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames,&obj0,&obj1)) SWIG_fail;
24855
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24856
if (!SWIG_IsOK(res1)) {
24857
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24859
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24861
ecode2 = SWIG_AsVal_int(obj1, &val2);
24862
if (!SWIG_IsOK(ecode2)) {
24863
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
24865
arg2 = static_cast< int >(val2);
24868
PyThreadState* __tstate = wxPyBeginAllowThreads();
24869
result = (bool)(arg1)->MoveToParagraphEnd(arg2);
24870
wxPyEndAllowThreads(__tstate);
24871
if (PyErr_Occurred()) SWIG_fail;
24874
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24883
PyObject *resultobj = 0;
24884
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24885
int arg2 = (int) 0 ;
24891
PyObject * obj0 = 0 ;
24892
PyObject * obj1 = 0 ;
24893
char * kwnames[] = {
24894
(char *) "self",(char *) "flags", NULL
24897
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames,&obj0,&obj1)) SWIG_fail;
24898
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24899
if (!SWIG_IsOK(res1)) {
24900
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24902
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24904
ecode2 = SWIG_AsVal_int(obj1, &val2);
24905
if (!SWIG_IsOK(ecode2)) {
24906
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
24908
arg2 = static_cast< int >(val2);
24911
PyThreadState* __tstate = wxPyBeginAllowThreads();
24912
result = (bool)(arg1)->MoveToParagraphStart(arg2);
24913
wxPyEndAllowThreads(__tstate);
24914
if (PyErr_Occurred()) SWIG_fail;
24917
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24925
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24926
PyObject *resultobj = 0;
24927
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24928
int arg2 = (int) 0 ;
24934
PyObject * obj0 = 0 ;
24935
PyObject * obj1 = 0 ;
24936
char * kwnames[] = {
24937
(char *) "self",(char *) "flags", NULL
24940
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveHome",kwnames,&obj0,&obj1)) SWIG_fail;
24941
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24942
if (!SWIG_IsOK(res1)) {
24943
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24945
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24947
ecode2 = SWIG_AsVal_int(obj1, &val2);
24948
if (!SWIG_IsOK(ecode2)) {
24949
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
24951
arg2 = static_cast< int >(val2);
24954
PyThreadState* __tstate = wxPyBeginAllowThreads();
24955
result = (bool)(arg1)->MoveHome(arg2);
24956
wxPyEndAllowThreads(__tstate);
24957
if (PyErr_Occurred()) SWIG_fail;
24960
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24968
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24969
PyObject *resultobj = 0;
24970
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
24971
int arg2 = (int) 0 ;
24977
PyObject * obj0 = 0 ;
24978
PyObject * obj1 = 0 ;
24979
char * kwnames[] = {
24980
(char *) "self",(char *) "flags", NULL
24983
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames,&obj0,&obj1)) SWIG_fail;
24984
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
24985
if (!SWIG_IsOK(res1)) {
24986
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
24988
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
24990
ecode2 = SWIG_AsVal_int(obj1, &val2);
24991
if (!SWIG_IsOK(ecode2)) {
24992
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
24994
arg2 = static_cast< int >(val2);
24997
PyThreadState* __tstate = wxPyBeginAllowThreads();
24998
result = (bool)(arg1)->MoveEnd(arg2);
24999
wxPyEndAllowThreads(__tstate);
25000
if (PyErr_Occurred()) SWIG_fail;
25003
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25011
SWIGINTERN PyObject *_wrap_RichTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25012
PyObject *resultobj = 0;
25013
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25014
int arg2 = (int) 1 ;
25015
int arg3 = (int) 0 ;
25023
PyObject * obj0 = 0 ;
25024
PyObject * obj1 = 0 ;
25025
PyObject * obj2 = 0 ;
25026
char * kwnames[] = {
25027
(char *) "self",(char *) "noPages",(char *) "flags", NULL
25030
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25031
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25032
if (!SWIG_IsOK(res1)) {
25033
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25035
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25037
ecode2 = SWIG_AsVal_int(obj1, &val2);
25038
if (!SWIG_IsOK(ecode2)) {
25039
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
25041
arg2 = static_cast< int >(val2);
25044
ecode3 = SWIG_AsVal_int(obj2, &val3);
25045
if (!SWIG_IsOK(ecode3)) {
25046
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
25048
arg3 = static_cast< int >(val3);
25051
PyThreadState* __tstate = wxPyBeginAllowThreads();
25052
result = (bool)(arg1)->PageUp(arg2,arg3);
25053
wxPyEndAllowThreads(__tstate);
25054
if (PyErr_Occurred()) SWIG_fail;
25057
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25065
SWIGINTERN PyObject *_wrap_RichTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25066
PyObject *resultobj = 0;
25067
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25068
int arg2 = (int) 1 ;
25069
int arg3 = (int) 0 ;
25077
PyObject * obj0 = 0 ;
25078
PyObject * obj1 = 0 ;
25079
PyObject * obj2 = 0 ;
25080
char * kwnames[] = {
25081
(char *) "self",(char *) "noPages",(char *) "flags", NULL
25084
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25085
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25086
if (!SWIG_IsOK(res1)) {
25087
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25089
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25091
ecode2 = SWIG_AsVal_int(obj1, &val2);
25092
if (!SWIG_IsOK(ecode2)) {
25093
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
25095
arg2 = static_cast< int >(val2);
25098
ecode3 = SWIG_AsVal_int(obj2, &val3);
25099
if (!SWIG_IsOK(ecode3)) {
25100
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
25102
arg3 = static_cast< int >(val3);
25105
PyThreadState* __tstate = wxPyBeginAllowThreads();
25106
result = (bool)(arg1)->PageDown(arg2,arg3);
25107
wxPyEndAllowThreads(__tstate);
25108
if (PyErr_Occurred()) SWIG_fail;
25111
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25119
SWIGINTERN PyObject *_wrap_RichTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25120
PyObject *resultobj = 0;
25121
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25122
int arg2 = (int) 1 ;
25123
int arg3 = (int) 0 ;
25131
PyObject * obj0 = 0 ;
25132
PyObject * obj1 = 0 ;
25133
PyObject * obj2 = 0 ;
25134
char * kwnames[] = {
25135
(char *) "self",(char *) "noPages",(char *) "flags", NULL
25138
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25139
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25140
if (!SWIG_IsOK(res1)) {
25141
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25143
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25145
ecode2 = SWIG_AsVal_int(obj1, &val2);
25146
if (!SWIG_IsOK(ecode2)) {
25147
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
25149
arg2 = static_cast< int >(val2);
25152
ecode3 = SWIG_AsVal_int(obj2, &val3);
25153
if (!SWIG_IsOK(ecode3)) {
25154
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
25156
arg3 = static_cast< int >(val3);
25159
PyThreadState* __tstate = wxPyBeginAllowThreads();
25160
result = (bool)(arg1)->WordLeft(arg2,arg3);
25161
wxPyEndAllowThreads(__tstate);
25162
if (PyErr_Occurred()) SWIG_fail;
25165
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25173
SWIGINTERN PyObject *_wrap_RichTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25174
PyObject *resultobj = 0;
25175
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25176
int arg2 = (int) 1 ;
25177
int arg3 = (int) 0 ;
25185
PyObject * obj0 = 0 ;
25186
PyObject * obj1 = 0 ;
25187
PyObject * obj2 = 0 ;
25188
char * kwnames[] = {
25189
(char *) "self",(char *) "noPages",(char *) "flags", NULL
25192
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25193
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25194
if (!SWIG_IsOK(res1)) {
25195
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25197
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25199
ecode2 = SWIG_AsVal_int(obj1, &val2);
25200
if (!SWIG_IsOK(ecode2)) {
25201
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
25203
arg2 = static_cast< int >(val2);
25206
ecode3 = SWIG_AsVal_int(obj2, &val3);
25207
if (!SWIG_IsOK(ecode3)) {
25208
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
25210
arg3 = static_cast< int >(val3);
25213
PyThreadState* __tstate = wxPyBeginAllowThreads();
25214
result = (bool)(arg1)->WordRight(arg2,arg3);
25215
wxPyEndAllowThreads(__tstate);
25216
if (PyErr_Occurred()) SWIG_fail;
25219
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25227
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25228
PyObject *resultobj = 0;
25229
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25230
wxRichTextBuffer *result = 0 ;
25233
PyObject *swig_obj[1] ;
25235
if (!args) SWIG_fail;
25236
swig_obj[0] = args;
25237
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25238
if (!SWIG_IsOK(res1)) {
25239
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25241
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25243
PyThreadState* __tstate = wxPyBeginAllowThreads();
25245
wxRichTextBuffer &_result_ref = (arg1)->GetBuffer();
25246
result = (wxRichTextBuffer *) &_result_ref;
25248
wxPyEndAllowThreads(__tstate);
25249
if (PyErr_Occurred()) SWIG_fail;
25251
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
25258
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25259
PyObject *resultobj = 0;
25260
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25261
wxString *arg2 = 0 ;
25265
bool temp2 = false ;
25266
PyObject * obj0 = 0 ;
25267
PyObject * obj1 = 0 ;
25268
char * kwnames[] = {
25269
(char *) "self",(char *) "cmdName", NULL
25272
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
25273
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25274
if (!SWIG_IsOK(res1)) {
25275
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25277
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25279
arg2 = wxString_in_helper(obj1);
25280
if (arg2 == NULL) SWIG_fail;
25284
PyThreadState* __tstate = wxPyBeginAllowThreads();
25285
result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
25286
wxPyEndAllowThreads(__tstate);
25287
if (PyErr_Occurred()) SWIG_fail;
25290
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25306
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25307
PyObject *resultobj = 0;
25308
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25312
PyObject *swig_obj[1] ;
25314
if (!args) SWIG_fail;
25315
swig_obj[0] = args;
25316
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25317
if (!SWIG_IsOK(res1)) {
25318
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25320
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25322
PyThreadState* __tstate = wxPyBeginAllowThreads();
25323
result = (bool)(arg1)->EndBatchUndo();
25324
wxPyEndAllowThreads(__tstate);
25325
if (PyErr_Occurred()) SWIG_fail;
25328
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25336
SWIGINTERN PyObject *_wrap_RichTextCtrl_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25337
PyObject *resultobj = 0;
25338
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25342
PyObject *swig_obj[1] ;
25344
if (!args) SWIG_fail;
25345
swig_obj[0] = args;
25346
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25347
if (!SWIG_IsOK(res1)) {
25348
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
25350
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25352
PyThreadState* __tstate = wxPyBeginAllowThreads();
25353
result = (bool)((wxRichTextCtrl const *)arg1)->BatchingUndo();
25354
wxPyEndAllowThreads(__tstate);
25355
if (PyErr_Occurred()) SWIG_fail;
25358
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25366
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25367
PyObject *resultobj = 0;
25368
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25372
PyObject *swig_obj[1] ;
25374
if (!args) SWIG_fail;
25375
swig_obj[0] = args;
25376
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25377
if (!SWIG_IsOK(res1)) {
25378
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25380
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25382
PyThreadState* __tstate = wxPyBeginAllowThreads();
25383
result = (bool)(arg1)->BeginSuppressUndo();
25384
wxPyEndAllowThreads(__tstate);
25385
if (PyErr_Occurred()) SWIG_fail;
25388
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25396
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25397
PyObject *resultobj = 0;
25398
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25402
PyObject *swig_obj[1] ;
25404
if (!args) SWIG_fail;
25405
swig_obj[0] = args;
25406
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25407
if (!SWIG_IsOK(res1)) {
25408
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25410
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25412
PyThreadState* __tstate = wxPyBeginAllowThreads();
25413
result = (bool)(arg1)->EndSuppressUndo();
25414
wxPyEndAllowThreads(__tstate);
25415
if (PyErr_Occurred()) SWIG_fail;
25418
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25426
SWIGINTERN PyObject *_wrap_RichTextCtrl_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25427
PyObject *resultobj = 0;
25428
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25432
PyObject *swig_obj[1] ;
25434
if (!args) SWIG_fail;
25435
swig_obj[0] = args;
25436
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25437
if (!SWIG_IsOK(res1)) {
25438
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
25440
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25442
PyThreadState* __tstate = wxPyBeginAllowThreads();
25443
result = (bool)((wxRichTextCtrl const *)arg1)->SuppressingUndo();
25444
wxPyEndAllowThreads(__tstate);
25445
if (PyErr_Occurred()) SWIG_fail;
25448
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25456
SWIGINTERN PyObject *_wrap_RichTextCtrl_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25457
PyObject *resultobj = 0;
25458
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25459
wxRichTextRange *arg2 = 0 ;
25460
wxTextAttrEx *arg3 = 0 ;
25464
wxRichTextRange temp2 ;
25467
PyObject * obj0 = 0 ;
25468
PyObject * obj1 = 0 ;
25469
PyObject * obj2 = 0 ;
25470
char * kwnames[] = {
25471
(char *) "self",(char *) "range",(char *) "style", NULL
25474
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25475
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25476
if (!SWIG_IsOK(res1)) {
25477
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
25479
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25482
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
25484
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
25485
if (!SWIG_IsOK(res3)) {
25486
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
25489
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
25491
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
25493
PyThreadState* __tstate = wxPyBeginAllowThreads();
25494
result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
25495
wxPyEndAllowThreads(__tstate);
25496
if (PyErr_Occurred()) SWIG_fail;
25499
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25507
SWIGINTERN PyObject *_wrap_RichTextCtrl_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25508
PyObject *resultobj = 0;
25509
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25510
wxRichTextRange *arg2 = 0 ;
25511
wxTextAttrEx *arg3 = 0 ;
25515
wxRichTextRange temp2 ;
25518
PyObject * obj0 = 0 ;
25519
PyObject * obj1 = 0 ;
25520
PyObject * obj2 = 0 ;
25521
char * kwnames[] = {
25522
(char *) "self",(char *) "range",(char *) "style", NULL
25525
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25526
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25527
if (!SWIG_IsOK(res1)) {
25528
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
25530
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25533
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
25535
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
25536
if (!SWIG_IsOK(res3)) {
25537
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
25540
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
25542
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
25544
PyThreadState* __tstate = wxPyBeginAllowThreads();
25545
result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
25546
wxPyEndAllowThreads(__tstate);
25547
if (PyErr_Occurred()) SWIG_fail;
25550
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25558
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25559
PyObject *resultobj = 0;
25560
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25564
PyObject *swig_obj[1] ;
25566
if (!args) SWIG_fail;
25567
swig_obj[0] = args;
25568
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25569
if (!SWIG_IsOK(res1)) {
25570
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25572
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25574
PyThreadState* __tstate = wxPyBeginAllowThreads();
25575
result = (bool)(arg1)->IsSelectionBold();
25576
wxPyEndAllowThreads(__tstate);
25577
if (PyErr_Occurred()) SWIG_fail;
25580
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25588
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionItalics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25589
PyObject *resultobj = 0;
25590
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25594
PyObject *swig_obj[1] ;
25596
if (!args) SWIG_fail;
25597
swig_obj[0] = args;
25598
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25599
if (!SWIG_IsOK(res1)) {
25600
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25602
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25604
PyThreadState* __tstate = wxPyBeginAllowThreads();
25605
result = (bool)(arg1)->IsSelectionItalics();
25606
wxPyEndAllowThreads(__tstate);
25607
if (PyErr_Occurred()) SWIG_fail;
25610
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25618
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25619
PyObject *resultobj = 0;
25620
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25624
PyObject *swig_obj[1] ;
25626
if (!args) SWIG_fail;
25627
swig_obj[0] = args;
25628
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25629
if (!SWIG_IsOK(res1)) {
25630
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25632
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25634
PyThreadState* __tstate = wxPyBeginAllowThreads();
25635
result = (bool)(arg1)->IsSelectionUnderlined();
25636
wxPyEndAllowThreads(__tstate);
25637
if (PyErr_Occurred()) SWIG_fail;
25640
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25648
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionAligned(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25649
PyObject *resultobj = 0;
25650
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25651
wxTextAttrAlignment arg2 ;
25657
PyObject * obj0 = 0 ;
25658
PyObject * obj1 = 0 ;
25659
char * kwnames[] = {
25660
(char *) "self",(char *) "alignment", NULL
25663
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames,&obj0,&obj1)) SWIG_fail;
25664
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25665
if (!SWIG_IsOK(res1)) {
25666
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25668
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25669
ecode2 = SWIG_AsVal_int(obj1, &val2);
25670
if (!SWIG_IsOK(ecode2)) {
25671
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
25673
arg2 = static_cast< wxTextAttrAlignment >(val2);
25675
PyThreadState* __tstate = wxPyBeginAllowThreads();
25676
result = (bool)(arg1)->IsSelectionAligned(arg2);
25677
wxPyEndAllowThreads(__tstate);
25678
if (PyErr_Occurred()) SWIG_fail;
25681
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25689
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25690
PyObject *resultobj = 0;
25691
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25695
PyObject *swig_obj[1] ;
25697
if (!args) SWIG_fail;
25698
swig_obj[0] = args;
25699
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25700
if (!SWIG_IsOK(res1)) {
25701
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25703
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25705
PyThreadState* __tstate = wxPyBeginAllowThreads();
25706
result = (bool)(arg1)->ApplyBoldToSelection();
25707
wxPyEndAllowThreads(__tstate);
25708
if (PyErr_Occurred()) SWIG_fail;
25711
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25719
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25720
PyObject *resultobj = 0;
25721
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25725
PyObject *swig_obj[1] ;
25727
if (!args) SWIG_fail;
25728
swig_obj[0] = args;
25729
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25730
if (!SWIG_IsOK(res1)) {
25731
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25733
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25735
PyThreadState* __tstate = wxPyBeginAllowThreads();
25736
result = (bool)(arg1)->ApplyItalicToSelection();
25737
wxPyEndAllowThreads(__tstate);
25738
if (PyErr_Occurred()) SWIG_fail;
25741
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25749
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25750
PyObject *resultobj = 0;
25751
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25755
PyObject *swig_obj[1] ;
25757
if (!args) SWIG_fail;
25758
swig_obj[0] = args;
25759
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25760
if (!SWIG_IsOK(res1)) {
25761
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25763
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25765
PyThreadState* __tstate = wxPyBeginAllowThreads();
25766
result = (bool)(arg1)->ApplyUnderlineToSelection();
25767
wxPyEndAllowThreads(__tstate);
25768
if (PyErr_Occurred()) SWIG_fail;
25771
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25779
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25780
PyObject *resultobj = 0;
25781
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25782
wxTextAttrAlignment arg2 ;
25788
PyObject * obj0 = 0 ;
25789
PyObject * obj1 = 0 ;
25790
char * kwnames[] = {
25791
(char *) "self",(char *) "alignment", NULL
25794
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames,&obj0,&obj1)) SWIG_fail;
25795
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25796
if (!SWIG_IsOK(res1)) {
25797
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25799
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25800
ecode2 = SWIG_AsVal_int(obj1, &val2);
25801
if (!SWIG_IsOK(ecode2)) {
25802
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
25804
arg2 = static_cast< wxTextAttrAlignment >(val2);
25806
PyThreadState* __tstate = wxPyBeginAllowThreads();
25807
result = (bool)(arg1)->ApplyAlignmentToSelection(arg2);
25808
wxPyEndAllowThreads(__tstate);
25809
if (PyErr_Occurred()) SWIG_fail;
25812
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25820
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25821
PyObject *resultobj = 0;
25822
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25823
wxRichTextStyleDefinition *arg2 = (wxRichTextStyleDefinition *) 0 ;
25829
PyObject * obj0 = 0 ;
25830
PyObject * obj1 = 0 ;
25831
char * kwnames[] = {
25832
(char *) "self",(char *) "def", NULL
25835
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyStyle",kwnames,&obj0,&obj1)) SWIG_fail;
25836
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25837
if (!SWIG_IsOK(res1)) {
25838
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25840
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25841
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleDefinition, 0 | 0 );
25842
if (!SWIG_IsOK(res2)) {
25843
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_ApplyStyle" "', expected argument " "2"" of type '" "wxRichTextStyleDefinition *""'");
25845
arg2 = reinterpret_cast< wxRichTextStyleDefinition * >(argp2);
25847
PyThreadState* __tstate = wxPyBeginAllowThreads();
25848
result = (bool)(arg1)->ApplyStyle(arg2);
25849
wxPyEndAllowThreads(__tstate);
25850
if (PyErr_Occurred()) SWIG_fail;
25853
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25861
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25862
PyObject *resultobj = 0;
25863
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25864
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
25869
PyObject * obj0 = 0 ;
25870
PyObject * obj1 = 0 ;
25871
char * kwnames[] = {
25872
(char *) "self",(char *) "styleSheet", NULL
25875
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
25876
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25877
if (!SWIG_IsOK(res1)) {
25878
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25880
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25881
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
25882
if (!SWIG_IsOK(res2)) {
25883
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
25885
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
25887
PyThreadState* __tstate = wxPyBeginAllowThreads();
25888
(arg1)->SetStyleSheet(arg2);
25889
wxPyEndAllowThreads(__tstate);
25890
if (PyErr_Occurred()) SWIG_fail;
25892
resultobj = SWIG_Py_Void();
25899
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25900
PyObject *resultobj = 0;
25901
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25902
wxRichTextStyleSheet *result = 0 ;
25905
PyObject *swig_obj[1] ;
25907
if (!args) SWIG_fail;
25908
swig_obj[0] = args;
25909
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25910
if (!SWIG_IsOK(res1)) {
25911
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
25913
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25915
PyThreadState* __tstate = wxPyBeginAllowThreads();
25916
result = (wxRichTextStyleSheet *)((wxRichTextCtrl const *)arg1)->GetStyleSheet();
25917
wxPyEndAllowThreads(__tstate);
25918
if (PyErr_Occurred()) SWIG_fail;
25920
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
25927
SWIGINTERN PyObject *_wrap_RichTextCtrl_PushStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25928
PyObject *resultobj = 0;
25929
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25930
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
25936
PyObject * obj0 = 0 ;
25937
PyObject * obj1 = 0 ;
25938
char * kwnames[] = {
25939
(char *) "self",(char *) "styleSheet", NULL
25942
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PushStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
25943
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25944
if (!SWIG_IsOK(res1)) {
25945
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PushStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25947
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25948
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
25949
if (!SWIG_IsOK(res2)) {
25950
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_PushStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
25952
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
25954
PyThreadState* __tstate = wxPyBeginAllowThreads();
25955
result = (bool)(arg1)->PushStyleSheet(arg2);
25956
wxPyEndAllowThreads(__tstate);
25957
if (PyErr_Occurred()) SWIG_fail;
25960
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25968
SWIGINTERN PyObject *_wrap_RichTextCtrl_PopStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25969
PyObject *resultobj = 0;
25970
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25971
wxRichTextStyleSheet *result = 0 ;
25974
PyObject *swig_obj[1] ;
25976
if (!args) SWIG_fail;
25977
swig_obj[0] = args;
25978
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
25979
if (!SWIG_IsOK(res1)) {
25980
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PopStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
25982
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
25984
PyThreadState* __tstate = wxPyBeginAllowThreads();
25985
result = (wxRichTextStyleSheet *)(arg1)->PopStyleSheet();
25986
wxPyEndAllowThreads(__tstate);
25987
if (PyErr_Occurred()) SWIG_fail;
25989
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
25996
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25997
PyObject *resultobj = 0;
25998
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
25999
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) NULL ;
26005
PyObject * obj0 = 0 ;
26006
PyObject * obj1 = 0 ;
26007
char * kwnames[] = {
26008
(char *) "self",(char *) "styleSheet", NULL
26011
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_ApplyStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
26012
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26013
if (!SWIG_IsOK(res1)) {
26014
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26016
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26018
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
26019
if (!SWIG_IsOK(res2)) {
26020
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
26022
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
26025
PyThreadState* __tstate = wxPyBeginAllowThreads();
26026
result = (bool)(arg1)->ApplyStyleSheet(arg2);
26027
wxPyEndAllowThreads(__tstate);
26028
if (PyErr_Occurred()) SWIG_fail;
26031
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26039
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetupScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26040
PyObject *resultobj = 0;
26041
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26042
bool arg2 = (bool) false ;
26047
PyObject * obj0 = 0 ;
26048
PyObject * obj1 = 0 ;
26049
char * kwnames[] = {
26050
(char *) "self",(char *) "atTop", NULL
26053
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_SetupScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
26054
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26055
if (!SWIG_IsOK(res1)) {
26056
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetupScrollbars" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26058
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26060
ecode2 = SWIG_AsVal_bool(obj1, &val2);
26061
if (!SWIG_IsOK(ecode2)) {
26062
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetupScrollbars" "', expected argument " "2"" of type '" "bool""'");
26064
arg2 = static_cast< bool >(val2);
26067
PyThreadState* __tstate = wxPyBeginAllowThreads();
26068
(arg1)->SetupScrollbars(arg2);
26069
wxPyEndAllowThreads(__tstate);
26070
if (PyErr_Occurred()) SWIG_fail;
26072
resultobj = SWIG_Py_Void();
26079
SWIGINTERN PyObject *_wrap_RichTextCtrl_KeyboardNavigate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26080
PyObject *resultobj = 0;
26081
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26091
PyObject * obj0 = 0 ;
26092
PyObject * obj1 = 0 ;
26093
PyObject * obj2 = 0 ;
26094
char * kwnames[] = {
26095
(char *) "self",(char *) "keyCode",(char *) "flags", NULL
26098
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_KeyboardNavigate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26099
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26100
if (!SWIG_IsOK(res1)) {
26101
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_KeyboardNavigate" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26103
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26104
ecode2 = SWIG_AsVal_int(obj1, &val2);
26105
if (!SWIG_IsOK(ecode2)) {
26106
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_KeyboardNavigate" "', expected argument " "2"" of type '" "int""'");
26108
arg2 = static_cast< int >(val2);
26109
ecode3 = SWIG_AsVal_int(obj2, &val3);
26110
if (!SWIG_IsOK(ecode3)) {
26111
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_KeyboardNavigate" "', expected argument " "3"" of type '" "int""'");
26113
arg3 = static_cast< int >(val3);
26115
PyThreadState* __tstate = wxPyBeginAllowThreads();
26116
result = (bool)(arg1)->KeyboardNavigate(arg2,arg3);
26117
wxPyEndAllowThreads(__tstate);
26118
if (PyErr_Occurred()) SWIG_fail;
26121
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26129
SWIGINTERN PyObject *_wrap_RichTextCtrl_PositionCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26130
PyObject *resultobj = 0;
26131
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26134
PyObject *swig_obj[1] ;
26136
if (!args) SWIG_fail;
26137
swig_obj[0] = args;
26138
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26139
if (!SWIG_IsOK(res1)) {
26140
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PositionCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26142
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26144
PyThreadState* __tstate = wxPyBeginAllowThreads();
26145
(arg1)->PositionCaret();
26146
wxPyEndAllowThreads(__tstate);
26147
if (PyErr_Occurred()) SWIG_fail;
26149
resultobj = SWIG_Py_Void();
26156
SWIGINTERN PyObject *_wrap_RichTextCtrl_ExtendSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26157
PyObject *resultobj = 0;
26158
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26171
PyObject * obj0 = 0 ;
26172
PyObject * obj1 = 0 ;
26173
PyObject * obj2 = 0 ;
26174
PyObject * obj3 = 0 ;
26175
char * kwnames[] = {
26176
(char *) "self",(char *) "oldPosition",(char *) "newPosition",(char *) "flags", NULL
26179
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_ExtendSelection",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26180
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26181
if (!SWIG_IsOK(res1)) {
26182
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ExtendSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26184
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26185
ecode2 = SWIG_AsVal_long(obj1, &val2);
26186
if (!SWIG_IsOK(ecode2)) {
26187
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ExtendSelection" "', expected argument " "2"" of type '" "long""'");
26189
arg2 = static_cast< long >(val2);
26190
ecode3 = SWIG_AsVal_long(obj2, &val3);
26191
if (!SWIG_IsOK(ecode3)) {
26192
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_ExtendSelection" "', expected argument " "3"" of type '" "long""'");
26194
arg3 = static_cast< long >(val3);
26195
ecode4 = SWIG_AsVal_int(obj3, &val4);
26196
if (!SWIG_IsOK(ecode4)) {
26197
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_ExtendSelection" "', expected argument " "4"" of type '" "int""'");
26199
arg4 = static_cast< int >(val4);
26201
PyThreadState* __tstate = wxPyBeginAllowThreads();
26202
result = (bool)(arg1)->ExtendSelection(arg2,arg3,arg4);
26203
wxPyEndAllowThreads(__tstate);
26204
if (PyErr_Occurred()) SWIG_fail;
26207
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26215
SWIGINTERN PyObject *_wrap_RichTextCtrl_ScrollIntoView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26216
PyObject *resultobj = 0;
26217
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26227
PyObject * obj0 = 0 ;
26228
PyObject * obj1 = 0 ;
26229
PyObject * obj2 = 0 ;
26230
char * kwnames[] = {
26231
(char *) "self",(char *) "position",(char *) "keyCode", NULL
26234
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_ScrollIntoView",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26235
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26236
if (!SWIG_IsOK(res1)) {
26237
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ScrollIntoView" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26239
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26240
ecode2 = SWIG_AsVal_long(obj1, &val2);
26241
if (!SWIG_IsOK(ecode2)) {
26242
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ScrollIntoView" "', expected argument " "2"" of type '" "long""'");
26244
arg2 = static_cast< long >(val2);
26245
ecode3 = SWIG_AsVal_int(obj2, &val3);
26246
if (!SWIG_IsOK(ecode3)) {
26247
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_ScrollIntoView" "', expected argument " "3"" of type '" "int""'");
26249
arg3 = static_cast< int >(val3);
26251
PyThreadState* __tstate = wxPyBeginAllowThreads();
26252
result = (bool)(arg1)->ScrollIntoView(arg2,arg3);
26253
wxPyEndAllowThreads(__tstate);
26254
if (PyErr_Occurred()) SWIG_fail;
26257
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26265
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetCaretPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26266
PyObject *resultobj = 0;
26267
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26269
bool arg3 = (bool) false ;
26276
PyObject * obj0 = 0 ;
26277
PyObject * obj1 = 0 ;
26278
PyObject * obj2 = 0 ;
26279
char * kwnames[] = {
26280
(char *) "self",(char *) "position",(char *) "showAtLineStart", NULL
26283
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_SetCaretPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26284
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26285
if (!SWIG_IsOK(res1)) {
26286
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetCaretPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26288
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26289
ecode2 = SWIG_AsVal_long(obj1, &val2);
26290
if (!SWIG_IsOK(ecode2)) {
26291
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetCaretPosition" "', expected argument " "2"" of type '" "long""'");
26293
arg2 = static_cast< long >(val2);
26295
ecode3 = SWIG_AsVal_bool(obj2, &val3);
26296
if (!SWIG_IsOK(ecode3)) {
26297
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetCaretPosition" "', expected argument " "3"" of type '" "bool""'");
26299
arg3 = static_cast< bool >(val3);
26302
PyThreadState* __tstate = wxPyBeginAllowThreads();
26303
(arg1)->SetCaretPosition(arg2,arg3);
26304
wxPyEndAllowThreads(__tstate);
26305
if (PyErr_Occurred()) SWIG_fail;
26307
resultobj = SWIG_Py_Void();
26314
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetCaretPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26315
PyObject *resultobj = 0;
26316
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26320
PyObject *swig_obj[1] ;
26322
if (!args) SWIG_fail;
26323
swig_obj[0] = args;
26324
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26325
if (!SWIG_IsOK(res1)) {
26326
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetCaretPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26328
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26330
PyThreadState* __tstate = wxPyBeginAllowThreads();
26331
result = (long)((wxRichTextCtrl const *)arg1)->GetCaretPosition();
26332
wxPyEndAllowThreads(__tstate);
26333
if (PyErr_Occurred()) SWIG_fail;
26335
resultobj = SWIG_From_long(static_cast< long >(result));
26342
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetAdjustedCaretPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26343
PyObject *resultobj = 0;
26344
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26351
PyObject * obj0 = 0 ;
26352
PyObject * obj1 = 0 ;
26353
char * kwnames[] = {
26354
(char *) "self",(char *) "caretPos", NULL
26357
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetAdjustedCaretPosition",kwnames,&obj0,&obj1)) SWIG_fail;
26358
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26359
if (!SWIG_IsOK(res1)) {
26360
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetAdjustedCaretPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26362
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26363
ecode2 = SWIG_AsVal_long(obj1, &val2);
26364
if (!SWIG_IsOK(ecode2)) {
26365
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetAdjustedCaretPosition" "', expected argument " "2"" of type '" "long""'");
26367
arg2 = static_cast< long >(val2);
26369
PyThreadState* __tstate = wxPyBeginAllowThreads();
26370
result = (long)((wxRichTextCtrl const *)arg1)->GetAdjustedCaretPosition(arg2);
26371
wxPyEndAllowThreads(__tstate);
26372
if (PyErr_Occurred()) SWIG_fail;
26374
resultobj = SWIG_From_long(static_cast< long >(result));
26381
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaretForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26382
PyObject *resultobj = 0;
26383
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26389
PyObject * obj0 = 0 ;
26390
PyObject * obj1 = 0 ;
26391
char * kwnames[] = {
26392
(char *) "self",(char *) "oldPosition", NULL
26395
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_MoveCaretForward",kwnames,&obj0,&obj1)) SWIG_fail;
26396
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26397
if (!SWIG_IsOK(res1)) {
26398
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaretForward" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26400
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26401
ecode2 = SWIG_AsVal_long(obj1, &val2);
26402
if (!SWIG_IsOK(ecode2)) {
26403
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaretForward" "', expected argument " "2"" of type '" "long""'");
26405
arg2 = static_cast< long >(val2);
26407
PyThreadState* __tstate = wxPyBeginAllowThreads();
26408
(arg1)->MoveCaretForward(arg2);
26409
wxPyEndAllowThreads(__tstate);
26410
if (PyErr_Occurred()) SWIG_fail;
26412
resultobj = SWIG_Py_Void();
26419
SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaretBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26420
PyObject *resultobj = 0;
26421
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26427
PyObject * obj0 = 0 ;
26428
PyObject * obj1 = 0 ;
26429
char * kwnames[] = {
26430
(char *) "self",(char *) "oldPosition", NULL
26433
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_MoveCaretBack",kwnames,&obj0,&obj1)) SWIG_fail;
26434
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26435
if (!SWIG_IsOK(res1)) {
26436
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaretBack" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26438
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26439
ecode2 = SWIG_AsVal_long(obj1, &val2);
26440
if (!SWIG_IsOK(ecode2)) {
26441
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaretBack" "', expected argument " "2"" of type '" "long""'");
26443
arg2 = static_cast< long >(val2);
26445
PyThreadState* __tstate = wxPyBeginAllowThreads();
26446
(arg1)->MoveCaretBack(arg2);
26447
wxPyEndAllowThreads(__tstate);
26448
if (PyErr_Occurred()) SWIG_fail;
26450
resultobj = SWIG_Py_Void();
26457
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetCaretPositionForIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26458
PyObject *resultobj = 0;
26459
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26468
PyObject * obj0 = 0 ;
26469
PyObject * obj1 = 0 ;
26470
PyObject * obj2 = 0 ;
26471
char * kwnames[] = {
26472
(char *) "self",(char *) "position",(char *) "rect", NULL
26475
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetCaretPositionForIndex",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26476
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26477
if (!SWIG_IsOK(res1)) {
26478
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetCaretPositionForIndex" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26480
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26481
ecode2 = SWIG_AsVal_long(obj1, &val2);
26482
if (!SWIG_IsOK(ecode2)) {
26483
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetCaretPositionForIndex" "', expected argument " "2"" of type '" "long""'");
26485
arg2 = static_cast< long >(val2);
26488
if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
26491
PyThreadState* __tstate = wxPyBeginAllowThreads();
26492
result = (bool)(arg1)->GetCaretPositionForIndex(arg2,*arg3);
26493
wxPyEndAllowThreads(__tstate);
26494
if (PyErr_Occurred()) SWIG_fail;
26497
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26505
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetVisibleLineForCaretPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26506
PyObject *resultobj = 0;
26507
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26509
wxRichTextLine *result = 0 ;
26514
PyObject * obj0 = 0 ;
26515
PyObject * obj1 = 0 ;
26516
char * kwnames[] = {
26517
(char *) "self",(char *) "caretPosition", NULL
26520
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetVisibleLineForCaretPosition",kwnames,&obj0,&obj1)) SWIG_fail;
26521
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26522
if (!SWIG_IsOK(res1)) {
26523
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetVisibleLineForCaretPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26525
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26526
ecode2 = SWIG_AsVal_long(obj1, &val2);
26527
if (!SWIG_IsOK(ecode2)) {
26528
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetVisibleLineForCaretPosition" "', expected argument " "2"" of type '" "long""'");
26530
arg2 = static_cast< long >(val2);
26532
PyThreadState* __tstate = wxPyBeginAllowThreads();
26533
result = (wxRichTextLine *)((wxRichTextCtrl const *)arg1)->GetVisibleLineForCaretPosition(arg2);
26534
wxPyEndAllowThreads(__tstate);
26535
if (PyErr_Occurred()) SWIG_fail;
26537
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
26544
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetCommandProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26545
PyObject *resultobj = 0;
26546
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26547
wxCommandProcessor *result = 0 ;
26550
PyObject *swig_obj[1] ;
26552
if (!args) SWIG_fail;
26553
swig_obj[0] = args;
26554
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26555
if (!SWIG_IsOK(res1)) {
26556
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetCommandProcessor" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26558
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26560
PyThreadState* __tstate = wxPyBeginAllowThreads();
26561
result = (wxCommandProcessor *)((wxRichTextCtrl const *)arg1)->GetCommandProcessor();
26562
wxPyEndAllowThreads(__tstate);
26563
if (PyErr_Occurred()) SWIG_fail;
26565
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCommandProcessor, 0 | 0 );
26572
SWIGINTERN PyObject *_wrap_RichTextCtrl_DeleteSelectedContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26573
PyObject *resultobj = 0;
26574
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26575
long *arg2 = (long *) 0 ;
26580
int res2 = SWIG_TMPOBJ ;
26581
PyObject *swig_obj[1] ;
26584
if (!args) SWIG_fail;
26585
swig_obj[0] = args;
26586
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26587
if (!SWIG_IsOK(res1)) {
26588
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DeleteSelectedContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26590
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26592
PyThreadState* __tstate = wxPyBeginAllowThreads();
26593
result = (bool)(arg1)->DeleteSelectedContent(arg2);
26594
wxPyEndAllowThreads(__tstate);
26595
if (PyErr_Occurred()) SWIG_fail;
26598
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26600
if (SWIG_IsTmpObj(res2)) {
26601
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
26603
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
26604
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
26612
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetPhysicalPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26613
PyObject *resultobj = 0;
26614
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26615
wxPoint *arg2 = 0 ;
26620
PyObject * obj0 = 0 ;
26621
PyObject * obj1 = 0 ;
26622
char * kwnames[] = {
26623
(char *) "self",(char *) "ptLogical", NULL
26626
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetPhysicalPoint",kwnames,&obj0,&obj1)) SWIG_fail;
26627
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26628
if (!SWIG_IsOK(res1)) {
26629
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetPhysicalPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26631
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26634
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26637
PyThreadState* __tstate = wxPyBeginAllowThreads();
26638
result = ((wxRichTextCtrl const *)arg1)->GetPhysicalPoint((wxPoint const &)*arg2);
26639
wxPyEndAllowThreads(__tstate);
26640
if (PyErr_Occurred()) SWIG_fail;
26642
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
26649
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLogicalPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26650
PyObject *resultobj = 0;
26651
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26652
wxPoint *arg2 = 0 ;
26657
PyObject * obj0 = 0 ;
26658
PyObject * obj1 = 0 ;
26659
char * kwnames[] = {
26660
(char *) "self",(char *) "ptPhysical", NULL
26663
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLogicalPoint",kwnames,&obj0,&obj1)) SWIG_fail;
26664
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26665
if (!SWIG_IsOK(res1)) {
26666
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLogicalPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26668
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26671
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26674
PyThreadState* __tstate = wxPyBeginAllowThreads();
26675
result = ((wxRichTextCtrl const *)arg1)->GetLogicalPoint((wxPoint const &)*arg2);
26676
wxPyEndAllowThreads(__tstate);
26677
if (PyErr_Occurred()) SWIG_fail;
26679
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
26686
SWIGINTERN PyObject *_wrap_RichTextCtrl_FindNextWordPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26687
PyObject *resultobj = 0;
26688
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26689
int arg2 = (int) 1 ;
26695
PyObject * obj0 = 0 ;
26696
PyObject * obj1 = 0 ;
26697
char * kwnames[] = {
26698
(char *) "self",(char *) "direction", NULL
26701
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_FindNextWordPosition",kwnames,&obj0,&obj1)) SWIG_fail;
26702
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26703
if (!SWIG_IsOK(res1)) {
26704
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_FindNextWordPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26706
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26708
ecode2 = SWIG_AsVal_int(obj1, &val2);
26709
if (!SWIG_IsOK(ecode2)) {
26710
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_FindNextWordPosition" "', expected argument " "2"" of type '" "int""'");
26712
arg2 = static_cast< int >(val2);
26715
PyThreadState* __tstate = wxPyBeginAllowThreads();
26716
result = (long)((wxRichTextCtrl const *)arg1)->FindNextWordPosition(arg2);
26717
wxPyEndAllowThreads(__tstate);
26718
if (PyErr_Occurred()) SWIG_fail;
26720
resultobj = SWIG_From_long(static_cast< long >(result));
26727
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsPositionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26728
PyObject *resultobj = 0;
26729
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26736
PyObject * obj0 = 0 ;
26737
PyObject * obj1 = 0 ;
26738
char * kwnames[] = {
26739
(char *) "self",(char *) "pos", NULL
26742
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_IsPositionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
26743
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26744
if (!SWIG_IsOK(res1)) {
26745
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsPositionVisible" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26747
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26748
ecode2 = SWIG_AsVal_long(obj1, &val2);
26749
if (!SWIG_IsOK(ecode2)) {
26750
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_IsPositionVisible" "', expected argument " "2"" of type '" "long""'");
26752
arg2 = static_cast< long >(val2);
26754
PyThreadState* __tstate = wxPyBeginAllowThreads();
26755
result = (bool)((wxRichTextCtrl const *)arg1)->IsPositionVisible(arg2);
26756
wxPyEndAllowThreads(__tstate);
26757
if (PyErr_Occurred()) SWIG_fail;
26760
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26768
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFirstVisiblePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26769
PyObject *resultobj = 0;
26770
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26774
PyObject *swig_obj[1] ;
26776
if (!args) SWIG_fail;
26777
swig_obj[0] = args;
26778
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26779
if (!SWIG_IsOK(res1)) {
26780
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFirstVisiblePosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26782
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26784
PyThreadState* __tstate = wxPyBeginAllowThreads();
26785
result = (long)((wxRichTextCtrl const *)arg1)->GetFirstVisiblePosition();
26786
wxPyEndAllowThreads(__tstate);
26787
if (PyErr_Occurred()) SWIG_fail;
26789
resultobj = SWIG_From_long(static_cast< long >(result));
26796
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetCaretPositionForDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26797
PyObject *resultobj = 0;
26798
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26802
PyObject *swig_obj[1] ;
26804
if (!args) SWIG_fail;
26805
swig_obj[0] = args;
26806
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26807
if (!SWIG_IsOK(res1)) {
26808
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetCaretPositionForDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26810
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26812
PyThreadState* __tstate = wxPyBeginAllowThreads();
26813
result = (long)((wxRichTextCtrl const *)arg1)->GetCaretPositionForDefaultStyle();
26814
wxPyEndAllowThreads(__tstate);
26815
if (PyErr_Occurred()) SWIG_fail;
26817
resultobj = SWIG_From_long(static_cast< long >(result));
26824
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetCaretPositionForDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26825
PyObject *resultobj = 0;
26826
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26832
PyObject * obj0 = 0 ;
26833
PyObject * obj1 = 0 ;
26834
char * kwnames[] = {
26835
(char *) "self",(char *) "pos", NULL
26838
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetCaretPositionForDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
26839
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26840
if (!SWIG_IsOK(res1)) {
26841
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetCaretPositionForDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26843
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26844
ecode2 = SWIG_AsVal_long(obj1, &val2);
26845
if (!SWIG_IsOK(ecode2)) {
26846
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetCaretPositionForDefaultStyle" "', expected argument " "2"" of type '" "long""'");
26848
arg2 = static_cast< long >(val2);
26850
PyThreadState* __tstate = wxPyBeginAllowThreads();
26851
(arg1)->SetCaretPositionForDefaultStyle(arg2);
26852
wxPyEndAllowThreads(__tstate);
26853
if (PyErr_Occurred()) SWIG_fail;
26855
resultobj = SWIG_Py_Void();
26862
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsDefaultStyleShowing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26863
PyObject *resultobj = 0;
26864
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26868
PyObject *swig_obj[1] ;
26870
if (!args) SWIG_fail;
26871
swig_obj[0] = args;
26872
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26873
if (!SWIG_IsOK(res1)) {
26874
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsDefaultStyleShowing" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26876
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26878
PyThreadState* __tstate = wxPyBeginAllowThreads();
26879
result = (bool)((wxRichTextCtrl const *)arg1)->IsDefaultStyleShowing();
26880
wxPyEndAllowThreads(__tstate);
26881
if (PyErr_Occurred()) SWIG_fail;
26884
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26892
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetAndShowDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26893
PyObject *resultobj = 0;
26894
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26895
wxRichTextAttr *arg2 = 0 ;
26900
PyObject * obj0 = 0 ;
26901
PyObject * obj1 = 0 ;
26902
char * kwnames[] = {
26903
(char *) "self",(char *) "attr", NULL
26906
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetAndShowDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
26907
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26908
if (!SWIG_IsOK(res1)) {
26909
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetAndShowDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
26911
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26912
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
26913
if (!SWIG_IsOK(res2)) {
26914
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetAndShowDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
26917
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetAndShowDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
26919
arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
26921
PyThreadState* __tstate = wxPyBeginAllowThreads();
26922
(arg1)->SetAndShowDefaultStyle((wxRichTextAttr const &)*arg2);
26923
wxPyEndAllowThreads(__tstate);
26924
if (PyErr_Occurred()) SWIG_fail;
26926
resultobj = SWIG_Py_Void();
26933
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFirstVisiblePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26934
PyObject *resultobj = 0;
26935
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26939
PyObject *swig_obj[1] ;
26941
if (!args) SWIG_fail;
26942
swig_obj[0] = args;
26943
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
26944
if (!SWIG_IsOK(res1)) {
26945
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFirstVisiblePoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
26947
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
26949
PyThreadState* __tstate = wxPyBeginAllowThreads();
26950
result = ((wxRichTextCtrl const *)arg1)->GetFirstVisiblePoint();
26951
wxPyEndAllowThreads(__tstate);
26952
if (PyErr_Occurred()) SWIG_fail;
26954
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
26961
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26962
PyObject *resultobj = 0;
26963
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
26968
int arg6 = (int) 0 ;
26969
int arg7 = (int) 0 ;
26970
bool arg8 = (bool) false ;
26987
PyObject * obj0 = 0 ;
26988
PyObject * obj1 = 0 ;
26989
PyObject * obj2 = 0 ;
26990
PyObject * obj3 = 0 ;
26991
PyObject * obj4 = 0 ;
26992
PyObject * obj5 = 0 ;
26993
PyObject * obj6 = 0 ;
26994
PyObject * obj7 = 0 ;
26995
char * kwnames[] = {
26996
(char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
26999
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:RichTextCtrl_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
27000
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27001
if (!SWIG_IsOK(res1)) {
27002
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27004
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27005
ecode2 = SWIG_AsVal_int(obj1, &val2);
27006
if (!SWIG_IsOK(ecode2)) {
27007
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
27009
arg2 = static_cast< int >(val2);
27010
ecode3 = SWIG_AsVal_int(obj2, &val3);
27011
if (!SWIG_IsOK(ecode3)) {
27012
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
27014
arg3 = static_cast< int >(val3);
27015
ecode4 = SWIG_AsVal_int(obj3, &val4);
27016
if (!SWIG_IsOK(ecode4)) {
27017
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
27019
arg4 = static_cast< int >(val4);
27020
ecode5 = SWIG_AsVal_int(obj4, &val5);
27021
if (!SWIG_IsOK(ecode5)) {
27022
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
27024
arg5 = static_cast< int >(val5);
27026
ecode6 = SWIG_AsVal_int(obj5, &val6);
27027
if (!SWIG_IsOK(ecode6)) {
27028
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
27030
arg6 = static_cast< int >(val6);
27033
ecode7 = SWIG_AsVal_int(obj6, &val7);
27034
if (!SWIG_IsOK(ecode7)) {
27035
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
27037
arg7 = static_cast< int >(val7);
27040
ecode8 = SWIG_AsVal_bool(obj7, &val8);
27041
if (!SWIG_IsOK(ecode8)) {
27042
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RichTextCtrl_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
27044
arg8 = static_cast< bool >(val8);
27047
PyThreadState* __tstate = wxPyBeginAllowThreads();
27048
(arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
27049
wxPyEndAllowThreads(__tstate);
27050
if (PyErr_Occurred()) SWIG_fail;
27052
resultobj = SWIG_Py_Void();
27059
SWIGINTERN PyObject *_wrap_RichTextCtrl_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27060
PyObject *resultobj = 0;
27061
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27070
PyObject * obj0 = 0 ;
27071
PyObject * obj1 = 0 ;
27072
PyObject * obj2 = 0 ;
27073
char * kwnames[] = {
27074
(char *) "self",(char *) "x",(char *) "y", NULL
27077
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27078
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27079
if (!SWIG_IsOK(res1)) {
27080
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Scroll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27082
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27083
ecode2 = SWIG_AsVal_int(obj1, &val2);
27084
if (!SWIG_IsOK(ecode2)) {
27085
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Scroll" "', expected argument " "2"" of type '" "int""'");
27087
arg2 = static_cast< int >(val2);
27088
ecode3 = SWIG_AsVal_int(obj2, &val3);
27089
if (!SWIG_IsOK(ecode3)) {
27090
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Scroll" "', expected argument " "3"" of type '" "int""'");
27092
arg3 = static_cast< int >(val3);
27094
PyThreadState* __tstate = wxPyBeginAllowThreads();
27095
(arg1)->Scroll(arg2,arg3);
27096
wxPyEndAllowThreads(__tstate);
27097
if (PyErr_Occurred()) SWIG_fail;
27099
resultobj = SWIG_Py_Void();
27106
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27107
PyObject *resultobj = 0;
27108
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27115
PyObject * obj0 = 0 ;
27116
PyObject * obj1 = 0 ;
27117
char * kwnames[] = {
27118
(char *) "self",(char *) "orient", NULL
27121
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
27122
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27123
if (!SWIG_IsOK(res1)) {
27124
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetScrollPageSize" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27126
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27127
ecode2 = SWIG_AsVal_int(obj1, &val2);
27128
if (!SWIG_IsOK(ecode2)) {
27129
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
27131
arg2 = static_cast< int >(val2);
27133
PyThreadState* __tstate = wxPyBeginAllowThreads();
27134
result = (int)((wxRichTextCtrl const *)arg1)->GetScrollPageSize(arg2);
27135
wxPyEndAllowThreads(__tstate);
27136
if (PyErr_Occurred()) SWIG_fail;
27138
resultobj = SWIG_From_int(static_cast< int >(result));
27145
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27146
PyObject *resultobj = 0;
27147
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27156
PyObject * obj0 = 0 ;
27157
PyObject * obj1 = 0 ;
27158
PyObject * obj2 = 0 ;
27159
char * kwnames[] = {
27160
(char *) "self",(char *) "orient",(char *) "pageSize", NULL
27163
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27164
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27165
if (!SWIG_IsOK(res1)) {
27166
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetScrollPageSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27168
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27169
ecode2 = SWIG_AsVal_int(obj1, &val2);
27170
if (!SWIG_IsOK(ecode2)) {
27171
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
27173
arg2 = static_cast< int >(val2);
27174
ecode3 = SWIG_AsVal_int(obj2, &val3);
27175
if (!SWIG_IsOK(ecode3)) {
27176
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
27178
arg3 = static_cast< int >(val3);
27180
PyThreadState* __tstate = wxPyBeginAllowThreads();
27181
(arg1)->SetScrollPageSize(arg2,arg3);
27182
wxPyEndAllowThreads(__tstate);
27183
if (PyErr_Occurred()) SWIG_fail;
27185
resultobj = SWIG_Py_Void();
27192
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27193
PyObject *resultobj = 0;
27194
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27203
PyObject * obj0 = 0 ;
27204
PyObject * obj1 = 0 ;
27205
PyObject * obj2 = 0 ;
27206
char * kwnames[] = {
27207
(char *) "self",(char *) "xstep",(char *) "ystep", NULL
27210
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27211
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27212
if (!SWIG_IsOK(res1)) {
27213
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetScrollRate" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27215
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27216
ecode2 = SWIG_AsVal_int(obj1, &val2);
27217
if (!SWIG_IsOK(ecode2)) {
27218
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
27220
arg2 = static_cast< int >(val2);
27221
ecode3 = SWIG_AsVal_int(obj2, &val3);
27222
if (!SWIG_IsOK(ecode3)) {
27223
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
27225
arg3 = static_cast< int >(val3);
27227
PyThreadState* __tstate = wxPyBeginAllowThreads();
27228
(arg1)->SetScrollRate(arg2,arg3);
27229
wxPyEndAllowThreads(__tstate);
27230
if (PyErr_Occurred()) SWIG_fail;
27232
resultobj = SWIG_Py_Void();
27239
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27240
PyObject *resultobj = 0;
27241
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27242
int *arg2 = (int *) 0 ;
27243
int *arg3 = (int *) 0 ;
27247
int res2 = SWIG_TMPOBJ ;
27249
int res3 = SWIG_TMPOBJ ;
27250
PyObject *swig_obj[1] ;
27254
if (!args) SWIG_fail;
27255
swig_obj[0] = args;
27256
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27257
if (!SWIG_IsOK(res1)) {
27258
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27260
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27262
PyThreadState* __tstate = wxPyBeginAllowThreads();
27263
((wxRichTextCtrl const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
27264
wxPyEndAllowThreads(__tstate);
27265
if (PyErr_Occurred()) SWIG_fail;
27267
resultobj = SWIG_Py_Void();
27268
if (SWIG_IsTmpObj(res2)) {
27269
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27271
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27272
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27274
if (SWIG_IsTmpObj(res3)) {
27275
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27277
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27278
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27286
SWIGINTERN PyObject *_wrap_RichTextCtrl_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27287
PyObject *resultobj = 0;
27288
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27297
PyObject * obj0 = 0 ;
27298
PyObject * obj1 = 0 ;
27299
PyObject * obj2 = 0 ;
27300
char * kwnames[] = {
27301
(char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
27304
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27305
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27306
if (!SWIG_IsOK(res1)) {
27307
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EnableScrolling" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27309
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27310
ecode2 = SWIG_AsVal_bool(obj1, &val2);
27311
if (!SWIG_IsOK(ecode2)) {
27312
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
27314
arg2 = static_cast< bool >(val2);
27315
ecode3 = SWIG_AsVal_bool(obj2, &val3);
27316
if (!SWIG_IsOK(ecode3)) {
27317
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
27319
arg3 = static_cast< bool >(val3);
27321
PyThreadState* __tstate = wxPyBeginAllowThreads();
27322
(arg1)->EnableScrolling(arg2,arg3);
27323
wxPyEndAllowThreads(__tstate);
27324
if (PyErr_Occurred()) SWIG_fail;
27326
resultobj = SWIG_Py_Void();
27333
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27334
PyObject *resultobj = 0;
27335
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27336
int *arg2 = (int *) 0 ;
27337
int *arg3 = (int *) 0 ;
27341
int res2 = SWIG_TMPOBJ ;
27343
int res3 = SWIG_TMPOBJ ;
27344
PyObject *swig_obj[1] ;
27348
if (!args) SWIG_fail;
27349
swig_obj[0] = args;
27350
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27351
if (!SWIG_IsOK(res1)) {
27352
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetViewStart" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27354
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27356
PyThreadState* __tstate = wxPyBeginAllowThreads();
27357
((wxRichTextCtrl const *)arg1)->GetViewStart(arg2,arg3);
27358
wxPyEndAllowThreads(__tstate);
27359
if (PyErr_Occurred()) SWIG_fail;
27361
resultobj = SWIG_Py_Void();
27362
if (SWIG_IsTmpObj(res2)) {
27363
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27365
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27366
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27368
if (SWIG_IsTmpObj(res3)) {
27369
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27371
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27372
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27380
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27381
PyObject *resultobj = 0;
27382
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27391
PyObject * obj0 = 0 ;
27392
PyObject * obj1 = 0 ;
27393
PyObject * obj2 = 0 ;
27394
char * kwnames[] = {
27395
(char *) "self",(char *) "xs",(char *) "ys", NULL
27398
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27399
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27400
if (!SWIG_IsOK(res1)) {
27401
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetScale" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27403
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27404
ecode2 = SWIG_AsVal_double(obj1, &val2);
27405
if (!SWIG_IsOK(ecode2)) {
27406
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetScale" "', expected argument " "2"" of type '" "double""'");
27408
arg2 = static_cast< double >(val2);
27409
ecode3 = SWIG_AsVal_double(obj2, &val3);
27410
if (!SWIG_IsOK(ecode3)) {
27411
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetScale" "', expected argument " "3"" of type '" "double""'");
27413
arg3 = static_cast< double >(val3);
27415
PyThreadState* __tstate = wxPyBeginAllowThreads();
27416
(arg1)->SetScale(arg2,arg3);
27417
wxPyEndAllowThreads(__tstate);
27418
if (PyErr_Occurred()) SWIG_fail;
27420
resultobj = SWIG_Py_Void();
27427
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27428
PyObject *resultobj = 0;
27429
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27433
PyObject *swig_obj[1] ;
27435
if (!args) SWIG_fail;
27436
swig_obj[0] = args;
27437
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27438
if (!SWIG_IsOK(res1)) {
27439
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetScaleX" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27441
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27443
PyThreadState* __tstate = wxPyBeginAllowThreads();
27444
result = (double)((wxRichTextCtrl const *)arg1)->GetScaleX();
27445
wxPyEndAllowThreads(__tstate);
27446
if (PyErr_Occurred()) SWIG_fail;
27448
resultobj = SWIG_From_double(static_cast< double >(result));
27455
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27456
PyObject *resultobj = 0;
27457
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27461
PyObject *swig_obj[1] ;
27463
if (!args) SWIG_fail;
27464
swig_obj[0] = args;
27465
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27466
if (!SWIG_IsOK(res1)) {
27467
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetScaleY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27469
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27471
PyThreadState* __tstate = wxPyBeginAllowThreads();
27472
result = (double)((wxRichTextCtrl const *)arg1)->GetScaleY();
27473
wxPyEndAllowThreads(__tstate);
27474
if (PyErr_Occurred()) SWIG_fail;
27476
resultobj = SWIG_From_double(static_cast< double >(result));
27483
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27484
PyObject *resultobj = 0;
27485
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27486
wxPoint *arg2 = 0 ;
27492
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
27493
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27494
if (!SWIG_IsOK(res1)) {
27495
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27497
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27500
if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
27503
PyThreadState* __tstate = wxPyBeginAllowThreads();
27504
result = ((wxRichTextCtrl const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
27505
wxPyEndAllowThreads(__tstate);
27506
if (PyErr_Occurred()) SWIG_fail;
27508
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27515
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27516
PyObject *resultobj = 0;
27517
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27520
int *arg4 = (int *) 0 ;
27521
int *arg5 = (int *) 0 ;
27529
int res4 = SWIG_TMPOBJ ;
27531
int res5 = SWIG_TMPOBJ ;
27535
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
27536
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27537
if (!SWIG_IsOK(res1)) {
27538
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27540
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27541
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27542
if (!SWIG_IsOK(ecode2)) {
27543
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
27545
arg2 = static_cast< int >(val2);
27546
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
27547
if (!SWIG_IsOK(ecode3)) {
27548
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
27550
arg3 = static_cast< int >(val3);
27552
PyThreadState* __tstate = wxPyBeginAllowThreads();
27553
((wxRichTextCtrl const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
27554
wxPyEndAllowThreads(__tstate);
27555
if (PyErr_Occurred()) SWIG_fail;
27557
resultobj = SWIG_Py_Void();
27558
if (SWIG_IsTmpObj(res4)) {
27559
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
27561
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27562
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
27564
if (SWIG_IsTmpObj(res5)) {
27565
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
27567
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27568
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
27576
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcScrolledPosition(PyObject *self, PyObject *args) {
27580
if (!(argc = SWIG_Python_UnpackTuple(args,"RichTextCtrl_CalcScrolledPosition",0,3,argv))) SWIG_fail;
27583
return _wrap_RichTextCtrl_CalcScrolledPosition__SWIG_0(self, argc, argv);
27586
return _wrap_RichTextCtrl_CalcScrolledPosition__SWIG_1(self, argc, argv);
27590
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'RichTextCtrl_CalcScrolledPosition'");
27595
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27596
PyObject *resultobj = 0;
27597
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27598
wxPoint *arg2 = 0 ;
27604
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
27605
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27606
if (!SWIG_IsOK(res1)) {
27607
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27609
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27612
if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
27615
PyThreadState* __tstate = wxPyBeginAllowThreads();
27616
result = ((wxRichTextCtrl const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
27617
wxPyEndAllowThreads(__tstate);
27618
if (PyErr_Occurred()) SWIG_fail;
27620
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27627
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27628
PyObject *resultobj = 0;
27629
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27632
int *arg4 = (int *) 0 ;
27633
int *arg5 = (int *) 0 ;
27641
int res4 = SWIG_TMPOBJ ;
27643
int res5 = SWIG_TMPOBJ ;
27647
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
27648
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27649
if (!SWIG_IsOK(res1)) {
27650
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27652
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27653
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27654
if (!SWIG_IsOK(ecode2)) {
27655
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
27657
arg2 = static_cast< int >(val2);
27658
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
27659
if (!SWIG_IsOK(ecode3)) {
27660
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
27662
arg3 = static_cast< int >(val3);
27664
PyThreadState* __tstate = wxPyBeginAllowThreads();
27665
((wxRichTextCtrl const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
27666
wxPyEndAllowThreads(__tstate);
27667
if (PyErr_Occurred()) SWIG_fail;
27669
resultobj = SWIG_Py_Void();
27670
if (SWIG_IsTmpObj(res4)) {
27671
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
27673
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27674
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
27676
if (SWIG_IsTmpObj(res5)) {
27677
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
27679
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27680
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
27688
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
27692
if (!(argc = SWIG_Python_UnpackTuple(args,"RichTextCtrl_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
27695
return _wrap_RichTextCtrl_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
27698
return _wrap_RichTextCtrl_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
27702
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'RichTextCtrl_CalcUnscrolledPosition'");
27707
SWIGINTERN PyObject *_wrap_RichTextCtrl_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27708
PyObject *resultobj = 0;
27709
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27712
PyObject *swig_obj[1] ;
27714
if (!args) SWIG_fail;
27715
swig_obj[0] = args;
27716
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27717
if (!SWIG_IsOK(res1)) {
27718
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AdjustScrollbars" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27720
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27722
PyThreadState* __tstate = wxPyBeginAllowThreads();
27723
(arg1)->AdjustScrollbars();
27724
wxPyEndAllowThreads(__tstate);
27725
if (PyErr_Occurred()) SWIG_fail;
27727
resultobj = SWIG_Py_Void();
27734
SWIGINTERN PyObject *_wrap_RichTextCtrl_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27735
PyObject *resultobj = 0;
27736
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27737
wxScrollWinEvent *arg2 = 0 ;
27743
PyObject * obj0 = 0 ;
27744
PyObject * obj1 = 0 ;
27745
char * kwnames[] = {
27746
(char *) "self",(char *) "event", NULL
27749
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
27750
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27751
if (!SWIG_IsOK(res1)) {
27752
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CalcScrollInc" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27754
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27755
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
27756
if (!SWIG_IsOK(res2)) {
27757
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
27760
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
27762
arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
27764
PyThreadState* __tstate = wxPyBeginAllowThreads();
27765
result = (int)(arg1)->CalcScrollInc(*arg2);
27766
wxPyEndAllowThreads(__tstate);
27767
if (PyErr_Occurred()) SWIG_fail;
27769
resultobj = SWIG_From_int(static_cast< int >(result));
27776
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27777
PyObject *resultobj = 0;
27778
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27779
wxWindow *arg2 = (wxWindow *) 0 ;
27784
PyObject * obj0 = 0 ;
27785
PyObject * obj1 = 0 ;
27786
char * kwnames[] = {
27787
(char *) "self",(char *) "target", NULL
27790
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
27791
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27792
if (!SWIG_IsOK(res1)) {
27793
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetTargetWindow" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27795
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27796
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27797
if (!SWIG_IsOK(res2)) {
27798
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27800
arg2 = reinterpret_cast< wxWindow * >(argp2);
27802
PyThreadState* __tstate = wxPyBeginAllowThreads();
27803
(arg1)->SetTargetWindow(arg2);
27804
wxPyEndAllowThreads(__tstate);
27805
if (PyErr_Occurred()) SWIG_fail;
27807
resultobj = SWIG_Py_Void();
27814
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27815
PyObject *resultobj = 0;
27816
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27817
wxWindow *result = 0 ;
27820
PyObject *swig_obj[1] ;
27822
if (!args) SWIG_fail;
27823
swig_obj[0] = args;
27824
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27825
if (!SWIG_IsOK(res1)) {
27826
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetTargetWindow" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27828
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27830
PyThreadState* __tstate = wxPyBeginAllowThreads();
27831
result = (wxWindow *)((wxRichTextCtrl const *)arg1)->GetTargetWindow();
27832
wxPyEndAllowThreads(__tstate);
27833
if (PyErr_Occurred()) SWIG_fail;
27836
resultobj = wxPyMake_wxObject(result, 0);
27844
SWIGINTERN PyObject *_wrap_RichTextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27845
PyObject *resultobj = 0;
27846
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27850
PyObject *swig_obj[1] ;
27852
if (!args) SWIG_fail;
27853
swig_obj[0] = args;
27854
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27855
if (!SWIG_IsOK(res1)) {
27856
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
27858
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27860
PyThreadState* __tstate = wxPyBeginAllowThreads();
27861
result = (bool)((wxRichTextCtrl const *)arg1)->IsEmpty();
27862
wxPyEndAllowThreads(__tstate);
27863
if (PyErr_Occurred()) SWIG_fail;
27866
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27874
SWIGINTERN PyObject *_wrap_RichTextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27875
PyObject *resultobj = 0;
27876
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27877
wxString *arg2 = 0 ;
27880
bool temp2 = false ;
27881
PyObject * obj0 = 0 ;
27882
PyObject * obj1 = 0 ;
27883
char * kwnames[] = {
27884
(char *) "self",(char *) "value", NULL
27887
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
27888
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27889
if (!SWIG_IsOK(res1)) {
27890
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27892
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27894
arg2 = wxString_in_helper(obj1);
27895
if (arg2 == NULL) SWIG_fail;
27899
PyThreadState* __tstate = wxPyBeginAllowThreads();
27900
(arg1)->ChangeValue((wxString const &)*arg2);
27901
wxPyEndAllowThreads(__tstate);
27902
if (PyErr_Occurred()) SWIG_fail;
27904
resultobj = SWIG_Py_Void();
27919
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27920
PyObject *resultobj = 0;
27921
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27927
PyObject * obj0 = 0 ;
27928
PyObject * obj1 = 0 ;
27929
char * kwnames[] = {
27930
(char *) "self",(char *) "modified", NULL
27933
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
27934
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27935
if (!SWIG_IsOK(res1)) {
27936
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetModified" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27938
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27939
ecode2 = SWIG_AsVal_bool(obj1, &val2);
27940
if (!SWIG_IsOK(ecode2)) {
27941
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
27943
arg2 = static_cast< bool >(val2);
27945
PyThreadState* __tstate = wxPyBeginAllowThreads();
27946
(arg1)->SetModified(arg2);
27947
wxPyEndAllowThreads(__tstate);
27948
if (PyErr_Occurred()) SWIG_fail;
27950
resultobj = SWIG_Py_Void();
27957
SWIGINTERN PyObject *_wrap_RichTextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27958
PyObject *resultobj = 0;
27959
wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
27960
wxKeyEvent *arg2 = 0 ;
27966
PyObject * obj0 = 0 ;
27967
PyObject * obj1 = 0 ;
27968
char * kwnames[] = {
27969
(char *) "self",(char *) "event", NULL
27972
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
27973
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
27974
if (!SWIG_IsOK(res1)) {
27975
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
27977
arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
27978
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
27979
if (!SWIG_IsOK(res2)) {
27980
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
27983
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
27985
arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
27987
PyThreadState* __tstate = wxPyBeginAllowThreads();
27988
result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
27989
wxPyEndAllowThreads(__tstate);
27990
if (PyErr_Occurred()) SWIG_fail;
27993
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28001
SWIGINTERN PyObject *RichTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28003
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28004
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl, SWIG_NewClientData(obj));
28005
return SWIG_Py_Void();
28008
SWIGINTERN PyObject *RichTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28009
return SWIG_Python_InitShadowInstance(args);
28012
SWIGINTERN PyObject *_wrap_new_RichTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28013
PyObject *resultobj = 0;
28014
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28015
int arg2 = (int) 0 ;
28016
wxRichTextEvent *result = 0 ;
28021
PyObject * obj0 = 0 ;
28022
PyObject * obj1 = 0 ;
28023
char * kwnames[] = {
28024
(char *) "commandType",(char *) "winid", NULL
28027
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28029
ecode1 = SWIG_AsVal_int(obj0, &val1);
28030
if (!SWIG_IsOK(ecode1)) {
28031
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28033
arg1 = static_cast< wxEventType >(val1);
28036
ecode2 = SWIG_AsVal_int(obj1, &val2);
28037
if (!SWIG_IsOK(ecode2)) {
28038
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
28040
arg2 = static_cast< int >(val2);
28043
PyThreadState* __tstate = wxPyBeginAllowThreads();
28044
result = (wxRichTextEvent *)new wxRichTextEvent(arg1,arg2);
28045
wxPyEndAllowThreads(__tstate);
28046
if (PyErr_Occurred()) SWIG_fail;
28048
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextEvent, SWIG_POINTER_NEW | 0 );
28055
SWIGINTERN PyObject *_wrap_RichTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28056
PyObject *resultobj = 0;
28057
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28061
PyObject *swig_obj[1] ;
28063
if (!args) SWIG_fail;
28064
swig_obj[0] = args;
28065
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28066
if (!SWIG_IsOK(res1)) {
28067
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
28069
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28071
PyThreadState* __tstate = wxPyBeginAllowThreads();
28072
result = (int)((wxRichTextEvent const *)arg1)->GetPosition();
28073
wxPyEndAllowThreads(__tstate);
28074
if (PyErr_Occurred()) SWIG_fail;
28076
resultobj = SWIG_From_int(static_cast< int >(result));
28083
SWIGINTERN PyObject *_wrap_RichTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28084
PyObject *resultobj = 0;
28085
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28091
PyObject * obj0 = 0 ;
28092
PyObject * obj1 = 0 ;
28093
char * kwnames[] = {
28094
(char *) "self",(char *) "n", NULL
28097
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
28098
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28099
if (!SWIG_IsOK(res1)) {
28100
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
28102
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28103
ecode2 = SWIG_AsVal_int(obj1, &val2);
28104
if (!SWIG_IsOK(ecode2)) {
28105
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
28107
arg2 = static_cast< int >(val2);
28109
PyThreadState* __tstate = wxPyBeginAllowThreads();
28110
(arg1)->SetPosition(arg2);
28111
wxPyEndAllowThreads(__tstate);
28112
if (PyErr_Occurred()) SWIG_fail;
28114
resultobj = SWIG_Py_Void();
28121
SWIGINTERN PyObject *_wrap_RichTextEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28122
PyObject *resultobj = 0;
28123
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28127
PyObject *swig_obj[1] ;
28129
if (!args) SWIG_fail;
28130
swig_obj[0] = args;
28131
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28132
if (!SWIG_IsOK(res1)) {
28133
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
28135
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28137
PyThreadState* __tstate = wxPyBeginAllowThreads();
28138
result = (int)((wxRichTextEvent const *)arg1)->GetFlags();
28139
wxPyEndAllowThreads(__tstate);
28140
if (PyErr_Occurred()) SWIG_fail;
28142
resultobj = SWIG_From_int(static_cast< int >(result));
28149
SWIGINTERN PyObject *_wrap_RichTextEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28150
PyObject *resultobj = 0;
28151
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28157
PyObject * obj0 = 0 ;
28158
PyObject * obj1 = 0 ;
28159
char * kwnames[] = {
28160
(char *) "self",(char *) "flags", NULL
28163
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
28164
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28165
if (!SWIG_IsOK(res1)) {
28166
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
28168
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28169
ecode2 = SWIG_AsVal_int(obj1, &val2);
28170
if (!SWIG_IsOK(ecode2)) {
28171
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
28173
arg2 = static_cast< int >(val2);
28175
PyThreadState* __tstate = wxPyBeginAllowThreads();
28176
(arg1)->SetFlags(arg2);
28177
wxPyEndAllowThreads(__tstate);
28178
if (PyErr_Occurred()) SWIG_fail;
28180
resultobj = SWIG_Py_Void();
28187
SWIGINTERN PyObject *_wrap_RichTextEvent_GetOldStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28188
PyObject *resultobj = 0;
28189
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28190
wxRichTextStyleSheet *result = 0 ;
28193
PyObject *swig_obj[1] ;
28195
if (!args) SWIG_fail;
28196
swig_obj[0] = args;
28197
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28198
if (!SWIG_IsOK(res1)) {
28199
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetOldStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
28201
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28203
PyThreadState* __tstate = wxPyBeginAllowThreads();
28204
result = (wxRichTextStyleSheet *)((wxRichTextEvent const *)arg1)->GetOldStyleSheet();
28205
wxPyEndAllowThreads(__tstate);
28206
if (PyErr_Occurred()) SWIG_fail;
28208
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
28215
SWIGINTERN PyObject *_wrap_RichTextEvent_SetOldStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28216
PyObject *resultobj = 0;
28217
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28218
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
28223
PyObject * obj0 = 0 ;
28224
PyObject * obj1 = 0 ;
28225
char * kwnames[] = {
28226
(char *) "self",(char *) "sheet", NULL
28229
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetOldStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
28230
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28231
if (!SWIG_IsOK(res1)) {
28232
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetOldStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
28234
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28235
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
28236
if (!SWIG_IsOK(res2)) {
28237
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextEvent_SetOldStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
28239
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
28241
PyThreadState* __tstate = wxPyBeginAllowThreads();
28242
(arg1)->SetOldStyleSheet(arg2);
28243
wxPyEndAllowThreads(__tstate);
28244
if (PyErr_Occurred()) SWIG_fail;
28246
resultobj = SWIG_Py_Void();
28253
SWIGINTERN PyObject *_wrap_RichTextEvent_GetNewStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28254
PyObject *resultobj = 0;
28255
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28256
wxRichTextStyleSheet *result = 0 ;
28259
PyObject *swig_obj[1] ;
28261
if (!args) SWIG_fail;
28262
swig_obj[0] = args;
28263
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28264
if (!SWIG_IsOK(res1)) {
28265
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetNewStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
28267
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28269
PyThreadState* __tstate = wxPyBeginAllowThreads();
28270
result = (wxRichTextStyleSheet *)((wxRichTextEvent const *)arg1)->GetNewStyleSheet();
28271
wxPyEndAllowThreads(__tstate);
28272
if (PyErr_Occurred()) SWIG_fail;
28274
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
28281
SWIGINTERN PyObject *_wrap_RichTextEvent_SetNewStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28282
PyObject *resultobj = 0;
28283
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28284
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
28289
PyObject * obj0 = 0 ;
28290
PyObject * obj1 = 0 ;
28291
char * kwnames[] = {
28292
(char *) "self",(char *) "sheet", NULL
28295
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetNewStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
28296
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28297
if (!SWIG_IsOK(res1)) {
28298
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetNewStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
28300
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28301
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
28302
if (!SWIG_IsOK(res2)) {
28303
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextEvent_SetNewStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
28305
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
28307
PyThreadState* __tstate = wxPyBeginAllowThreads();
28308
(arg1)->SetNewStyleSheet(arg2);
28309
wxPyEndAllowThreads(__tstate);
28310
if (PyErr_Occurred()) SWIG_fail;
28312
resultobj = SWIG_Py_Void();
28319
SWIGINTERN PyObject *_wrap_RichTextEvent_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28320
PyObject *resultobj = 0;
28321
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28322
wxRichTextRange *result = 0 ;
28325
PyObject *swig_obj[1] ;
28327
if (!args) SWIG_fail;
28328
swig_obj[0] = args;
28329
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28330
if (!SWIG_IsOK(res1)) {
28331
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetRange" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
28333
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28335
PyThreadState* __tstate = wxPyBeginAllowThreads();
28337
wxRichTextRange const &_result_ref = ((wxRichTextEvent const *)arg1)->GetRange();
28338
result = (wxRichTextRange *) &_result_ref;
28340
wxPyEndAllowThreads(__tstate);
28341
if (PyErr_Occurred()) SWIG_fail;
28343
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 | 0 );
28350
SWIGINTERN PyObject *_wrap_RichTextEvent_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28351
PyObject *resultobj = 0;
28352
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28353
wxRichTextRange *arg2 = 0 ;
28356
wxRichTextRange temp2 ;
28357
PyObject * obj0 = 0 ;
28358
PyObject * obj1 = 0 ;
28359
char * kwnames[] = {
28360
(char *) "self",(char *) "range", NULL
28363
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
28364
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28365
if (!SWIG_IsOK(res1)) {
28366
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetRange" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
28368
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28371
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
28374
PyThreadState* __tstate = wxPyBeginAllowThreads();
28375
(arg1)->SetRange((wxRichTextRange const &)*arg2);
28376
wxPyEndAllowThreads(__tstate);
28377
if (PyErr_Occurred()) SWIG_fail;
28379
resultobj = SWIG_Py_Void();
28386
SWIGINTERN PyObject *_wrap_RichTextEvent_GetCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28387
PyObject *resultobj = 0;
28388
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28392
PyObject *swig_obj[1] ;
28394
if (!args) SWIG_fail;
28395
swig_obj[0] = args;
28396
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28397
if (!SWIG_IsOK(res1)) {
28398
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetCharacter" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
28400
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28402
PyThreadState* __tstate = wxPyBeginAllowThreads();
28403
result = ((wxRichTextEvent const *)arg1)->GetCharacter();
28404
wxPyEndAllowThreads(__tstate);
28405
if (PyErr_Occurred()) SWIG_fail;
28408
wxString s(result);
28409
resultobj = wx2PyString(s);
28417
SWIGINTERN PyObject *_wrap_RichTextEvent_SetCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28418
PyObject *resultobj = 0;
28419
wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
28423
PyObject * obj0 = 0 ;
28424
PyObject * obj1 = 0 ;
28425
char * kwnames[] = {
28426
(char *) "self",(char *) "ch", NULL
28429
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetCharacter",kwnames,&obj0,&obj1)) SWIG_fail;
28430
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
28431
if (!SWIG_IsOK(res1)) {
28432
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetCharacter" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
28434
arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
28436
wxString s = Py2wxString(obj1);
28440
PyThreadState* __tstate = wxPyBeginAllowThreads();
28441
(arg1)->SetCharacter(arg2);
28442
wxPyEndAllowThreads(__tstate);
28443
if (PyErr_Occurred()) SWIG_fail;
28445
resultobj = SWIG_Py_Void();
28452
SWIGINTERN PyObject *RichTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28454
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28455
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent, SWIG_NewClientData(obj));
28456
return SWIG_Py_Void();
28459
SWIGINTERN PyObject *RichTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28460
return SWIG_Python_InitShadowInstance(args);
28463
SWIGINTERN int HtmlName_set(PyObject *) {
28464
SWIG_Error(SWIG_AttributeError,"Variable HtmlName is read-only.");
28469
SWIGINTERN PyObject *HtmlName_get(void) {
28470
PyObject *pyobj = 0;
28474
pyobj = PyUnicode_FromWideChar((&wxPyHtmlName)->c_str(), (&wxPyHtmlName)->Len());
28476
pyobj = PyString_FromStringAndSize((&wxPyHtmlName)->c_str(), (&wxPyHtmlName)->Len());
28483
SWIGINTERN int HtmlExt_set(PyObject *) {
28484
SWIG_Error(SWIG_AttributeError,"Variable HtmlExt is read-only.");
28489
SWIGINTERN PyObject *HtmlExt_get(void) {
28490
PyObject *pyobj = 0;
28494
pyobj = PyUnicode_FromWideChar((&wxPyHtmlExt)->c_str(), (&wxPyHtmlExt)->Len());
28496
pyobj = PyString_FromStringAndSize((&wxPyHtmlExt)->c_str(), (&wxPyHtmlExt)->Len());
28503
SWIGINTERN PyObject *_wrap_new_RichTextHTMLHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28504
PyObject *resultobj = 0;
28505
wxString const &arg1_defvalue = wxPyHtmlName ;
28506
wxString *arg1 = (wxString *) &arg1_defvalue ;
28507
wxString const &arg2_defvalue = wxPyHtmlExt ;
28508
wxString *arg2 = (wxString *) &arg2_defvalue ;
28509
int arg3 = (int) wxRICHTEXT_TYPE_HTML ;
28510
wxRichTextHTMLHandler *result = 0 ;
28511
bool temp1 = false ;
28512
bool temp2 = false ;
28515
PyObject * obj0 = 0 ;
28516
PyObject * obj1 = 0 ;
28517
PyObject * obj2 = 0 ;
28518
char * kwnames[] = {
28519
(char *) "name",(char *) "ext",(char *) "type", NULL
28522
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextHTMLHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28525
arg1 = wxString_in_helper(obj0);
28526
if (arg1 == NULL) SWIG_fail;
28532
arg2 = wxString_in_helper(obj1);
28533
if (arg2 == NULL) SWIG_fail;
28538
ecode3 = SWIG_AsVal_int(obj2, &val3);
28539
if (!SWIG_IsOK(ecode3)) {
28540
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextHTMLHandler" "', expected argument " "3"" of type '" "int""'");
28542
arg3 = static_cast< int >(val3);
28545
PyThreadState* __tstate = wxPyBeginAllowThreads();
28546
result = (wxRichTextHTMLHandler *)new wxRichTextHTMLHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
28547
wxPyEndAllowThreads(__tstate);
28548
if (PyErr_Occurred()) SWIG_fail;
28550
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextHTMLHandler, SWIG_POINTER_NEW | 0 );
28573
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetTemporaryImageLocations(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28574
PyObject *resultobj = 0;
28575
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28576
wxArrayString *arg2 = 0 ;
28579
bool temp2 = false ;
28580
PyObject * obj0 = 0 ;
28581
PyObject * obj1 = 0 ;
28582
char * kwnames[] = {
28583
(char *) "self",(char *) "locations", NULL
28586
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextHTMLHandler_SetTemporaryImageLocations",kwnames,&obj0,&obj1)) SWIG_fail;
28587
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28588
if (!SWIG_IsOK(res1)) {
28589
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_SetTemporaryImageLocations" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'");
28591
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28593
if (! PySequence_Check(obj1)) {
28594
PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28597
arg2 = new wxArrayString;
28599
int i, len=PySequence_Length(obj1);
28600
for (i=0; i<len; i++) {
28601
PyObject* item = PySequence_GetItem(obj1, i);
28602
wxString* s = wxString_in_helper(item);
28603
if (PyErr_Occurred()) SWIG_fail;
28610
PyThreadState* __tstate = wxPyBeginAllowThreads();
28611
(arg1)->SetTemporaryImageLocations((wxArrayString const &)*arg2);
28612
wxPyEndAllowThreads(__tstate);
28613
if (PyErr_Occurred()) SWIG_fail;
28615
resultobj = SWIG_Py_Void();
28617
if (temp2) delete arg2;
28622
if (temp2) delete arg2;
28628
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_GetTemporaryImageLocations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28629
PyObject *resultobj = 0;
28630
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28631
wxArrayString *result = 0 ;
28634
PyObject *swig_obj[1] ;
28636
if (!args) SWIG_fail;
28637
swig_obj[0] = args;
28638
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28639
if (!SWIG_IsOK(res1)) {
28640
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_GetTemporaryImageLocations" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler const *""'");
28642
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28644
PyThreadState* __tstate = wxPyBeginAllowThreads();
28646
wxArrayString const &_result_ref = ((wxRichTextHTMLHandler const *)arg1)->GetTemporaryImageLocations();
28647
result = (wxArrayString *) &_result_ref;
28649
wxPyEndAllowThreads(__tstate);
28650
if (PyErr_Occurred()) SWIG_fail;
28653
resultobj = wxArrayString2PyList_helper(*result);
28661
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_ClearTemporaryImageLocations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28662
PyObject *resultobj = 0;
28663
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28666
PyObject *swig_obj[1] ;
28668
if (!args) SWIG_fail;
28669
swig_obj[0] = args;
28670
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28671
if (!SWIG_IsOK(res1)) {
28672
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_ClearTemporaryImageLocations" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'");
28674
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28676
PyThreadState* __tstate = wxPyBeginAllowThreads();
28677
(arg1)->ClearTemporaryImageLocations();
28678
wxPyEndAllowThreads(__tstate);
28679
if (PyErr_Occurred()) SWIG_fail;
28681
resultobj = SWIG_Py_Void();
28688
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_DeleteTemporaryImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28689
PyObject *resultobj = 0;
28690
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28694
PyObject *swig_obj[1] ;
28696
if (!args) SWIG_fail;
28697
swig_obj[0] = args;
28698
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28699
if (!SWIG_IsOK(res1)) {
28700
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_DeleteTemporaryImages" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'");
28702
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28704
PyThreadState* __tstate = wxPyBeginAllowThreads();
28705
result = (bool)(arg1)->DeleteTemporaryImages();
28706
wxPyEndAllowThreads(__tstate);
28707
if (PyErr_Occurred()) SWIG_fail;
28710
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28718
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetFileCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28719
PyObject *resultobj = 0;
28723
PyObject * obj0 = 0 ;
28724
char * kwnames[] = {
28725
(char *) "counter", NULL
28728
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextHTMLHandler_SetFileCounter",kwnames,&obj0)) SWIG_fail;
28729
ecode1 = SWIG_AsVal_int(obj0, &val1);
28730
if (!SWIG_IsOK(ecode1)) {
28731
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextHTMLHandler_SetFileCounter" "', expected argument " "1"" of type '" "int""'");
28733
arg1 = static_cast< int >(val1);
28735
PyThreadState* __tstate = wxPyBeginAllowThreads();
28736
wxRichTextHTMLHandler::SetFileCounter(arg1);
28737
wxPyEndAllowThreads(__tstate);
28738
if (PyErr_Occurred()) SWIG_fail;
28740
resultobj = SWIG_Py_Void();
28747
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28748
PyObject *resultobj = 0;
28749
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28750
wxString *arg2 = 0 ;
28753
bool temp2 = false ;
28754
PyObject * obj0 = 0 ;
28755
PyObject * obj1 = 0 ;
28756
char * kwnames[] = {
28757
(char *) "self",(char *) "tempDir", NULL
28760
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextHTMLHandler_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
28761
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28762
if (!SWIG_IsOK(res1)) {
28763
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_SetTempDir" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'");
28765
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28767
arg2 = wxString_in_helper(obj1);
28768
if (arg2 == NULL) SWIG_fail;
28772
PyThreadState* __tstate = wxPyBeginAllowThreads();
28773
(arg1)->SetTempDir((wxString const &)*arg2);
28774
wxPyEndAllowThreads(__tstate);
28775
if (PyErr_Occurred()) SWIG_fail;
28777
resultobj = SWIG_Py_Void();
28792
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_GetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28793
PyObject *resultobj = 0;
28794
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28795
wxString *result = 0 ;
28798
PyObject *swig_obj[1] ;
28800
if (!args) SWIG_fail;
28801
swig_obj[0] = args;
28802
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28803
if (!SWIG_IsOK(res1)) {
28804
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_GetTempDir" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler const *""'");
28806
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28808
PyThreadState* __tstate = wxPyBeginAllowThreads();
28810
wxString const &_result_ref = ((wxRichTextHTMLHandler const *)arg1)->GetTempDir();
28811
result = (wxString *) &_result_ref;
28813
wxPyEndAllowThreads(__tstate);
28814
if (PyErr_Occurred()) SWIG_fail;
28818
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28820
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28829
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetFontSizeMapping(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28830
PyObject *resultobj = 0;
28831
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28832
wxArrayInt *arg2 = 0 ;
28835
bool temp2 = false ;
28836
PyObject * obj0 = 0 ;
28837
PyObject * obj1 = 0 ;
28838
char * kwnames[] = {
28839
(char *) "self",(char *) "fontSizeMapping", NULL
28842
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextHTMLHandler_SetFontSizeMapping",kwnames,&obj0,&obj1)) SWIG_fail;
28843
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28844
if (!SWIG_IsOK(res1)) {
28845
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_SetFontSizeMapping" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'");
28847
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28849
if (! PySequence_Check(obj1)) {
28850
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
28853
arg2 = new wxArrayInt;
28855
int i, len=PySequence_Length(obj1);
28856
for (i=0; i<len; i++) {
28857
PyObject* item = PySequence_GetItem(obj1, i);
28858
PyObject* number = PyNumber_Int(item);
28860
PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
28863
arg2->Add(PyInt_AS_LONG(number));
28869
PyThreadState* __tstate = wxPyBeginAllowThreads();
28870
(arg1)->SetFontSizeMapping((wxArrayInt const &)*arg2);
28871
wxPyEndAllowThreads(__tstate);
28872
if (PyErr_Occurred()) SWIG_fail;
28874
resultobj = SWIG_Py_Void();
28876
if (temp2) delete arg2;
28881
if (temp2) delete arg2;
28887
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_GetFontSizeMapping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28888
PyObject *resultobj = 0;
28889
wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
28893
PyObject *swig_obj[1] ;
28895
if (!args) SWIG_fail;
28896
swig_obj[0] = args;
28897
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 | 0 );
28898
if (!SWIG_IsOK(res1)) {
28899
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_GetFontSizeMapping" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler const *""'");
28901
arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
28903
PyThreadState* __tstate = wxPyBeginAllowThreads();
28904
result = ((wxRichTextHTMLHandler const *)arg1)->GetFontSizeMapping();
28905
wxPyEndAllowThreads(__tstate);
28906
if (PyErr_Occurred()) SWIG_fail;
28909
resultobj = wxArrayInt2PyList_helper(result);
28917
SWIGINTERN PyObject *RichTextHTMLHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28919
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28920
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextHTMLHandler, SWIG_NewClientData(obj));
28921
return SWIG_Py_Void();
28924
SWIGINTERN PyObject *RichTextHTMLHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28925
return SWIG_Python_InitShadowInstance(args);
28928
SWIGINTERN int XmlName_set(PyObject *) {
28929
SWIG_Error(SWIG_AttributeError,"Variable XmlName is read-only.");
28934
SWIGINTERN PyObject *XmlName_get(void) {
28935
PyObject *pyobj = 0;
28939
pyobj = PyUnicode_FromWideChar((&wxPyXmlName)->c_str(), (&wxPyXmlName)->Len());
28941
pyobj = PyString_FromStringAndSize((&wxPyXmlName)->c_str(), (&wxPyXmlName)->Len());
28948
SWIGINTERN int XmlExt_set(PyObject *) {
28949
SWIG_Error(SWIG_AttributeError,"Variable XmlExt is read-only.");
28954
SWIGINTERN PyObject *XmlExt_get(void) {
28955
PyObject *pyobj = 0;
28959
pyobj = PyUnicode_FromWideChar((&wxPyXmlExt)->c_str(), (&wxPyXmlExt)->Len());
28961
pyobj = PyString_FromStringAndSize((&wxPyXmlExt)->c_str(), (&wxPyXmlExt)->Len());
28968
SWIGINTERN PyObject *_wrap_new_RichTextXMLHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28969
PyObject *resultobj = 0;
28970
wxString const &arg1_defvalue = wxPyXmlName ;
28971
wxString *arg1 = (wxString *) &arg1_defvalue ;
28972
wxString const &arg2_defvalue = wxPyXmlExt ;
28973
wxString *arg2 = (wxString *) &arg2_defvalue ;
28974
int arg3 = (int) wxRICHTEXT_TYPE_XML ;
28975
wxRichTextXMLHandler *result = 0 ;
28976
bool temp1 = false ;
28977
bool temp2 = false ;
28980
PyObject * obj0 = 0 ;
28981
PyObject * obj1 = 0 ;
28982
PyObject * obj2 = 0 ;
28983
char * kwnames[] = {
28984
(char *) "name",(char *) "ext",(char *) "type", NULL
28987
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextXMLHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28990
arg1 = wxString_in_helper(obj0);
28991
if (arg1 == NULL) SWIG_fail;
28997
arg2 = wxString_in_helper(obj1);
28998
if (arg2 == NULL) SWIG_fail;
29003
ecode3 = SWIG_AsVal_int(obj2, &val3);
29004
if (!SWIG_IsOK(ecode3)) {
29005
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextXMLHandler" "', expected argument " "3"" of type '" "int""'");
29007
arg3 = static_cast< int >(val3);
29010
PyThreadState* __tstate = wxPyBeginAllowThreads();
29011
result = (wxRichTextXMLHandler *)new wxRichTextXMLHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
29012
wxPyEndAllowThreads(__tstate);
29013
if (PyErr_Occurred()) SWIG_fail;
29015
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextXMLHandler, SWIG_POINTER_NEW | 0 );
29038
SWIGINTERN PyObject *RichTextXMLHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29040
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29041
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextXMLHandler, SWIG_NewClientData(obj));
29042
return SWIG_Py_Void();
29045
SWIGINTERN PyObject *RichTextXMLHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29046
return SWIG_Python_InitShadowInstance(args);
29049
SWIGINTERN PyObject *_wrap_new_RichTextPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29050
PyObject *resultobj = 0;
29051
wxString const &arg1_defvalue = wxT("Printout") ;
29052
wxString *arg1 = (wxString *) &arg1_defvalue ;
29053
wxRichTextPrintout *result = 0 ;
29054
bool temp1 = false ;
29055
PyObject * obj0 = 0 ;
29056
char * kwnames[] = {
29057
(char *) "title", NULL
29060
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextPrintout",kwnames,&obj0)) SWIG_fail;
29063
arg1 = wxString_in_helper(obj0);
29064
if (arg1 == NULL) SWIG_fail;
29069
PyThreadState* __tstate = wxPyBeginAllowThreads();
29070
result = (wxRichTextPrintout *)new wxRichTextPrintout((wxString const &)*arg1);
29071
wxPyEndAllowThreads(__tstate);
29072
if (PyErr_Occurred()) SWIG_fail;
29074
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPrintout, SWIG_POINTER_NEW | 0 );
29089
SWIGINTERN PyObject *_wrap_delete_RichTextPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29090
PyObject *resultobj = 0;
29091
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29094
PyObject *swig_obj[1] ;
29096
if (!args) SWIG_fail;
29097
swig_obj[0] = args;
29098
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrintout, SWIG_POINTER_DISOWN | 0 );
29099
if (!SWIG_IsOK(res1)) {
29100
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextPrintout" "', expected argument " "1"" of type '" "wxRichTextPrintout *""'");
29102
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29104
PyThreadState* __tstate = wxPyBeginAllowThreads();
29107
wxPyEndAllowThreads(__tstate);
29108
if (PyErr_Occurred()) SWIG_fail;
29110
resultobj = SWIG_Py_Void();
29117
SWIGINTERN PyObject *_wrap_RichTextPrintout_SetRichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29118
PyObject *resultobj = 0;
29119
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29120
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
29125
PyObject * obj0 = 0 ;
29126
PyObject * obj1 = 0 ;
29127
char * kwnames[] = {
29128
(char *) "self",(char *) "buffer", NULL
29131
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrintout_SetRichTextBuffer",kwnames,&obj0,&obj1)) SWIG_fail;
29132
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrintout, 0 | 0 );
29133
if (!SWIG_IsOK(res1)) {
29134
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrintout_SetRichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextPrintout *""'");
29136
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29137
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
29138
if (!SWIG_IsOK(res2)) {
29139
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrintout_SetRichTextBuffer" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
29141
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
29143
PyThreadState* __tstate = wxPyBeginAllowThreads();
29144
(arg1)->SetRichTextBuffer(arg2);
29145
wxPyEndAllowThreads(__tstate);
29146
if (PyErr_Occurred()) SWIG_fail;
29148
resultobj = SWIG_Py_Void();
29155
SWIGINTERN PyObject *_wrap_RichTextPrintout_GetRichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29156
PyObject *resultobj = 0;
29157
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29158
wxRichTextBuffer *result = 0 ;
29161
PyObject *swig_obj[1] ;
29163
if (!args) SWIG_fail;
29164
swig_obj[0] = args;
29165
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrintout, 0 | 0 );
29166
if (!SWIG_IsOK(res1)) {
29167
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrintout_GetRichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextPrintout const *""'");
29169
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29171
PyThreadState* __tstate = wxPyBeginAllowThreads();
29172
result = (wxRichTextBuffer *)((wxRichTextPrintout const *)arg1)->GetRichTextBuffer();
29173
wxPyEndAllowThreads(__tstate);
29174
if (PyErr_Occurred()) SWIG_fail;
29176
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
29183
SWIGINTERN PyObject *_wrap_RichTextPrintout_SetHeaderFooterData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29184
PyObject *resultobj = 0;
29185
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29186
wxRichTextHeaderFooterData *arg2 = 0 ;
29191
PyObject * obj0 = 0 ;
29192
PyObject * obj1 = 0 ;
29193
char * kwnames[] = {
29194
(char *) "self",(char *) "data", NULL
29197
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrintout_SetHeaderFooterData",kwnames,&obj0,&obj1)) SWIG_fail;
29198
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrintout, 0 | 0 );
29199
if (!SWIG_IsOK(res1)) {
29200
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrintout_SetHeaderFooterData" "', expected argument " "1"" of type '" "wxRichTextPrintout *""'");
29202
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29203
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextHeaderFooterData, 0 | 0);
29204
if (!SWIG_IsOK(res2)) {
29205
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrintout_SetHeaderFooterData" "', expected argument " "2"" of type '" "wxRichTextHeaderFooterData const &""'");
29208
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrintout_SetHeaderFooterData" "', expected argument " "2"" of type '" "wxRichTextHeaderFooterData const &""'");
29210
arg2 = reinterpret_cast< wxRichTextHeaderFooterData * >(argp2);
29212
PyThreadState* __tstate = wxPyBeginAllowThreads();
29213
(arg1)->SetHeaderFooterData((wxRichTextHeaderFooterData const &)*arg2);
29214
wxPyEndAllowThreads(__tstate);
29215
if (PyErr_Occurred()) SWIG_fail;
29217
resultobj = SWIG_Py_Void();
29224
SWIGINTERN PyObject *_wrap_RichTextPrintout_GetHeaderFooterData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29225
PyObject *resultobj = 0;
29226
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29227
wxRichTextHeaderFooterData *result = 0 ;
29230
PyObject *swig_obj[1] ;
29232
if (!args) SWIG_fail;
29233
swig_obj[0] = args;
29234
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrintout, 0 | 0 );
29235
if (!SWIG_IsOK(res1)) {
29236
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrintout_GetHeaderFooterData" "', expected argument " "1"" of type '" "wxRichTextPrintout const *""'");
29238
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29240
PyThreadState* __tstate = wxPyBeginAllowThreads();
29242
wxRichTextHeaderFooterData const &_result_ref = ((wxRichTextPrintout const *)arg1)->GetHeaderFooterData();
29243
result = (wxRichTextHeaderFooterData *) &_result_ref;
29245
wxPyEndAllowThreads(__tstate);
29246
if (PyErr_Occurred()) SWIG_fail;
29248
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextHeaderFooterData, 0 | 0 );
29255
SWIGINTERN PyObject *_wrap_RichTextPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29256
PyObject *resultobj = 0;
29257
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29258
int arg2 = (int) 254 ;
29259
int arg3 = (int) 254 ;
29260
int arg4 = (int) 254 ;
29261
int arg5 = (int) 254 ;
29272
PyObject * obj0 = 0 ;
29273
PyObject * obj1 = 0 ;
29274
PyObject * obj2 = 0 ;
29275
PyObject * obj3 = 0 ;
29276
PyObject * obj4 = 0 ;
29277
char * kwnames[] = {
29278
(char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right", NULL
29281
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:RichTextPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29282
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrintout, 0 | 0 );
29283
if (!SWIG_IsOK(res1)) {
29284
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrintout_SetMargins" "', expected argument " "1"" of type '" "wxRichTextPrintout *""'");
29286
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29288
ecode2 = SWIG_AsVal_int(obj1, &val2);
29289
if (!SWIG_IsOK(ecode2)) {
29290
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPrintout_SetMargins" "', expected argument " "2"" of type '" "int""'");
29292
arg2 = static_cast< int >(val2);
29295
ecode3 = SWIG_AsVal_int(obj2, &val3);
29296
if (!SWIG_IsOK(ecode3)) {
29297
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextPrintout_SetMargins" "', expected argument " "3"" of type '" "int""'");
29299
arg3 = static_cast< int >(val3);
29302
ecode4 = SWIG_AsVal_int(obj3, &val4);
29303
if (!SWIG_IsOK(ecode4)) {
29304
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextPrintout_SetMargins" "', expected argument " "4"" of type '" "int""'");
29306
arg4 = static_cast< int >(val4);
29309
ecode5 = SWIG_AsVal_int(obj4, &val5);
29310
if (!SWIG_IsOK(ecode5)) {
29311
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextPrintout_SetMargins" "', expected argument " "5"" of type '" "int""'");
29313
arg5 = static_cast< int >(val5);
29316
PyThreadState* __tstate = wxPyBeginAllowThreads();
29317
(arg1)->SetMargins(arg2,arg3,arg4,arg5);
29318
wxPyEndAllowThreads(__tstate);
29319
if (PyErr_Occurred()) SWIG_fail;
29321
resultobj = SWIG_Py_Void();
29328
SWIGINTERN PyObject *_wrap_RichTextPrintout_CalculateScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29329
PyObject *resultobj = 0;
29330
wxRichTextPrintout *arg1 = (wxRichTextPrintout *) 0 ;
29331
wxDC *arg2 = (wxDC *) 0 ;
29342
PyObject * obj0 = 0 ;
29343
PyObject * obj1 = 0 ;
29344
PyObject * obj2 = 0 ;
29345
PyObject * obj3 = 0 ;
29346
PyObject * obj4 = 0 ;
29347
char * kwnames[] = {
29348
(char *) "self",(char *) "dc",(char *) "textRect",(char *) "headerRect",(char *) "footerRect", NULL
29351
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextPrintout_CalculateScaling",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29352
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrintout, 0 | 0 );
29353
if (!SWIG_IsOK(res1)) {
29354
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrintout_CalculateScaling" "', expected argument " "1"" of type '" "wxRichTextPrintout *""'");
29356
arg1 = reinterpret_cast< wxRichTextPrintout * >(argp1);
29357
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
29358
if (!SWIG_IsOK(res2)) {
29359
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrintout_CalculateScaling" "', expected argument " "2"" of type '" "wxDC *""'");
29361
arg2 = reinterpret_cast< wxDC * >(argp2);
29364
if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
29368
if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29372
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29375
PyThreadState* __tstate = wxPyBeginAllowThreads();
29376
(arg1)->CalculateScaling(arg2,*arg3,*arg4,*arg5);
29377
wxPyEndAllowThreads(__tstate);
29378
if (PyErr_Occurred()) SWIG_fail;
29380
resultobj = SWIG_Py_Void();
29387
SWIGINTERN PyObject *RichTextPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29389
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29390
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPrintout, SWIG_NewClientData(obj));
29391
return SWIG_Py_Void();
29394
SWIGINTERN PyObject *RichTextPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29395
return SWIG_Python_InitShadowInstance(args);
29398
SWIGINTERN PyObject *_wrap_new_RichTextPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29399
PyObject *resultobj = 0;
29400
wxString const &arg1_defvalue = wxT("Printing") ;
29401
wxString *arg1 = (wxString *) &arg1_defvalue ;
29402
wxWindow *arg2 = (wxWindow *) NULL ;
29403
wxRichTextPrinting *result = 0 ;
29404
bool temp1 = false ;
29407
PyObject * obj0 = 0 ;
29408
PyObject * obj1 = 0 ;
29409
char * kwnames[] = {
29410
(char *) "name",(char *) "parentWindow", NULL
29413
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
29416
arg1 = wxString_in_helper(obj0);
29417
if (arg1 == NULL) SWIG_fail;
29422
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29423
if (!SWIG_IsOK(res2)) {
29424
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
29426
arg2 = reinterpret_cast< wxWindow * >(argp2);
29429
PyThreadState* __tstate = wxPyBeginAllowThreads();
29430
result = (wxRichTextPrinting *)new wxRichTextPrinting((wxString const &)*arg1,arg2);
29431
wxPyEndAllowThreads(__tstate);
29432
if (PyErr_Occurred()) SWIG_fail;
29434
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPrinting, SWIG_POINTER_NEW | 0 );
29449
SWIGINTERN PyObject *_wrap_delete_RichTextPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29450
PyObject *resultobj = 0;
29451
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29454
PyObject *swig_obj[1] ;
29456
if (!args) SWIG_fail;
29457
swig_obj[0] = args;
29458
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, SWIG_POINTER_DISOWN | 0 );
29459
if (!SWIG_IsOK(res1)) {
29460
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextPrinting" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29462
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29464
PyThreadState* __tstate = wxPyBeginAllowThreads();
29467
wxPyEndAllowThreads(__tstate);
29468
if (PyErr_Occurred()) SWIG_fail;
29470
resultobj = SWIG_Py_Void();
29477
SWIGINTERN PyObject *_wrap_RichTextPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29478
PyObject *resultobj = 0;
29479
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29480
wxString *arg2 = 0 ;
29484
bool temp2 = false ;
29485
PyObject * obj0 = 0 ;
29486
PyObject * obj1 = 0 ;
29487
char * kwnames[] = {
29488
(char *) "self",(char *) "richTextFile", NULL
29491
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
29492
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29493
if (!SWIG_IsOK(res1)) {
29494
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29496
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29498
arg2 = wxString_in_helper(obj1);
29499
if (arg2 == NULL) SWIG_fail;
29503
PyThreadState* __tstate = wxPyBeginAllowThreads();
29504
result = (bool)(arg1)->PreviewFile((wxString const &)*arg2);
29505
wxPyEndAllowThreads(__tstate);
29506
if (PyErr_Occurred()) SWIG_fail;
29509
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29525
SWIGINTERN PyObject *_wrap_RichTextPrinting_PreviewBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29526
PyObject *resultobj = 0;
29527
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29528
wxRichTextBuffer *arg2 = 0 ;
29534
PyObject * obj0 = 0 ;
29535
PyObject * obj1 = 0 ;
29536
char * kwnames[] = {
29537
(char *) "self",(char *) "buffer", NULL
29540
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_PreviewBuffer",kwnames,&obj0,&obj1)) SWIG_fail;
29541
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29542
if (!SWIG_IsOK(res1)) {
29543
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_PreviewBuffer" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29545
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29546
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBuffer, 0 | 0);
29547
if (!SWIG_IsOK(res2)) {
29548
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_PreviewBuffer" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
29551
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrinting_PreviewBuffer" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
29553
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
29555
PyThreadState* __tstate = wxPyBeginAllowThreads();
29556
result = (bool)(arg1)->PreviewBuffer((wxRichTextBuffer const &)*arg2);
29557
wxPyEndAllowThreads(__tstate);
29558
if (PyErr_Occurred()) SWIG_fail;
29561
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29569
SWIGINTERN PyObject *_wrap_RichTextPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29570
PyObject *resultobj = 0;
29571
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29572
wxString *arg2 = 0 ;
29576
bool temp2 = false ;
29577
PyObject * obj0 = 0 ;
29578
PyObject * obj1 = 0 ;
29579
char * kwnames[] = {
29580
(char *) "self",(char *) "richTextFile", NULL
29583
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
29584
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29585
if (!SWIG_IsOK(res1)) {
29586
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_PrintFile" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29588
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29590
arg2 = wxString_in_helper(obj1);
29591
if (arg2 == NULL) SWIG_fail;
29595
PyThreadState* __tstate = wxPyBeginAllowThreads();
29596
result = (bool)(arg1)->PrintFile((wxString const &)*arg2);
29597
wxPyEndAllowThreads(__tstate);
29598
if (PyErr_Occurred()) SWIG_fail;
29601
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29617
SWIGINTERN PyObject *_wrap_RichTextPrinting_PrintBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29618
PyObject *resultobj = 0;
29619
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29620
wxRichTextBuffer *arg2 = 0 ;
29626
PyObject * obj0 = 0 ;
29627
PyObject * obj1 = 0 ;
29628
char * kwnames[] = {
29629
(char *) "self",(char *) "buffer", NULL
29632
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_PrintBuffer",kwnames,&obj0,&obj1)) SWIG_fail;
29633
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29634
if (!SWIG_IsOK(res1)) {
29635
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_PrintBuffer" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29637
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29638
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBuffer, 0 | 0);
29639
if (!SWIG_IsOK(res2)) {
29640
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_PrintBuffer" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
29643
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrinting_PrintBuffer" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
29645
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
29647
PyThreadState* __tstate = wxPyBeginAllowThreads();
29648
result = (bool)(arg1)->PrintBuffer((wxRichTextBuffer const &)*arg2);
29649
wxPyEndAllowThreads(__tstate);
29650
if (PyErr_Occurred()) SWIG_fail;
29653
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29661
SWIGINTERN PyObject *_wrap_RichTextPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29662
PyObject *resultobj = 0;
29663
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29666
PyObject *swig_obj[1] ;
29668
if (!args) SWIG_fail;
29669
swig_obj[0] = args;
29670
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29671
if (!SWIG_IsOK(res1)) {
29672
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_PageSetup" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29674
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29676
PyThreadState* __tstate = wxPyBeginAllowThreads();
29677
(arg1)->PageSetup();
29678
wxPyEndAllowThreads(__tstate);
29679
if (PyErr_Occurred()) SWIG_fail;
29681
resultobj = SWIG_Py_Void();
29688
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetHeaderFooterData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29689
PyObject *resultobj = 0;
29690
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29691
wxRichTextHeaderFooterData *arg2 = 0 ;
29696
PyObject * obj0 = 0 ;
29697
PyObject * obj1 = 0 ;
29698
char * kwnames[] = {
29699
(char *) "self",(char *) "data", NULL
29702
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetHeaderFooterData",kwnames,&obj0,&obj1)) SWIG_fail;
29703
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29704
if (!SWIG_IsOK(res1)) {
29705
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetHeaderFooterData" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29707
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29708
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextHeaderFooterData, 0 | 0);
29709
if (!SWIG_IsOK(res2)) {
29710
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetHeaderFooterData" "', expected argument " "2"" of type '" "wxRichTextHeaderFooterData const &""'");
29713
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrinting_SetHeaderFooterData" "', expected argument " "2"" of type '" "wxRichTextHeaderFooterData const &""'");
29715
arg2 = reinterpret_cast< wxRichTextHeaderFooterData * >(argp2);
29717
PyThreadState* __tstate = wxPyBeginAllowThreads();
29718
(arg1)->SetHeaderFooterData((wxRichTextHeaderFooterData const &)*arg2);
29719
wxPyEndAllowThreads(__tstate);
29720
if (PyErr_Occurred()) SWIG_fail;
29722
resultobj = SWIG_Py_Void();
29729
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetHeaderFooterData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29730
PyObject *resultobj = 0;
29731
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29732
wxRichTextHeaderFooterData *result = 0 ;
29735
PyObject *swig_obj[1] ;
29737
if (!args) SWIG_fail;
29738
swig_obj[0] = args;
29739
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29740
if (!SWIG_IsOK(res1)) {
29741
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetHeaderFooterData" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
29743
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29745
PyThreadState* __tstate = wxPyBeginAllowThreads();
29747
wxRichTextHeaderFooterData const &_result_ref = ((wxRichTextPrinting const *)arg1)->GetHeaderFooterData();
29748
result = (wxRichTextHeaderFooterData *) &_result_ref;
29750
wxPyEndAllowThreads(__tstate);
29751
if (PyErr_Occurred()) SWIG_fail;
29753
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextHeaderFooterData, 0 | 0 );
29760
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetHeaderText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29761
PyObject *resultobj = 0;
29762
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29763
wxString *arg2 = 0 ;
29764
wxRichTextOddEvenPage arg3 = (wxRichTextOddEvenPage) wxRICHTEXT_PAGE_ALL ;
29765
wxRichTextPageLocation arg4 = (wxRichTextPageLocation) wxRICHTEXT_PAGE_CENTRE ;
29768
bool temp2 = false ;
29773
PyObject * obj0 = 0 ;
29774
PyObject * obj1 = 0 ;
29775
PyObject * obj2 = 0 ;
29776
PyObject * obj3 = 0 ;
29777
char * kwnames[] = {
29778
(char *) "self",(char *) "text",(char *) "page",(char *) "location", NULL
29781
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextPrinting_SetHeaderText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29782
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29783
if (!SWIG_IsOK(res1)) {
29784
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetHeaderText" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29786
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29788
arg2 = wxString_in_helper(obj1);
29789
if (arg2 == NULL) SWIG_fail;
29793
ecode3 = SWIG_AsVal_int(obj2, &val3);
29794
if (!SWIG_IsOK(ecode3)) {
29795
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextPrinting_SetHeaderText" "', expected argument " "3"" of type '" "wxRichTextOddEvenPage""'");
29797
arg3 = static_cast< wxRichTextOddEvenPage >(val3);
29800
ecode4 = SWIG_AsVal_int(obj3, &val4);
29801
if (!SWIG_IsOK(ecode4)) {
29802
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextPrinting_SetHeaderText" "', expected argument " "4"" of type '" "wxRichTextPageLocation""'");
29804
arg4 = static_cast< wxRichTextPageLocation >(val4);
29807
PyThreadState* __tstate = wxPyBeginAllowThreads();
29808
(arg1)->SetHeaderText((wxString const &)*arg2,arg3,arg4);
29809
wxPyEndAllowThreads(__tstate);
29810
if (PyErr_Occurred()) SWIG_fail;
29812
resultobj = SWIG_Py_Void();
29827
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetHeaderText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29828
PyObject *resultobj = 0;
29829
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29830
wxRichTextOddEvenPage arg2 = (wxRichTextOddEvenPage) wxRICHTEXT_PAGE_EVEN ;
29831
wxRichTextPageLocation arg3 = (wxRichTextPageLocation) wxRICHTEXT_PAGE_CENTRE ;
29839
PyObject * obj0 = 0 ;
29840
PyObject * obj1 = 0 ;
29841
PyObject * obj2 = 0 ;
29842
char * kwnames[] = {
29843
(char *) "self",(char *) "page",(char *) "location", NULL
29846
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextPrinting_GetHeaderText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29847
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29848
if (!SWIG_IsOK(res1)) {
29849
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetHeaderText" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
29851
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29853
ecode2 = SWIG_AsVal_int(obj1, &val2);
29854
if (!SWIG_IsOK(ecode2)) {
29855
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPrinting_GetHeaderText" "', expected argument " "2"" of type '" "wxRichTextOddEvenPage""'");
29857
arg2 = static_cast< wxRichTextOddEvenPage >(val2);
29860
ecode3 = SWIG_AsVal_int(obj2, &val3);
29861
if (!SWIG_IsOK(ecode3)) {
29862
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextPrinting_GetHeaderText" "', expected argument " "3"" of type '" "wxRichTextPageLocation""'");
29864
arg3 = static_cast< wxRichTextPageLocation >(val3);
29867
PyThreadState* __tstate = wxPyBeginAllowThreads();
29868
result = ((wxRichTextPrinting const *)arg1)->GetHeaderText(arg2,arg3);
29869
wxPyEndAllowThreads(__tstate);
29870
if (PyErr_Occurred()) SWIG_fail;
29874
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29876
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29885
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetFooterText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29886
PyObject *resultobj = 0;
29887
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29888
wxString *arg2 = 0 ;
29889
wxRichTextOddEvenPage arg3 = (wxRichTextOddEvenPage) wxRICHTEXT_PAGE_ALL ;
29890
wxRichTextPageLocation arg4 = (wxRichTextPageLocation) wxRICHTEXT_PAGE_CENTRE ;
29893
bool temp2 = false ;
29898
PyObject * obj0 = 0 ;
29899
PyObject * obj1 = 0 ;
29900
PyObject * obj2 = 0 ;
29901
PyObject * obj3 = 0 ;
29902
char * kwnames[] = {
29903
(char *) "self",(char *) "text",(char *) "page",(char *) "location", NULL
29906
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextPrinting_SetFooterText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29907
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29908
if (!SWIG_IsOK(res1)) {
29909
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetFooterText" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
29911
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29913
arg2 = wxString_in_helper(obj1);
29914
if (arg2 == NULL) SWIG_fail;
29918
ecode3 = SWIG_AsVal_int(obj2, &val3);
29919
if (!SWIG_IsOK(ecode3)) {
29920
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextPrinting_SetFooterText" "', expected argument " "3"" of type '" "wxRichTextOddEvenPage""'");
29922
arg3 = static_cast< wxRichTextOddEvenPage >(val3);
29925
ecode4 = SWIG_AsVal_int(obj3, &val4);
29926
if (!SWIG_IsOK(ecode4)) {
29927
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextPrinting_SetFooterText" "', expected argument " "4"" of type '" "wxRichTextPageLocation""'");
29929
arg4 = static_cast< wxRichTextPageLocation >(val4);
29932
PyThreadState* __tstate = wxPyBeginAllowThreads();
29933
(arg1)->SetFooterText((wxString const &)*arg2,arg3,arg4);
29934
wxPyEndAllowThreads(__tstate);
29935
if (PyErr_Occurred()) SWIG_fail;
29937
resultobj = SWIG_Py_Void();
29952
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetFooterText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29953
PyObject *resultobj = 0;
29954
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
29955
wxRichTextOddEvenPage arg2 = (wxRichTextOddEvenPage) wxRICHTEXT_PAGE_EVEN ;
29956
wxRichTextPageLocation arg3 = (wxRichTextPageLocation) wxRICHTEXT_PAGE_CENTRE ;
29964
PyObject * obj0 = 0 ;
29965
PyObject * obj1 = 0 ;
29966
PyObject * obj2 = 0 ;
29967
char * kwnames[] = {
29968
(char *) "self",(char *) "page",(char *) "location", NULL
29971
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextPrinting_GetFooterText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29972
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
29973
if (!SWIG_IsOK(res1)) {
29974
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetFooterText" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
29976
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
29978
ecode2 = SWIG_AsVal_int(obj1, &val2);
29979
if (!SWIG_IsOK(ecode2)) {
29980
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPrinting_GetFooterText" "', expected argument " "2"" of type '" "wxRichTextOddEvenPage""'");
29982
arg2 = static_cast< wxRichTextOddEvenPage >(val2);
29985
ecode3 = SWIG_AsVal_int(obj2, &val3);
29986
if (!SWIG_IsOK(ecode3)) {
29987
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextPrinting_GetFooterText" "', expected argument " "3"" of type '" "wxRichTextPageLocation""'");
29989
arg3 = static_cast< wxRichTextPageLocation >(val3);
29992
PyThreadState* __tstate = wxPyBeginAllowThreads();
29993
result = ((wxRichTextPrinting const *)arg1)->GetFooterText(arg2,arg3);
29994
wxPyEndAllowThreads(__tstate);
29995
if (PyErr_Occurred()) SWIG_fail;
29999
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30001
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30010
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetShowOnFirstPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30011
PyObject *resultobj = 0;
30012
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30018
PyObject * obj0 = 0 ;
30019
PyObject * obj1 = 0 ;
30020
char * kwnames[] = {
30021
(char *) "self",(char *) "show", NULL
30024
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetShowOnFirstPage",kwnames,&obj0,&obj1)) SWIG_fail;
30025
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30026
if (!SWIG_IsOK(res1)) {
30027
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetShowOnFirstPage" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30029
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30030
ecode2 = SWIG_AsVal_bool(obj1, &val2);
30031
if (!SWIG_IsOK(ecode2)) {
30032
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPrinting_SetShowOnFirstPage" "', expected argument " "2"" of type '" "bool""'");
30034
arg2 = static_cast< bool >(val2);
30036
PyThreadState* __tstate = wxPyBeginAllowThreads();
30037
(arg1)->SetShowOnFirstPage(arg2);
30038
wxPyEndAllowThreads(__tstate);
30039
if (PyErr_Occurred()) SWIG_fail;
30041
resultobj = SWIG_Py_Void();
30048
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetHeaderFooterFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30049
PyObject *resultobj = 0;
30050
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30056
PyObject * obj0 = 0 ;
30057
PyObject * obj1 = 0 ;
30058
char * kwnames[] = {
30059
(char *) "self",(char *) "font", NULL
30062
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetHeaderFooterFont",kwnames,&obj0,&obj1)) SWIG_fail;
30063
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30064
if (!SWIG_IsOK(res1)) {
30065
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetHeaderFooterFont" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30067
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30068
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
30069
if (!SWIG_IsOK(res2)) {
30070
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetHeaderFooterFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30073
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrinting_SetHeaderFooterFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30075
arg2 = reinterpret_cast< wxFont * >(argp2);
30077
PyThreadState* __tstate = wxPyBeginAllowThreads();
30078
(arg1)->SetHeaderFooterFont((wxFont const &)*arg2);
30079
wxPyEndAllowThreads(__tstate);
30080
if (PyErr_Occurred()) SWIG_fail;
30082
resultobj = SWIG_Py_Void();
30089
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetHeaderFooterTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30090
PyObject *resultobj = 0;
30091
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30092
wxColour *arg2 = 0 ;
30096
PyObject * obj0 = 0 ;
30097
PyObject * obj1 = 0 ;
30098
char * kwnames[] = {
30099
(char *) "self",(char *) "font", NULL
30102
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetHeaderFooterTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30103
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30104
if (!SWIG_IsOK(res1)) {
30105
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetHeaderFooterTextColour" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30107
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30110
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30113
PyThreadState* __tstate = wxPyBeginAllowThreads();
30114
(arg1)->SetHeaderFooterTextColour((wxColour const &)*arg2);
30115
wxPyEndAllowThreads(__tstate);
30116
if (PyErr_Occurred()) SWIG_fail;
30118
resultobj = SWIG_Py_Void();
30125
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30126
PyObject *resultobj = 0;
30127
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30128
wxPrintData *result = 0 ;
30131
PyObject *swig_obj[1] ;
30133
if (!args) SWIG_fail;
30134
swig_obj[0] = args;
30135
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30136
if (!SWIG_IsOK(res1)) {
30137
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30139
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30141
PyThreadState* __tstate = wxPyBeginAllowThreads();
30142
result = (wxPrintData *)(arg1)->GetPrintData();
30143
wxPyEndAllowThreads(__tstate);
30144
if (PyErr_Occurred()) SWIG_fail;
30146
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
30153
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30154
PyObject *resultobj = 0;
30155
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30156
wxPageSetupDialogData *result = 0 ;
30159
PyObject *swig_obj[1] ;
30161
if (!args) SWIG_fail;
30162
swig_obj[0] = args;
30163
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30164
if (!SWIG_IsOK(res1)) {
30165
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30167
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30169
PyThreadState* __tstate = wxPyBeginAllowThreads();
30170
result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
30171
wxPyEndAllowThreads(__tstate);
30172
if (PyErr_Occurred()) SWIG_fail;
30174
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
30181
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30182
PyObject *resultobj = 0;
30183
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30184
wxPrintData *arg2 = 0 ;
30189
PyObject * obj0 = 0 ;
30190
PyObject * obj1 = 0 ;
30191
char * kwnames[] = {
30192
(char *) "self",(char *) "printData", NULL
30195
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
30196
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30197
if (!SWIG_IsOK(res1)) {
30198
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetPrintData" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30200
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30201
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
30202
if (!SWIG_IsOK(res2)) {
30203
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
30206
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrinting_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
30208
arg2 = reinterpret_cast< wxPrintData * >(argp2);
30210
PyThreadState* __tstate = wxPyBeginAllowThreads();
30211
(arg1)->SetPrintData((wxPrintData const &)*arg2);
30212
wxPyEndAllowThreads(__tstate);
30213
if (PyErr_Occurred()) SWIG_fail;
30215
resultobj = SWIG_Py_Void();
30222
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30223
PyObject *resultobj = 0;
30224
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30225
wxPageSetupData *arg2 = 0 ;
30230
PyObject * obj0 = 0 ;
30231
PyObject * obj1 = 0 ;
30232
char * kwnames[] = {
30233
(char *) "self",(char *) "pageSetupData", NULL
30236
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetPageSetupData",kwnames,&obj0,&obj1)) SWIG_fail;
30237
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30238
if (!SWIG_IsOK(res1)) {
30239
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetPageSetupData" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30241
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30242
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupData, 0 | 0);
30243
if (!SWIG_IsOK(res2)) {
30244
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetPageSetupData" "', expected argument " "2"" of type '" "wxPageSetupData const &""'");
30247
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPrinting_SetPageSetupData" "', expected argument " "2"" of type '" "wxPageSetupData const &""'");
30249
arg2 = reinterpret_cast< wxPageSetupData * >(argp2);
30251
PyThreadState* __tstate = wxPyBeginAllowThreads();
30252
(arg1)->SetPageSetupData((wxPageSetupData const &)*arg2);
30253
wxPyEndAllowThreads(__tstate);
30254
if (PyErr_Occurred()) SWIG_fail;
30256
resultobj = SWIG_Py_Void();
30263
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetRichTextBufferPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30264
PyObject *resultobj = 0;
30265
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30266
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
30271
PyObject * obj0 = 0 ;
30272
PyObject * obj1 = 0 ;
30273
char * kwnames[] = {
30274
(char *) "self",(char *) "buf", NULL
30277
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetRichTextBufferPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30278
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30279
if (!SWIG_IsOK(res1)) {
30280
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetRichTextBufferPreview" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30282
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30283
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
30284
if (!SWIG_IsOK(res2)) {
30285
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetRichTextBufferPreview" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
30287
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
30289
PyThreadState* __tstate = wxPyBeginAllowThreads();
30290
(arg1)->SetRichTextBufferPreview(arg2);
30291
wxPyEndAllowThreads(__tstate);
30292
if (PyErr_Occurred()) SWIG_fail;
30294
resultobj = SWIG_Py_Void();
30301
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetRichTextBufferPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30302
PyObject *resultobj = 0;
30303
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30304
wxRichTextBuffer *result = 0 ;
30307
PyObject *swig_obj[1] ;
30309
if (!args) SWIG_fail;
30310
swig_obj[0] = args;
30311
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30312
if (!SWIG_IsOK(res1)) {
30313
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetRichTextBufferPreview" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
30315
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30317
PyThreadState* __tstate = wxPyBeginAllowThreads();
30318
result = (wxRichTextBuffer *)((wxRichTextPrinting const *)arg1)->GetRichTextBufferPreview();
30319
wxPyEndAllowThreads(__tstate);
30320
if (PyErr_Occurred()) SWIG_fail;
30322
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
30329
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetRichTextBufferPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30330
PyObject *resultobj = 0;
30331
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30332
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
30337
PyObject * obj0 = 0 ;
30338
PyObject * obj1 = 0 ;
30339
char * kwnames[] = {
30340
(char *) "self",(char *) "buf", NULL
30343
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetRichTextBufferPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
30344
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30345
if (!SWIG_IsOK(res1)) {
30346
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetRichTextBufferPrinting" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30348
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30349
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
30350
if (!SWIG_IsOK(res2)) {
30351
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetRichTextBufferPrinting" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
30353
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
30355
PyThreadState* __tstate = wxPyBeginAllowThreads();
30356
(arg1)->SetRichTextBufferPrinting(arg2);
30357
wxPyEndAllowThreads(__tstate);
30358
if (PyErr_Occurred()) SWIG_fail;
30360
resultobj = SWIG_Py_Void();
30367
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetRichTextBufferPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30368
PyObject *resultobj = 0;
30369
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30370
wxRichTextBuffer *result = 0 ;
30373
PyObject *swig_obj[1] ;
30375
if (!args) SWIG_fail;
30376
swig_obj[0] = args;
30377
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30378
if (!SWIG_IsOK(res1)) {
30379
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetRichTextBufferPrinting" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
30381
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30383
PyThreadState* __tstate = wxPyBeginAllowThreads();
30384
result = (wxRichTextBuffer *)((wxRichTextPrinting const *)arg1)->GetRichTextBufferPrinting();
30385
wxPyEndAllowThreads(__tstate);
30386
if (PyErr_Occurred()) SWIG_fail;
30388
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
30395
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30396
PyObject *resultobj = 0;
30397
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30398
wxWindow *arg2 = (wxWindow *) 0 ;
30403
PyObject * obj0 = 0 ;
30404
PyObject * obj1 = 0 ;
30405
char * kwnames[] = {
30406
(char *) "self",(char *) "parent", NULL
30409
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
30410
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30411
if (!SWIG_IsOK(res1)) {
30412
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetParentWindow" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30414
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30415
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30416
if (!SWIG_IsOK(res2)) {
30417
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPrinting_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
30419
arg2 = reinterpret_cast< wxWindow * >(argp2);
30421
PyThreadState* __tstate = wxPyBeginAllowThreads();
30422
(arg1)->SetParentWindow(arg2);
30423
wxPyEndAllowThreads(__tstate);
30424
if (PyErr_Occurred()) SWIG_fail;
30426
resultobj = SWIG_Py_Void();
30433
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30434
PyObject *resultobj = 0;
30435
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30436
wxWindow *result = 0 ;
30439
PyObject *swig_obj[1] ;
30441
if (!args) SWIG_fail;
30442
swig_obj[0] = args;
30443
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30444
if (!SWIG_IsOK(res1)) {
30445
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetParentWindow" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
30447
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30449
PyThreadState* __tstate = wxPyBeginAllowThreads();
30450
result = (wxWindow *)((wxRichTextPrinting const *)arg1)->GetParentWindow();
30451
wxPyEndAllowThreads(__tstate);
30452
if (PyErr_Occurred()) SWIG_fail;
30455
resultobj = wxPyMake_wxObject(result, 0);
30463
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30464
PyObject *resultobj = 0;
30465
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30466
wxString *arg2 = 0 ;
30469
bool temp2 = false ;
30470
PyObject * obj0 = 0 ;
30471
PyObject * obj1 = 0 ;
30472
char * kwnames[] = {
30473
(char *) "self",(char *) "title", NULL
30476
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
30477
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30478
if (!SWIG_IsOK(res1)) {
30479
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetTitle" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30481
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30483
arg2 = wxString_in_helper(obj1);
30484
if (arg2 == NULL) SWIG_fail;
30488
PyThreadState* __tstate = wxPyBeginAllowThreads();
30489
(arg1)->SetTitle((wxString const &)*arg2);
30490
wxPyEndAllowThreads(__tstate);
30491
if (PyErr_Occurred()) SWIG_fail;
30493
resultobj = SWIG_Py_Void();
30508
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30509
PyObject *resultobj = 0;
30510
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30511
wxString *result = 0 ;
30514
PyObject *swig_obj[1] ;
30516
if (!args) SWIG_fail;
30517
swig_obj[0] = args;
30518
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30519
if (!SWIG_IsOK(res1)) {
30520
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetTitle" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
30522
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30524
PyThreadState* __tstate = wxPyBeginAllowThreads();
30526
wxString const &_result_ref = ((wxRichTextPrinting const *)arg1)->GetTitle();
30527
result = (wxString *) &_result_ref;
30529
wxPyEndAllowThreads(__tstate);
30530
if (PyErr_Occurred()) SWIG_fail;
30534
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30536
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30545
SWIGINTERN PyObject *_wrap_RichTextPrinting_SetPreviewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30546
PyObject *resultobj = 0;
30547
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30552
PyObject * obj0 = 0 ;
30553
PyObject * obj1 = 0 ;
30554
char * kwnames[] = {
30555
(char *) "self",(char *) "rect", NULL
30558
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPrinting_SetPreviewRect",kwnames,&obj0,&obj1)) SWIG_fail;
30559
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30560
if (!SWIG_IsOK(res1)) {
30561
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_SetPreviewRect" "', expected argument " "1"" of type '" "wxRichTextPrinting *""'");
30563
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30566
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
30569
PyThreadState* __tstate = wxPyBeginAllowThreads();
30570
(arg1)->SetPreviewRect((wxRect const &)*arg2);
30571
wxPyEndAllowThreads(__tstate);
30572
if (PyErr_Occurred()) SWIG_fail;
30574
resultobj = SWIG_Py_Void();
30581
SWIGINTERN PyObject *_wrap_RichTextPrinting_GetPreviewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30582
PyObject *resultobj = 0;
30583
wxRichTextPrinting *arg1 = (wxRichTextPrinting *) 0 ;
30584
wxRect *result = 0 ;
30587
PyObject *swig_obj[1] ;
30589
if (!args) SWIG_fail;
30590
swig_obj[0] = args;
30591
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPrinting, 0 | 0 );
30592
if (!SWIG_IsOK(res1)) {
30593
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPrinting_GetPreviewRect" "', expected argument " "1"" of type '" "wxRichTextPrinting const *""'");
30595
arg1 = reinterpret_cast< wxRichTextPrinting * >(argp1);
30597
PyThreadState* __tstate = wxPyBeginAllowThreads();
30599
wxRect const &_result_ref = ((wxRichTextPrinting const *)arg1)->GetPreviewRect();
30600
result = (wxRect *) &_result_ref;
30602
wxPyEndAllowThreads(__tstate);
30603
if (PyErr_Occurred()) SWIG_fail;
30605
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
30612
SWIGINTERN PyObject *RichTextPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30614
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30615
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPrinting, SWIG_NewClientData(obj));
30616
return SWIG_Py_Void();
30619
SWIGINTERN PyObject *RichTextPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30620
return SWIG_Python_InitShadowInstance(args);
30623
static PyMethodDef SwigMethods[] = {
30624
{ (char *)"new_RichTextRange", (PyCFunction) _wrap_new_RichTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
30625
{ (char *)"delete_RichTextRange", (PyCFunction)_wrap_delete_RichTextRange, METH_O, NULL},
30626
{ (char *)"RichTextRange___eq__", (PyCFunction) _wrap_RichTextRange___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
30627
{ (char *)"RichTextRange___sub__", (PyCFunction) _wrap_RichTextRange___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
30628
{ (char *)"RichTextRange___add__", (PyCFunction) _wrap_RichTextRange___add__, METH_VARARGS | METH_KEYWORDS, NULL},
30629
{ (char *)"RichTextRange_SetRange", (PyCFunction) _wrap_RichTextRange_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30630
{ (char *)"RichTextRange_SetStart", (PyCFunction) _wrap_RichTextRange_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
30631
{ (char *)"RichTextRange_GetStart", (PyCFunction)_wrap_RichTextRange_GetStart, METH_O, NULL},
30632
{ (char *)"RichTextRange_SetEnd", (PyCFunction) _wrap_RichTextRange_SetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
30633
{ (char *)"RichTextRange_GetEnd", (PyCFunction)_wrap_RichTextRange_GetEnd, METH_O, NULL},
30634
{ (char *)"RichTextRange_IsOutside", (PyCFunction) _wrap_RichTextRange_IsOutside, METH_VARARGS | METH_KEYWORDS, NULL},
30635
{ (char *)"RichTextRange_IsWithin", (PyCFunction) _wrap_RichTextRange_IsWithin, METH_VARARGS | METH_KEYWORDS, NULL},
30636
{ (char *)"RichTextRange_Contains", (PyCFunction) _wrap_RichTextRange_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
30637
{ (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL},
30638
{ (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL},
30639
{ (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL},
30640
{ (char *)"RichTextRange_ToInternal", (PyCFunction)_wrap_RichTextRange_ToInternal, METH_O, NULL},
30641
{ (char *)"RichTextRange_FromInternal", (PyCFunction)_wrap_RichTextRange_FromInternal, METH_O, NULL},
30642
{ (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL},
30643
{ (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL},
30644
{ (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL},
30645
{ (char *)"new_TextAttrEx", (PyCFunction)_wrap_new_TextAttrEx, METH_NOARGS, NULL},
30646
{ (char *)"delete_TextAttrEx", (PyCFunction)_wrap_delete_TextAttrEx, METH_O, NULL},
30647
{ (char *)"TextAttrEx_Init", (PyCFunction)_wrap_TextAttrEx_Init, METH_O, NULL},
30648
{ (char *)"TextAttrEx_Copy", (PyCFunction) _wrap_TextAttrEx_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30649
{ (char *)"TextAttrEx_SetTextColour", (PyCFunction) _wrap_TextAttrEx_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
30650
{ (char *)"TextAttrEx_SetBackgroundColour", (PyCFunction) _wrap_TextAttrEx_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
30651
{ (char *)"TextAttrEx_SetFont", (PyCFunction) _wrap_TextAttrEx_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
30652
{ (char *)"TextAttrEx_SetAlignment", (PyCFunction) _wrap_TextAttrEx_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30653
{ (char *)"TextAttrEx_SetTabs", (PyCFunction) _wrap_TextAttrEx_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
30654
{ (char *)"TextAttrEx_SetLeftIndent", (PyCFunction) _wrap_TextAttrEx_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
30655
{ (char *)"TextAttrEx_SetRightIndent", (PyCFunction) _wrap_TextAttrEx_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
30656
{ (char *)"TextAttrEx_SetFlags", (PyCFunction) _wrap_TextAttrEx_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30657
{ (char *)"TextAttrEx_HasTextColour", (PyCFunction)_wrap_TextAttrEx_HasTextColour, METH_O, NULL},
30658
{ (char *)"TextAttrEx_HasBackgroundColour", (PyCFunction)_wrap_TextAttrEx_HasBackgroundColour, METH_O, NULL},
30659
{ (char *)"TextAttrEx_HasFont", (PyCFunction)_wrap_TextAttrEx_HasFont, METH_O, NULL},
30660
{ (char *)"TextAttrEx_HasAlignment", (PyCFunction)_wrap_TextAttrEx_HasAlignment, METH_O, NULL},
30661
{ (char *)"TextAttrEx_HasTabs", (PyCFunction)_wrap_TextAttrEx_HasTabs, METH_O, NULL},
30662
{ (char *)"TextAttrEx_HasLeftIndent", (PyCFunction)_wrap_TextAttrEx_HasLeftIndent, METH_O, NULL},
30663
{ (char *)"TextAttrEx_HasRightIndent", (PyCFunction)_wrap_TextAttrEx_HasRightIndent, METH_O, NULL},
30664
{ (char *)"TextAttrEx_HasFlag", (PyCFunction) _wrap_TextAttrEx_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
30665
{ (char *)"TextAttrEx_GetTextColour", (PyCFunction)_wrap_TextAttrEx_GetTextColour, METH_O, NULL},
30666
{ (char *)"TextAttrEx_GetBackgroundColour", (PyCFunction)_wrap_TextAttrEx_GetBackgroundColour, METH_O, NULL},
30667
{ (char *)"TextAttrEx_GetFont", (PyCFunction)_wrap_TextAttrEx_GetFont, METH_O, NULL},
30668
{ (char *)"TextAttrEx_GetAlignment", (PyCFunction)_wrap_TextAttrEx_GetAlignment, METH_O, NULL},
30669
{ (char *)"TextAttrEx_GetTabs", (PyCFunction)_wrap_TextAttrEx_GetTabs, METH_O, NULL},
30670
{ (char *)"TextAttrEx_GetLeftIndent", (PyCFunction)_wrap_TextAttrEx_GetLeftIndent, METH_O, NULL},
30671
{ (char *)"TextAttrEx_GetLeftSubIndent", (PyCFunction)_wrap_TextAttrEx_GetLeftSubIndent, METH_O, NULL},
30672
{ (char *)"TextAttrEx_GetRightIndent", (PyCFunction)_wrap_TextAttrEx_GetRightIndent, METH_O, NULL},
30673
{ (char *)"TextAttrEx_GetFlags", (PyCFunction)_wrap_TextAttrEx_GetFlags, METH_O, NULL},
30674
{ (char *)"TextAttrEx_SetCharacterStyleName", (PyCFunction) _wrap_TextAttrEx_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
30675
{ (char *)"TextAttrEx_SetParagraphStyleName", (PyCFunction) _wrap_TextAttrEx_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
30676
{ (char *)"TextAttrEx_SetListStyleName", (PyCFunction) _wrap_TextAttrEx_SetListStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
30677
{ (char *)"TextAttrEx_SetParagraphSpacingAfter", (PyCFunction) _wrap_TextAttrEx_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
30678
{ (char *)"TextAttrEx_SetParagraphSpacingBefore", (PyCFunction) _wrap_TextAttrEx_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
30679
{ (char *)"TextAttrEx_SetLineSpacing", (PyCFunction) _wrap_TextAttrEx_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
30680
{ (char *)"TextAttrEx_SetBulletStyle", (PyCFunction) _wrap_TextAttrEx_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30681
{ (char *)"TextAttrEx_SetBulletNumber", (PyCFunction) _wrap_TextAttrEx_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
30682
{ (char *)"TextAttrEx_SetBulletText", (PyCFunction) _wrap_TextAttrEx_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL},
30683
{ (char *)"TextAttrEx_SetBulletName", (PyCFunction) _wrap_TextAttrEx_SetBulletName, METH_VARARGS | METH_KEYWORDS, NULL},
30684
{ (char *)"TextAttrEx_SetBulletFont", (PyCFunction) _wrap_TextAttrEx_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL},
30685
{ (char *)"TextAttrEx_SetURL", (PyCFunction) _wrap_TextAttrEx_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
30686
{ (char *)"TextAttrEx_SetPageBreak", (PyCFunction) _wrap_TextAttrEx_SetPageBreak, METH_VARARGS | METH_KEYWORDS, NULL},
30687
{ (char *)"TextAttrEx_SetTextEffects", (PyCFunction) _wrap_TextAttrEx_SetTextEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30688
{ (char *)"TextAttrEx_SetTextEffectFlags", (PyCFunction) _wrap_TextAttrEx_SetTextEffectFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30689
{ (char *)"TextAttrEx_SetOutlineLevel", (PyCFunction) _wrap_TextAttrEx_SetOutlineLevel, METH_VARARGS | METH_KEYWORDS, NULL},
30690
{ (char *)"TextAttrEx_SetFontSize", (PyCFunction) _wrap_TextAttrEx_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
30691
{ (char *)"TextAttrEx_SetFontStyle", (PyCFunction) _wrap_TextAttrEx_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30692
{ (char *)"TextAttrEx_SetFontWeight", (PyCFunction) _wrap_TextAttrEx_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL},
30693
{ (char *)"TextAttrEx_SetFontFaceName", (PyCFunction) _wrap_TextAttrEx_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
30694
{ (char *)"TextAttrEx_SetFontUnderlined", (PyCFunction) _wrap_TextAttrEx_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
30695
{ (char *)"TextAttrEx_GetCharacterStyleName", (PyCFunction)_wrap_TextAttrEx_GetCharacterStyleName, METH_O, NULL},
30696
{ (char *)"TextAttrEx_GetParagraphStyleName", (PyCFunction)_wrap_TextAttrEx_GetParagraphStyleName, METH_O, NULL},
30697
{ (char *)"TextAttrEx_GetListStyleName", (PyCFunction)_wrap_TextAttrEx_GetListStyleName, METH_O, NULL},
30698
{ (char *)"TextAttrEx_GetParagraphSpacingAfter", (PyCFunction)_wrap_TextAttrEx_GetParagraphSpacingAfter, METH_O, NULL},
30699
{ (char *)"TextAttrEx_GetParagraphSpacingBefore", (PyCFunction)_wrap_TextAttrEx_GetParagraphSpacingBefore, METH_O, NULL},
30700
{ (char *)"TextAttrEx_GetLineSpacing", (PyCFunction)_wrap_TextAttrEx_GetLineSpacing, METH_O, NULL},
30701
{ (char *)"TextAttrEx_GetBulletStyle", (PyCFunction)_wrap_TextAttrEx_GetBulletStyle, METH_O, NULL},
30702
{ (char *)"TextAttrEx_GetBulletNumber", (PyCFunction)_wrap_TextAttrEx_GetBulletNumber, METH_O, NULL},
30703
{ (char *)"TextAttrEx_GetBulletText", (PyCFunction)_wrap_TextAttrEx_GetBulletText, METH_O, NULL},
30704
{ (char *)"TextAttrEx_GetBulletName", (PyCFunction)_wrap_TextAttrEx_GetBulletName, METH_O, NULL},
30705
{ (char *)"TextAttrEx_GetBulletFont", (PyCFunction)_wrap_TextAttrEx_GetBulletFont, METH_O, NULL},
30706
{ (char *)"TextAttrEx_GetURL", (PyCFunction)_wrap_TextAttrEx_GetURL, METH_O, NULL},
30707
{ (char *)"TextAttrEx_GetTextEffects", (PyCFunction)_wrap_TextAttrEx_GetTextEffects, METH_O, NULL},
30708
{ (char *)"TextAttrEx_GetTextEffectFlags", (PyCFunction)_wrap_TextAttrEx_GetTextEffectFlags, METH_O, NULL},
30709
{ (char *)"TextAttrEx_GetOutlineLevel", (PyCFunction)_wrap_TextAttrEx_GetOutlineLevel, METH_O, NULL},
30710
{ (char *)"TextAttrEx_HasFontWeight", (PyCFunction)_wrap_TextAttrEx_HasFontWeight, METH_O, NULL},
30711
{ (char *)"TextAttrEx_HasFontSize", (PyCFunction)_wrap_TextAttrEx_HasFontSize, METH_O, NULL},
30712
{ (char *)"TextAttrEx_HasFontItalic", (PyCFunction)_wrap_TextAttrEx_HasFontItalic, METH_O, NULL},
30713
{ (char *)"TextAttrEx_HasFontUnderlined", (PyCFunction)_wrap_TextAttrEx_HasFontUnderlined, METH_O, NULL},
30714
{ (char *)"TextAttrEx_HasFontFaceName", (PyCFunction)_wrap_TextAttrEx_HasFontFaceName, METH_O, NULL},
30715
{ (char *)"TextAttrEx_HasParagraphSpacingAfter", (PyCFunction)_wrap_TextAttrEx_HasParagraphSpacingAfter, METH_O, NULL},
30716
{ (char *)"TextAttrEx_HasParagraphSpacingBefore", (PyCFunction)_wrap_TextAttrEx_HasParagraphSpacingBefore, METH_O, NULL},
30717
{ (char *)"TextAttrEx_HasLineSpacing", (PyCFunction)_wrap_TextAttrEx_HasLineSpacing, METH_O, NULL},
30718
{ (char *)"TextAttrEx_HasCharacterStyleName", (PyCFunction)_wrap_TextAttrEx_HasCharacterStyleName, METH_O, NULL},
30719
{ (char *)"TextAttrEx_HasParagraphStyleName", (PyCFunction)_wrap_TextAttrEx_HasParagraphStyleName, METH_O, NULL},
30720
{ (char *)"TextAttrEx_HasListStyleName", (PyCFunction)_wrap_TextAttrEx_HasListStyleName, METH_O, NULL},
30721
{ (char *)"TextAttrEx_HasBulletStyle", (PyCFunction)_wrap_TextAttrEx_HasBulletStyle, METH_O, NULL},
30722
{ (char *)"TextAttrEx_HasBulletNumber", (PyCFunction)_wrap_TextAttrEx_HasBulletNumber, METH_O, NULL},
30723
{ (char *)"TextAttrEx_HasBulletText", (PyCFunction)_wrap_TextAttrEx_HasBulletText, METH_O, NULL},
30724
{ (char *)"TextAttrEx_HasBulletName", (PyCFunction)_wrap_TextAttrEx_HasBulletName, METH_O, NULL},
30725
{ (char *)"TextAttrEx_HasURL", (PyCFunction)_wrap_TextAttrEx_HasURL, METH_O, NULL},
30726
{ (char *)"TextAttrEx_HasPageBreak", (PyCFunction)_wrap_TextAttrEx_HasPageBreak, METH_O, NULL},
30727
{ (char *)"TextAttrEx_HasTextEffects", (PyCFunction)_wrap_TextAttrEx_HasTextEffects, METH_O, NULL},
30728
{ (char *)"TextAttrEx_HasTextEffect", (PyCFunction) _wrap_TextAttrEx_HasTextEffect, METH_VARARGS | METH_KEYWORDS, NULL},
30729
{ (char *)"TextAttrEx_HasOutlineLevel", (PyCFunction)_wrap_TextAttrEx_HasOutlineLevel, METH_O, NULL},
30730
{ (char *)"TextAttrEx_IsCharacterStyle", (PyCFunction)_wrap_TextAttrEx_IsCharacterStyle, METH_O, NULL},
30731
{ (char *)"TextAttrEx_IsParagraphStyle", (PyCFunction)_wrap_TextAttrEx_IsParagraphStyle, METH_O, NULL},
30732
{ (char *)"TextAttrEx_IsDefault", (PyCFunction)_wrap_TextAttrEx_IsDefault, METH_O, NULL},
30733
{ (char *)"TextAttrEx_CombineEx", (PyCFunction) _wrap_TextAttrEx_CombineEx, METH_VARARGS | METH_KEYWORDS, NULL},
30734
{ (char *)"TextAttrEx_swigregister", TextAttrEx_swigregister, METH_VARARGS, NULL},
30735
{ (char *)"TextAttrEx_swiginit", TextAttrEx_swiginit, METH_VARARGS, NULL},
30736
{ (char *)"delete_RichTextObject", (PyCFunction)_wrap_delete_RichTextObject, METH_O, NULL},
30737
{ (char *)"RichTextObject_Draw", (PyCFunction) _wrap_RichTextObject_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
30738
{ (char *)"RichTextObject_Layout", (PyCFunction) _wrap_RichTextObject_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
30739
{ (char *)"RichTextObject_HitTest", (PyCFunction) _wrap_RichTextObject_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30740
{ (char *)"RichTextObject_FindPosition", (PyCFunction) _wrap_RichTextObject_FindPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30741
{ (char *)"RichTextObject_GetBestSize", (PyCFunction)_wrap_RichTextObject_GetBestSize, METH_O, NULL},
30742
{ (char *)"RichTextObject_GetRangeSize", (PyCFunction) _wrap_RichTextObject_GetRangeSize, METH_VARARGS | METH_KEYWORDS, NULL},
30743
{ (char *)"RichTextObject_DoSplit", (PyCFunction) _wrap_RichTextObject_DoSplit, METH_VARARGS | METH_KEYWORDS, NULL},
30744
{ (char *)"RichTextObject_CalculateRange", (PyCFunction) _wrap_RichTextObject_CalculateRange, METH_VARARGS | METH_KEYWORDS, NULL},
30745
{ (char *)"RichTextObject_DeleteRange", (PyCFunction) _wrap_RichTextObject_DeleteRange, METH_VARARGS | METH_KEYWORDS, NULL},
30746
{ (char *)"RichTextObject_IsEmpty", (PyCFunction)_wrap_RichTextObject_IsEmpty, METH_O, NULL},
30747
{ (char *)"RichTextObject_GetTextForRange", (PyCFunction) _wrap_RichTextObject_GetTextForRange, METH_VARARGS | METH_KEYWORDS, NULL},
30748
{ (char *)"RichTextObject_CanMerge", (PyCFunction) _wrap_RichTextObject_CanMerge, METH_VARARGS | METH_KEYWORDS, NULL},
30749
{ (char *)"RichTextObject_Merge", (PyCFunction) _wrap_RichTextObject_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
30750
{ (char *)"RichTextObject_Dump", (PyCFunction)_wrap_RichTextObject_Dump, METH_O, NULL},
30751
{ (char *)"RichTextObject_GetCachedSize", (PyCFunction)_wrap_RichTextObject_GetCachedSize, METH_O, NULL},
30752
{ (char *)"RichTextObject_SetCachedSize", (PyCFunction) _wrap_RichTextObject_SetCachedSize, METH_VARARGS | METH_KEYWORDS, NULL},
30753
{ (char *)"RichTextObject_GetPosition", (PyCFunction)_wrap_RichTextObject_GetPosition, METH_O, NULL},
30754
{ (char *)"RichTextObject_SetPosition", (PyCFunction) _wrap_RichTextObject_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30755
{ (char *)"RichTextObject_GetRect", (PyCFunction)_wrap_RichTextObject_GetRect, METH_O, NULL},
30756
{ (char *)"RichTextObject_SetRange", (PyCFunction) _wrap_RichTextObject_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30757
{ (char *)"RichTextObject_GetRange", (PyCFunction)_wrap_RichTextObject_GetRange, METH_O, NULL},
30758
{ (char *)"RichTextObject_GetDirty", (PyCFunction)_wrap_RichTextObject_GetDirty, METH_O, NULL},
30759
{ (char *)"RichTextObject_SetDirty", (PyCFunction) _wrap_RichTextObject_SetDirty, METH_VARARGS | METH_KEYWORDS, NULL},
30760
{ (char *)"RichTextObject_IsComposite", (PyCFunction)_wrap_RichTextObject_IsComposite, METH_O, NULL},
30761
{ (char *)"RichTextObject_GetParent", (PyCFunction)_wrap_RichTextObject_GetParent, METH_O, NULL},
30762
{ (char *)"RichTextObject_SetParent", (PyCFunction) _wrap_RichTextObject_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
30763
{ (char *)"RichTextObject_SetSameMargins", (PyCFunction) _wrap_RichTextObject_SetSameMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30764
{ (char *)"RichTextObject_SetMargins", (PyCFunction) _wrap_RichTextObject_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30765
{ (char *)"RichTextObject_GetLeftMargin", (PyCFunction)_wrap_RichTextObject_GetLeftMargin, METH_O, NULL},
30766
{ (char *)"RichTextObject_GetRightMargin", (PyCFunction)_wrap_RichTextObject_GetRightMargin, METH_O, NULL},
30767
{ (char *)"RichTextObject_GetTopMargin", (PyCFunction)_wrap_RichTextObject_GetTopMargin, METH_O, NULL},
30768
{ (char *)"RichTextObject_GetBottomMargin", (PyCFunction)_wrap_RichTextObject_GetBottomMargin, METH_O, NULL},
30769
{ (char *)"RichTextObject_SetAttributes", (PyCFunction) _wrap_RichTextObject_SetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30770
{ (char *)"RichTextObject_GetAttributes", (PyCFunction)_wrap_RichTextObject_GetAttributes, METH_O, NULL},
30771
{ (char *)"RichTextObject_SetDescent", (PyCFunction) _wrap_RichTextObject_SetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
30772
{ (char *)"RichTextObject_GetDescent", (PyCFunction)_wrap_RichTextObject_GetDescent, METH_O, NULL},
30773
{ (char *)"RichTextObject_GetBuffer", (PyCFunction)_wrap_RichTextObject_GetBuffer, METH_O, NULL},
30774
{ (char *)"RichTextObject_Clone", (PyCFunction)_wrap_RichTextObject_Clone, METH_O, NULL},
30775
{ (char *)"RichTextObject_Copy", (PyCFunction) _wrap_RichTextObject_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30776
{ (char *)"RichTextObject_Reference", (PyCFunction)_wrap_RichTextObject_Reference, METH_O, NULL},
30777
{ (char *)"RichTextObject_Dereference", (PyCFunction)_wrap_RichTextObject_Dereference, METH_O, NULL},
30778
{ (char *)"RichTextObject_ConvertTenthsMMToPixelsDC", (PyCFunction) _wrap_RichTextObject_ConvertTenthsMMToPixelsDC, METH_VARARGS | METH_KEYWORDS, NULL},
30779
{ (char *)"RichTextObject_ConvertTenthsMMToPixels", (PyCFunction) _wrap_RichTextObject_ConvertTenthsMMToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
30780
{ (char *)"RichTextObject_swigregister", RichTextObject_swigregister, METH_VARARGS, NULL},
30781
{ (char *)"delete_RichTextObjectList_iterator", (PyCFunction)_wrap_delete_RichTextObjectList_iterator, METH_O, NULL},
30782
{ (char *)"RichTextObjectList_iterator_next", (PyCFunction)_wrap_RichTextObjectList_iterator_next, METH_O, NULL},
30783
{ (char *)"RichTextObjectList_iterator_swigregister", RichTextObjectList_iterator_swigregister, METH_VARARGS, NULL},
30784
{ (char *)"delete_RichTextObjectList", (PyCFunction)_wrap_delete_RichTextObjectList, METH_O, NULL},
30785
{ (char *)"RichTextObjectList___len__", (PyCFunction)_wrap_RichTextObjectList___len__, METH_O, NULL},
30786
{ (char *)"RichTextObjectList___getitem__", (PyCFunction) _wrap_RichTextObjectList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
30787
{ (char *)"RichTextObjectList___contains__", (PyCFunction) _wrap_RichTextObjectList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
30788
{ (char *)"RichTextObjectList___iter__", (PyCFunction)_wrap_RichTextObjectList___iter__, METH_O, NULL},
30789
{ (char *)"RichTextObjectList_index", (PyCFunction) _wrap_RichTextObjectList_index, METH_VARARGS | METH_KEYWORDS, NULL},
30790
{ (char *)"RichTextObjectList_swigregister", RichTextObjectList_swigregister, METH_VARARGS, NULL},
30791
{ (char *)"delete_RichTextCompositeObject", (PyCFunction)_wrap_delete_RichTextCompositeObject, METH_O, NULL},
30792
{ (char *)"RichTextCompositeObject_GetChildren", (PyCFunction)_wrap_RichTextCompositeObject_GetChildren, METH_O, NULL},
30793
{ (char *)"RichTextCompositeObject_GetChildCount", (PyCFunction)_wrap_RichTextCompositeObject_GetChildCount, METH_O, NULL},
30794
{ (char *)"RichTextCompositeObject_GetChild", (PyCFunction) _wrap_RichTextCompositeObject_GetChild, METH_VARARGS | METH_KEYWORDS, NULL},
30795
{ (char *)"RichTextCompositeObject_Copy", (PyCFunction) _wrap_RichTextCompositeObject_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30796
{ (char *)"RichTextCompositeObject_AppendChild", (PyCFunction) _wrap_RichTextCompositeObject_AppendChild, METH_VARARGS | METH_KEYWORDS, NULL},
30797
{ (char *)"RichTextCompositeObject_InsertChild", (PyCFunction) _wrap_RichTextCompositeObject_InsertChild, METH_VARARGS | METH_KEYWORDS, NULL},
30798
{ (char *)"RichTextCompositeObject_RemoveChild", (PyCFunction) _wrap_RichTextCompositeObject_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
30799
{ (char *)"RichTextCompositeObject_DeleteChildren", (PyCFunction)_wrap_RichTextCompositeObject_DeleteChildren, METH_O, NULL},
30800
{ (char *)"RichTextCompositeObject_Defragment", (PyCFunction)_wrap_RichTextCompositeObject_Defragment, METH_O, NULL},
30801
{ (char *)"RichTextCompositeObject_swigregister", RichTextCompositeObject_swigregister, METH_VARARGS, NULL},
30802
{ (char *)"new_RichTextBox", (PyCFunction) _wrap_new_RichTextBox, METH_VARARGS | METH_KEYWORDS, NULL},
30803
{ (char *)"RichTextBox_Copy", (PyCFunction) _wrap_RichTextBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30804
{ (char *)"RichTextBox_swigregister", RichTextBox_swigregister, METH_VARARGS, NULL},
30805
{ (char *)"RichTextBox_swiginit", RichTextBox_swiginit, METH_VARARGS, NULL},
30806
{ (char *)"new_RichTextParagraphLayoutBox", (PyCFunction) _wrap_new_RichTextParagraphLayoutBox, METH_VARARGS | METH_KEYWORDS, NULL},
30807
{ (char *)"RichTextParagraphLayoutBox_SetRichTextCtrl", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetRichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
30808
{ (char *)"RichTextParagraphLayoutBox_GetRichTextCtrl", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetRichTextCtrl, METH_O, NULL},
30809
{ (char *)"RichTextParagraphLayoutBox_SetPartialParagraph", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetPartialParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
30810
{ (char *)"RichTextParagraphLayoutBox_GetPartialParagraph", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetPartialParagraph, METH_O, NULL},
30811
{ (char *)"RichTextParagraphLayoutBox_GetStyleSheet", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetStyleSheet, METH_O, NULL},
30812
{ (char *)"RichTextParagraphLayoutBox_Init", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Init, METH_O, NULL},
30813
{ (char *)"RichTextParagraphLayoutBox_Clear", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Clear, METH_O, NULL},
30814
{ (char *)"RichTextParagraphLayoutBox_Reset", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Reset, METH_O, NULL},
30815
{ (char *)"RichTextParagraphLayoutBox_AddParagraph", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
30816
{ (char *)"RichTextParagraphLayoutBox_AddImage", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
30817
{ (char *)"RichTextParagraphLayoutBox_AddParagraphs", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddParagraphs, METH_VARARGS | METH_KEYWORDS, NULL},
30818
{ (char *)"RichTextParagraphLayoutBox_GetLineAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30819
{ (char *)"RichTextParagraphLayoutBox_GetLineAtYPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineAtYPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30820
{ (char *)"RichTextParagraphLayoutBox_GetParagraphAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30821
{ (char *)"RichTextParagraphLayoutBox_GetLineSizeAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineSizeAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30822
{ (char *)"RichTextParagraphLayoutBox_GetVisibleLineNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetVisibleLineNumber, METH_VARARGS | METH_KEYWORDS, NULL},
30823
{ (char *)"RichTextParagraphLayoutBox_GetLineForVisibleLineNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineForVisibleLineNumber, METH_VARARGS | METH_KEYWORDS, NULL},
30824
{ (char *)"RichTextParagraphLayoutBox_GetLeafObjectAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLeafObjectAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30825
{ (char *)"RichTextParagraphLayoutBox_GetParagraphAtLine", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphAtLine, METH_VARARGS | METH_KEYWORDS, NULL},
30826
{ (char *)"RichTextParagraphLayoutBox_GetParagraphForLine", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphForLine, METH_VARARGS | METH_KEYWORDS, NULL},
30827
{ (char *)"RichTextParagraphLayoutBox_GetParagraphLength", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphLength, METH_VARARGS | METH_KEYWORDS, NULL},
30828
{ (char *)"RichTextParagraphLayoutBox_GetParagraphCount", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetParagraphCount, METH_O, NULL},
30829
{ (char *)"RichTextParagraphLayoutBox_GetLineCount", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetLineCount, METH_O, NULL},
30830
{ (char *)"RichTextParagraphLayoutBox_GetParagraphText", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphText, METH_VARARGS | METH_KEYWORDS, NULL},
30831
{ (char *)"RichTextParagraphLayoutBox_XYToPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30832
{ (char *)"RichTextParagraphLayoutBox_PositionToXY", (PyCFunction) _wrap_RichTextParagraphLayoutBox_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
30833
{ (char *)"RichTextParagraphLayoutBox_SetStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30834
{ (char *)"RichTextParagraphLayoutBox_GetStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30835
{ (char *)"RichTextParagraphLayoutBox_GetUncombinedStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30836
{ (char *)"RichTextParagraphLayoutBox_GetStyleForRange", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetStyleForRange, METH_VARARGS | METH_KEYWORDS, NULL},
30837
{ (char *)"RichTextParagraphLayoutBox_CollectStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_CollectStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30838
{ (char *)"RichTextParagraphLayoutBox_SetListStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30839
{ (char *)"RichTextParagraphLayoutBox_ClearListStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_ClearListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30840
{ (char *)"RichTextParagraphLayoutBox_NumberList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_NumberList, METH_VARARGS | METH_KEYWORDS, NULL},
30841
{ (char *)"RichTextParagraphLayoutBox_PromoteList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_PromoteList, METH_VARARGS | METH_KEYWORDS, NULL},
30842
{ (char *)"RichTextParagraphLayoutBox_DoNumberList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_DoNumberList, METH_VARARGS | METH_KEYWORDS, NULL},
30843
{ (char *)"RichTextParagraphLayoutBox_FindNextParagraphNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_FindNextParagraphNumber, METH_VARARGS | METH_KEYWORDS, NULL},
30844
{ (char *)"RichTextParagraphLayoutBox_HasCharacterAttributes", (PyCFunction) _wrap_RichTextParagraphLayoutBox_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30845
{ (char *)"RichTextParagraphLayoutBox_HasParagraphAttributes", (PyCFunction) _wrap_RichTextParagraphLayoutBox_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30846
{ (char *)"RichTextParagraphLayoutBox_InsertFragment", (PyCFunction) _wrap_RichTextParagraphLayoutBox_InsertFragment, METH_VARARGS | METH_KEYWORDS, NULL},
30847
{ (char *)"RichTextParagraphLayoutBox_CopyFragment", (PyCFunction) _wrap_RichTextParagraphLayoutBox_CopyFragment, METH_VARARGS | METH_KEYWORDS, NULL},
30848
{ (char *)"RichTextParagraphLayoutBox_ApplyStyleSheet", (PyCFunction) _wrap_RichTextParagraphLayoutBox_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
30849
{ (char *)"RichTextParagraphLayoutBox_Copy", (PyCFunction) _wrap_RichTextParagraphLayoutBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30850
{ (char *)"RichTextParagraphLayoutBox_UpdateRanges", (PyCFunction)_wrap_RichTextParagraphLayoutBox_UpdateRanges, METH_O, NULL},
30851
{ (char *)"RichTextParagraphLayoutBox_GetText", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetText, METH_O, NULL},
30852
{ (char *)"RichTextParagraphLayoutBox_SetDefaultStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30853
{ (char *)"RichTextParagraphLayoutBox_GetDefaultStyle", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetDefaultStyle, METH_O, NULL},
30854
{ (char *)"RichTextParagraphLayoutBox_SetBasicStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30855
{ (char *)"RichTextParagraphLayoutBox_GetBasicStyle", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetBasicStyle, METH_O, NULL},
30856
{ (char *)"RichTextParagraphLayoutBox_Invalidate", (PyCFunction) _wrap_RichTextParagraphLayoutBox_Invalidate, METH_VARARGS | METH_KEYWORDS, NULL},
30857
{ (char *)"RichTextParagraphLayoutBox_GetInvalidRange", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetInvalidRange, METH_VARARGS | METH_KEYWORDS, NULL},
30858
{ (char *)"RichTextParagraphLayoutBox_swigregister", RichTextParagraphLayoutBox_swigregister, METH_VARARGS, NULL},
30859
{ (char *)"RichTextParagraphLayoutBox_swiginit", RichTextParagraphLayoutBox_swiginit, METH_VARARGS, NULL},
30860
{ (char *)"new_RichTextLine", (PyCFunction) _wrap_new_RichTextLine, METH_VARARGS | METH_KEYWORDS, NULL},
30861
{ (char *)"delete_RichTextLine", (PyCFunction)_wrap_delete_RichTextLine, METH_O, NULL},
30862
{ (char *)"RichTextLine_SetRange", (PyCFunction) _wrap_RichTextLine_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30863
{ (char *)"RichTextLine_GetParent", (PyCFunction)_wrap_RichTextLine_GetParent, METH_O, NULL},
30864
{ (char *)"RichTextLine_GetRange", (PyCFunction)_wrap_RichTextLine_GetRange, METH_O, NULL},
30865
{ (char *)"RichTextLine_GetAbsoluteRange", (PyCFunction)_wrap_RichTextLine_GetAbsoluteRange, METH_O, NULL},
30866
{ (char *)"RichTextLine_GetSize", (PyCFunction)_wrap_RichTextLine_GetSize, METH_O, NULL},
30867
{ (char *)"RichTextLine_SetSize", (PyCFunction) _wrap_RichTextLine_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30868
{ (char *)"RichTextLine_GetPosition", (PyCFunction)_wrap_RichTextLine_GetPosition, METH_O, NULL},
30869
{ (char *)"RichTextLine_SetPosition", (PyCFunction) _wrap_RichTextLine_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30870
{ (char *)"RichTextLine_GetAbsolutePosition", (PyCFunction)_wrap_RichTextLine_GetAbsolutePosition, METH_O, NULL},
30871
{ (char *)"RichTextLine_GetRect", (PyCFunction)_wrap_RichTextLine_GetRect, METH_O, NULL},
30872
{ (char *)"RichTextLine_SetDescent", (PyCFunction) _wrap_RichTextLine_SetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
30873
{ (char *)"RichTextLine_GetDescent", (PyCFunction)_wrap_RichTextLine_GetDescent, METH_O, NULL},
30874
{ (char *)"RichTextLine_Init", (PyCFunction) _wrap_RichTextLine_Init, METH_VARARGS | METH_KEYWORDS, NULL},
30875
{ (char *)"RichTextLine_Copy", (PyCFunction) _wrap_RichTextLine_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30876
{ (char *)"RichTextLine_Clone", (PyCFunction)_wrap_RichTextLine_Clone, METH_O, NULL},
30877
{ (char *)"RichTextLine_swigregister", RichTextLine_swigregister, METH_VARARGS, NULL},
30878
{ (char *)"RichTextLine_swiginit", RichTextLine_swiginit, METH_VARARGS, NULL},
30879
{ (char *)"new_RichTextParagraph", (PyCFunction) _wrap_new_RichTextParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
30880
{ (char *)"delete_RichTextParagraph", (PyCFunction)_wrap_delete_RichTextParagraph, METH_O, NULL},
30881
{ (char *)"RichTextParagraph_GetLines", (PyCFunction)_wrap_RichTextParagraph_GetLines, METH_O, NULL},
30882
{ (char *)"RichTextParagraph_Copy", (PyCFunction) _wrap_RichTextParagraph_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30883
{ (char *)"RichTextParagraph_ClearLines", (PyCFunction)_wrap_RichTextParagraph_ClearLines, METH_O, NULL},
30884
{ (char *)"RichTextParagraph_ApplyParagraphStyle", (PyCFunction) _wrap_RichTextParagraph_ApplyParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30885
{ (char *)"RichTextParagraph_InsertText", (PyCFunction) _wrap_RichTextParagraph_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
30886
{ (char *)"RichTextParagraph_SplitAt", (PyCFunction) _wrap_RichTextParagraph_SplitAt, METH_VARARGS | METH_KEYWORDS, NULL},
30887
{ (char *)"RichTextParagraph_MoveToList", (PyCFunction) _wrap_RichTextParagraph_MoveToList, METH_VARARGS | METH_KEYWORDS, NULL},
30888
{ (char *)"RichTextParagraph_MoveFromList", (PyCFunction) _wrap_RichTextParagraph_MoveFromList, METH_VARARGS | METH_KEYWORDS, NULL},
30889
{ (char *)"RichTextParagraph_GetContiguousPlainText", (PyCFunction) _wrap_RichTextParagraph_GetContiguousPlainText, METH_VARARGS | METH_KEYWORDS, NULL},
30890
{ (char *)"RichTextParagraph_FindWrapPosition", (PyCFunction) _wrap_RichTextParagraph_FindWrapPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30891
{ (char *)"RichTextParagraph_FindObjectAtPosition", (PyCFunction) _wrap_RichTextParagraph_FindObjectAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30892
{ (char *)"RichTextParagraph_GetBulletText", (PyCFunction)_wrap_RichTextParagraph_GetBulletText, METH_O, NULL},
30893
{ (char *)"RichTextParagraph_AllocateLine", (PyCFunction) _wrap_RichTextParagraph_AllocateLine, METH_VARARGS | METH_KEYWORDS, NULL},
30894
{ (char *)"RichTextParagraph_ClearUnusedLines", (PyCFunction) _wrap_RichTextParagraph_ClearUnusedLines, METH_VARARGS | METH_KEYWORDS, NULL},
30895
{ (char *)"RichTextParagraph_GetCombinedAttributes", (PyCFunction) _wrap_RichTextParagraph_GetCombinedAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30896
{ (char *)"RichTextParagraph_GetFirstLineBreakPosition", (PyCFunction) _wrap_RichTextParagraph_GetFirstLineBreakPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30897
{ (char *)"RichTextParagraph_InitDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_InitDefaultTabs, METH_NOARGS, NULL},
30898
{ (char *)"RichTextParagraph_ClearDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_ClearDefaultTabs, METH_NOARGS, NULL},
30899
{ (char *)"RichTextParagraph_GetDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_GetDefaultTabs, METH_NOARGS, NULL},
30900
{ (char *)"RichTextParagraph_swigregister", RichTextParagraph_swigregister, METH_VARARGS, NULL},
30901
{ (char *)"RichTextParagraph_swiginit", RichTextParagraph_swiginit, METH_VARARGS, NULL},
30902
{ (char *)"new_RichTextPlainText", (PyCFunction) _wrap_new_RichTextPlainText, METH_VARARGS | METH_KEYWORDS, NULL},
30903
{ (char *)"RichTextPlainText_GetFirstLineBreakPosition", (PyCFunction) _wrap_RichTextPlainText_GetFirstLineBreakPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30904
{ (char *)"RichTextPlainText_GetText", (PyCFunction)_wrap_RichTextPlainText_GetText, METH_O, NULL},
30905
{ (char *)"RichTextPlainText_SetText", (PyCFunction) _wrap_RichTextPlainText_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
30906
{ (char *)"RichTextPlainText_Copy", (PyCFunction) _wrap_RichTextPlainText_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30907
{ (char *)"RichTextPlainText_swigregister", RichTextPlainText_swigregister, METH_VARARGS, NULL},
30908
{ (char *)"RichTextPlainText_swiginit", RichTextPlainText_swiginit, METH_VARARGS, NULL},
30909
{ (char *)"new_RichTextImage", (PyCFunction) _wrap_new_RichTextImage, METH_VARARGS | METH_KEYWORDS, NULL},
30910
{ (char *)"RichTextImage_GetImage", (PyCFunction)_wrap_RichTextImage_GetImage, METH_O, NULL},
30911
{ (char *)"RichTextImage_SetImage", (PyCFunction) _wrap_RichTextImage_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
30912
{ (char *)"RichTextImage_GetImageBlock", (PyCFunction)_wrap_RichTextImage_GetImageBlock, METH_O, NULL},
30913
{ (char *)"RichTextImage_Copy", (PyCFunction) _wrap_RichTextImage_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30914
{ (char *)"RichTextImage_LoadFromBlock", (PyCFunction)_wrap_RichTextImage_LoadFromBlock, METH_O, NULL},
30915
{ (char *)"RichTextImage_MakeBlock", (PyCFunction)_wrap_RichTextImage_MakeBlock, METH_O, NULL},
30916
{ (char *)"RichTextImage_swigregister", RichTextImage_swigregister, METH_VARARGS, NULL},
30917
{ (char *)"RichTextImage_swiginit", RichTextImage_swiginit, METH_VARARGS, NULL},
30918
{ (char *)"delete_RichTextFileHandlerList_iterator", (PyCFunction)_wrap_delete_RichTextFileHandlerList_iterator, METH_O, NULL},
30919
{ (char *)"RichTextFileHandlerList_iterator_next", (PyCFunction)_wrap_RichTextFileHandlerList_iterator_next, METH_O, NULL},
30920
{ (char *)"RichTextFileHandlerList_iterator_swigregister", RichTextFileHandlerList_iterator_swigregister, METH_VARARGS, NULL},
30921
{ (char *)"delete_RichTextFileHandlerList", (PyCFunction)_wrap_delete_RichTextFileHandlerList, METH_O, NULL},
30922
{ (char *)"RichTextFileHandlerList___len__", (PyCFunction)_wrap_RichTextFileHandlerList___len__, METH_O, NULL},
30923
{ (char *)"RichTextFileHandlerList___getitem__", (PyCFunction) _wrap_RichTextFileHandlerList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
30924
{ (char *)"RichTextFileHandlerList___contains__", (PyCFunction) _wrap_RichTextFileHandlerList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
30925
{ (char *)"RichTextFileHandlerList___iter__", (PyCFunction)_wrap_RichTextFileHandlerList___iter__, METH_O, NULL},
30926
{ (char *)"RichTextFileHandlerList_swigregister", RichTextFileHandlerList_swigregister, METH_VARARGS, NULL},
30927
{ (char *)"new_RichTextBuffer", _wrap_new_RichTextBuffer, METH_VARARGS, NULL},
30928
{ (char *)"delete_RichTextBuffer", (PyCFunction)_wrap_delete_RichTextBuffer, METH_O, NULL},
30929
{ (char *)"RichTextBuffer_GetCommandProcessor", (PyCFunction)_wrap_RichTextBuffer_GetCommandProcessor, METH_O, NULL},
30930
{ (char *)"RichTextBuffer_SetStyleSheet", (PyCFunction) _wrap_RichTextBuffer_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
30931
{ (char *)"RichTextBuffer_SetStyleSheetAndNotify", (PyCFunction) _wrap_RichTextBuffer_SetStyleSheetAndNotify, METH_VARARGS | METH_KEYWORDS, NULL},
30932
{ (char *)"RichTextBuffer_PushStyleSheet", (PyCFunction) _wrap_RichTextBuffer_PushStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
30933
{ (char *)"RichTextBuffer_PopStyleSheet", (PyCFunction)_wrap_RichTextBuffer_PopStyleSheet, METH_O, NULL},
30934
{ (char *)"RichTextBuffer_Init", (PyCFunction)_wrap_RichTextBuffer_Init, METH_O, NULL},
30935
{ (char *)"RichTextBuffer_ResetAndClearCommands", (PyCFunction)_wrap_RichTextBuffer_ResetAndClearCommands, METH_O, NULL},
30936
{ (char *)"RichTextBuffer_LoadFile", (PyCFunction) _wrap_RichTextBuffer_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
30937
{ (char *)"RichTextBuffer_SaveFile", (PyCFunction) _wrap_RichTextBuffer_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
30938
{ (char *)"RichTextBuffer_LoadStream", (PyCFunction) _wrap_RichTextBuffer_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
30939
{ (char *)"RichTextBuffer_SaveStream", (PyCFunction) _wrap_RichTextBuffer_SaveStream, METH_VARARGS | METH_KEYWORDS, NULL},
30940
{ (char *)"RichTextBuffer_SetHandlerFlags", (PyCFunction) _wrap_RichTextBuffer_SetHandlerFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30941
{ (char *)"RichTextBuffer_GetHandlerFlags", (PyCFunction)_wrap_RichTextBuffer_GetHandlerFlags, METH_O, NULL},
30942
{ (char *)"RichTextBuffer_BeginBatchUndo", (PyCFunction) _wrap_RichTextBuffer_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
30943
{ (char *)"RichTextBuffer_EndBatchUndo", (PyCFunction)_wrap_RichTextBuffer_EndBatchUndo, METH_O, NULL},
30944
{ (char *)"RichTextBuffer_BatchingUndo", (PyCFunction)_wrap_RichTextBuffer_BatchingUndo, METH_O, NULL},
30945
{ (char *)"RichTextBuffer_SubmitAction", (PyCFunction) _wrap_RichTextBuffer_SubmitAction, METH_VARARGS | METH_KEYWORDS, NULL},
30946
{ (char *)"RichTextBuffer_GetBatchedCommand", (PyCFunction)_wrap_RichTextBuffer_GetBatchedCommand, METH_O, NULL},
30947
{ (char *)"RichTextBuffer_BeginSuppressUndo", (PyCFunction)_wrap_RichTextBuffer_BeginSuppressUndo, METH_O, NULL},
30948
{ (char *)"RichTextBuffer_EndSuppressUndo", (PyCFunction)_wrap_RichTextBuffer_EndSuppressUndo, METH_O, NULL},
30949
{ (char *)"RichTextBuffer_SuppressingUndo", (PyCFunction)_wrap_RichTextBuffer_SuppressingUndo, METH_O, NULL},
30950
{ (char *)"RichTextBuffer_CopyToClipboard", (PyCFunction) _wrap_RichTextBuffer_CopyToClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
30951
{ (char *)"RichTextBuffer_PasteFromClipboard", (PyCFunction) _wrap_RichTextBuffer_PasteFromClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
30952
{ (char *)"RichTextBuffer_CanPasteFromClipboard", (PyCFunction)_wrap_RichTextBuffer_CanPasteFromClipboard, METH_O, NULL},
30953
{ (char *)"RichTextBuffer_BeginStyle", (PyCFunction) _wrap_RichTextBuffer_BeginStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30954
{ (char *)"RichTextBuffer_EndStyle", (PyCFunction)_wrap_RichTextBuffer_EndStyle, METH_O, NULL},
30955
{ (char *)"RichTextBuffer_EndAllStyles", (PyCFunction)_wrap_RichTextBuffer_EndAllStyles, METH_O, NULL},
30956
{ (char *)"RichTextBuffer_ClearStyleStack", (PyCFunction)_wrap_RichTextBuffer_ClearStyleStack, METH_O, NULL},
30957
{ (char *)"RichTextBuffer_GetStyleStackSize", (PyCFunction)_wrap_RichTextBuffer_GetStyleStackSize, METH_O, NULL},
30958
{ (char *)"RichTextBuffer_BeginBold", (PyCFunction)_wrap_RichTextBuffer_BeginBold, METH_O, NULL},
30959
{ (char *)"RichTextBuffer_EndBold", (PyCFunction)_wrap_RichTextBuffer_EndBold, METH_O, NULL},
30960
{ (char *)"RichTextBuffer_BeginItalic", (PyCFunction)_wrap_RichTextBuffer_BeginItalic, METH_O, NULL},
30961
{ (char *)"RichTextBuffer_EndItalic", (PyCFunction)_wrap_RichTextBuffer_EndItalic, METH_O, NULL},
30962
{ (char *)"RichTextBuffer_BeginUnderline", (PyCFunction)_wrap_RichTextBuffer_BeginUnderline, METH_O, NULL},
30963
{ (char *)"RichTextBuffer_EndUnderline", (PyCFunction)_wrap_RichTextBuffer_EndUnderline, METH_O, NULL},
30964
{ (char *)"RichTextBuffer_BeginFontSize", (PyCFunction) _wrap_RichTextBuffer_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
30965
{ (char *)"RichTextBuffer_EndFontSize", (PyCFunction)_wrap_RichTextBuffer_EndFontSize, METH_O, NULL},
30966
{ (char *)"RichTextBuffer_BeginFont", (PyCFunction) _wrap_RichTextBuffer_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
30967
{ (char *)"RichTextBuffer_EndFont", (PyCFunction)_wrap_RichTextBuffer_EndFont, METH_O, NULL},
30968
{ (char *)"RichTextBuffer_BeginTextColour", (PyCFunction) _wrap_RichTextBuffer_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
30969
{ (char *)"RichTextBuffer_EndTextColour", (PyCFunction)_wrap_RichTextBuffer_EndTextColour, METH_O, NULL},
30970
{ (char *)"RichTextBuffer_BeginAlignment", (PyCFunction) _wrap_RichTextBuffer_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30971
{ (char *)"RichTextBuffer_EndAlignment", (PyCFunction)_wrap_RichTextBuffer_EndAlignment, METH_O, NULL},
30972
{ (char *)"RichTextBuffer_BeginLeftIndent", (PyCFunction) _wrap_RichTextBuffer_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
30973
{ (char *)"RichTextBuffer_EndLeftIndent", (PyCFunction)_wrap_RichTextBuffer_EndLeftIndent, METH_O, NULL},
30974
{ (char *)"RichTextBuffer_BeginRightIndent", (PyCFunction) _wrap_RichTextBuffer_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
30975
{ (char *)"RichTextBuffer_EndRightIndent", (PyCFunction)_wrap_RichTextBuffer_EndRightIndent, METH_O, NULL},
30976
{ (char *)"RichTextBuffer_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextBuffer_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
30977
{ (char *)"RichTextBuffer_EndParagraphSpacing", (PyCFunction)_wrap_RichTextBuffer_EndParagraphSpacing, METH_O, NULL},
30978
{ (char *)"RichTextBuffer_BeginLineSpacing", (PyCFunction) _wrap_RichTextBuffer_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
30979
{ (char *)"RichTextBuffer_EndLineSpacing", (PyCFunction)_wrap_RichTextBuffer_EndLineSpacing, METH_O, NULL},
30980
{ (char *)"RichTextBuffer_BeginNumberedBullet", (PyCFunction) _wrap_RichTextBuffer_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
30981
{ (char *)"RichTextBuffer_EndNumberedBullet", (PyCFunction)_wrap_RichTextBuffer_EndNumberedBullet, METH_O, NULL},
30982
{ (char *)"RichTextBuffer_BeginSymbolBullet", (PyCFunction) _wrap_RichTextBuffer_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
30983
{ (char *)"RichTextBuffer_EndSymbolBullet", (PyCFunction)_wrap_RichTextBuffer_EndSymbolBullet, METH_O, NULL},
30984
{ (char *)"RichTextBuffer_BeginStandardBullet", (PyCFunction) _wrap_RichTextBuffer_BeginStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
30985
{ (char *)"RichTextBuffer_EndStandardBullet", (PyCFunction)_wrap_RichTextBuffer_EndStandardBullet, METH_O, NULL},
30986
{ (char *)"RichTextBuffer_BeginCharacterStyle", (PyCFunction) _wrap_RichTextBuffer_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30987
{ (char *)"RichTextBuffer_EndCharacterStyle", (PyCFunction)_wrap_RichTextBuffer_EndCharacterStyle, METH_O, NULL},
30988
{ (char *)"RichTextBuffer_BeginParagraphStyle", (PyCFunction) _wrap_RichTextBuffer_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30989
{ (char *)"RichTextBuffer_EndParagraphStyle", (PyCFunction)_wrap_RichTextBuffer_EndParagraphStyle, METH_O, NULL},
30990
{ (char *)"RichTextBuffer_BeginListStyle", (PyCFunction) _wrap_RichTextBuffer_BeginListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30991
{ (char *)"RichTextBuffer_EndListStyle", (PyCFunction)_wrap_RichTextBuffer_EndListStyle, METH_O, NULL},
30992
{ (char *)"RichTextBuffer_BeginURL", (PyCFunction) _wrap_RichTextBuffer_BeginURL, METH_VARARGS | METH_KEYWORDS, NULL},
30993
{ (char *)"RichTextBuffer_EndURL", (PyCFunction)_wrap_RichTextBuffer_EndURL, METH_O, NULL},
30994
{ (char *)"RichTextBuffer_AddEventHandler", (PyCFunction) _wrap_RichTextBuffer_AddEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
30995
{ (char *)"RichTextBuffer_RemoveEventHandler", (PyCFunction) _wrap_RichTextBuffer_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
30996
{ (char *)"RichTextBuffer_ClearEventHandlers", (PyCFunction)_wrap_RichTextBuffer_ClearEventHandlers, METH_O, NULL},
30997
{ (char *)"RichTextBuffer_SendEvent", (PyCFunction) _wrap_RichTextBuffer_SendEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30998
{ (char *)"RichTextBuffer_Copy", (PyCFunction) _wrap_RichTextBuffer_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
30999
{ (char *)"RichTextBuffer_InsertParagraphsWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertParagraphsWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
31000
{ (char *)"RichTextBuffer_InsertTextWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertTextWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
31001
{ (char *)"RichTextBuffer_InsertNewlineWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertNewlineWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
31002
{ (char *)"RichTextBuffer_InsertImageWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertImageWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
31003
{ (char *)"RichTextBuffer_DeleteRangeWithUndo", (PyCFunction) _wrap_RichTextBuffer_DeleteRangeWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
31004
{ (char *)"RichTextBuffer_Modify", (PyCFunction) _wrap_RichTextBuffer_Modify, METH_VARARGS | METH_KEYWORDS, NULL},
31005
{ (char *)"RichTextBuffer_IsModified", (PyCFunction)_wrap_RichTextBuffer_IsModified, METH_O, NULL},
31006
{ (char *)"RichTextBuffer_GetStyleForNewParagraph", (PyCFunction) _wrap_RichTextBuffer_GetStyleForNewParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
31007
{ (char *)"RichTextBuffer_GetHandlers", (PyCFunction)_wrap_RichTextBuffer_GetHandlers, METH_NOARGS, NULL},
31008
{ (char *)"RichTextBuffer_AddHandler", (PyCFunction) _wrap_RichTextBuffer_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
31009
{ (char *)"RichTextBuffer_InsertHandler", (PyCFunction) _wrap_RichTextBuffer_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL},
31010
{ (char *)"RichTextBuffer_RemoveHandler", (PyCFunction) _wrap_RichTextBuffer_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL},
31011
{ (char *)"RichTextBuffer_FindHandlerByName", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByName, METH_VARARGS | METH_KEYWORDS, NULL},
31012
{ (char *)"RichTextBuffer_FindHandlerByExtension", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByExtension, METH_VARARGS | METH_KEYWORDS, NULL},
31013
{ (char *)"RichTextBuffer_FindHandlerByFilename", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31014
{ (char *)"RichTextBuffer_FindHandlerByType", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByType, METH_VARARGS | METH_KEYWORDS, NULL},
31015
{ (char *)"RichTextBuffer_GetExtWildcard", (PyCFunction) _wrap_RichTextBuffer_GetExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31016
{ (char *)"RichTextBuffer_CleanUpHandlers", (PyCFunction)_wrap_RichTextBuffer_CleanUpHandlers, METH_NOARGS, NULL},
31017
{ (char *)"RichTextBuffer_InitStandardHandlers", (PyCFunction)_wrap_RichTextBuffer_InitStandardHandlers, METH_NOARGS, NULL},
31018
{ (char *)"RichTextBuffer_GetRenderer", (PyCFunction)_wrap_RichTextBuffer_GetRenderer, METH_NOARGS, NULL},
31019
{ (char *)"RichTextBuffer_SetRenderer", (PyCFunction) _wrap_RichTextBuffer_SetRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
31020
{ (char *)"RichTextBuffer_GetBulletRightMargin", (PyCFunction)_wrap_RichTextBuffer_GetBulletRightMargin, METH_NOARGS, NULL},
31021
{ (char *)"RichTextBuffer_SetBulletRightMargin", (PyCFunction) _wrap_RichTextBuffer_SetBulletRightMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31022
{ (char *)"RichTextBuffer_GetBulletProportion", (PyCFunction)_wrap_RichTextBuffer_GetBulletProportion, METH_NOARGS, NULL},
31023
{ (char *)"RichTextBuffer_SetBulletProportion", (PyCFunction) _wrap_RichTextBuffer_SetBulletProportion, METH_VARARGS | METH_KEYWORDS, NULL},
31024
{ (char *)"RichTextBuffer_GetScale", (PyCFunction)_wrap_RichTextBuffer_GetScale, METH_O, NULL},
31025
{ (char *)"RichTextBuffer_SetScale", (PyCFunction) _wrap_RichTextBuffer_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31026
{ (char *)"RichTextBuffer_swigregister", RichTextBuffer_swigregister, METH_VARARGS, NULL},
31027
{ (char *)"RichTextBuffer_swiginit", RichTextBuffer_swiginit, METH_VARARGS, NULL},
31028
{ (char *)"delete_RichTextFileHandler", (PyCFunction)_wrap_delete_RichTextFileHandler, METH_O, NULL},
31029
{ (char *)"RichTextFileHandler_LoadStream", (PyCFunction) _wrap_RichTextFileHandler_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
31030
{ (char *)"RichTextFileHandler_SaveStream", (PyCFunction) _wrap_RichTextFileHandler_SaveStream, METH_VARARGS | METH_KEYWORDS, NULL},
31031
{ (char *)"RichTextFileHandler_LoadFile", (PyCFunction) _wrap_RichTextFileHandler_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
31032
{ (char *)"RichTextFileHandler_SaveFile", (PyCFunction) _wrap_RichTextFileHandler_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
31033
{ (char *)"RichTextFileHandler_CanHandle", (PyCFunction) _wrap_RichTextFileHandler_CanHandle, METH_VARARGS | METH_KEYWORDS, NULL},
31034
{ (char *)"RichTextFileHandler_CanSave", (PyCFunction)_wrap_RichTextFileHandler_CanSave, METH_O, NULL},
31035
{ (char *)"RichTextFileHandler_CanLoad", (PyCFunction)_wrap_RichTextFileHandler_CanLoad, METH_O, NULL},
31036
{ (char *)"RichTextFileHandler_IsVisible", (PyCFunction)_wrap_RichTextFileHandler_IsVisible, METH_O, NULL},
31037
{ (char *)"RichTextFileHandler_SetVisible", (PyCFunction) _wrap_RichTextFileHandler_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31038
{ (char *)"RichTextFileHandler_SetName", (PyCFunction) _wrap_RichTextFileHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
31039
{ (char *)"RichTextFileHandler_GetName", (PyCFunction)_wrap_RichTextFileHandler_GetName, METH_O, NULL},
31040
{ (char *)"RichTextFileHandler_SetExtension", (PyCFunction) _wrap_RichTextFileHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
31041
{ (char *)"RichTextFileHandler_GetExtension", (PyCFunction)_wrap_RichTextFileHandler_GetExtension, METH_O, NULL},
31042
{ (char *)"RichTextFileHandler_SetType", (PyCFunction) _wrap_RichTextFileHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
31043
{ (char *)"RichTextFileHandler_GetType", (PyCFunction)_wrap_RichTextFileHandler_GetType, METH_O, NULL},
31044
{ (char *)"RichTextFileHandler_SetFlags", (PyCFunction) _wrap_RichTextFileHandler_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31045
{ (char *)"RichTextFileHandler_GetFlags", (PyCFunction)_wrap_RichTextFileHandler_GetFlags, METH_O, NULL},
31046
{ (char *)"RichTextFileHandler_SetEncoding", (PyCFunction) _wrap_RichTextFileHandler_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
31047
{ (char *)"RichTextFileHandler_GetEncoding", (PyCFunction)_wrap_RichTextFileHandler_GetEncoding, METH_O, NULL},
31048
{ (char *)"RichTextFileHandler_swigregister", RichTextFileHandler_swigregister, METH_VARARGS, NULL},
31049
{ (char *)"new_RichTextPlainTextHandler", (PyCFunction) _wrap_new_RichTextPlainTextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
31050
{ (char *)"RichTextPlainTextHandler_swigregister", RichTextPlainTextHandler_swigregister, METH_VARARGS, NULL},
31051
{ (char *)"RichTextPlainTextHandler_swiginit", RichTextPlainTextHandler_swiginit, METH_VARARGS, NULL},
31052
{ (char *)"delete_RichTextRenderer", (PyCFunction)_wrap_delete_RichTextRenderer, METH_O, NULL},
31053
{ (char *)"RichTextRenderer_DrawStandardBullet", (PyCFunction) _wrap_RichTextRenderer_DrawStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
31054
{ (char *)"RichTextRenderer_DrawTextBullet", (PyCFunction) _wrap_RichTextRenderer_DrawTextBullet, METH_VARARGS | METH_KEYWORDS, NULL},
31055
{ (char *)"RichTextRenderer_DrawBitmapBullet", (PyCFunction) _wrap_RichTextRenderer_DrawBitmapBullet, METH_VARARGS | METH_KEYWORDS, NULL},
31056
{ (char *)"RichTextRenderer_EnumerateStandardBulletNames", (PyCFunction) _wrap_RichTextRenderer_EnumerateStandardBulletNames, METH_VARARGS | METH_KEYWORDS, NULL},
31057
{ (char *)"RichTextRenderer_swigregister", RichTextRenderer_swigregister, METH_VARARGS, NULL},
31058
{ (char *)"new_RichTextStdRenderer", (PyCFunction)_wrap_new_RichTextStdRenderer, METH_NOARGS, NULL},
31059
{ (char *)"RichTextStdRenderer_swigregister", RichTextStdRenderer_swigregister, METH_VARARGS, NULL},
31060
{ (char *)"RichTextStdRenderer_swiginit", RichTextStdRenderer_swiginit, METH_VARARGS, NULL},
31061
{ (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
31062
{ (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL},
31063
{ (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31064
{ (char *)"RichTextCtrl_GetValue", (PyCFunction)_wrap_RichTextCtrl_GetValue, METH_O, NULL},
31065
{ (char *)"RichTextCtrl_SetValue", (PyCFunction) _wrap_RichTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31066
{ (char *)"RichTextCtrl_GetRange", (PyCFunction) _wrap_RichTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31067
{ (char *)"RichTextCtrl_GetLineLength", (PyCFunction) _wrap_RichTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
31068
{ (char *)"RichTextCtrl_GetLineText", (PyCFunction) _wrap_RichTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
31069
{ (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction)_wrap_RichTextCtrl_GetNumberOfLines, METH_O, NULL},
31070
{ (char *)"RichTextCtrl_IsModified", (PyCFunction)_wrap_RichTextCtrl_IsModified, METH_O, NULL},
31071
{ (char *)"RichTextCtrl_IsEditable", (PyCFunction)_wrap_RichTextCtrl_IsEditable, METH_O, NULL},
31072
{ (char *)"RichTextCtrl_IsSingleLine", (PyCFunction)_wrap_RichTextCtrl_IsSingleLine, METH_O, NULL},
31073
{ (char *)"RichTextCtrl_IsMultiLine", (PyCFunction)_wrap_RichTextCtrl_IsMultiLine, METH_O, NULL},
31074
{ (char *)"RichTextCtrl_GetSelection", (PyCFunction)_wrap_RichTextCtrl_GetSelection, METH_O, NULL},
31075
{ (char *)"RichTextCtrl_GetStringSelection", (PyCFunction)_wrap_RichTextCtrl_GetStringSelection, METH_O, NULL},
31076
{ (char *)"RichTextCtrl_GetFilename", (PyCFunction)_wrap_RichTextCtrl_GetFilename, METH_O, NULL},
31077
{ (char *)"RichTextCtrl_SetFilename", (PyCFunction) _wrap_RichTextCtrl_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31078
{ (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction) _wrap_RichTextCtrl_SetDelayedLayoutThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31079
{ (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction)_wrap_RichTextCtrl_GetDelayedLayoutThreshold, METH_O, NULL},
31080
{ (char *)"RichTextCtrl_SetTextCursor", (PyCFunction) _wrap_RichTextCtrl_SetTextCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31081
{ (char *)"RichTextCtrl_GetTextCursor", (PyCFunction)_wrap_RichTextCtrl_GetTextCursor, METH_O, NULL},
31082
{ (char *)"RichTextCtrl_SetURLCursor", (PyCFunction) _wrap_RichTextCtrl_SetURLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31083
{ (char *)"RichTextCtrl_GetURLCursor", (PyCFunction)_wrap_RichTextCtrl_GetURLCursor, METH_O, NULL},
31084
{ (char *)"RichTextCtrl_GetContextMenu", (PyCFunction)_wrap_RichTextCtrl_GetContextMenu, METH_O, NULL},
31085
{ (char *)"RichTextCtrl_SetContextMenu", (PyCFunction) _wrap_RichTextCtrl_SetContextMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31086
{ (char *)"RichTextCtrl_Clear", (PyCFunction)_wrap_RichTextCtrl_Clear, METH_O, NULL},
31087
{ (char *)"RichTextCtrl_Replace", (PyCFunction) _wrap_RichTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
31088
{ (char *)"RichTextCtrl_Remove", (PyCFunction) _wrap_RichTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
31089
{ (char *)"RichTextCtrl_LoadFile", (PyCFunction) _wrap_RichTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
31090
{ (char *)"RichTextCtrl_SaveFile", (PyCFunction) _wrap_RichTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
31091
{ (char *)"RichTextCtrl_SetHandlerFlags", (PyCFunction) _wrap_RichTextCtrl_SetHandlerFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31092
{ (char *)"RichTextCtrl_GetHandlerFlags", (PyCFunction)_wrap_RichTextCtrl_GetHandlerFlags, METH_O, NULL},
31093
{ (char *)"RichTextCtrl_MarkDirty", (PyCFunction)_wrap_RichTextCtrl_MarkDirty, METH_O, NULL},
31094
{ (char *)"RichTextCtrl_DiscardEdits", (PyCFunction)_wrap_RichTextCtrl_DiscardEdits, METH_O, NULL},
31095
{ (char *)"RichTextCtrl_SetMaxLength", (PyCFunction) _wrap_RichTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
31096
{ (char *)"RichTextCtrl_WriteText", (PyCFunction) _wrap_RichTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
31097
{ (char *)"RichTextCtrl_AppendText", (PyCFunction) _wrap_RichTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
31098
{ (char *)"RichTextCtrl_SetStyle", (PyCFunction) _wrap_RichTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31099
{ (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31100
{ (char *)"RichTextCtrl_GetStyleForRange", (PyCFunction) _wrap_RichTextCtrl_GetStyleForRange, METH_VARARGS | METH_KEYWORDS, NULL},
31101
{ (char *)"RichTextCtrl_SetStyleEx", (PyCFunction) _wrap_RichTextCtrl_SetStyleEx, METH_VARARGS | METH_KEYWORDS, NULL},
31102
{ (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction) _wrap_RichTextCtrl_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31103
{ (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31104
{ (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetDefaultStyle, METH_O, NULL},
31105
{ (char *)"RichTextCtrl_SetListStyle", (PyCFunction) _wrap_RichTextCtrl_SetListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31106
{ (char *)"RichTextCtrl_ClearListStyle", (PyCFunction) _wrap_RichTextCtrl_ClearListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31107
{ (char *)"RichTextCtrl_NumberList", (PyCFunction) _wrap_RichTextCtrl_NumberList, METH_VARARGS | METH_KEYWORDS, NULL},
31108
{ (char *)"RichTextCtrl_PromoteList", (PyCFunction) _wrap_RichTextCtrl_PromoteList, METH_VARARGS | METH_KEYWORDS, NULL},
31109
{ (char *)"RichTextCtrl_Delete", (PyCFunction) _wrap_RichTextCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
31110
{ (char *)"RichTextCtrl_XYToPosition", (PyCFunction) _wrap_RichTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31111
{ (char *)"RichTextCtrl_PositionToXY", (PyCFunction) _wrap_RichTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
31112
{ (char *)"RichTextCtrl_ShowPosition", (PyCFunction) _wrap_RichTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31113
{ (char *)"RichTextCtrl_HitTest", (PyCFunction) _wrap_RichTextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31114
{ (char *)"RichTextCtrl_HitTestXY", (PyCFunction) _wrap_RichTextCtrl_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31115
{ (char *)"RichTextCtrl_Copy", (PyCFunction)_wrap_RichTextCtrl_Copy, METH_O, NULL},
31116
{ (char *)"RichTextCtrl_Cut", (PyCFunction)_wrap_RichTextCtrl_Cut, METH_O, NULL},
31117
{ (char *)"RichTextCtrl_Paste", (PyCFunction)_wrap_RichTextCtrl_Paste, METH_O, NULL},
31118
{ (char *)"RichTextCtrl_DeleteSelection", (PyCFunction)_wrap_RichTextCtrl_DeleteSelection, METH_O, NULL},
31119
{ (char *)"RichTextCtrl_CanCopy", (PyCFunction)_wrap_RichTextCtrl_CanCopy, METH_O, NULL},
31120
{ (char *)"RichTextCtrl_CanCut", (PyCFunction)_wrap_RichTextCtrl_CanCut, METH_O, NULL},
31121
{ (char *)"RichTextCtrl_CanPaste", (PyCFunction)_wrap_RichTextCtrl_CanPaste, METH_O, NULL},
31122
{ (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction)_wrap_RichTextCtrl_CanDeleteSelection, METH_O, NULL},
31123
{ (char *)"RichTextCtrl_Undo", (PyCFunction)_wrap_RichTextCtrl_Undo, METH_O, NULL},
31124
{ (char *)"RichTextCtrl_Redo", (PyCFunction)_wrap_RichTextCtrl_Redo, METH_O, NULL},
31125
{ (char *)"RichTextCtrl_CanUndo", (PyCFunction)_wrap_RichTextCtrl_CanUndo, METH_O, NULL},
31126
{ (char *)"RichTextCtrl_CanRedo", (PyCFunction)_wrap_RichTextCtrl_CanRedo, METH_O, NULL},
31127
{ (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_RichTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31128
{ (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_RichTextCtrl_SetInsertionPointEnd, METH_O, NULL},
31129
{ (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction)_wrap_RichTextCtrl_GetInsertionPoint, METH_O, NULL},
31130
{ (char *)"RichTextCtrl_GetLastPosition", (PyCFunction)_wrap_RichTextCtrl_GetLastPosition, METH_O, NULL},
31131
{ (char *)"RichTextCtrl_SetSelection", (PyCFunction) _wrap_RichTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31132
{ (char *)"RichTextCtrl_SelectAll", (PyCFunction)_wrap_RichTextCtrl_SelectAll, METH_O, NULL},
31133
{ (char *)"RichTextCtrl_SetEditable", (PyCFunction) _wrap_RichTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
31134
{ (char *)"RichTextCtrl_HasSelection", (PyCFunction)_wrap_RichTextCtrl_HasSelection, METH_O, NULL},
31135
{ (char *)"RichTextCtrl_WriteImage", (PyCFunction) _wrap_RichTextCtrl_WriteImage, METH_VARARGS | METH_KEYWORDS, NULL},
31136
{ (char *)"RichTextCtrl_WriteBitmap", (PyCFunction) _wrap_RichTextCtrl_WriteBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31137
{ (char *)"RichTextCtrl_WriteImageFile", (PyCFunction) _wrap_RichTextCtrl_WriteImageFile, METH_VARARGS | METH_KEYWORDS, NULL},
31138
{ (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction) _wrap_RichTextCtrl_WriteImageBlock, METH_VARARGS | METH_KEYWORDS, NULL},
31139
{ (char *)"RichTextCtrl_Newline", (PyCFunction)_wrap_RichTextCtrl_Newline, METH_O, NULL},
31140
{ (char *)"RichTextCtrl_LineBreak", (PyCFunction)_wrap_RichTextCtrl_LineBreak, METH_O, NULL},
31141
{ (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction) _wrap_RichTextCtrl_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31142
{ (char *)"RichTextCtrl_GetBasicStyle", (PyCFunction)_wrap_RichTextCtrl_GetBasicStyle, METH_O, NULL},
31143
{ (char *)"RichTextCtrl_BeginStyle", (PyCFunction) _wrap_RichTextCtrl_BeginStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31144
{ (char *)"RichTextCtrl_EndStyle", (PyCFunction)_wrap_RichTextCtrl_EndStyle, METH_O, NULL},
31145
{ (char *)"RichTextCtrl_EndAllStyles", (PyCFunction)_wrap_RichTextCtrl_EndAllStyles, METH_O, NULL},
31146
{ (char *)"RichTextCtrl_BeginBold", (PyCFunction)_wrap_RichTextCtrl_BeginBold, METH_O, NULL},
31147
{ (char *)"RichTextCtrl_EndBold", (PyCFunction)_wrap_RichTextCtrl_EndBold, METH_O, NULL},
31148
{ (char *)"RichTextCtrl_BeginItalic", (PyCFunction)_wrap_RichTextCtrl_BeginItalic, METH_O, NULL},
31149
{ (char *)"RichTextCtrl_EndItalic", (PyCFunction)_wrap_RichTextCtrl_EndItalic, METH_O, NULL},
31150
{ (char *)"RichTextCtrl_BeginUnderline", (PyCFunction)_wrap_RichTextCtrl_BeginUnderline, METH_O, NULL},
31151
{ (char *)"RichTextCtrl_EndUnderline", (PyCFunction)_wrap_RichTextCtrl_EndUnderline, METH_O, NULL},
31152
{ (char *)"RichTextCtrl_BeginFontSize", (PyCFunction) _wrap_RichTextCtrl_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
31153
{ (char *)"RichTextCtrl_EndFontSize", (PyCFunction)_wrap_RichTextCtrl_EndFontSize, METH_O, NULL},
31154
{ (char *)"RichTextCtrl_BeginFont", (PyCFunction) _wrap_RichTextCtrl_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
31155
{ (char *)"RichTextCtrl_EndFont", (PyCFunction)_wrap_RichTextCtrl_EndFont, METH_O, NULL},
31156
{ (char *)"RichTextCtrl_BeginTextColour", (PyCFunction) _wrap_RichTextCtrl_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
31157
{ (char *)"RichTextCtrl_EndTextColour", (PyCFunction)_wrap_RichTextCtrl_EndTextColour, METH_O, NULL},
31158
{ (char *)"RichTextCtrl_BeginAlignment", (PyCFunction) _wrap_RichTextCtrl_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31159
{ (char *)"RichTextCtrl_EndAlignment", (PyCFunction)_wrap_RichTextCtrl_EndAlignment, METH_O, NULL},
31160
{ (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction) _wrap_RichTextCtrl_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
31161
{ (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction)_wrap_RichTextCtrl_EndLeftIndent, METH_O, NULL},
31162
{ (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction) _wrap_RichTextCtrl_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
31163
{ (char *)"RichTextCtrl_EndRightIndent", (PyCFunction)_wrap_RichTextCtrl_EndRightIndent, METH_O, NULL},
31164
{ (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
31165
{ (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction)_wrap_RichTextCtrl_EndParagraphSpacing, METH_O, NULL},
31166
{ (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
31167
{ (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction)_wrap_RichTextCtrl_EndLineSpacing, METH_O, NULL},
31168
{ (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction) _wrap_RichTextCtrl_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
31169
{ (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction)_wrap_RichTextCtrl_EndNumberedBullet, METH_O, NULL},
31170
{ (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction) _wrap_RichTextCtrl_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
31171
{ (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction)_wrap_RichTextCtrl_EndSymbolBullet, METH_O, NULL},
31172
{ (char *)"RichTextCtrl_BeginStandardBullet", (PyCFunction) _wrap_RichTextCtrl_BeginStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
31173
{ (char *)"RichTextCtrl_EndStandardBullet", (PyCFunction)_wrap_RichTextCtrl_EndStandardBullet, METH_O, NULL},
31174
{ (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction) _wrap_RichTextCtrl_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31175
{ (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction)_wrap_RichTextCtrl_EndCharacterStyle, METH_O, NULL},
31176
{ (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31177
{ (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction)_wrap_RichTextCtrl_EndParagraphStyle, METH_O, NULL},
31178
{ (char *)"RichTextCtrl_BeginListStyle", (PyCFunction) _wrap_RichTextCtrl_BeginListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31179
{ (char *)"RichTextCtrl_EndListStyle", (PyCFunction)_wrap_RichTextCtrl_EndListStyle, METH_O, NULL},
31180
{ (char *)"RichTextCtrl_BeginURL", (PyCFunction) _wrap_RichTextCtrl_BeginURL, METH_VARARGS | METH_KEYWORDS, NULL},
31181
{ (char *)"RichTextCtrl_EndURL", (PyCFunction)_wrap_RichTextCtrl_EndURL, METH_O, NULL},
31182
{ (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle, METH_O, NULL},
31183
{ (char *)"RichTextCtrl_SelectNone", (PyCFunction)_wrap_RichTextCtrl_SelectNone, METH_O, NULL},
31184
{ (char *)"RichTextCtrl_SelectWord", (PyCFunction) _wrap_RichTextCtrl_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
31185
{ (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetSelectionRange, METH_O, NULL},
31186
{ (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL},
31187
{ (char *)"RichTextCtrl_GetInternalSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetInternalSelectionRange, METH_O, NULL},
31188
{ (char *)"RichTextCtrl_SetInternalSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetInternalSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL},
31189
{ (char *)"RichTextCtrl_AddParagraph", (PyCFunction) _wrap_RichTextCtrl_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
31190
{ (char *)"RichTextCtrl_AddImage", (PyCFunction) _wrap_RichTextCtrl_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
31191
{ (char *)"RichTextCtrl_LayoutContent", (PyCFunction) _wrap_RichTextCtrl_LayoutContent, METH_VARARGS | METH_KEYWORDS, NULL},
31192
{ (char *)"RichTextCtrl_MoveCaret", (PyCFunction) _wrap_RichTextCtrl_MoveCaret, METH_VARARGS | METH_KEYWORDS, NULL},
31193
{ (char *)"RichTextCtrl_MoveRight", (PyCFunction) _wrap_RichTextCtrl_MoveRight, METH_VARARGS | METH_KEYWORDS, NULL},
31194
{ (char *)"RichTextCtrl_MoveLeft", (PyCFunction) _wrap_RichTextCtrl_MoveLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31195
{ (char *)"RichTextCtrl_MoveUp", (PyCFunction) _wrap_RichTextCtrl_MoveUp, METH_VARARGS | METH_KEYWORDS, NULL},
31196
{ (char *)"RichTextCtrl_MoveDown", (PyCFunction) _wrap_RichTextCtrl_MoveDown, METH_VARARGS | METH_KEYWORDS, NULL},
31197
{ (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToLineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
31198
{ (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction) _wrap_RichTextCtrl_MoveToLineStart, METH_VARARGS | METH_KEYWORDS, NULL},
31199
{ (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphEnd, METH_VARARGS | METH_KEYWORDS, NULL},
31200
{ (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphStart, METH_VARARGS | METH_KEYWORDS, NULL},
31201
{ (char *)"RichTextCtrl_MoveHome", (PyCFunction) _wrap_RichTextCtrl_MoveHome, METH_VARARGS | METH_KEYWORDS, NULL},
31202
{ (char *)"RichTextCtrl_MoveEnd", (PyCFunction) _wrap_RichTextCtrl_MoveEnd, METH_VARARGS | METH_KEYWORDS, NULL},
31203
{ (char *)"RichTextCtrl_PageUp", (PyCFunction) _wrap_RichTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
31204
{ (char *)"RichTextCtrl_PageDown", (PyCFunction) _wrap_RichTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
31205
{ (char *)"RichTextCtrl_WordLeft", (PyCFunction) _wrap_RichTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31206
{ (char *)"RichTextCtrl_WordRight", (PyCFunction) _wrap_RichTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
31207
{ (char *)"RichTextCtrl_GetBuffer", (PyCFunction)_wrap_RichTextCtrl_GetBuffer, METH_O, NULL},
31208
{ (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction) _wrap_RichTextCtrl_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
31209
{ (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction)_wrap_RichTextCtrl_EndBatchUndo, METH_O, NULL},
31210
{ (char *)"RichTextCtrl_BatchingUndo", (PyCFunction)_wrap_RichTextCtrl_BatchingUndo, METH_O, NULL},
31211
{ (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_BeginSuppressUndo, METH_O, NULL},
31212
{ (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_EndSuppressUndo, METH_O, NULL},
31213
{ (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction)_wrap_RichTextCtrl_SuppressingUndo, METH_O, NULL},
31214
{ (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction) _wrap_RichTextCtrl_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31215
{ (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction) _wrap_RichTextCtrl_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31216
{ (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction)_wrap_RichTextCtrl_IsSelectionBold, METH_O, NULL},
31217
{ (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction)_wrap_RichTextCtrl_IsSelectionItalics, METH_O, NULL},
31218
{ (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction)_wrap_RichTextCtrl_IsSelectionUnderlined, METH_O, NULL},
31219
{ (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction) _wrap_RichTextCtrl_IsSelectionAligned, METH_VARARGS | METH_KEYWORDS, NULL},
31220
{ (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyBoldToSelection, METH_O, NULL},
31221
{ (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyItalicToSelection, METH_O, NULL},
31222
{ (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyUnderlineToSelection, METH_O, NULL},
31223
{ (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction) _wrap_RichTextCtrl_ApplyAlignmentToSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31224
{ (char *)"RichTextCtrl_ApplyStyle", (PyCFunction) _wrap_RichTextCtrl_ApplyStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31225
{ (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction) _wrap_RichTextCtrl_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
31226
{ (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction)_wrap_RichTextCtrl_GetStyleSheet, METH_O, NULL},
31227
{ (char *)"RichTextCtrl_PushStyleSheet", (PyCFunction) _wrap_RichTextCtrl_PushStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
31228
{ (char *)"RichTextCtrl_PopStyleSheet", (PyCFunction)_wrap_RichTextCtrl_PopStyleSheet, METH_O, NULL},
31229
{ (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction) _wrap_RichTextCtrl_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
31230
{ (char *)"RichTextCtrl_SetupScrollbars", (PyCFunction) _wrap_RichTextCtrl_SetupScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31231
{ (char *)"RichTextCtrl_KeyboardNavigate", (PyCFunction) _wrap_RichTextCtrl_KeyboardNavigate, METH_VARARGS | METH_KEYWORDS, NULL},
31232
{ (char *)"RichTextCtrl_PositionCaret", (PyCFunction)_wrap_RichTextCtrl_PositionCaret, METH_O, NULL},
31233
{ (char *)"RichTextCtrl_ExtendSelection", (PyCFunction) _wrap_RichTextCtrl_ExtendSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31234
{ (char *)"RichTextCtrl_ScrollIntoView", (PyCFunction) _wrap_RichTextCtrl_ScrollIntoView, METH_VARARGS | METH_KEYWORDS, NULL},
31235
{ (char *)"RichTextCtrl_SetCaretPosition", (PyCFunction) _wrap_RichTextCtrl_SetCaretPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31236
{ (char *)"RichTextCtrl_GetCaretPosition", (PyCFunction)_wrap_RichTextCtrl_GetCaretPosition, METH_O, NULL},
31237
{ (char *)"RichTextCtrl_GetAdjustedCaretPosition", (PyCFunction) _wrap_RichTextCtrl_GetAdjustedCaretPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31238
{ (char *)"RichTextCtrl_MoveCaretForward", (PyCFunction) _wrap_RichTextCtrl_MoveCaretForward, METH_VARARGS | METH_KEYWORDS, NULL},
31239
{ (char *)"RichTextCtrl_MoveCaretBack", (PyCFunction) _wrap_RichTextCtrl_MoveCaretBack, METH_VARARGS | METH_KEYWORDS, NULL},
31240
{ (char *)"RichTextCtrl_GetCaretPositionForIndex", (PyCFunction) _wrap_RichTextCtrl_GetCaretPositionForIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31241
{ (char *)"RichTextCtrl_GetVisibleLineForCaretPosition", (PyCFunction) _wrap_RichTextCtrl_GetVisibleLineForCaretPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31242
{ (char *)"RichTextCtrl_GetCommandProcessor", (PyCFunction)_wrap_RichTextCtrl_GetCommandProcessor, METH_O, NULL},
31243
{ (char *)"RichTextCtrl_DeleteSelectedContent", (PyCFunction)_wrap_RichTextCtrl_DeleteSelectedContent, METH_O, NULL},
31244
{ (char *)"RichTextCtrl_GetPhysicalPoint", (PyCFunction) _wrap_RichTextCtrl_GetPhysicalPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31245
{ (char *)"RichTextCtrl_GetLogicalPoint", (PyCFunction) _wrap_RichTextCtrl_GetLogicalPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31246
{ (char *)"RichTextCtrl_FindNextWordPosition", (PyCFunction) _wrap_RichTextCtrl_FindNextWordPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31247
{ (char *)"RichTextCtrl_IsPositionVisible", (PyCFunction) _wrap_RichTextCtrl_IsPositionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31248
{ (char *)"RichTextCtrl_GetFirstVisiblePosition", (PyCFunction)_wrap_RichTextCtrl_GetFirstVisiblePosition, METH_O, NULL},
31249
{ (char *)"RichTextCtrl_GetCaretPositionForDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetCaretPositionForDefaultStyle, METH_O, NULL},
31250
{ (char *)"RichTextCtrl_SetCaretPositionForDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetCaretPositionForDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31251
{ (char *)"RichTextCtrl_IsDefaultStyleShowing", (PyCFunction)_wrap_RichTextCtrl_IsDefaultStyleShowing, METH_O, NULL},
31252
{ (char *)"RichTextCtrl_SetAndShowDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetAndShowDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31253
{ (char *)"RichTextCtrl_GetFirstVisiblePoint", (PyCFunction)_wrap_RichTextCtrl_GetFirstVisiblePoint, METH_O, NULL},
31254
{ (char *)"RichTextCtrl_SetScrollbars", (PyCFunction) _wrap_RichTextCtrl_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31255
{ (char *)"RichTextCtrl_Scroll", (PyCFunction) _wrap_RichTextCtrl_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31256
{ (char *)"RichTextCtrl_GetScrollPageSize", (PyCFunction) _wrap_RichTextCtrl_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31257
{ (char *)"RichTextCtrl_SetScrollPageSize", (PyCFunction) _wrap_RichTextCtrl_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31258
{ (char *)"RichTextCtrl_SetScrollRate", (PyCFunction) _wrap_RichTextCtrl_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31259
{ (char *)"RichTextCtrl_GetScrollPixelsPerUnit", (PyCFunction)_wrap_RichTextCtrl_GetScrollPixelsPerUnit, METH_O, NULL},
31260
{ (char *)"RichTextCtrl_EnableScrolling", (PyCFunction) _wrap_RichTextCtrl_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31261
{ (char *)"RichTextCtrl_GetViewStart", (PyCFunction)_wrap_RichTextCtrl_GetViewStart, METH_O, NULL},
31262
{ (char *)"RichTextCtrl_SetScale", (PyCFunction) _wrap_RichTextCtrl_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31263
{ (char *)"RichTextCtrl_GetScaleX", (PyCFunction)_wrap_RichTextCtrl_GetScaleX, METH_O, NULL},
31264
{ (char *)"RichTextCtrl_GetScaleY", (PyCFunction)_wrap_RichTextCtrl_GetScaleY, METH_O, NULL},
31265
{ (char *)"RichTextCtrl_CalcScrolledPosition", _wrap_RichTextCtrl_CalcScrolledPosition, METH_VARARGS, NULL},
31266
{ (char *)"RichTextCtrl_CalcUnscrolledPosition", _wrap_RichTextCtrl_CalcUnscrolledPosition, METH_VARARGS, NULL},
31267
{ (char *)"RichTextCtrl_AdjustScrollbars", (PyCFunction)_wrap_RichTextCtrl_AdjustScrollbars, METH_O, NULL},
31268
{ (char *)"RichTextCtrl_CalcScrollInc", (PyCFunction) _wrap_RichTextCtrl_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31269
{ (char *)"RichTextCtrl_SetTargetWindow", (PyCFunction) _wrap_RichTextCtrl_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31270
{ (char *)"RichTextCtrl_GetTargetWindow", (PyCFunction)_wrap_RichTextCtrl_GetTargetWindow, METH_O, NULL},
31271
{ (char *)"RichTextCtrl_IsEmpty", (PyCFunction)_wrap_RichTextCtrl_IsEmpty, METH_O, NULL},
31272
{ (char *)"RichTextCtrl_ChangeValue", (PyCFunction) _wrap_RichTextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
31273
{ (char *)"RichTextCtrl_SetModified", (PyCFunction) _wrap_RichTextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
31274
{ (char *)"RichTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_RichTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
31275
{ (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister, METH_VARARGS, NULL},
31276
{ (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit, METH_VARARGS, NULL},
31277
{ (char *)"new_RichTextEvent", (PyCFunction) _wrap_new_RichTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31278
{ (char *)"RichTextEvent_GetPosition", (PyCFunction)_wrap_RichTextEvent_GetPosition, METH_O, NULL},
31279
{ (char *)"RichTextEvent_SetPosition", (PyCFunction) _wrap_RichTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31280
{ (char *)"RichTextEvent_GetFlags", (PyCFunction)_wrap_RichTextEvent_GetFlags, METH_O, NULL},
31281
{ (char *)"RichTextEvent_SetFlags", (PyCFunction) _wrap_RichTextEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31282
{ (char *)"RichTextEvent_GetOldStyleSheet", (PyCFunction)_wrap_RichTextEvent_GetOldStyleSheet, METH_O, NULL},
31283
{ (char *)"RichTextEvent_SetOldStyleSheet", (PyCFunction) _wrap_RichTextEvent_SetOldStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
31284
{ (char *)"RichTextEvent_GetNewStyleSheet", (PyCFunction)_wrap_RichTextEvent_GetNewStyleSheet, METH_O, NULL},
31285
{ (char *)"RichTextEvent_SetNewStyleSheet", (PyCFunction) _wrap_RichTextEvent_SetNewStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
31286
{ (char *)"RichTextEvent_GetRange", (PyCFunction)_wrap_RichTextEvent_GetRange, METH_O, NULL},
31287
{ (char *)"RichTextEvent_SetRange", (PyCFunction) _wrap_RichTextEvent_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31288
{ (char *)"RichTextEvent_GetCharacter", (PyCFunction)_wrap_RichTextEvent_GetCharacter, METH_O, NULL},
31289
{ (char *)"RichTextEvent_SetCharacter", (PyCFunction) _wrap_RichTextEvent_SetCharacter, METH_VARARGS | METH_KEYWORDS, NULL},
31290
{ (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister, METH_VARARGS, NULL},
31291
{ (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit, METH_VARARGS, NULL},
31292
{ (char *)"new_RichTextHTMLHandler", (PyCFunction) _wrap_new_RichTextHTMLHandler, METH_VARARGS | METH_KEYWORDS, NULL},
31293
{ (char *)"RichTextHTMLHandler_SetTemporaryImageLocations", (PyCFunction) _wrap_RichTextHTMLHandler_SetTemporaryImageLocations, METH_VARARGS | METH_KEYWORDS, NULL},
31294
{ (char *)"RichTextHTMLHandler_GetTemporaryImageLocations", (PyCFunction)_wrap_RichTextHTMLHandler_GetTemporaryImageLocations, METH_O, NULL},
31295
{ (char *)"RichTextHTMLHandler_ClearTemporaryImageLocations", (PyCFunction)_wrap_RichTextHTMLHandler_ClearTemporaryImageLocations, METH_O, NULL},
31296
{ (char *)"RichTextHTMLHandler_DeleteTemporaryImages", (PyCFunction)_wrap_RichTextHTMLHandler_DeleteTemporaryImages, METH_O, NULL},
31297
{ (char *)"RichTextHTMLHandler_SetFileCounter", (PyCFunction) _wrap_RichTextHTMLHandler_SetFileCounter, METH_VARARGS | METH_KEYWORDS, NULL},
31298
{ (char *)"RichTextHTMLHandler_SetTempDir", (PyCFunction) _wrap_RichTextHTMLHandler_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
31299
{ (char *)"RichTextHTMLHandler_GetTempDir", (PyCFunction)_wrap_RichTextHTMLHandler_GetTempDir, METH_O, NULL},
31300
{ (char *)"RichTextHTMLHandler_SetFontSizeMapping", (PyCFunction) _wrap_RichTextHTMLHandler_SetFontSizeMapping, METH_VARARGS | METH_KEYWORDS, NULL},
31301
{ (char *)"RichTextHTMLHandler_GetFontSizeMapping", (PyCFunction)_wrap_RichTextHTMLHandler_GetFontSizeMapping, METH_O, NULL},
31302
{ (char *)"RichTextHTMLHandler_swigregister", RichTextHTMLHandler_swigregister, METH_VARARGS, NULL},
31303
{ (char *)"RichTextHTMLHandler_swiginit", RichTextHTMLHandler_swiginit, METH_VARARGS, NULL},
31304
{ (char *)"new_RichTextXMLHandler", (PyCFunction) _wrap_new_RichTextXMLHandler, METH_VARARGS | METH_KEYWORDS, NULL},
31305
{ (char *)"RichTextXMLHandler_swigregister", RichTextXMLHandler_swigregister, METH_VARARGS, NULL},
31306
{ (char *)"RichTextXMLHandler_swiginit", RichTextXMLHandler_swiginit, METH_VARARGS, NULL},
31307
{ (char *)"new_RichTextPrintout", (PyCFunction) _wrap_new_RichTextPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31308
{ (char *)"delete_RichTextPrintout", (PyCFunction)_wrap_delete_RichTextPrintout, METH_O, NULL},
31309
{ (char *)"RichTextPrintout_SetRichTextBuffer", (PyCFunction) _wrap_RichTextPrintout_SetRichTextBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
31310
{ (char *)"RichTextPrintout_GetRichTextBuffer", (PyCFunction)_wrap_RichTextPrintout_GetRichTextBuffer, METH_O, NULL},
31311
{ (char *)"RichTextPrintout_SetHeaderFooterData", (PyCFunction) _wrap_RichTextPrintout_SetHeaderFooterData, METH_VARARGS | METH_KEYWORDS, NULL},
31312
{ (char *)"RichTextPrintout_GetHeaderFooterData", (PyCFunction)_wrap_RichTextPrintout_GetHeaderFooterData, METH_O, NULL},
31313
{ (char *)"RichTextPrintout_SetMargins", (PyCFunction) _wrap_RichTextPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31314
{ (char *)"RichTextPrintout_CalculateScaling", (PyCFunction) _wrap_RichTextPrintout_CalculateScaling, METH_VARARGS | METH_KEYWORDS, NULL},
31315
{ (char *)"RichTextPrintout_swigregister", RichTextPrintout_swigregister, METH_VARARGS, NULL},
31316
{ (char *)"RichTextPrintout_swiginit", RichTextPrintout_swiginit, METH_VARARGS, NULL},
31317
{ (char *)"new_RichTextPrinting", (PyCFunction) _wrap_new_RichTextPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
31318
{ (char *)"delete_RichTextPrinting", (PyCFunction)_wrap_delete_RichTextPrinting, METH_O, NULL},
31319
{ (char *)"RichTextPrinting_PreviewFile", (PyCFunction) _wrap_RichTextPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
31320
{ (char *)"RichTextPrinting_PreviewBuffer", (PyCFunction) _wrap_RichTextPrinting_PreviewBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
31321
{ (char *)"RichTextPrinting_PrintFile", (PyCFunction) _wrap_RichTextPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
31322
{ (char *)"RichTextPrinting_PrintBuffer", (PyCFunction) _wrap_RichTextPrinting_PrintBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
31323
{ (char *)"RichTextPrinting_PageSetup", (PyCFunction)_wrap_RichTextPrinting_PageSetup, METH_O, NULL},
31324
{ (char *)"RichTextPrinting_SetHeaderFooterData", (PyCFunction) _wrap_RichTextPrinting_SetHeaderFooterData, METH_VARARGS | METH_KEYWORDS, NULL},
31325
{ (char *)"RichTextPrinting_GetHeaderFooterData", (PyCFunction)_wrap_RichTextPrinting_GetHeaderFooterData, METH_O, NULL},
31326
{ (char *)"RichTextPrinting_SetHeaderText", (PyCFunction) _wrap_RichTextPrinting_SetHeaderText, METH_VARARGS | METH_KEYWORDS, NULL},
31327
{ (char *)"RichTextPrinting_GetHeaderText", (PyCFunction) _wrap_RichTextPrinting_GetHeaderText, METH_VARARGS | METH_KEYWORDS, NULL},
31328
{ (char *)"RichTextPrinting_SetFooterText", (PyCFunction) _wrap_RichTextPrinting_SetFooterText, METH_VARARGS | METH_KEYWORDS, NULL},
31329
{ (char *)"RichTextPrinting_GetFooterText", (PyCFunction) _wrap_RichTextPrinting_GetFooterText, METH_VARARGS | METH_KEYWORDS, NULL},
31330
{ (char *)"RichTextPrinting_SetShowOnFirstPage", (PyCFunction) _wrap_RichTextPrinting_SetShowOnFirstPage, METH_VARARGS | METH_KEYWORDS, NULL},
31331
{ (char *)"RichTextPrinting_SetHeaderFooterFont", (PyCFunction) _wrap_RichTextPrinting_SetHeaderFooterFont, METH_VARARGS | METH_KEYWORDS, NULL},
31332
{ (char *)"RichTextPrinting_SetHeaderFooterTextColour", (PyCFunction) _wrap_RichTextPrinting_SetHeaderFooterTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
31333
{ (char *)"RichTextPrinting_GetPrintData", (PyCFunction)_wrap_RichTextPrinting_GetPrintData, METH_O, NULL},
31334
{ (char *)"RichTextPrinting_GetPageSetupData", (PyCFunction)_wrap_RichTextPrinting_GetPageSetupData, METH_O, NULL},
31335
{ (char *)"RichTextPrinting_SetPrintData", (PyCFunction) _wrap_RichTextPrinting_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31336
{ (char *)"RichTextPrinting_SetPageSetupData", (PyCFunction) _wrap_RichTextPrinting_SetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
31337
{ (char *)"RichTextPrinting_SetRichTextBufferPreview", (PyCFunction) _wrap_RichTextPrinting_SetRichTextBufferPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31338
{ (char *)"RichTextPrinting_GetRichTextBufferPreview", (PyCFunction)_wrap_RichTextPrinting_GetRichTextBufferPreview, METH_O, NULL},
31339
{ (char *)"RichTextPrinting_SetRichTextBufferPrinting", (PyCFunction) _wrap_RichTextPrinting_SetRichTextBufferPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
31340
{ (char *)"RichTextPrinting_GetRichTextBufferPrinting", (PyCFunction)_wrap_RichTextPrinting_GetRichTextBufferPrinting, METH_O, NULL},
31341
{ (char *)"RichTextPrinting_SetParentWindow", (PyCFunction) _wrap_RichTextPrinting_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31342
{ (char *)"RichTextPrinting_GetParentWindow", (PyCFunction)_wrap_RichTextPrinting_GetParentWindow, METH_O, NULL},
31343
{ (char *)"RichTextPrinting_SetTitle", (PyCFunction) _wrap_RichTextPrinting_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31344
{ (char *)"RichTextPrinting_GetTitle", (PyCFunction)_wrap_RichTextPrinting_GetTitle, METH_O, NULL},
31345
{ (char *)"RichTextPrinting_SetPreviewRect", (PyCFunction) _wrap_RichTextPrinting_SetPreviewRect, METH_VARARGS | METH_KEYWORDS, NULL},
31346
{ (char *)"RichTextPrinting_GetPreviewRect", (PyCFunction)_wrap_RichTextPrinting_GetPreviewRect, METH_O, NULL},
31347
{ (char *)"RichTextPrinting_swigregister", RichTextPrinting_swigregister, METH_VARARGS, NULL},
31348
{ (char *)"RichTextPrinting_swiginit", RichTextPrinting_swiginit, METH_VARARGS, NULL},
31349
{ NULL, NULL, 0, NULL }
31353
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31355
static void *_p_wxRichTextBufferTo_p_wxRichTextParagraphLayoutBox(void *x) {
31356
return (void *)((wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
31358
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31359
return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31361
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31362
return (void *)((wxEvent *) ((wxMenuEvent *) x));
31364
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31365
return (void *)((wxEvent *) ((wxCloseEvent *) x));
31367
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31368
return (void *)((wxEvent *) ((wxMouseEvent *) x));
31370
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31371
return (void *)((wxEvent *) ((wxEraseEvent *) x));
31373
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31374
return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31376
static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31377
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31379
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31380
return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31382
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31383
return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31385
static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31386
return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31388
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31389
return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31391
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31392
return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31394
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31395
return (void *)((wxEvent *) ((wxPyEvent *) x));
31397
static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31398
return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31400
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31401
return (void *)((wxEvent *) ((wxIdleEvent *) x));
31403
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31404
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31406
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31407
return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31409
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31410
return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31412
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31413
return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31415
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31416
return (void *)((wxEvent *) ((wxActivateEvent *) x));
31418
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31419
return (void *)((wxEvent *) ((wxSizeEvent *) x));
31421
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31422
return (void *)((wxEvent *) ((wxMoveEvent *) x));
31424
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31425
return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31427
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31428
return (void *)((wxEvent *) ((wxPaintEvent *) x));
31430
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31431
return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31433
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31434
return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31436
static void *_p_wxRichTextEventTo_p_wxEvent(void *x) {
31437
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
31439
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31440
return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31442
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31443
return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31445
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31446
return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31448
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31449
return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31451
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31452
return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31454
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31455
return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31457
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31458
return (void *)((wxEvent *) ((wxFocusEvent *) x));
31460
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31461
return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31463
static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31464
return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31466
static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31467
return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31469
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31470
return (void *)((wxEvent *) ((wxShowEvent *) x));
31472
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31473
return (void *)((wxEvent *) ((wxCommandEvent *) x));
31475
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31476
return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31478
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31479
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31481
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31482
return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31484
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31485
return (void *)((wxEvent *) ((wxKeyEvent *) x));
31487
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31488
return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31490
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31491
return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31493
static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31494
return (void *)((wxControl *) ((wxControlWithItems *) x));
31496
static void *_p_wxRichTextCtrlTo_p_wxControl(void *x) {
31497
return (void *)((wxControl *) ((wxRichTextCtrl *) x));
31499
static void *_p_wxRichTextBoxTo_p_wxRichTextCompositeObject(void *x) {
31500
return (void *)((wxRichTextCompositeObject *) ((wxRichTextBox *) x));
31502
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextCompositeObject(void *x) {
31503
return (void *)((wxRichTextCompositeObject *) (wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
31505
static void *_p_wxRichTextParagraphTo_p_wxRichTextCompositeObject(void *x) {
31506
return (void *)((wxRichTextCompositeObject *) (wxRichTextBox *) ((wxRichTextParagraph *) x));
31508
static void *_p_wxRichTextBufferTo_p_wxRichTextCompositeObject(void *x) {
31509
return (void *)((wxRichTextCompositeObject *) (wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
31511
static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) {
31512
return (void *)((wxNotifyEvent *) ((wxRichTextEvent *) x));
31514
static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31515
return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31517
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextBox(void *x) {
31518
return (void *)((wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
31520
static void *_p_wxRichTextParagraphTo_p_wxRichTextBox(void *x) {
31521
return (void *)((wxRichTextBox *) ((wxRichTextParagraph *) x));
31523
static void *_p_wxRichTextBufferTo_p_wxRichTextBox(void *x) {
31524
return (void *)((wxRichTextBox *) (wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
31526
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31527
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31529
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31530
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31532
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31533
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31535
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31536
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31538
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31539
return (void *)((wxEvtHandler *) ((wxValidator *) x));
31541
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31542
return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31544
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31545
return (void *)((wxEvtHandler *) ((wxMenu *) x));
31547
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31548
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31550
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31551
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31553
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31554
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31556
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31557
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31559
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31560
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31562
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31563
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31565
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31566
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31568
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31569
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
31571
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31572
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31574
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31575
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31577
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31578
return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31580
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31581
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31583
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31584
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31586
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31587
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31589
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31590
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31592
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31593
return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31595
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31596
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31598
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31599
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31601
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31602
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31604
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31605
return (void *)((wxEvtHandler *) ((wxWindow *) x));
31607
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31608
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31610
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31611
return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31613
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31614
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31616
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31617
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31619
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31620
return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31622
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31623
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31625
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31626
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31628
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31629
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31631
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31632
return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31634
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31635
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31637
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) {
31638
return (void *)((wxEvtHandler *) ((wxPyEvtHandler *) x));
31640
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31641
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31643
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31644
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31646
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
31647
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
31649
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31650
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31652
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31653
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31655
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31656
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31658
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31659
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31661
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31662
return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31664
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31665
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31667
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31668
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31670
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31671
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31673
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31674
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31676
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31677
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31679
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31680
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31682
static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) {
31683
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRichTextCtrl *) x));
31685
static void *_p_wxRichTextPlainTextHandlerTo_p_wxRichTextFileHandler(void *x) {
31686
return (void *)((wxRichTextFileHandler *) ((wxRichTextPlainTextHandler *) x));
31688
static void *_p_wxRichTextHTMLHandlerTo_p_wxRichTextFileHandler(void *x) {
31689
return (void *)((wxRichTextFileHandler *) ((wxRichTextHTMLHandler *) x));
31691
static void *_p_wxRichTextXMLHandlerTo_p_wxRichTextFileHandler(void *x) {
31692
return (void *)((wxRichTextFileHandler *) ((wxRichTextXMLHandler *) x));
31694
static void *_p_wxRichTextPrintoutTo_p_wxPyPrintout(void *x) {
31695
return (void *)((wxPyPrintout *) ((wxRichTextPrintout *) x));
31697
static void *_p_wxRichTextStdRendererTo_p_wxRichTextRenderer(void *x) {
31698
return (void *)((wxRichTextRenderer *) ((wxRichTextStdRenderer *) x));
31700
static void *_p_p_wxRichTextBoxTo_p_p_wxRichTextObject(void *x) {
31701
return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *) ((wxRichTextBox **) x));
31703
static void *_p_p_wxRichTextParagraphLayoutBoxTo_p_p_wxRichTextObject(void *x) {
31704
return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraphLayoutBox **) x));
31706
static void *_p_p_wxRichTextParagraphTo_p_p_wxRichTextObject(void *x) {
31707
return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraph **) x));
31709
static void *_p_p_wxRichTextImageTo_p_p_wxRichTextObject(void *x) {
31710
return (void *)((wxRichTextObject **) ((wxRichTextImage **) x));
31712
static void *_p_p_wxRichTextBufferTo_p_p_wxRichTextObject(void *x) {
31713
return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *)(wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer **) x));
31715
static void *_p_p_wxRichTextPlainTextTo_p_p_wxRichTextObject(void *x) {
31716
return (void *)((wxRichTextObject **) ((wxRichTextPlainText **) x));
31718
static void *_p_p_wxRichTextCompositeObjectTo_p_p_wxRichTextObject(void *x) {
31719
return (void *)((wxRichTextObject **) ((wxRichTextCompositeObject **) x));
31721
static void *_p_wxRichTextBoxTo_p_wxRichTextObject(void *x) {
31722
return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *) ((wxRichTextBox *) x));
31724
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextObject(void *x) {
31725
return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
31727
static void *_p_wxRichTextParagraphTo_p_wxRichTextObject(void *x) {
31728
return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraph *) x));
31730
static void *_p_wxRichTextImageTo_p_wxRichTextObject(void *x) {
31731
return (void *)((wxRichTextObject *) ((wxRichTextImage *) x));
31733
static void *_p_wxRichTextBufferTo_p_wxRichTextObject(void *x) {
31734
return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *)(wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
31736
static void *_p_wxRichTextPlainTextTo_p_wxRichTextObject(void *x) {
31737
return (void *)((wxRichTextObject *) ((wxRichTextPlainText *) x));
31739
static void *_p_wxRichTextCompositeObjectTo_p_wxRichTextObject(void *x) {
31740
return (void *)((wxRichTextObject *) ((wxRichTextCompositeObject *) x));
31742
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31743
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31745
static void *_p_wxRichTextPlainTextTo_p_wxObject(void *x) {
31746
return (void *)((wxObject *) (wxRichTextObject *) ((wxRichTextPlainText *) x));
31748
static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31749
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31751
static void *_p_wxEventTo_p_wxObject(void *x) {
31752
return (void *)((wxObject *) ((wxEvent *) x));
31754
static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31755
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31757
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31758
return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31760
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31761
return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31763
static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31764
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31766
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31767
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31769
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31770
return (void *)((wxObject *) ((wxMenuItem *) x));
31772
static void *_p_wxImageTo_p_wxObject(void *x) {
31773
return (void *)((wxObject *) ((wxImage *) x));
31775
static void *_p_wxPySizerTo_p_wxObject(void *x) {
31776
return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31778
static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31779
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31781
static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31782
return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31784
static void *_p_wxRichTextBufferTo_p_wxObject(void *x) {
31785
return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *)(wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
31787
static void *_p_wxPyAppTo_p_wxObject(void *x) {
31788
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31790
static void *_p_wxRichTextParagraphTo_p_wxObject(void *x) {
31791
return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraph *) x));
31793
static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31794
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31796
static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31797
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31799
static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31800
return (void *)((wxObject *) ((wxFindReplaceData *) x));
31802
static void *_p_wxValidatorTo_p_wxObject(void *x) {
31803
return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31805
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31806
return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31808
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31809
return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31811
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31812
return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31814
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31815
return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31817
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31818
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31820
static void *_p_wxRichTextPrintingTo_p_wxObject(void *x) {
31821
return (void *)((wxObject *) ((wxRichTextPrinting *) x));
31823
static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31824
return (void *)((wxObject *) ((wxPrintDialogData *) x));
31826
static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31827
return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31829
static void *_p_wxPrinterTo_p_wxObject(void *x) {
31830
return (void *)((wxObject *) ((wxPrinter *) x));
31832
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31833
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31835
static void *_p_wxRichTextObjectTo_p_wxObject(void *x) {
31836
return (void *)((wxObject *) ((wxRichTextObject *) x));
31838
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31839
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31841
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31842
return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31844
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31845
return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31847
static void *_p_wxControlTo_p_wxObject(void *x) {
31848
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31850
static void *_p_wxColourDataTo_p_wxObject(void *x) {
31851
return (void *)((wxObject *) ((wxColourData *) x));
31853
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31854
return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31856
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31857
return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31859
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31860
return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31862
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31863
return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31865
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31866
return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31868
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31869
return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31871
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31872
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31874
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31875
return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31877
static void *_p_wxDateEventTo_p_wxObject(void *x) {
31878
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31880
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31881
return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31883
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
31884
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
31886
static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31887
return (void *)((wxObject *) ((wxPyPrintout *) x));
31889
static void *_p_wxRichTextPrintoutTo_p_wxObject(void *x) {
31890
return (void *)((wxObject *) (wxPyPrintout *) ((wxRichTextPrintout *) x));
31892
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31893
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31895
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31896
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31898
static void *_p_wxRichTextCompositeObjectTo_p_wxObject(void *x) {
31899
return (void *)((wxObject *) (wxRichTextObject *) ((wxRichTextCompositeObject *) x));
31901
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31902
return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31904
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31905
return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31907
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31908
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31910
static void *_p_wxSashEventTo_p_wxObject(void *x) {
31911
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31913
static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
31914
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
31916
static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31917
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31919
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31920
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31922
static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31923
return (void *)((wxObject *) ((wxPrintData *) x));
31925
static void *_p_wxFontDataTo_p_wxObject(void *x) {
31926
return (void *)((wxObject *) ((wxFontData *) x));
31928
static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31929
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31931
static void *_p_wxFrameTo_p_wxObject(void *x) {
31932
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31934
static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31935
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31937
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31938
return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31940
static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31941
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31943
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31944
return (void *)((wxObject *) ((wxFileSystem *) x));
31946
static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31947
return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31949
static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31950
return (void *)((wxObject *) ((wxPrintPreview *) x));
31952
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31953
return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31955
static void *_p_wxSizerTo_p_wxObject(void *x) {
31956
return (void *)((wxObject *) ((wxSizer *) x));
31958
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31959
return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31961
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31962
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31964
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31965
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31967
static void *_p_wxRichTextEventTo_p_wxObject(void *x) {
31968
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
31970
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31971
return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31973
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31974
return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31976
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31977
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31979
static void *_p_wxFSFileTo_p_wxObject(void *x) {
31980
return (void *)((wxObject *) ((wxFSFile *) x));
31982
static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31983
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31985
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31986
return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31988
static void *_p_wxRichTextCtrlTo_p_wxObject(void *x) {
31989
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRichTextCtrl *) x));
31991
static void *_p_wxMenuTo_p_wxObject(void *x) {
31992
return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31994
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31995
return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31997
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31998
return (void *)((wxObject *) ((wxSizerItem *) x));
32000
static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32001
return (void *)((wxObject *) ((wxPrintDialog *) x));
32003
static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32004
return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32006
static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32007
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32009
static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32010
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32012
static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32013
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32015
static void *_p_wxDialogTo_p_wxObject(void *x) {
32016
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32018
static void *_p_wxRichTextImageTo_p_wxObject(void *x) {
32019
return (void *)((wxObject *) (wxRichTextObject *) ((wxRichTextImage *) x));
32021
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32022
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32024
static void *_p_wxPyEventTo_p_wxObject(void *x) {
32025
return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32027
static void *_p_wxRichTextXMLHandlerTo_p_wxObject(void *x) {
32028
return (void *)((wxObject *) (wxRichTextFileHandler *) ((wxRichTextXMLHandler *) x));
32030
static void *_p_wxRichTextHTMLHandlerTo_p_wxObject(void *x) {
32031
return (void *)((wxObject *) (wxRichTextFileHandler *) ((wxRichTextHTMLHandler *) x));
32033
static void *_p_wxRichTextPlainTextHandlerTo_p_wxObject(void *x) {
32034
return (void *)((wxObject *) (wxRichTextFileHandler *) ((wxRichTextPlainTextHandler *) x));
32036
static void *_p_wxRichTextFileHandlerTo_p_wxObject(void *x) {
32037
return (void *)((wxObject *) ((wxRichTextFileHandler *) x));
32039
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) {
32040
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x));
32042
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32043
return (void *)((wxObject *) ((wxEvtHandler *) x));
32045
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32046
return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32048
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32049
return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32051
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32052
return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32054
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32055
return (void *)((wxObject *) ((wxImageHandler *) x));
32057
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32058
return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32060
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32061
return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32063
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32064
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32066
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32067
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32069
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32070
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32072
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32073
return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32075
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32076
return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32078
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32079
return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32081
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32082
return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32084
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32085
return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32087
static void *_p_wxShowEventTo_p_wxObject(void *x) {
32088
return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32090
static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32091
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32093
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32094
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32096
static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32097
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32099
static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32100
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32102
static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32103
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32105
static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32106
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32108
static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32109
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32111
static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32112
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32114
static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32115
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32117
static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32118
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32120
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32121
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32123
static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32124
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32126
static void *_p_wxWindowTo_p_wxObject(void *x) {
32127
return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32129
static void *_p_wxRichTextStdRendererTo_p_wxObject(void *x) {
32130
return (void *)((wxObject *) (wxRichTextRenderer *) ((wxRichTextStdRenderer *) x));
32132
static void *_p_wxRichTextRendererTo_p_wxObject(void *x) {
32133
return (void *)((wxObject *) ((wxRichTextRenderer *) x));
32135
static void *_p_wxRichTextBoxTo_p_wxObject(void *x) {
32136
return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *) ((wxRichTextBox *) x));
32138
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxObject(void *x) {
32139
return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
32141
static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32142
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32144
static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32145
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
32147
static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32148
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32150
static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32151
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32153
static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32154
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32156
static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32157
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32159
static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32160
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32162
static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32163
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32165
static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32166
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32168
static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32169
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32171
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32172
return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32174
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32175
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32177
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32178
return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32180
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32181
return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32183
static void *_p_wxPanelTo_p_wxObject(void *x) {
32184
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32186
static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32187
return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32189
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32190
return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32192
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32193
return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32195
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32196
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32198
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32199
return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32201
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32202
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32204
static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32205
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32207
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32208
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32210
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32211
return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32213
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32214
return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32216
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32217
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32219
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32220
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32222
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32223
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32225
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32226
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32228
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32229
return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32231
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32232
return (void *)((wxWindow *) ((wxMenuBar *) x));
32234
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32235
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32237
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32238
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
32240
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32241
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32243
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32244
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32246
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32247
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32249
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32250
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32252
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32253
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32255
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32256
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32258
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32259
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32261
static void *_p_wxPanelTo_p_wxWindow(void *x) {
32262
return (void *)((wxWindow *) ((wxPanel *) x));
32264
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32265
return (void *)((wxWindow *) ((wxStatusBar *) x));
32267
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32268
return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32270
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32271
return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32273
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32274
return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32276
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32277
return (void *)((wxWindow *) ((wxPopupWindow *) x));
32279
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32280
return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32282
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32283
return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32285
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32286
return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32288
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32289
return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32291
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32292
return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32294
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32295
return (void *)((wxWindow *) ((wxSashWindow *) x));
32297
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32298
return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32300
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32301
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32303
static void *_p_wxControlTo_p_wxWindow(void *x) {
32304
return (void *)((wxWindow *) ((wxControl *) x));
32306
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32307
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32309
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32310
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32312
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32313
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32315
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32316
return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32318
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32319
return (void *)((wxWindow *) ((wxPyWindow *) x));
32321
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32322
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32324
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
32325
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32327
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32328
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32330
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32331
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32333
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32334
return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32336
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32337
return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32339
static void *_p_wxFrameTo_p_wxWindow(void *x) {
32340
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32342
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32343
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32345
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32346
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32348
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32349
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32351
static void *_p_wxDialogTo_p_wxWindow(void *x) {
32352
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32354
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32355
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32357
static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) {
32358
return (void *)((wxWindow *) (wxControl *) ((wxRichTextCtrl *) x));
32360
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32361
return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32363
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32364
return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32366
static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32367
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32369
static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x) {
32370
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxRichTextEvent *) x));
32372
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32373
return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32375
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32376
return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32378
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32379
return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32381
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32382
return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32384
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32385
return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32387
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32388
return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32390
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32391
return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32393
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32394
return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32396
static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32397
return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32399
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32400
return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32402
static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32403
return (void *)((wxValidator *) ((wxPyValidator *) x));
32405
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32406
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
32407
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};
32408
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32409
static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
32410
static swig_type_info _swigt__p_p_wxRichTextObject = {"_p_p_wxRichTextObject", "wxRichTextObject **", 0, 0, (void*)0, 0};
32411
static swig_type_info _swigt__p_p_wxRichTextBox = {"_p_p_wxRichTextBox", 0, 0, 0, 0, 0};
32412
static swig_type_info _swigt__p_p_wxRichTextParagraphLayoutBox = {"_p_p_wxRichTextParagraphLayoutBox", 0, 0, 0, 0, 0};
32413
static swig_type_info _swigt__p_p_wxRichTextParagraph = {"_p_p_wxRichTextParagraph", 0, 0, 0, 0, 0};
32414
static swig_type_info _swigt__p_p_wxRichTextImage = {"_p_p_wxRichTextImage", 0, 0, 0, 0, 0};
32415
static swig_type_info _swigt__p_p_wxRichTextBuffer = {"_p_p_wxRichTextBuffer", 0, 0, 0, 0, 0};
32416
static swig_type_info _swigt__p_p_wxRichTextPlainText = {"_p_p_wxRichTextPlainText", 0, 0, 0, 0, 0};
32417
static swig_type_info _swigt__p_p_wxRichTextCompositeObject = {"_p_p_wxRichTextCompositeObject", 0, 0, 0, 0, 0};
32418
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32419
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32420
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32421
static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32422
static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
32423
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32424
static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32425
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32426
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32427
static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
32428
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32429
static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
32430
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32431
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32432
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32433
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32434
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32435
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32436
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32437
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
32438
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32439
static swig_type_info _swigt__p_wxCommandProcessor = {"_p_wxCommandProcessor", "wxCommandProcessor *", 0, 0, (void*)0, 0};
32440
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
32441
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32442
static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32443
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32444
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32445
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32446
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32447
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32448
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32449
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32450
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32451
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32452
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32453
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32454
static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
32455
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32456
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32457
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32458
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32459
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32460
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32461
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32462
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32463
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32464
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32465
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32466
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32467
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32468
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32469
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32470
static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
32471
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32472
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32473
static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
32474
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32475
static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
32476
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
32477
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
32478
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32479
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32480
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
32481
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
32482
static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
32483
static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
32484
static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
32485
static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
32486
static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
32487
static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
32488
static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
32489
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
32490
static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
32491
static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
32492
static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
32493
static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
32494
static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
32495
static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
32496
static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
32497
static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
32498
static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
32499
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
32500
static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
32501
static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
32502
static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
32503
static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
32504
static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
32505
static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
32506
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32507
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0};
32508
static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
32509
static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
32510
static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
32511
static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
32512
static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
32513
static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
32514
static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
32515
static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
32516
static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
32517
static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
32518
static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
32519
static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
32520
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
32521
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
32522
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32523
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32524
static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
32525
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
32526
static swig_type_info _swigt__p_wxList = {"_p_wxList", "wxList *", 0, 0, (void*)0, 0};
32527
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32528
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32529
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32530
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32531
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32532
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32533
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
32534
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
32535
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
32536
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
32537
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32538
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32539
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32540
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
32541
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32542
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
32543
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32544
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
32545
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
32546
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32547
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32548
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32549
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32550
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32551
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32552
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32553
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32554
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
32555
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
32556
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
32557
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32558
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32559
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32560
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32561
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32562
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32563
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32564
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32565
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32566
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32567
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32568
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32569
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32570
static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
32571
static swig_type_info _swigt__p_wxPageSetupData = {"_p_wxPageSetupData", "wxPageSetupData *", 0, 0, (void*)0, 0};
32572
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32573
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32574
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32575
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32576
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32577
static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32578
static swig_type_info _swigt__p_wxRichTextAction = {"_p_wxRichTextAction", "wxRichTextAction *", 0, 0, (void*)0, 0};
32579
static swig_type_info _swigt__p_wxRichTextAttr = {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
32580
static swig_type_info _swigt__p_wxRichTextBox = {"_p_wxRichTextBox", "wxRichTextBox *", 0, 0, (void*)0, 0};
32581
static swig_type_info _swigt__p_wxRichTextBuffer = {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
32582
static swig_type_info _swigt__p_wxRichTextCommand = {"_p_wxRichTextCommand", "wxRichTextCommand *", 0, 0, (void*)0, 0};
32583
static swig_type_info _swigt__p_wxRichTextCompositeObject = {"_p_wxRichTextCompositeObject", "wxRichTextCompositeObject *", 0, 0, (void*)0, 0};
32584
static swig_type_info _swigt__p_wxRichTextCtrl = {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
32585
static swig_type_info _swigt__p_wxRichTextEvent = {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
32586
static swig_type_info _swigt__p_wxRichTextFileHandler = {"_p_wxRichTextFileHandler", "wxRichTextFileHandler *", 0, 0, (void*)0, 0};
32587
static swig_type_info _swigt__p_wxRichTextFileHandlerList = {"_p_wxRichTextFileHandlerList", "wxRichTextFileHandlerList *", 0, 0, (void*)0, 0};
32588
static swig_type_info _swigt__p_wxRichTextFileHandlerList_iterator = {"_p_wxRichTextFileHandlerList_iterator", "wxRichTextFileHandlerList_iterator *", 0, 0, (void*)0, 0};
32589
static swig_type_info _swigt__p_wxRichTextHTMLHandler = {"_p_wxRichTextHTMLHandler", "wxRichTextHTMLHandler *", 0, 0, (void*)0, 0};
32590
static swig_type_info _swigt__p_wxRichTextHeaderFooterData = {"_p_wxRichTextHeaderFooterData", "wxRichTextHeaderFooterData *", 0, 0, (void*)0, 0};
32591
static swig_type_info _swigt__p_wxRichTextImage = {"_p_wxRichTextImage", "wxRichTextImage *", 0, 0, (void*)0, 0};
32592
static swig_type_info _swigt__p_wxRichTextImageBlock = {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
32593
static swig_type_info _swigt__p_wxRichTextLine = {"_p_wxRichTextLine", "wxRichTextLine *", 0, 0, (void*)0, 0};
32594
static swig_type_info _swigt__p_wxRichTextLineList = {"_p_wxRichTextLineList", "wxRichTextLineList *", 0, 0, (void*)0, 0};
32595
static swig_type_info _swigt__p_wxRichTextListStyleDefinition = {"_p_wxRichTextListStyleDefinition", "wxRichTextListStyleDefinition *", 0, 0, (void*)0, 0};
32596
static swig_type_info _swigt__p_wxRichTextObject = {"_p_wxRichTextObject", "wxRichTextObject *", 0, 0, (void*)0, 0};
32597
static swig_type_info _swigt__p_wxRichTextObjectList = {"_p_wxRichTextObjectList", "wxRichTextObjectList *", 0, 0, (void*)0, 0};
32598
static swig_type_info _swigt__p_wxRichTextObjectList_iterator = {"_p_wxRichTextObjectList_iterator", "wxRichTextObjectList_iterator *", 0, 0, (void*)0, 0};
32599
static swig_type_info _swigt__p_wxRichTextParagraph = {"_p_wxRichTextParagraph", "wxRichTextParagraph *", 0, 0, (void*)0, 0};
32600
static swig_type_info _swigt__p_wxRichTextParagraphLayoutBox = {"_p_wxRichTextParagraphLayoutBox", "wxRichTextParagraphLayoutBox *", 0, 0, (void*)0, 0};
32601
static swig_type_info _swigt__p_wxRichTextPlainText = {"_p_wxRichTextPlainText", "wxRichTextPlainText *", 0, 0, (void*)0, 0};
32602
static swig_type_info _swigt__p_wxRichTextPlainTextHandler = {"_p_wxRichTextPlainTextHandler", "wxRichTextPlainTextHandler *", 0, 0, (void*)0, 0};
32603
static swig_type_info _swigt__p_wxRichTextPrinting = {"_p_wxRichTextPrinting", "wxRichTextPrinting *", 0, 0, (void*)0, 0};
32604
static swig_type_info _swigt__p_wxRichTextPrintout = {"_p_wxRichTextPrintout", "wxRichTextPrintout *", 0, 0, (void*)0, 0};
32605
static swig_type_info _swigt__p_wxRichTextRange = {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
32606
static swig_type_info _swigt__p_wxRichTextRenderer = {"_p_wxRichTextRenderer", "wxRichTextRenderer *", 0, 0, (void*)0, 0};
32607
static swig_type_info _swigt__p_wxRichTextStdRenderer = {"_p_wxRichTextStdRenderer", "wxRichTextStdRenderer *", 0, 0, (void*)0, 0};
32608
static swig_type_info _swigt__p_wxRichTextStyleDefinition = {"_p_wxRichTextStyleDefinition", "wxRichTextStyleDefinition *", 0, 0, (void*)0, 0};
32609
static swig_type_info _swigt__p_wxRichTextStyleSheet = {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
32610
static swig_type_info _swigt__p_wxRichTextXMLHandler = {"_p_wxRichTextXMLHandler", "wxRichTextXMLHandler *", 0, 0, (void*)0, 0};
32611
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32612
static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32613
static swig_type_info _swigt__p_wxTextAttrEx = {"_p_wxTextAttrEx", "wxTextAttrEx *", 0, 0, (void*)0, 0};
32614
static swig_type_info _swigt__p_wxTextCoord = {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
32615
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
32616
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32618
static swig_type_info *swig_type_initial[] = {
32621
&_swigt__p_form_ops_t,
32624
&_swigt__p_p_wxRichTextBox,
32625
&_swigt__p_p_wxRichTextBuffer,
32626
&_swigt__p_p_wxRichTextCompositeObject,
32627
&_swigt__p_p_wxRichTextImage,
32628
&_swigt__p_p_wxRichTextObject,
32629
&_swigt__p_p_wxRichTextParagraph,
32630
&_swigt__p_p_wxRichTextParagraphLayoutBox,
32631
&_swigt__p_p_wxRichTextPlainText,
32632
&_swigt__p_unsigned_char,
32633
&_swigt__p_unsigned_int,
32634
&_swigt__p_unsigned_long,
32635
&_swigt__p_wxANIHandler,
32636
&_swigt__p_wxAcceleratorTable,
32637
&_swigt__p_wxActivateEvent,
32638
&_swigt__p_wxArrayInt,
32639
&_swigt__p_wxArrayString,
32640
&_swigt__p_wxBMPHandler,
32641
&_swigt__p_wxBitmap,
32642
&_swigt__p_wxBoxSizer,
32643
&_swigt__p_wxCURHandler,
32644
&_swigt__p_wxCalculateLayoutEvent,
32646
&_swigt__p_wxChildFocusEvent,
32647
&_swigt__p_wxClipboardTextEvent,
32648
&_swigt__p_wxCloseEvent,
32649
&_swigt__p_wxColour,
32650
&_swigt__p_wxColourData,
32651
&_swigt__p_wxColourDialog,
32652
&_swigt__p_wxCommandEvent,
32653
&_swigt__p_wxCommandProcessor,
32654
&_swigt__p_wxContextMenuEvent,
32655
&_swigt__p_wxControl,
32656
&_swigt__p_wxControlWithItems,
32657
&_swigt__p_wxCursor,
32659
&_swigt__p_wxDateEvent,
32660
&_swigt__p_wxDialog,
32661
&_swigt__p_wxDirDialog,
32662
&_swigt__p_wxDisplayChangedEvent,
32663
&_swigt__p_wxDropFilesEvent,
32664
&_swigt__p_wxDuplexMode,
32665
&_swigt__p_wxEraseEvent,
32666
&_swigt__p_wxEvent,
32667
&_swigt__p_wxEvtHandler,
32668
&_swigt__p_wxFSFile,
32669
&_swigt__p_wxFileDialog,
32670
&_swigt__p_wxFileSystem,
32671
&_swigt__p_wxFindDialogEvent,
32672
&_swigt__p_wxFindReplaceData,
32673
&_swigt__p_wxFindReplaceDialog,
32674
&_swigt__p_wxFlexGridSizer,
32675
&_swigt__p_wxFocusEvent,
32677
&_swigt__p_wxFontData,
32678
&_swigt__p_wxFontDialog,
32679
&_swigt__p_wxFrame,
32680
&_swigt__p_wxGBSizerItem,
32681
&_swigt__p_wxGIFHandler,
32682
&_swigt__p_wxGridBagSizer,
32683
&_swigt__p_wxGridSizer,
32684
&_swigt__p_wxICOHandler,
32685
&_swigt__p_wxIconizeEvent,
32686
&_swigt__p_wxIdleEvent,
32687
&_swigt__p_wxImage,
32688
&_swigt__p_wxImageHandler,
32689
&_swigt__p_wxIndividualLayoutConstraint,
32690
&_swigt__p_wxInitDialogEvent,
32691
&_swigt__p_wxInputStream,
32692
&_swigt__p_wxJPEGHandler,
32693
&_swigt__p_wxKeyEvent,
32694
&_swigt__p_wxLayoutAlgorithm,
32695
&_swigt__p_wxLayoutConstraints,
32697
&_swigt__p_wxMDIChildFrame,
32698
&_swigt__p_wxMDIClientWindow,
32699
&_swigt__p_wxMDIParentFrame,
32700
&_swigt__p_wxMaximizeEvent,
32702
&_swigt__p_wxMenuBar,
32703
&_swigt__p_wxMenuEvent,
32704
&_swigt__p_wxMenuItem,
32705
&_swigt__p_wxMessageDialog,
32706
&_swigt__p_wxMiniFrame,
32707
&_swigt__p_wxMouseCaptureChangedEvent,
32708
&_swigt__p_wxMouseCaptureLostEvent,
32709
&_swigt__p_wxMouseEvent,
32710
&_swigt__p_wxMoveEvent,
32711
&_swigt__p_wxMultiChoiceDialog,
32712
&_swigt__p_wxNavigationKeyEvent,
32713
&_swigt__p_wxNcPaintEvent,
32714
&_swigt__p_wxNotifyEvent,
32715
&_swigt__p_wxNumberEntryDialog,
32716
&_swigt__p_wxObject,
32717
&_swigt__p_wxOutputStream,
32718
&_swigt__p_wxPCXHandler,
32719
&_swigt__p_wxPNGHandler,
32720
&_swigt__p_wxPNMHandler,
32721
&_swigt__p_wxPageSetupData,
32722
&_swigt__p_wxPageSetupDialog,
32723
&_swigt__p_wxPageSetupDialogData,
32724
&_swigt__p_wxPaintEvent,
32725
&_swigt__p_wxPaletteChangedEvent,
32726
&_swigt__p_wxPanel,
32727
&_swigt__p_wxPaperSize,
32728
&_swigt__p_wxPasswordEntryDialog,
32729
&_swigt__p_wxPoint,
32730
&_swigt__p_wxPopupWindow,
32731
&_swigt__p_wxPreviewCanvas,
32732
&_swigt__p_wxPreviewControlBar,
32733
&_swigt__p_wxPreviewFrame,
32734
&_swigt__p_wxPrintData,
32735
&_swigt__p_wxPrintDialog,
32736
&_swigt__p_wxPrintDialogData,
32737
&_swigt__p_wxPrintPreview,
32738
&_swigt__p_wxPrinter,
32739
&_swigt__p_wxProgressDialog,
32740
&_swigt__p_wxPyApp,
32741
&_swigt__p_wxPyCommandEvent,
32742
&_swigt__p_wxPyEvent,
32743
&_swigt__p_wxPyEvtHandler,
32744
&_swigt__p_wxPyHtmlListBox,
32745
&_swigt__p_wxPyImageHandler,
32746
&_swigt__p_wxPyPanel,
32747
&_swigt__p_wxPyPopupTransientWindow,
32748
&_swigt__p_wxPyPreviewControlBar,
32749
&_swigt__p_wxPyPreviewFrame,
32750
&_swigt__p_wxPyPrintPreview,
32751
&_swigt__p_wxPyPrintout,
32752
&_swigt__p_wxPyScrolledWindow,
32753
&_swigt__p_wxPySizer,
32754
&_swigt__p_wxPyTaskBarIcon,
32755
&_swigt__p_wxPyVListBox,
32756
&_swigt__p_wxPyVScrolledWindow,
32757
&_swigt__p_wxPyValidator,
32758
&_swigt__p_wxPyWindow,
32759
&_swigt__p_wxQueryLayoutInfoEvent,
32760
&_swigt__p_wxQueryNewPaletteEvent,
32762
&_swigt__p_wxRichTextAction,
32763
&_swigt__p_wxRichTextAttr,
32764
&_swigt__p_wxRichTextBox,
32765
&_swigt__p_wxRichTextBuffer,
32766
&_swigt__p_wxRichTextCommand,
32767
&_swigt__p_wxRichTextCompositeObject,
32768
&_swigt__p_wxRichTextCtrl,
32769
&_swigt__p_wxRichTextEvent,
32770
&_swigt__p_wxRichTextFileHandler,
32771
&_swigt__p_wxRichTextFileHandlerList,
32772
&_swigt__p_wxRichTextFileHandlerList_iterator,
32773
&_swigt__p_wxRichTextHTMLHandler,
32774
&_swigt__p_wxRichTextHeaderFooterData,
32775
&_swigt__p_wxRichTextImage,
32776
&_swigt__p_wxRichTextImageBlock,
32777
&_swigt__p_wxRichTextLine,
32778
&_swigt__p_wxRichTextLineList,
32779
&_swigt__p_wxRichTextListStyleDefinition,
32780
&_swigt__p_wxRichTextObject,
32781
&_swigt__p_wxRichTextObjectList,
32782
&_swigt__p_wxRichTextObjectList_iterator,
32783
&_swigt__p_wxRichTextParagraph,
32784
&_swigt__p_wxRichTextParagraphLayoutBox,
32785
&_swigt__p_wxRichTextPlainText,
32786
&_swigt__p_wxRichTextPlainTextHandler,
32787
&_swigt__p_wxRichTextPrinting,
32788
&_swigt__p_wxRichTextPrintout,
32789
&_swigt__p_wxRichTextRange,
32790
&_swigt__p_wxRichTextRenderer,
32791
&_swigt__p_wxRichTextStdRenderer,
32792
&_swigt__p_wxRichTextStyleDefinition,
32793
&_swigt__p_wxRichTextStyleSheet,
32794
&_swigt__p_wxRichTextXMLHandler,
32795
&_swigt__p_wxSashEvent,
32796
&_swigt__p_wxSashLayoutWindow,
32797
&_swigt__p_wxSashWindow,
32798
&_swigt__p_wxScrollEvent,
32799
&_swigt__p_wxScrollWinEvent,
32800
&_swigt__p_wxScrolledWindow,
32801
&_swigt__p_wxSetCursorEvent,
32802
&_swigt__p_wxShowEvent,
32803
&_swigt__p_wxSimpleHtmlListBox,
32804
&_swigt__p_wxSingleChoiceDialog,
32806
&_swigt__p_wxSizeEvent,
32807
&_swigt__p_wxSizer,
32808
&_swigt__p_wxSizerItem,
32809
&_swigt__p_wxSplashScreen,
32810
&_swigt__p_wxSplashScreenWindow,
32811
&_swigt__p_wxSplitterEvent,
32812
&_swigt__p_wxSplitterWindow,
32813
&_swigt__p_wxStaticBoxSizer,
32814
&_swigt__p_wxStatusBar,
32815
&_swigt__p_wxStdDialogButtonSizer,
32816
&_swigt__p_wxSysColourChangedEvent,
32817
&_swigt__p_wxTGAHandler,
32818
&_swigt__p_wxTIFFHandler,
32819
&_swigt__p_wxTaskBarIconEvent,
32820
&_swigt__p_wxTextAttrEx,
32821
&_swigt__p_wxTextCoord,
32822
&_swigt__p_wxTextEntryDialog,
32823
&_swigt__p_wxTipWindow,
32824
&_swigt__p_wxTopLevelWindow,
32825
&_swigt__p_wxUpdateUIEvent,
32826
&_swigt__p_wxValidator,
32827
&_swigt__p_wxWindow,
32828
&_swigt__p_wxWindowCreateEvent,
32829
&_swigt__p_wxWindowDestroyEvent,
32830
&_swigt__p_wxXPMHandler,
32833
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32834
static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
32835
static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32836
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32837
static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
32838
static swig_cast_info _swigc__p_p_wxRichTextBox[] = {{&_swigt__p_p_wxRichTextBox, 0, 0, 0},{0, 0, 0, 0}};
32839
static swig_cast_info _swigc__p_p_wxRichTextParagraphLayoutBox[] = {{&_swigt__p_p_wxRichTextParagraphLayoutBox, 0, 0, 0},{0, 0, 0, 0}};
32840
static swig_cast_info _swigc__p_p_wxRichTextParagraph[] = {{&_swigt__p_p_wxRichTextParagraph, 0, 0, 0},{0, 0, 0, 0}};
32841
static swig_cast_info _swigc__p_p_wxRichTextImage[] = {{&_swigt__p_p_wxRichTextImage, 0, 0, 0},{0, 0, 0, 0}};
32842
static swig_cast_info _swigc__p_p_wxRichTextBuffer[] = {{&_swigt__p_p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
32843
static swig_cast_info _swigc__p_p_wxRichTextPlainText[] = {{&_swigt__p_p_wxRichTextPlainText, 0, 0, 0},{0, 0, 0, 0}};
32844
static swig_cast_info _swigc__p_p_wxRichTextCompositeObject[] = {{&_swigt__p_p_wxRichTextCompositeObject, 0, 0, 0},{0, 0, 0, 0}};
32845
static swig_cast_info _swigc__p_p_wxRichTextObject[] = { {&_swigt__p_p_wxRichTextBox, _p_p_wxRichTextBoxTo_p_p_wxRichTextObject, 0, 0}, {&_swigt__p_p_wxRichTextParagraphLayoutBox, _p_p_wxRichTextParagraphLayoutBoxTo_p_p_wxRichTextObject, 0, 0}, {&_swigt__p_p_wxRichTextParagraph, _p_p_wxRichTextParagraphTo_p_p_wxRichTextObject, 0, 0}, {&_swigt__p_p_wxRichTextImage, _p_p_wxRichTextImageTo_p_p_wxRichTextObject, 0, 0}, {&_swigt__p_p_wxRichTextBuffer, _p_p_wxRichTextBufferTo_p_p_wxRichTextObject, 0, 0}, {&_swigt__p_p_wxRichTextObject, 0, 0, 0}, {&_swigt__p_p_wxRichTextPlainText, _p_p_wxRichTextPlainTextTo_p_p_wxRichTextObject, 0, 0}, {&_swigt__p_p_wxRichTextCompositeObject, _p_p_wxRichTextCompositeObjectTo_p_p_wxRichTextObject, 0, 0},{0, 0, 0, 0}};
32846
static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32847
static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32848
static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32849
static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32850
static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
32851
static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32852
static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
32853
static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32854
static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32855
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32856
static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32857
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32858
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32859
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32860
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32861
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32862
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32863
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32864
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32865
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32866
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}};
32867
static swig_cast_info _swigc__p_wxCommandProcessor[] = { {&_swigt__p_wxCommandProcessor, 0, 0, 0},{0, 0, 0, 0}};
32868
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32869
static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
32870
static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
32871
static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32872
static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32873
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32874
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32875
static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32876
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32877
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32878
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32879
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32880
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32881
static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32882
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32883
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32884
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32885
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32886
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32887
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32888
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32889
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32890
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32891
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32892
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32893
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32894
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32895
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32896
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32897
static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32898
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32899
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32900
static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32901
static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32902
static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32903
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32904
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32905
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32906
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32907
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32908
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32909
static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32910
static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32911
static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32912
static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32913
static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32914
static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32915
static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32916
static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
32917
static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32918
static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32919
static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32920
static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32921
static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
32922
static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32923
static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32924
static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32925
static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
32926
static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32927
static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
32928
static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32929
static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32930
static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32931
static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32932
static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32933
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32934
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
32935
static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32936
static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32937
static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32938
static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32939
static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
32940
static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32941
static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32942
static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32943
static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
32944
static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32945
static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32946
static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32947
static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
32948
static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32949
static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_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_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_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}};
32950
static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32951
static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32952
static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}};
32953
static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32954
static swig_cast_info _swigc__p_wxList[] = { {&_swigt__p_wxList, 0, 0, 0},{0, 0, 0, 0}};
32955
static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32956
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}};
32957
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32958
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32959
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32960
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32961
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32962
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32963
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32964
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32965
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32966
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32967
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32968
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32969
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32970
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32971
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32972
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32973
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32974
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32975
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32976
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32977
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32978
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32979
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32980
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32981
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32982
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32983
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32984
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32985
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32986
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32987
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32988
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32989
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32990
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32991
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32992
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32993
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32994
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32995
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32996
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32997
static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextPlainText, _p_wxRichTextPlainTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_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_wxRichTextPrinting, _p_wxRichTextPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRichTextObject, _p_wxRichTextObjectTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextPrintout, _p_wxRichTextPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextCompositeObject, _p_wxRichTextCompositeObjectTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_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_wxRichTextImage, _p_wxRichTextImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextHTMLHandler, _p_wxRichTextHTMLHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextPlainTextHandler, _p_wxRichTextPlainTextHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextFileHandler, _p_wxRichTextFileHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextXMLHandler, _p_wxRichTextXMLHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextBox, _p_wxRichTextBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextRenderer, _p_wxRichTextRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextStdRenderer, _p_wxRichTextStdRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32998
static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
32999
static swig_cast_info _swigc__p_wxPageSetupData[] = { {&_swigt__p_wxPageSetupData, 0, 0, 0},{0, 0, 0, 0}};
33000
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33001
static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33002
static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33003
static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33004
static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxRichTextPrintout, _p_wxRichTextPrintoutTo_p_wxPyPrintout, 0, 0},{0, 0, 0, 0}};
33005
static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33006
static swig_cast_info _swigc__p_wxRichTextAction[] = { {&_swigt__p_wxRichTextAction, 0, 0, 0},{0, 0, 0, 0}};
33007
static swig_cast_info _swigc__p_wxRichTextAttr[] = { {&_swigt__p_wxRichTextAttr, 0, 0, 0},{0, 0, 0, 0}};
33008
static swig_cast_info _swigc__p_wxRichTextBox[] = { {&_swigt__p_wxRichTextBox, 0, 0, 0}, {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextBox, 0, 0}, {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextBox, 0, 0}, {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxRichTextBox, 0, 0},{0, 0, 0, 0}};
33009
static swig_cast_info _swigc__p_wxRichTextBuffer[] = { {&_swigt__p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
33010
static swig_cast_info _swigc__p_wxRichTextCommand[] = { {&_swigt__p_wxRichTextCommand, 0, 0, 0},{0, 0, 0, 0}};
33011
static swig_cast_info _swigc__p_wxRichTextCompositeObject[] = { {&_swigt__p_wxRichTextBox, _p_wxRichTextBoxTo_p_wxRichTextCompositeObject, 0, 0}, {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextCompositeObject, 0, 0}, {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextCompositeObject, 0, 0}, {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxRichTextCompositeObject, 0, 0}, {&_swigt__p_wxRichTextCompositeObject, 0, 0, 0},{0, 0, 0, 0}};
33012
static swig_cast_info _swigc__p_wxRichTextCtrl[] = { {&_swigt__p_wxRichTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
33013
static swig_cast_info _swigc__p_wxRichTextEvent[] = { {&_swigt__p_wxRichTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33014
static swig_cast_info _swigc__p_wxRichTextFileHandler[] = { {&_swigt__p_wxRichTextFileHandler, 0, 0, 0}, {&_swigt__p_wxRichTextPlainTextHandler, _p_wxRichTextPlainTextHandlerTo_p_wxRichTextFileHandler, 0, 0}, {&_swigt__p_wxRichTextHTMLHandler, _p_wxRichTextHTMLHandlerTo_p_wxRichTextFileHandler, 0, 0}, {&_swigt__p_wxRichTextXMLHandler, _p_wxRichTextXMLHandlerTo_p_wxRichTextFileHandler, 0, 0},{0, 0, 0, 0}};
33015
static swig_cast_info _swigc__p_wxRichTextFileHandlerList[] = { {&_swigt__p_wxRichTextFileHandlerList, 0, 0, 0},{0, 0, 0, 0}};
33016
static swig_cast_info _swigc__p_wxRichTextFileHandlerList_iterator[] = { {&_swigt__p_wxRichTextFileHandlerList_iterator, 0, 0, 0},{0, 0, 0, 0}};
33017
static swig_cast_info _swigc__p_wxRichTextHTMLHandler[] = { {&_swigt__p_wxRichTextHTMLHandler, 0, 0, 0},{0, 0, 0, 0}};
33018
static swig_cast_info _swigc__p_wxRichTextHeaderFooterData[] = { {&_swigt__p_wxRichTextHeaderFooterData, 0, 0, 0},{0, 0, 0, 0}};
33019
static swig_cast_info _swigc__p_wxRichTextImage[] = { {&_swigt__p_wxRichTextImage, 0, 0, 0},{0, 0, 0, 0}};
33020
static swig_cast_info _swigc__p_wxRichTextImageBlock[] = { {&_swigt__p_wxRichTextImageBlock, 0, 0, 0},{0, 0, 0, 0}};
33021
static swig_cast_info _swigc__p_wxRichTextLine[] = { {&_swigt__p_wxRichTextLine, 0, 0, 0},{0, 0, 0, 0}};
33022
static swig_cast_info _swigc__p_wxRichTextLineList[] = { {&_swigt__p_wxRichTextLineList, 0, 0, 0},{0, 0, 0, 0}};
33023
static swig_cast_info _swigc__p_wxRichTextListStyleDefinition[] = { {&_swigt__p_wxRichTextListStyleDefinition, 0, 0, 0},{0, 0, 0, 0}};
33024
static swig_cast_info _swigc__p_wxRichTextObject[] = { {&_swigt__p_wxRichTextBox, _p_wxRichTextBoxTo_p_wxRichTextObject, 0, 0}, {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextObject, 0, 0}, {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextObject, 0, 0}, {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxRichTextObject, 0, 0}, {&_swigt__p_wxRichTextImage, _p_wxRichTextImageTo_p_wxRichTextObject, 0, 0}, {&_swigt__p_wxRichTextObject, 0, 0, 0}, {&_swigt__p_wxRichTextPlainText, _p_wxRichTextPlainTextTo_p_wxRichTextObject, 0, 0}, {&_swigt__p_wxRichTextCompositeObject, _p_wxRichTextCompositeObjectTo_p_wxRichTextObject, 0, 0},{0, 0, 0, 0}};
33025
static swig_cast_info _swigc__p_wxRichTextObjectList[] = { {&_swigt__p_wxRichTextObjectList, 0, 0, 0},{0, 0, 0, 0}};
33026
static swig_cast_info _swigc__p_wxRichTextObjectList_iterator[] = { {&_swigt__p_wxRichTextObjectList_iterator, 0, 0, 0},{0, 0, 0, 0}};
33027
static swig_cast_info _swigc__p_wxRichTextParagraph[] = { {&_swigt__p_wxRichTextParagraph, 0, 0, 0},{0, 0, 0, 0}};
33028
static swig_cast_info _swigc__p_wxRichTextParagraphLayoutBox[] = { {&_swigt__p_wxRichTextParagraphLayoutBox, 0, 0, 0}, {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextParagraphLayoutBox, 0, 0},{0, 0, 0, 0}};
33029
static swig_cast_info _swigc__p_wxRichTextPlainText[] = { {&_swigt__p_wxRichTextPlainText, 0, 0, 0},{0, 0, 0, 0}};
33030
static swig_cast_info _swigc__p_wxRichTextPlainTextHandler[] = { {&_swigt__p_wxRichTextPlainTextHandler, 0, 0, 0},{0, 0, 0, 0}};
33031
static swig_cast_info _swigc__p_wxRichTextPrinting[] = { {&_swigt__p_wxRichTextPrinting, 0, 0, 0},{0, 0, 0, 0}};
33032
static swig_cast_info _swigc__p_wxRichTextPrintout[] = { {&_swigt__p_wxRichTextPrintout, 0, 0, 0},{0, 0, 0, 0}};
33033
static swig_cast_info _swigc__p_wxRichTextRange[] = { {&_swigt__p_wxRichTextRange, 0, 0, 0},{0, 0, 0, 0}};
33034
static swig_cast_info _swigc__p_wxRichTextRenderer[] = { {&_swigt__p_wxRichTextRenderer, 0, 0, 0}, {&_swigt__p_wxRichTextStdRenderer, _p_wxRichTextStdRendererTo_p_wxRichTextRenderer, 0, 0},{0, 0, 0, 0}};
33035
static swig_cast_info _swigc__p_wxRichTextStdRenderer[] = { {&_swigt__p_wxRichTextStdRenderer, 0, 0, 0},{0, 0, 0, 0}};
33036
static swig_cast_info _swigc__p_wxRichTextStyleDefinition[] = { {&_swigt__p_wxRichTextStyleDefinition, 0, 0, 0},{0, 0, 0, 0}};
33037
static swig_cast_info _swigc__p_wxRichTextStyleSheet[] = { {&_swigt__p_wxRichTextStyleSheet, 0, 0, 0},{0, 0, 0, 0}};
33038
static swig_cast_info _swigc__p_wxRichTextXMLHandler[] = { {&_swigt__p_wxRichTextXMLHandler, 0, 0, 0},{0, 0, 0, 0}};
33039
static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33040
static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33041
static swig_cast_info _swigc__p_wxTextAttrEx[] = { {&_swigt__p_wxTextAttrEx, 0, 0, 0},{0, 0, 0, 0}};
33042
static swig_cast_info _swigc__p_wxTextCoord[] = { {&_swigt__p_wxTextCoord, 0, 0, 0},{0, 0, 0, 0}};
33043
static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
33044
static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_wxScrolledWindow, _p_wxScrolledWindowTo_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_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_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}};
33046
static swig_cast_info *swig_cast_initial[] = {
33049
_swigc__p_form_ops_t,
33052
_swigc__p_p_wxRichTextBox,
33053
_swigc__p_p_wxRichTextBuffer,
33054
_swigc__p_p_wxRichTextCompositeObject,
33055
_swigc__p_p_wxRichTextImage,
33056
_swigc__p_p_wxRichTextObject,
33057
_swigc__p_p_wxRichTextParagraph,
33058
_swigc__p_p_wxRichTextParagraphLayoutBox,
33059
_swigc__p_p_wxRichTextPlainText,
33060
_swigc__p_unsigned_char,
33061
_swigc__p_unsigned_int,
33062
_swigc__p_unsigned_long,
33063
_swigc__p_wxANIHandler,
33064
_swigc__p_wxAcceleratorTable,
33065
_swigc__p_wxActivateEvent,
33066
_swigc__p_wxArrayInt,
33067
_swigc__p_wxArrayString,
33068
_swigc__p_wxBMPHandler,
33069
_swigc__p_wxBitmap,
33070
_swigc__p_wxBoxSizer,
33071
_swigc__p_wxCURHandler,
33072
_swigc__p_wxCalculateLayoutEvent,
33074
_swigc__p_wxChildFocusEvent,
33075
_swigc__p_wxClipboardTextEvent,
33076
_swigc__p_wxCloseEvent,
33077
_swigc__p_wxColour,
33078
_swigc__p_wxColourData,
33079
_swigc__p_wxColourDialog,
33080
_swigc__p_wxCommandEvent,
33081
_swigc__p_wxCommandProcessor,
33082
_swigc__p_wxContextMenuEvent,
33083
_swigc__p_wxControl,
33084
_swigc__p_wxControlWithItems,
33085
_swigc__p_wxCursor,
33087
_swigc__p_wxDateEvent,
33088
_swigc__p_wxDialog,
33089
_swigc__p_wxDirDialog,
33090
_swigc__p_wxDisplayChangedEvent,
33091
_swigc__p_wxDropFilesEvent,
33092
_swigc__p_wxDuplexMode,
33093
_swigc__p_wxEraseEvent,
33095
_swigc__p_wxEvtHandler,
33096
_swigc__p_wxFSFile,
33097
_swigc__p_wxFileDialog,
33098
_swigc__p_wxFileSystem,
33099
_swigc__p_wxFindDialogEvent,
33100
_swigc__p_wxFindReplaceData,
33101
_swigc__p_wxFindReplaceDialog,
33102
_swigc__p_wxFlexGridSizer,
33103
_swigc__p_wxFocusEvent,
33105
_swigc__p_wxFontData,
33106
_swigc__p_wxFontDialog,
33108
_swigc__p_wxGBSizerItem,
33109
_swigc__p_wxGIFHandler,
33110
_swigc__p_wxGridBagSizer,
33111
_swigc__p_wxGridSizer,
33112
_swigc__p_wxICOHandler,
33113
_swigc__p_wxIconizeEvent,
33114
_swigc__p_wxIdleEvent,
33116
_swigc__p_wxImageHandler,
33117
_swigc__p_wxIndividualLayoutConstraint,
33118
_swigc__p_wxInitDialogEvent,
33119
_swigc__p_wxInputStream,
33120
_swigc__p_wxJPEGHandler,
33121
_swigc__p_wxKeyEvent,
33122
_swigc__p_wxLayoutAlgorithm,
33123
_swigc__p_wxLayoutConstraints,
33125
_swigc__p_wxMDIChildFrame,
33126
_swigc__p_wxMDIClientWindow,
33127
_swigc__p_wxMDIParentFrame,
33128
_swigc__p_wxMaximizeEvent,
33130
_swigc__p_wxMenuBar,
33131
_swigc__p_wxMenuEvent,
33132
_swigc__p_wxMenuItem,
33133
_swigc__p_wxMessageDialog,
33134
_swigc__p_wxMiniFrame,
33135
_swigc__p_wxMouseCaptureChangedEvent,
33136
_swigc__p_wxMouseCaptureLostEvent,
33137
_swigc__p_wxMouseEvent,
33138
_swigc__p_wxMoveEvent,
33139
_swigc__p_wxMultiChoiceDialog,
33140
_swigc__p_wxNavigationKeyEvent,
33141
_swigc__p_wxNcPaintEvent,
33142
_swigc__p_wxNotifyEvent,
33143
_swigc__p_wxNumberEntryDialog,
33144
_swigc__p_wxObject,
33145
_swigc__p_wxOutputStream,
33146
_swigc__p_wxPCXHandler,
33147
_swigc__p_wxPNGHandler,
33148
_swigc__p_wxPNMHandler,
33149
_swigc__p_wxPageSetupData,
33150
_swigc__p_wxPageSetupDialog,
33151
_swigc__p_wxPageSetupDialogData,
33152
_swigc__p_wxPaintEvent,
33153
_swigc__p_wxPaletteChangedEvent,
33155
_swigc__p_wxPaperSize,
33156
_swigc__p_wxPasswordEntryDialog,
33158
_swigc__p_wxPopupWindow,
33159
_swigc__p_wxPreviewCanvas,
33160
_swigc__p_wxPreviewControlBar,
33161
_swigc__p_wxPreviewFrame,
33162
_swigc__p_wxPrintData,
33163
_swigc__p_wxPrintDialog,
33164
_swigc__p_wxPrintDialogData,
33165
_swigc__p_wxPrintPreview,
33166
_swigc__p_wxPrinter,
33167
_swigc__p_wxProgressDialog,
33169
_swigc__p_wxPyCommandEvent,
33170
_swigc__p_wxPyEvent,
33171
_swigc__p_wxPyEvtHandler,
33172
_swigc__p_wxPyHtmlListBox,
33173
_swigc__p_wxPyImageHandler,
33174
_swigc__p_wxPyPanel,
33175
_swigc__p_wxPyPopupTransientWindow,
33176
_swigc__p_wxPyPreviewControlBar,
33177
_swigc__p_wxPyPreviewFrame,
33178
_swigc__p_wxPyPrintPreview,
33179
_swigc__p_wxPyPrintout,
33180
_swigc__p_wxPyScrolledWindow,
33181
_swigc__p_wxPySizer,
33182
_swigc__p_wxPyTaskBarIcon,
33183
_swigc__p_wxPyVListBox,
33184
_swigc__p_wxPyVScrolledWindow,
33185
_swigc__p_wxPyValidator,
33186
_swigc__p_wxPyWindow,
33187
_swigc__p_wxQueryLayoutInfoEvent,
33188
_swigc__p_wxQueryNewPaletteEvent,
33190
_swigc__p_wxRichTextAction,
33191
_swigc__p_wxRichTextAttr,
33192
_swigc__p_wxRichTextBox,
33193
_swigc__p_wxRichTextBuffer,
33194
_swigc__p_wxRichTextCommand,
33195
_swigc__p_wxRichTextCompositeObject,
33196
_swigc__p_wxRichTextCtrl,
33197
_swigc__p_wxRichTextEvent,
33198
_swigc__p_wxRichTextFileHandler,
33199
_swigc__p_wxRichTextFileHandlerList,
33200
_swigc__p_wxRichTextFileHandlerList_iterator,
33201
_swigc__p_wxRichTextHTMLHandler,
33202
_swigc__p_wxRichTextHeaderFooterData,
33203
_swigc__p_wxRichTextImage,
33204
_swigc__p_wxRichTextImageBlock,
33205
_swigc__p_wxRichTextLine,
33206
_swigc__p_wxRichTextLineList,
33207
_swigc__p_wxRichTextListStyleDefinition,
33208
_swigc__p_wxRichTextObject,
33209
_swigc__p_wxRichTextObjectList,
33210
_swigc__p_wxRichTextObjectList_iterator,
33211
_swigc__p_wxRichTextParagraph,
33212
_swigc__p_wxRichTextParagraphLayoutBox,
33213
_swigc__p_wxRichTextPlainText,
33214
_swigc__p_wxRichTextPlainTextHandler,
33215
_swigc__p_wxRichTextPrinting,
33216
_swigc__p_wxRichTextPrintout,
33217
_swigc__p_wxRichTextRange,
33218
_swigc__p_wxRichTextRenderer,
33219
_swigc__p_wxRichTextStdRenderer,
33220
_swigc__p_wxRichTextStyleDefinition,
33221
_swigc__p_wxRichTextStyleSheet,
33222
_swigc__p_wxRichTextXMLHandler,
33223
_swigc__p_wxSashEvent,
33224
_swigc__p_wxSashLayoutWindow,
33225
_swigc__p_wxSashWindow,
33226
_swigc__p_wxScrollEvent,
33227
_swigc__p_wxScrollWinEvent,
33228
_swigc__p_wxScrolledWindow,
33229
_swigc__p_wxSetCursorEvent,
33230
_swigc__p_wxShowEvent,
33231
_swigc__p_wxSimpleHtmlListBox,
33232
_swigc__p_wxSingleChoiceDialog,
33234
_swigc__p_wxSizeEvent,
33236
_swigc__p_wxSizerItem,
33237
_swigc__p_wxSplashScreen,
33238
_swigc__p_wxSplashScreenWindow,
33239
_swigc__p_wxSplitterEvent,
33240
_swigc__p_wxSplitterWindow,
33241
_swigc__p_wxStaticBoxSizer,
33242
_swigc__p_wxStatusBar,
33243
_swigc__p_wxStdDialogButtonSizer,
33244
_swigc__p_wxSysColourChangedEvent,
33245
_swigc__p_wxTGAHandler,
33246
_swigc__p_wxTIFFHandler,
33247
_swigc__p_wxTaskBarIconEvent,
33248
_swigc__p_wxTextAttrEx,
33249
_swigc__p_wxTextCoord,
33250
_swigc__p_wxTextEntryDialog,
33251
_swigc__p_wxTipWindow,
33252
_swigc__p_wxTopLevelWindow,
33253
_swigc__p_wxUpdateUIEvent,
33254
_swigc__p_wxValidator,
33255
_swigc__p_wxWindow,
33256
_swigc__p_wxWindowCreateEvent,
33257
_swigc__p_wxWindowDestroyEvent,
33258
_swigc__p_wxXPMHandler,
33262
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33264
static swig_const_info swig_const_table[] = {
33265
{0, 0, 0, 0.0, 0, 0}};
33270
/* -----------------------------------------------------------------------------
33271
* Type initialization:
33272
* This problem is tough by the requirement that no dynamic
33273
* memory is used. Also, since swig_type_info structures store pointers to
33274
* swig_cast_info structures and swig_cast_info structures store pointers back
33275
* to swig_type_info structures, we need some lookup code at initialization.
33276
* The idea is that swig generates all the structures that are needed.
33277
* The runtime then collects these partially filled structures.
33278
* The SWIG_InitializeModule function takes these initial arrays out of
33279
* swig_module, and does all the lookup, filling in the swig_module.types
33280
* array with the correct data and linking the correct swig_cast_info
33281
* structures together.
33283
* The generated swig_type_info structures are assigned staticly to an initial
33284
* array. We just loop though that array, and handle each type individually.
33285
* First we lookup if this type has been already loaded, and if so, use the
33286
* loaded structure instead of the generated one. Then we have to fill in the
33287
* cast linked list. The cast data is initially stored in something like a
33288
* two-dimensional array. Each row corresponds to a type (there are the same
33289
* number of rows as there are in the swig_type_initial array). Each entry in
33290
* a column is one of the swig_cast_info structures for that type.
33291
* The cast_initial array is actually an array of arrays, because each row has
33292
* a variable number of columns. So to actually build the cast linked list,
33293
* we find the array of casts associated with the type, and loop through it
33294
* adding the casts to the list. The one last trick we need to do is making
33295
* sure the type pointer in the swig_cast_info struct is correct.
33297
* First off, we lookup the cast->type name to see if it is already loaded.
33298
* There are three cases to handle:
33299
* 1) If the cast->type has already been loaded AND the type we are adding
33300
* casting info to has not been loaded (it is in this module), THEN we
33301
* replace the cast->type pointer with the type pointer that has already
33303
* 2) If BOTH types (the one we are adding casting info to, and the
33304
* cast->type) are loaded, THEN the cast info has already been loaded by
33305
* the previous module so we just ignore it.
33306
* 3) Finally, if cast->type has not already been loaded, then we add that
33307
* swig_cast_info to the linked list (because the cast->type) pointer will
33309
* ----------------------------------------------------------------------------- */
33319
#define SWIGRUNTIME_DEBUG
33323
SWIG_InitializeModule(void *clientdata) {
33325
swig_module_info *module_head;
33326
static int init_run = 0;
33328
clientdata = clientdata;
33330
if (init_run) return;
33333
/* Initialize the swig_module */
33334
swig_module.type_initial = swig_type_initial;
33335
swig_module.cast_initial = swig_cast_initial;
33337
/* Try and load any already created modules */
33338
module_head = SWIG_GetModule(clientdata);
33340
swig_module.next = module_head->next;
33341
module_head->next = &swig_module;
33343
/* This is the first module loaded */
33344
swig_module.next = &swig_module;
33345
SWIG_SetModule(clientdata, &swig_module);
33348
/* Now work on filling in swig_module.types */
33349
#ifdef SWIGRUNTIME_DEBUG
33350
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33352
for (i = 0; i < swig_module.size; ++i) {
33353
swig_type_info *type = 0;
33354
swig_type_info *ret;
33355
swig_cast_info *cast;
33357
#ifdef SWIGRUNTIME_DEBUG
33358
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33361
/* if there is another module already loaded */
33362
if (swig_module.next != &swig_module) {
33363
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33366
/* Overwrite clientdata field */
33367
#ifdef SWIGRUNTIME_DEBUG
33368
printf("SWIG_InitializeModule: found type %s\n", type->name);
33370
if (swig_module.type_initial[i]->clientdata) {
33371
type->clientdata = swig_module.type_initial[i]->clientdata;
33372
#ifdef SWIGRUNTIME_DEBUG
33373
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33377
type = swig_module.type_initial[i];
33380
/* Insert casting types */
33381
cast = swig_module.cast_initial[i];
33382
while (cast->type) {
33383
/* Don't need to add information already in the list */
33385
#ifdef SWIGRUNTIME_DEBUG
33386
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33388
if (swig_module.next != &swig_module) {
33389
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33390
#ifdef SWIGRUNTIME_DEBUG
33391
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33395
if (type == swig_module.type_initial[i]) {
33396
#ifdef SWIGRUNTIME_DEBUG
33397
printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33402
/* Check for casting already in the list */
33403
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33404
#ifdef SWIGRUNTIME_DEBUG
33405
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33407
if (!ocast) ret = 0;
33412
#ifdef SWIGRUNTIME_DEBUG
33413
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33416
type->cast->prev = cast;
33417
cast->next = type->cast;
33423
/* Set entry in modules->types array equal to the type */
33424
swig_module.types[i] = type;
33426
swig_module.types[i] = 0;
33428
#ifdef SWIGRUNTIME_DEBUG
33429
printf("**** SWIG_InitializeModule: Cast List ******\n");
33430
for (i = 0; i < swig_module.size; ++i) {
33432
swig_cast_info *cast = swig_module.cast_initial[i];
33433
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33434
while (cast->type) {
33435
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33439
printf("---- Total casts: %d\n",j);
33441
printf("**** SWIG_InitializeModule: Cast List ******\n");
33445
/* This function will propagate the clientdata field of type to
33446
* any new swig_type_info structures that have been added into the list
33447
* of equivalent types. It is like calling
33448
* SWIG_TypeClientData(type, clientdata) a second time.
33451
SWIG_PropagateClientData(void) {
33453
swig_cast_info *equiv;
33454
static int init_run = 0;
33456
if (init_run) return;
33459
for (i = 0; i < swig_module.size; i++) {
33460
if (swig_module.types[i]->clientdata) {
33461
equiv = swig_module.types[i]->cast;
33463
if (!equiv->converter) {
33464
if (equiv->type && !equiv->type->clientdata)
33465
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33467
equiv = equiv->next;
33487
/* Python-specific SWIG API */
33488
#define SWIG_newvarlink() SWIG_Python_newvarlink()
33489
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33490
#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33492
/* -----------------------------------------------------------------------------
33493
* global variable support code.
33494
* ----------------------------------------------------------------------------- */
33496
typedef struct swig_globalvar {
33497
char *name; /* Name of global variable */
33498
PyObject *(*get_attr)(void); /* Return the current value */
33499
int (*set_attr)(PyObject *); /* Set the value */
33500
struct swig_globalvar *next;
33503
typedef struct swig_varlinkobject {
33505
swig_globalvar *vars;
33506
} swig_varlinkobject;
33508
SWIGINTERN PyObject *
33509
swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33510
return PyString_FromString("<Swig global variables>");
33513
SWIGINTERN PyObject *
33514
swig_varlink_str(swig_varlinkobject *v) {
33515
PyObject *str = PyString_FromString("(");
33516
swig_globalvar *var;
33517
for (var = v->vars; var; var=var->next) {
33518
PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33519
if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33521
PyString_ConcatAndDel(&str,PyString_FromString(")"));
33526
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33527
PyObject *str = swig_varlink_str(v);
33528
fprintf(fp,"Swig global variables ");
33529
fprintf(fp,"%s\n", PyString_AsString(str));
33535
swig_varlink_dealloc(swig_varlinkobject *v) {
33536
swig_globalvar *var = v->vars;
33538
swig_globalvar *n = var->next;
33545
SWIGINTERN PyObject *
33546
swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33547
PyObject *res = NULL;
33548
swig_globalvar *var = v->vars;
33550
if (strcmp(var->name,n) == 0) {
33551
res = (*var->get_attr)();
33556
if (res == NULL && !PyErr_Occurred()) {
33557
PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33563
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33565
swig_globalvar *var = v->vars;
33567
if (strcmp(var->name,n) == 0) {
33568
res = (*var->set_attr)(p);
33573
if (res == 1 && !PyErr_Occurred()) {
33574
PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33579
SWIGINTERN PyTypeObject*
33580
swig_varlink_type(void) {
33581
static char varlink__doc__[] = "Swig var link object";
33582
static PyTypeObject varlink_type;
33583
static int type_init = 0;
33585
const PyTypeObject tmp
33587
PyObject_HEAD_INIT(NULL)
33588
0, /* Number of items in variable part (ob_size) */
33589
(char *)"swigvarlink", /* Type name (tp_name) */
33590
sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33591
0, /* Itemsize (tp_itemsize) */
33592
(destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33593
(printfunc) swig_varlink_print, /* Print (tp_print) */
33594
(getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33595
(setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33596
0, /* tp_compare */
33597
(reprfunc) swig_varlink_repr, /* tp_repr */
33598
0, /* tp_as_number */
33599
0, /* tp_as_sequence */
33600
0, /* tp_as_mapping */
33603
(reprfunc)swig_varlink_str, /* tp_str */
33604
0, /* tp_getattro */
33605
0, /* tp_setattro */
33606
0, /* tp_as_buffer */
33608
varlink__doc__, /* tp_doc */
33609
0, /* tp_traverse */
33611
0, /* tp_richcompare */
33612
0, /* tp_weaklistoffset */
33613
#if PY_VERSION_HEX >= 0x02020000
33614
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33616
#if PY_VERSION_HEX >= 0x02030000
33619
#ifdef COUNT_ALLOCS
33620
0,0,0,0 /* tp_alloc -> tp_next */
33623
varlink_type = tmp;
33624
varlink_type.ob_type = &PyType_Type;
33627
return &varlink_type;
33630
/* Create a variable linking object for use later */
33631
SWIGINTERN PyObject *
33632
SWIG_Python_newvarlink(void) {
33633
swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33637
return ((PyObject*) result);
33641
SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33642
swig_varlinkobject *v = (swig_varlinkobject *) p;
33643
swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33645
size_t size = strlen(name)+1;
33646
gv->name = (char *)malloc(size);
33648
strncpy(gv->name,name,size);
33649
gv->get_attr = get_attr;
33650
gv->set_attr = set_attr;
33651
gv->next = v->vars;
33657
SWIGINTERN PyObject *
33659
static PyObject *_SWIG_globals = 0;
33660
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33661
return _SWIG_globals;
33664
/* -----------------------------------------------------------------------------
33665
* constants/methods manipulation
33666
* ----------------------------------------------------------------------------- */
33668
/* Install Constants */
33670
SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33673
for (i = 0; constants[i].type; ++i) {
33674
switch(constants[i].type) {
33675
case SWIG_PY_POINTER:
33676
obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33678
case SWIG_PY_BINARY:
33679
obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33686
PyDict_SetItemString(d, constants[i].name, obj);
33692
/* -----------------------------------------------------------------------------*/
33693
/* Fix SwigMethods to carry the callback ptrs when needed */
33694
/* -----------------------------------------------------------------------------*/
33697
SWIG_Python_FixMethods(PyMethodDef *methods,
33698
swig_const_info *const_table,
33699
swig_type_info **types,
33700
swig_type_info **types_initial) {
33702
for (i = 0; methods[i].ml_name; ++i) {
33703
const char *c = methods[i].ml_doc;
33704
if (c && (c = strstr(c, "swig_ptr: "))) {
33706
swig_const_info *ci = 0;
33707
const char *name = c + 10;
33708
for (j = 0; const_table[j].type; ++j) {
33709
if (strncmp(const_table[j].name, name,
33710
strlen(const_table[j].name)) == 0) {
33711
ci = &(const_table[j]);
33716
size_t shift = (ci->ptype) - types;
33717
swig_type_info *ty = types_initial[shift];
33718
size_t ldoc = (c - methods[i].ml_doc);
33719
size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33720
char *ndoc = (char*)malloc(ldoc + lptr + 10);
33723
void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33725
strncpy(buff, methods[i].ml_doc, ldoc);
33727
strncpy(buff, "swig_ptr: ", 10);
33729
SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33730
methods[i].ml_doc = ndoc;
33742
/* -----------------------------------------------------------------------------*
33743
* Partial Init method
33744
* -----------------------------------------------------------------------------*/
33749
SWIGEXPORT void SWIG_init(void) {
33752
/* Fix SwigMethods to carry the callback ptrs when needed */
33753
SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33755
m = Py_InitModule((char *) SWIG_name, SwigMethods);
33756
d = PyModule_GetDict(m);
33758
SWIG_InitializeModule(0);
33759
SWIG_InstallConstants(d,swig_const_table);
33762
SWIG_Python_SetConstant(d, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
33763
SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
33764
SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
33765
SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
33766
SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
33767
SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
33768
SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
33769
SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY)));
33770
SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT)));
33771
SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML)));
33772
SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML)));
33773
SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF)));
33774
SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF)));
33775
SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH)));
33776
SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT)));
33777
SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH)));
33778
SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT)));
33779
SWIG_Python_SetConstant(d, "RICHTEXT_LAYOUT_SPECIFIED_RECT",SWIG_From_int(static_cast< int >(wxRICHTEXT_LAYOUT_SPECIFIED_RECT)));
33780
SWIG_Python_SetConstant(d, "RICHTEXT_DRAW_IGNORE_CACHE",SWIG_From_int(static_cast< int >(wxRICHTEXT_DRAW_IGNORE_CACHE)));
33781
SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE)));
33782
SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE)));
33783
SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER)));
33784
SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON)));
33785
SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_OUTSIDE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_OUTSIDE)));
33786
SWIG_Python_SetConstant(d, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED)));
33787
SWIG_Python_SetConstant(d, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED)));
33788
SWIG_Python_SetConstant(d, "RICHTEXT_CACHE_SIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_CACHE_SIZE)));
33789
SWIG_Python_SetConstant(d, "RICHTEXT_HEIGHT_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_HEIGHT_ONLY)));
33790
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE)));
33791
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_WITH_UNDO",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_WITH_UNDO)));
33792
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE)));
33793
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY)));
33794
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY)));
33795
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_RENUMBER",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_RENUMBER)));
33796
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_SPECIFY_LEVEL",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_SPECIFY_LEVEL)));
33797
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_RESET",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_RESET)));
33798
SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_REMOVE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_REMOVE)));
33799
SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE)));
33800
SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE)));
33801
SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_INTERACTIVE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_INTERACTIVE)));
33802
SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
33803
SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
33804
SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
33805
SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
33806
SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
33807
SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
33808
SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
33809
SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
33810
SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
33811
SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
33812
SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
33813
SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
33814
SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER)));
33815
SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE)));
33816
SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING)));
33817
SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME)));
33818
SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME)));
33819
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE)));
33820
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER)));
33821
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_TEXT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_TEXT)));
33822
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NAME)));
33823
SWIG_Python_SetConstant(d, "TEXT_ATTR_URL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_URL)));
33824
SWIG_Python_SetConstant(d, "TEXT_ATTR_PAGE_BREAK",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PAGE_BREAK)));
33825
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECTS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECTS)));
33826
SWIG_Python_SetConstant(d, "TEXT_ATTR_OUTLINE_LEVEL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_OUTLINE_LEVEL)));
33827
SWIG_Python_SetConstant(d, "TEXT_ATTR_KEEP_FIRST_PARA_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_KEEP_FIRST_PARA_STYLE)));
33828
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE)));
33829
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC)));
33830
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER)));
33831
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER)));
33832
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER)));
33833
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER)));
33834
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL)));
33835
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP)));
33836
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES)));
33837
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD)));
33838
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_STANDARD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_STANDARD)));
33839
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS)));
33840
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_OUTLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_OUTLINE)));
33841
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT)));
33842
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT)));
33843
SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE)));
33844
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_NONE)));
33845
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_CAPITALS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_CAPITALS)));
33846
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SMALL_CAPITALS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SMALL_CAPITALS)));
33847
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_STRIKETHROUGH)));
33848
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH)));
33849
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SHADOW",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SHADOW)));
33850
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_EMBOSS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_EMBOSS)));
33851
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_OUTLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_OUTLINE)));
33852
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_ENGRAVE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_ENGRAVE)));
33853
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SUPERSCRIPT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SUPERSCRIPT)));
33854
SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SUBSCRIPT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SUBSCRIPT)));
33855
SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL)));
33856
SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF)));
33857
SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE)));
33858
SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER)));
33859
SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH)));
33860
SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL)));
33861
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33862
SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get, RICHTEXT_ALL_set);
33863
SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get, RICHTEXT_NONE_set);
33864
SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_INCLUDE_STYLESHEET",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_INCLUDE_STYLESHEET)));
33865
SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY)));
33866
SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES)));
33867
SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64)));
33868
SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_NO_HEADER_FOOTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_NO_HEADER_FOOTER)));
33869
SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_CONVERT_FACENAMES",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_CONVERT_FACENAMES)));
33870
SWIG_addvarlink(SWIG_globals(),(char*)"TextName",TextName_get, TextName_set);
33871
SWIG_addvarlink(SWIG_globals(),(char*)"TextExt",TextExt_get, TextExt_set);
33872
SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY)));
33873
SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE)));
33874
SWIG_Python_SetConstant(d, "RE_CENTER_CARET",SWIG_From_int(static_cast< int >(wxRE_CENTER_CARET)));
33875
SWIG_Python_SetConstant(d, "RE_CENTRE_CARET",SWIG_From_int(static_cast< int >(wxRE_CENTRE_CARET)));
33876
SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN)));
33877
SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN)));
33878
SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN)));
33879
SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED)));
33880
SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED)));
33881
SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED)));
33882
SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS)));
33883
SWIG_addvarlink(SWIG_globals(),(char*)"RichTextCtrlNameStr",RichTextCtrlNameStr_get, RichTextCtrlNameStr_set);
33884
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK));
33885
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK));
33886
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK));
33887
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK));
33888
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN));
33889
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CHARACTER", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CHARACTER));
33890
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_DELETE", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_DELETE));
33891
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING));
33892
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED));
33893
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING));
33894
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED));
33895
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED));
33896
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED));
33897
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED));
33898
PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED));
33899
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlName",HtmlName_get, HtmlName_set);
33900
SWIG_addvarlink(SWIG_globals(),(char*)"HtmlExt",HtmlExt_get, HtmlExt_set);
33901
SWIG_addvarlink(SWIG_globals(),(char*)"XmlName",XmlName_get, XmlName_set);
33902
SWIG_addvarlink(SWIG_globals(),(char*)"XmlExt",XmlExt_get, XmlExt_set);
33903
SWIG_Python_SetConstant(d, "RICHTEXT_PRINT_MAX_PAGES",SWIG_From_int(static_cast< int >(wxRICHTEXT_PRINT_MAX_PAGES)));
33904
SWIG_Python_SetConstant(d, "RICHTEXT_PAGE_ODD",SWIG_From_int(static_cast< int >(wxRICHTEXT_PAGE_ODD)));
33905
SWIG_Python_SetConstant(d, "RICHTEXT_PAGE_EVEN",SWIG_From_int(static_cast< int >(wxRICHTEXT_PAGE_EVEN)));
33906
SWIG_Python_SetConstant(d, "RICHTEXT_PAGE_ALL",SWIG_From_int(static_cast< int >(wxRICHTEXT_PAGE_ALL)));
33907
SWIG_Python_SetConstant(d, "RICHTEXT_PAGE_LEFT",SWIG_From_int(static_cast< int >(wxRICHTEXT_PAGE_LEFT)));
33908
SWIG_Python_SetConstant(d, "RICHTEXT_PAGE_CENTRE",SWIG_From_int(static_cast< int >(wxRICHTEXT_PAGE_CENTRE)));
33909
SWIG_Python_SetConstant(d, "RICHTEXT_PAGE_RIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_PAGE_RIGHT)));
33911
wxRichTextModuleInit();