]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/richtext_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / richtext_wrap.cpp
CommitLineData
f05326ba
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30/* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
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
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
46#endif
47
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
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
125#endif
126
127
128/* Python.h has to appear first */
129#include <Python.h>
130
131/* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
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"
141
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)
147#else
148# define SWIG_TYPE_TABLE_NAME
149#endif
150
151/*
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'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
159
160#ifndef SWIGRUNTIME
161# define SWIGRUNTIME SWIGINTERN
162#endif
163
164#ifndef SWIGRUNTIMEINLINE
165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166#endif
167
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
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).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
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
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
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
243 swig errors code.
244
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
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
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))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
309#include <string.h>
310
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318/* Structure to store inforomation on one type */
319typedef 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 */
326} swig_type_info;
327
328/* Structure to store a type and conversion function used for casting */
329typedef 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 */
334} swig_cast_info;
335
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.*/
339typedef 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 */
346} swig_module_info;
347
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_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;
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388*/
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402}
403
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427/*
428 Check the typename
429*/
430SWIGRUNTIME swig_cast_info *
431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_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);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_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
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511}
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
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
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
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;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
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).
566
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
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
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;
583 do {
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];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_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];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_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);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
682
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
695
696#ifdef __cplusplus
697}
698#endif
699
700/* Errors in SWIG */
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
714
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
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
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
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
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
764#endif
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
769# endif
770#endif
771
772
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;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
799
800/* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
846
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
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
879# endif
880# endif
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()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
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(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
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(); }
901 };
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()
906# else /* C code */
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)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
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
935#endif
936
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952/* Constant Types */
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964} swig_const_info;
965
966#ifdef __cplusplus
967#if 0
968{ /* cc-mode */
969#endif
970}
971#endif
972
973
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.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986/* Common SWIG API */
987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
f05326ba
RD
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
1000
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)
1004
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)
1008
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)
1012
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)
1016
1017
1018/* Runtime API */
1019
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)
1023
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
1029
1030
1031/* Runtime API implementation */
1032
1033/* Error manipulation */
1034
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041}
1042
1043SWIGINTERN void
1044SWIG_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;
1048}
1049
1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052/* Set a constant value */
1053
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058}
1059
1060/* Append a value to the result obj */
1061
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102#endif
1103}
1104
1105/* Unpack the argument tuple */
1106
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
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);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
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);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
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)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
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
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_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);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
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));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
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);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
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);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_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"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_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"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
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*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
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 */
1613#endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
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 */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
1632#endif
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 */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651#if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675#endif
1676#ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678#endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685}
1686
1687SWIGRUNTIME PyObject *
1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689{
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698}
1699
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
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);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734}
1735
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
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);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754}
1755
1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758SWIGRUNTIME PyTypeObject*
1759PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME 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;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
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 */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838#endif
1839#ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841#endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848}
1849
1850SWIGRUNTIME PyObject *
1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852{
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867}
1868
1869SWIGRUNTIME swig_type_info *
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880}
1881
1882/* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
1891
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
1898
1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
1903{
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
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);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948}
1949
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963}
1964
1965/* Convert a pointer value */
1966
1967SWIGRUNTIME int
1968SWIG_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) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
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;
2009 if (klass) {
2010 PyObject *impconv;
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()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043}
2044
2045/* Convert a function ptr value */
2046
2047SWIGRUNTIME int
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
f05326ba
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070}
2071
2072/* Convert a packed value value */
2073
2074SWIGRUNTIME int
2075SWIG_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;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086}
2087
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
2096
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
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) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
2158}
2159
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175#endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
2180
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196}
2197
2198/* Create a new pointer object */
2199
2200SWIGRUNTIME PyObject *
2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
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);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217}
2218
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
2234SWIGRUNTIME swig_module_info *
2235SWIG_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);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248#endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251}
2252
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 */
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282}
2283#endif
2284
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
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);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313}
2314
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320}
2321
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
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)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_char swig_types[0]
2467#define SWIGTYPE_p_form_ops_t swig_types[1]
2468#define SWIGTYPE_p_int swig_types[2]
2469#define SWIGTYPE_p_long swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxBrush swig_types[14]
2481#define SWIGTYPE_p_wxBufferedDC swig_types[15]
2482#define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2483#define SWIGTYPE_p_wxCURHandler swig_types[17]
2484#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[18]
2485#define SWIGTYPE_p_wxChar swig_types[19]
2486#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487#define SWIGTYPE_p_wxClientDC swig_types[21]
2488#define SWIGTYPE_p_wxClipboardTextEvent swig_types[22]
2489#define SWIGTYPE_p_wxCloseEvent swig_types[23]
2490#define SWIGTYPE_p_wxColour swig_types[24]
2491#define SWIGTYPE_p_wxColourData swig_types[25]
2492#define SWIGTYPE_p_wxColourDialog swig_types[26]
2493#define SWIGTYPE_p_wxCommandEvent swig_types[27]
2494#define SWIGTYPE_p_wxContextMenuEvent swig_types[28]
2495#define SWIGTYPE_p_wxControl swig_types[29]
2496#define SWIGTYPE_p_wxControlWithItems swig_types[30]
2497#define SWIGTYPE_p_wxCursor swig_types[31]
2498#define SWIGTYPE_p_wxDC swig_types[32]
2499#define SWIGTYPE_p_wxDateEvent swig_types[33]
2500#define SWIGTYPE_p_wxDialog swig_types[34]
2501#define SWIGTYPE_p_wxDirDialog swig_types[35]
2502#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503#define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504#define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505#define SWIGTYPE_p_wxEffects swig_types[39]
2506#define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507#define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508#define SWIGTYPE_p_wxEvent swig_types[42]
2509#define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510#define SWIGTYPE_p_wxFSFile swig_types[44]
2511#define SWIGTYPE_p_wxFileDialog swig_types[45]
2512#define SWIGTYPE_p_wxFileSystem swig_types[46]
2513#define SWIGTYPE_p_wxFindDialogEvent swig_types[47]
2514#define SWIGTYPE_p_wxFindReplaceData swig_types[48]
2515#define SWIGTYPE_p_wxFindReplaceDialog swig_types[49]
2516#define SWIGTYPE_p_wxFlexGridSizer swig_types[50]
2517#define SWIGTYPE_p_wxFocusEvent swig_types[51]
2518#define SWIGTYPE_p_wxFont swig_types[52]
2519#define SWIGTYPE_p_wxFontData swig_types[53]
2520#define SWIGTYPE_p_wxFontDialog swig_types[54]
2521#define SWIGTYPE_p_wxFrame swig_types[55]
2522#define SWIGTYPE_p_wxGBSizerItem swig_types[56]
2523#define SWIGTYPE_p_wxGDIObject swig_types[57]
2524#define SWIGTYPE_p_wxGIFHandler swig_types[58]
2525#define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2526#define SWIGTYPE_p_wxGridSizer swig_types[60]
2527#define SWIGTYPE_p_wxICOHandler swig_types[61]
2528#define SWIGTYPE_p_wxIcon swig_types[62]
2529#define SWIGTYPE_p_wxIconizeEvent swig_types[63]
2530#define SWIGTYPE_p_wxIdleEvent swig_types[64]
2531#define SWIGTYPE_p_wxImage swig_types[65]
2532#define SWIGTYPE_p_wxImageHandler swig_types[66]
2533#define SWIGTYPE_p_wxImageList swig_types[67]
2534#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[68]
2535#define SWIGTYPE_p_wxInitDialogEvent swig_types[69]
2536#define SWIGTYPE_p_wxJPEGHandler swig_types[70]
2537#define SWIGTYPE_p_wxKeyEvent swig_types[71]
2538#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[72]
2539#define SWIGTYPE_p_wxLayoutConstraints swig_types[73]
2540#define SWIGTYPE_p_wxMDIChildFrame swig_types[74]
2541#define SWIGTYPE_p_wxMDIClientWindow swig_types[75]
2542#define SWIGTYPE_p_wxMDIParentFrame swig_types[76]
2543#define SWIGTYPE_p_wxMask swig_types[77]
2544#define SWIGTYPE_p_wxMaximizeEvent swig_types[78]
2545#define SWIGTYPE_p_wxMemoryDC swig_types[79]
2546#define SWIGTYPE_p_wxMenu swig_types[80]
2547#define SWIGTYPE_p_wxMenuBar swig_types[81]
2548#define SWIGTYPE_p_wxMenuEvent swig_types[82]
2549#define SWIGTYPE_p_wxMenuItem swig_types[83]
2550#define SWIGTYPE_p_wxMessageDialog swig_types[84]
2551#define SWIGTYPE_p_wxMetaFile swig_types[85]
2552#define SWIGTYPE_p_wxMetaFileDC swig_types[86]
2553#define SWIGTYPE_p_wxMiniFrame swig_types[87]
2554#define SWIGTYPE_p_wxMirrorDC swig_types[88]
2555#define SWIGTYPE_p_wxMouseCaptureChangedEvent 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_wxObject swig_types[96]
2563#define SWIGTYPE_p_wxPCXHandler swig_types[97]
2564#define SWIGTYPE_p_wxPNGHandler swig_types[98]
2565#define SWIGTYPE_p_wxPNMHandler swig_types[99]
2566#define SWIGTYPE_p_wxPageSetupDialog swig_types[100]
2567#define SWIGTYPE_p_wxPageSetupDialogData swig_types[101]
2568#define SWIGTYPE_p_wxPaintDC swig_types[102]
2569#define SWIGTYPE_p_wxPaintEvent swig_types[103]
2570#define SWIGTYPE_p_wxPalette swig_types[104]
2571#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[105]
2572#define SWIGTYPE_p_wxPanel swig_types[106]
2573#define SWIGTYPE_p_wxPaperSize swig_types[107]
2574#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[108]
2575#define SWIGTYPE_p_wxPen swig_types[109]
2576#define SWIGTYPE_p_wxPopupWindow swig_types[110]
2577#define SWIGTYPE_p_wxPostScriptDC 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_wxPrinterDC swig_types[120]
2587#define SWIGTYPE_p_wxProgressDialog swig_types[121]
2588#define SWIGTYPE_p_wxPyApp swig_types[122]
2589#define SWIGTYPE_p_wxPyCommandEvent swig_types[123]
2590#define SWIGTYPE_p_wxPyEvent 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_wxRegion swig_types[142]
2609#define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610#define SWIGTYPE_p_wxRichTextAttr swig_types[144]
2611#define SWIGTYPE_p_wxRichTextBuffer swig_types[145]
2612#define SWIGTYPE_p_wxRichTextCtrl swig_types[146]
2613#define SWIGTYPE_p_wxRichTextEvent swig_types[147]
2614#define SWIGTYPE_p_wxRichTextImageBlock swig_types[148]
2615#define SWIGTYPE_p_wxRichTextRange swig_types[149]
2616#define SWIGTYPE_p_wxRichTextStyleSheet swig_types[150]
2617#define SWIGTYPE_p_wxSashEvent swig_types[151]
2618#define SWIGTYPE_p_wxSashLayoutWindow swig_types[152]
2619#define SWIGTYPE_p_wxSashWindow swig_types[153]
2620#define SWIGTYPE_p_wxScreenDC swig_types[154]
2621#define SWIGTYPE_p_wxScrollEvent swig_types[155]
2622#define SWIGTYPE_p_wxScrollWinEvent swig_types[156]
2623#define SWIGTYPE_p_wxScrolledWindow swig_types[157]
2624#define SWIGTYPE_p_wxSetCursorEvent swig_types[158]
2625#define SWIGTYPE_p_wxShowEvent swig_types[159]
2626#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160]
2627#define SWIGTYPE_p_wxSizeEvent swig_types[161]
2628#define SWIGTYPE_p_wxSizer swig_types[162]
2629#define SWIGTYPE_p_wxSizerItem swig_types[163]
2630#define SWIGTYPE_p_wxSplashScreen swig_types[164]
2631#define SWIGTYPE_p_wxSplashScreenWindow swig_types[165]
2632#define SWIGTYPE_p_wxSplitterEvent swig_types[166]
2633#define SWIGTYPE_p_wxSplitterWindow swig_types[167]
2634#define SWIGTYPE_p_wxStaticBoxSizer swig_types[168]
2635#define SWIGTYPE_p_wxStatusBar swig_types[169]
2636#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[170]
2637#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[171]
2638#define SWIGTYPE_p_wxTIFFHandler swig_types[172]
2639#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[173]
2640#define SWIGTYPE_p_wxTextCoord swig_types[174]
2641#define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[175]
2642#define SWIGTYPE_p_wxTextEntryDialog swig_types[176]
2643#define SWIGTYPE_p_wxTipWindow swig_types[177]
2644#define SWIGTYPE_p_wxTopLevelWindow swig_types[178]
2645#define SWIGTYPE_p_wxUpdateUIEvent swig_types[179]
2646#define SWIGTYPE_p_wxValidator swig_types[180]
2647#define SWIGTYPE_p_wxWindow swig_types[181]
2648#define SWIGTYPE_p_wxWindowCreateEvent swig_types[182]
2649#define SWIGTYPE_p_wxWindowDC swig_types[183]
2650#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184]
2651#define SWIGTYPE_p_wxXPMHandler swig_types[185]
2652static swig_type_info *swig_types[187];
2653static swig_module_info swig_module = {swig_types, 186, 0, 0, 0, 0};
2654#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2655#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2656
2657/* -------- TYPES TABLE (END) -------- */
2658
2659#if (PY_VERSION_HEX <= 0x02000000)
2660# if !defined(SWIG_PYTHON_CLASSIC)
2661# error "This python version requires to use swig with the '-classic' option"
2662# endif
2663#endif
2664#if (PY_VERSION_HEX <= 0x02020000)
2665# error "This python version requires to use swig with the '-nomodern' option"
2666#endif
2667#if (PY_VERSION_HEX <= 0x02020000)
2668# error "This python version requires to use swig with the '-nomodernargs' option"
2669#endif
2670#ifndef METH_O
2671# error "This python version requires to use swig with the '-nofastunpack' option"
2672#endif
2673
2674/*-----------------------------------------------
2675 @(target):= _richtext.so
2676 ------------------------------------------------*/
2677#define SWIG_init init_richtext
2678
2679#define SWIG_name "_richtext"
2680
2681#define SWIGVERSION 0x010329
2682
2683
2684#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2685#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2686
2687
2688#include <stdexcept>
2689
2690
2691namespace swig {
2692 class PyObject_ptr {
2693 protected:
2694 PyObject *_obj;
2695
2696 public:
2697 PyObject_ptr() :_obj(0)
2698 {
2699 }
2700
2701 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2702 {
2703 Py_XINCREF(_obj);
2704 }
2705
2706 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2707 {
2708 if (initial_ref) Py_XINCREF(_obj);
2709 }
2710
2711 PyObject_ptr & operator=(const PyObject_ptr& item)
2712 {
2713 Py_XINCREF(item._obj);
2714 Py_XDECREF(_obj);
2715 _obj = item._obj;
2716 return *this;
2717 }
2718
2719 ~PyObject_ptr()
2720 {
2721 Py_XDECREF(_obj);
2722 }
2723
2724 operator PyObject *() const
2725 {
2726 return _obj;
2727 }
2728
2729 PyObject *operator->() const
2730 {
2731 return _obj;
2732 }
2733 };
2734}
2735
2736
2737namespace swig {
2738 struct PyObject_var : PyObject_ptr {
2739 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2740
2741 PyObject_var & operator = (PyObject* obj)
2742 {
2743 Py_XDECREF(_obj);
2744 _obj = obj;
2745 return *this;
2746 }
2747 };
2748}
2749
2750
2751#include "wx/wxPython/wxPython.h"
2752#include "wx/wxPython/pyclasses.h"
2753#include "wx/wxPython/printfw.h"
2754#include "wx/wxPython/twoitem.h"
2755
2756#include <wx/richtext/richtextctrl.h>
2757
2758
2759class wxEffects;
2760class wxBufferedDC;
2761class wxBufferedPaintDC;
2762class wxMetaFile;
2763class wxMetaFileDC;
2764class wxPrinterDC;
2765
2766
2767
2768 #define SWIG_From_long PyInt_FromLong
2769
2770
2771SWIGINTERNINLINE PyObject *
2772SWIG_From_int (int value)
2773{
2774 return SWIG_From_long (value);
2775}
2776
2777 static const wxString wxPyEmptyString(wxEmptyString);
2778
2779
2780bool wxRichTextRange_helper(PyObject* source, wxRichTextRange** obj)
2781{
2782 if (source == Py_None) {
2783 **obj = wxRICHTEXT_NONE;
2784 return true;
2785 }
2786 return wxPyTwoIntItem_helper(source, obj, wxT("wxRichTextRange"));
2787}
2788
2789
2790SWIGINTERN int
2791SWIG_AsVal_long (PyObject* obj, long* val)
2792{
2793 if (PyNumber_Check(obj)) {
2794 if (val) *val = PyInt_AsLong(obj);
2795 return SWIG_OK;
2796 }
2797 return SWIG_TypeError;
2798}
2799
2800SWIGINTERN bool wxRichTextRange___eq__(wxRichTextRange *self,PyObject *other){
2801 wxRichTextRange temp, *obj = &temp;
2802 if ( other == Py_None ) return false;
2803 if ( ! wxRichTextRange_helper(other, &obj) ) {
2804 PyErr_Clear();
2805 return false;
2806 }
2807 return self->operator==(*obj);
2808 }
2809SWIGINTERN PyObject *wxRichTextRange_Get(wxRichTextRange *self){
2810 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2811 PyObject* tup = PyTuple_New(2);
2812 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetStart()));
2813 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetEnd()));
2814 wxPyEndBlockThreads(blocked);
2815 return tup;
2816 }
2817
2818 wxRichTextRange wxPy_RTR_ALL(wxRICHTEXT_ALL);
2819 wxRichTextRange wxPy_RTR_NONE(wxRICHTEXT_NONE);
2820
2821
2822#include <limits.h>
2823#ifndef LLONG_MIN
2824# define LLONG_MIN LONG_LONG_MIN
2825#endif
2826#ifndef LLONG_MAX
2827# define LLONG_MAX LONG_LONG_MAX
2828#endif
2829#ifndef ULLONG_MAX
2830# define ULLONG_MAX ULONG_LONG_MAX
2831#endif
2832
2833
2834SWIGINTERN int
2835SWIG_AsVal_int (PyObject * obj, int *val)
2836{
2837 long v;
2838 int res = SWIG_AsVal_long (obj, &v);
2839 if (SWIG_IsOK(res)) {
2840 if ((v < INT_MIN || v > INT_MAX)) {
2841 return SWIG_OverflowError;
2842 } else {
2843 if (val) *val = static_cast< int >(v);
2844 }
2845 }
2846 return res;
2847}
2848
2849
2850SWIGINTERN int
2851SWIG_AsVal_bool (PyObject *obj, bool *val)
2852{
2853 if (obj == Py_True) {
2854 if (val) *val = true;
2855 return SWIG_OK;
2856 } else if (obj == Py_False) {
2857 if (val) *val = false;
2858 return SWIG_OK;
2859 } else {
2860 long v = 0;
2861 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2862 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2863 return res;
2864 }
2865}
2866
2867
2868SWIGINTERN int
2869SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2870{
2871 long v = 0;
2872 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2873 return SWIG_TypeError;
2874 }
2875 else if (val)
2876 *val = (unsigned long)v;
2877 return SWIG_OK;
2878}
2879
2880
2881SWIGINTERN swig_type_info*
2882SWIG_pchar_descriptor()
2883{
2884 static int init = 0;
2885 static swig_type_info* info = 0;
2886 if (!init) {
2887 info = SWIG_TypeQuery("_p_char");
2888 init = 1;
2889 }
2890 return info;
2891}
2892
2893
2894SWIGINTERN int
2895SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
2896{
2897 if (PyString_Check(obj)) {
96221a45 2898 char *cstr; Py_ssize_t len;
f05326ba
RD
2899 PyString_AsStringAndSize(obj, &cstr, &len);
2900 if (cptr) {
2901 if (alloc) {
2902 /*
2903 In python the user should not be able to modify the inner
2904 string representation. To warranty that, if you define
2905 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2906 buffer is always returned.
2907
2908 The default behavior is just to return the pointer value,
2909 so, be careful.
2910 */
2911#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2912 if (*alloc != SWIG_OLDOBJ)
2913#else
2914 if (*alloc == SWIG_NEWOBJ)
2915#endif
2916 {
2917 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2918 *alloc = SWIG_NEWOBJ;
2919 }
2920 else {
2921 *cptr = cstr;
2922 *alloc = SWIG_OLDOBJ;
2923 }
2924 } else {
2925 *cptr = PyString_AsString(obj);
2926 }
2927 }
2928 if (psize) *psize = len + 1;
2929 return SWIG_OK;
2930 } else {
2931 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2932 if (pchar_descriptor) {
2933 void* vptr = 0;
2934 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2935 if (cptr) *cptr = (char *) vptr;
2936 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2937 if (alloc) *alloc = SWIG_OLDOBJ;
2938 return SWIG_OK;
2939 }
2940 }
2941 }
2942 return SWIG_TypeError;
2943}
2944
2945
2946SWIGINTERN int
2947SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
2948{
2949 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2950 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2951 if (SWIG_IsOK(res)) {
2952 if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
2953 if (csize <= size) {
2954 if (val) {
2955 if (csize) memcpy(val, cptr, csize*sizeof(char));
2956 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2957 }
2958 if (alloc == SWIG_NEWOBJ) {
2959 delete[] cptr;
2960 res = SWIG_DelNewMask(res);
2961 }
2962 return res;
2963 }
2964 if (alloc == SWIG_NEWOBJ) delete[] cptr;
2965 }
2966 return SWIG_TypeError;
2967}
2968
2969
2970SWIGINTERN int
2971SWIG_AsVal_char (PyObject * obj, char *val)
2972{
2973 int res = SWIG_AsCharArray(obj, val, 1);
2974 if (!SWIG_IsOK(res)) {
2975 long v;
2976 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
2977 if (SWIG_IsOK(res)) {
2978 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2979 if (val) *val = static_cast< char >(v);
2980 } else {
2981 res = SWIG_OverflowError;
2982 }
2983 }
2984 }
2985 return res;
2986}
2987
2988#ifdef __cplusplus
2989extern "C" {
2990#endif
2991SWIGINTERN PyObject *_wrap_new_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2992 PyObject *resultobj = 0;
2993 long arg1 = (long) 0 ;
2994 long arg2 = (long) 0 ;
2995 wxRichTextRange *result = 0 ;
2996 long val1 ;
2997 int ecode1 = 0 ;
2998 long val2 ;
2999 int ecode2 = 0 ;
3000 PyObject * obj0 = 0 ;
3001 PyObject * obj1 = 0 ;
3002 char * kwnames[] = {
3003 (char *) "start",(char *) "end", NULL
3004 };
3005
3006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextRange",kwnames,&obj0,&obj1)) SWIG_fail;
3007 if (obj0) {
3008 ecode1 = SWIG_AsVal_long(obj0, &val1);
3009 if (!SWIG_IsOK(ecode1)) {
3010 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
3011 }
3012 arg1 = static_cast< long >(val1);
3013 }
3014 if (obj1) {
3015 ecode2 = SWIG_AsVal_long(obj1, &val2);
3016 if (!SWIG_IsOK(ecode2)) {
3017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
3018 }
3019 arg2 = static_cast< long >(val2);
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = (wxRichTextRange *)new wxRichTextRange(arg1,arg2);
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_NEW | 0 );
3028 return resultobj;
3029fail:
3030 return NULL;
3031}
3032
3033
3034SWIGINTERN PyObject *_wrap_delete_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3035 PyObject *resultobj = 0;
3036 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3037 void *argp1 = 0 ;
3038 int res1 = 0 ;
3039 PyObject *swig_obj[1] ;
3040
3041 if (!args) SWIG_fail;
3042 swig_obj[0] = args;
3043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_DISOWN | 0 );
3044 if (!SWIG_IsOK(res1)) {
3045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3046 }
3047 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 delete arg1;
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 resultobj = SWIG_Py_Void();
3056 return resultobj;
3057fail:
3058 return NULL;
3059}
3060
3061
3062SWIGINTERN PyObject *_wrap_RichTextRange___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3063 PyObject *resultobj = 0;
3064 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3065 PyObject *arg2 = (PyObject *) 0 ;
3066 bool result;
3067 void *argp1 = 0 ;
3068 int res1 = 0 ;
3069 PyObject * obj0 = 0 ;
3070 PyObject * obj1 = 0 ;
3071 char * kwnames[] = {
3072 (char *) "self",(char *) "other", NULL
3073 };
3074
3075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
3076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3077 if (!SWIG_IsOK(res1)) {
3078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3079 }
3080 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3081 arg2 = obj1;
3082 {
3083 result = (bool)wxRichTextRange___eq__(arg1,arg2);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 {
3087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3088 }
3089 return resultobj;
3090fail:
3091 return NULL;
3092}
3093
3094
3095SWIGINTERN PyObject *_wrap_RichTextRange___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3096 PyObject *resultobj = 0;
3097 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3098 wxRichTextRange *arg2 = 0 ;
3099 wxRichTextRange result;
3100 void *argp1 = 0 ;
3101 int res1 = 0 ;
3102 wxRichTextRange temp2 ;
3103 PyObject * obj0 = 0 ;
3104 PyObject * obj1 = 0 ;
3105 char * kwnames[] = {
3106 (char *) "self",(char *) "range", NULL
3107 };
3108
3109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___sub__",kwnames,&obj0,&obj1)) SWIG_fail;
3110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3111 if (!SWIG_IsOK(res1)) {
3112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3113 }
3114 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3115 {
3116 arg2 = &temp2;
3117 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3118 }
3119 {
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 result = ((wxRichTextRange const *)arg1)->operator -((wxRichTextRange const &)*arg2);
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3126 return resultobj;
3127fail:
3128 return NULL;
3129}
3130
3131
3132SWIGINTERN PyObject *_wrap_RichTextRange___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj = 0;
3134 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3135 wxRichTextRange *arg2 = 0 ;
3136 wxRichTextRange result;
3137 void *argp1 = 0 ;
3138 int res1 = 0 ;
3139 wxRichTextRange temp2 ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
3142 char * kwnames[] = {
3143 (char *) "self",(char *) "range", NULL
3144 };
3145
3146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___add__",kwnames,&obj0,&obj1)) SWIG_fail;
3147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3148 if (!SWIG_IsOK(res1)) {
3149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3150 }
3151 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3152 {
3153 arg2 = &temp2;
3154 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3155 }
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = ((wxRichTextRange const *)arg1)->operator +((wxRichTextRange const &)*arg2);
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) SWIG_fail;
3161 }
3162 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3163 return resultobj;
3164fail:
3165 return NULL;
3166}
3167
3168
3169SWIGINTERN PyObject *_wrap_RichTextRange_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3170 PyObject *resultobj = 0;
3171 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3172 long arg2 ;
3173 long arg3 ;
3174 void *argp1 = 0 ;
3175 int res1 = 0 ;
3176 long val2 ;
3177 int ecode2 = 0 ;
3178 long val3 ;
3179 int ecode3 = 0 ;
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj1 = 0 ;
3182 PyObject * obj2 = 0 ;
3183 char * kwnames[] = {
3184 (char *) "self",(char *) "start",(char *) "end", NULL
3185 };
3186
3187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextRange_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3189 if (!SWIG_IsOK(res1)) {
3190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3191 }
3192 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3193 ecode2 = SWIG_AsVal_long(obj1, &val2);
3194 if (!SWIG_IsOK(ecode2)) {
3195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3196 }
3197 arg2 = static_cast< long >(val2);
3198 ecode3 = SWIG_AsVal_long(obj2, &val3);
3199 if (!SWIG_IsOK(ecode3)) {
3200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3201 }
3202 arg3 = static_cast< long >(val3);
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->SetRange(arg2,arg3);
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 resultobj = SWIG_Py_Void();
3210 return resultobj;
3211fail:
3212 return NULL;
3213}
3214
3215
3216SWIGINTERN PyObject *_wrap_RichTextRange_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj = 0;
3218 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3219 long arg2 ;
3220 void *argp1 = 0 ;
3221 int res1 = 0 ;
3222 long val2 ;
3223 int ecode2 = 0 ;
3224 PyObject * obj0 = 0 ;
3225 PyObject * obj1 = 0 ;
3226 char * kwnames[] = {
3227 (char *) "self",(char *) "start", NULL
3228 };
3229
3230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
3231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3232 if (!SWIG_IsOK(res1)) {
3233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3234 }
3235 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3236 ecode2 = SWIG_AsVal_long(obj1, &val2);
3237 if (!SWIG_IsOK(ecode2)) {
3238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3239 }
3240 arg2 = static_cast< long >(val2);
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 (arg1)->SetStart(arg2);
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 resultobj = SWIG_Py_Void();
3248 return resultobj;
3249fail:
3250 return NULL;
3251}
3252
3253
3254SWIGINTERN PyObject *_wrap_RichTextRange_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3255 PyObject *resultobj = 0;
3256 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3257 long result;
3258 void *argp1 = 0 ;
3259 int res1 = 0 ;
3260 PyObject *swig_obj[1] ;
3261
3262 if (!args) SWIG_fail;
3263 swig_obj[0] = args;
3264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3265 if (!SWIG_IsOK(res1)) {
3266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3267 }
3268 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 result = (long)((wxRichTextRange const *)arg1)->GetStart();
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 resultobj = SWIG_From_long(static_cast< long >(result));
3276 return resultobj;
3277fail:
3278 return NULL;
3279}
3280
3281
3282SWIGINTERN PyObject *_wrap_RichTextRange_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj = 0;
3284 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3285 long arg2 ;
3286 void *argp1 = 0 ;
3287 int res1 = 0 ;
3288 long val2 ;
3289 int ecode2 = 0 ;
3290 PyObject * obj0 = 0 ;
3291 PyObject * obj1 = 0 ;
3292 char * kwnames[] = {
3293 (char *) "self",(char *) "end", NULL
3294 };
3295
3296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
3297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3298 if (!SWIG_IsOK(res1)) {
3299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3300 }
3301 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3302 ecode2 = SWIG_AsVal_long(obj1, &val2);
3303 if (!SWIG_IsOK(ecode2)) {
3304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3305 }
3306 arg2 = static_cast< long >(val2);
3307 {
3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
3309 (arg1)->SetEnd(arg2);
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 resultobj = SWIG_Py_Void();
3314 return resultobj;
3315fail:
3316 return NULL;
3317}
3318
3319
3320SWIGINTERN PyObject *_wrap_RichTextRange_GetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3321 PyObject *resultobj = 0;
3322 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3323 long result;
3324 void *argp1 = 0 ;
3325 int res1 = 0 ;
3326 PyObject *swig_obj[1] ;
3327
3328 if (!args) SWIG_fail;
3329 swig_obj[0] = args;
3330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3331 if (!SWIG_IsOK(res1)) {
3332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3333 }
3334 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (long)((wxRichTextRange const *)arg1)->GetEnd();
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 resultobj = SWIG_From_long(static_cast< long >(result));
3342 return resultobj;
3343fail:
3344 return NULL;
3345}
3346
3347
3348SWIGINTERN PyObject *_wrap_RichTextRange_IsOutside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj = 0;
3350 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3351 wxRichTextRange *arg2 = 0 ;
3352 bool result;
3353 void *argp1 = 0 ;
3354 int res1 = 0 ;
3355 wxRichTextRange temp2 ;
3356 PyObject * obj0 = 0 ;
3357 PyObject * obj1 = 0 ;
3358 char * kwnames[] = {
3359 (char *) "self",(char *) "range", NULL
3360 };
3361
3362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsOutside",kwnames,&obj0,&obj1)) SWIG_fail;
3363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3364 if (!SWIG_IsOK(res1)) {
3365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3366 }
3367 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3368 {
3369 arg2 = &temp2;
3370 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (bool)((wxRichTextRange const *)arg1)->IsOutside((wxRichTextRange const &)*arg2);
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 {
3379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3380 }
3381 return resultobj;
3382fail:
3383 return NULL;
3384}
3385
3386
3387SWIGINTERN PyObject *_wrap_RichTextRange_IsWithin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj = 0;
3389 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3390 wxRichTextRange *arg2 = 0 ;
3391 bool result;
3392 void *argp1 = 0 ;
3393 int res1 = 0 ;
3394 wxRichTextRange temp2 ;
3395 PyObject * obj0 = 0 ;
3396 PyObject * obj1 = 0 ;
3397 char * kwnames[] = {
3398 (char *) "self",(char *) "range", NULL
3399 };
3400
3401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsWithin",kwnames,&obj0,&obj1)) SWIG_fail;
3402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3403 if (!SWIG_IsOK(res1)) {
3404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3405 }
3406 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3407 {
3408 arg2 = &temp2;
3409 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3410 }
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 result = (bool)((wxRichTextRange const *)arg1)->IsWithin((wxRichTextRange const &)*arg2);
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 {
3418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3419 }
3420 return resultobj;
3421fail:
3422 return NULL;
3423}
3424
3425
3426SWIGINTERN PyObject *_wrap_RichTextRange_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj = 0;
3428 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3429 long arg2 ;
3430 bool result;
3431 void *argp1 = 0 ;
3432 int res1 = 0 ;
3433 long val2 ;
3434 int ecode2 = 0 ;
3435 PyObject * obj0 = 0 ;
3436 PyObject * obj1 = 0 ;
3437 char * kwnames[] = {
3438 (char *) "self",(char *) "pos", NULL
3439 };
3440
3441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_Contains",kwnames,&obj0,&obj1)) SWIG_fail;
3442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3443 if (!SWIG_IsOK(res1)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3445 }
3446 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3447 ecode2 = SWIG_AsVal_long(obj1, &val2);
3448 if (!SWIG_IsOK(ecode2)) {
3449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3450 }
3451 arg2 = static_cast< long >(val2);
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (bool)((wxRichTextRange const *)arg1)->Contains(arg2);
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 }
3458 {
3459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3460 }
3461 return resultobj;
3462fail:
3463 return NULL;
3464}
3465
3466
3467SWIGINTERN PyObject *_wrap_RichTextRange_LimitTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3468 PyObject *resultobj = 0;
3469 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3470 wxRichTextRange *arg2 = 0 ;
3471 bool result;
3472 void *argp1 = 0 ;
3473 int res1 = 0 ;
3474 wxRichTextRange temp2 ;
3475 PyObject * obj0 = 0 ;
3476 PyObject * obj1 = 0 ;
3477 char * kwnames[] = {
3478 (char *) "self",(char *) "range", NULL
3479 };
3480
3481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_LimitTo",kwnames,&obj0,&obj1)) SWIG_fail;
3482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3483 if (!SWIG_IsOK(res1)) {
3484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3485 }
3486 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3487 {
3488 arg2 = &temp2;
3489 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3490 }
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = (bool)(arg1)->LimitTo((wxRichTextRange const &)*arg2);
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3499 }
3500 return resultobj;
3501fail:
3502 return NULL;
3503}
3504
3505
3506SWIGINTERN PyObject *_wrap_RichTextRange_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3507 PyObject *resultobj = 0;
3508 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3509 long result;
3510 void *argp1 = 0 ;
3511 int res1 = 0 ;
3512 PyObject *swig_obj[1] ;
3513
3514 if (!args) SWIG_fail;
3515 swig_obj[0] = args;
3516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3517 if (!SWIG_IsOK(res1)) {
3518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3519 }
3520 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 result = (long)((wxRichTextRange const *)arg1)->GetLength();
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 resultobj = SWIG_From_long(static_cast< long >(result));
3528 return resultobj;
3529fail:
3530 return NULL;
3531}
3532
3533
3534SWIGINTERN PyObject *_wrap_RichTextRange_Swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3535 PyObject *resultobj = 0;
3536 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3537 void *argp1 = 0 ;
3538 int res1 = 0 ;
3539 PyObject *swig_obj[1] ;
3540
3541 if (!args) SWIG_fail;
3542 swig_obj[0] = args;
3543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3544 if (!SWIG_IsOK(res1)) {
3545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3546 }
3547 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 (arg1)->Swap();
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 resultobj = SWIG_Py_Void();
3555 return resultobj;
3556fail:
3557 return NULL;
3558}
3559
3560
3561SWIGINTERN PyObject *_wrap_RichTextRange_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3562 PyObject *resultobj = 0;
3563 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3564 PyObject *result = 0 ;
3565 void *argp1 = 0 ;
3566 int res1 = 0 ;
3567 PyObject *swig_obj[1] ;
3568
3569 if (!args) SWIG_fail;
3570 swig_obj[0] = args;
3571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3572 if (!SWIG_IsOK(res1)) {
3573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3574 }
3575 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 result = (PyObject *)wxRichTextRange_Get(arg1);
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 resultobj = result;
3583 return resultobj;
3584fail:
3585 return NULL;
3586}
3587
3588
3589SWIGINTERN PyObject *RichTextRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3590 PyObject *obj;
3591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3592 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange, SWIG_NewClientData(obj));
3593 return SWIG_Py_Void();
3594}
3595
3596SWIGINTERN PyObject *RichTextRange_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3597 return SWIG_Python_InitShadowInstance(args);
3598}
3599
3600SWIGINTERN int RICHTEXT_ALL_set(PyObject *) {
3601 SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_ALL is read-only.");
3602 return 1;
3603}
3604
3605
3606SWIGINTERN PyObject *RICHTEXT_ALL_get(void) {
3607 PyObject *pyobj = 0;
3608
3609 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL), SWIGTYPE_p_wxRichTextRange, 0 );
3610 return pyobj;
3611}
3612
3613
3614SWIGINTERN int RICHTEXT_NONE_set(PyObject *) {
3615 SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_NONE is read-only.");
3616 return 1;
3617}
3618
3619
3620SWIGINTERN PyObject *RICHTEXT_NONE_get(void) {
3621 PyObject *pyobj = 0;
3622
3623 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE), SWIGTYPE_p_wxRichTextRange, 0 );
3624 return pyobj;
3625}
3626
3627
3628SWIGINTERN PyObject *_wrap_new_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj = 0;
3630 wxColour const &arg1_defvalue = wxNullColour ;
3631 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
3632 wxColour const &arg2_defvalue = wxNullColour ;
3633 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
3634 wxTextAttrAlignment arg3 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
3635 wxRichTextAttr *result = 0 ;
3636 wxColour temp1 ;
3637 wxColour temp2 ;
3638 int val3 ;
3639 int ecode3 = 0 ;
3640 PyObject * obj0 = 0 ;
3641 PyObject * obj1 = 0 ;
3642 PyObject * obj2 = 0 ;
3643 char * kwnames[] = {
3644 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3645 };
3646
3647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3648 if (obj0) {
3649 {
3650 arg1 = &temp1;
3651 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3652 }
3653 }
3654 if (obj1) {
3655 {
3656 arg2 = &temp2;
3657 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3658 }
3659 }
3660 if (obj2) {
3661 ecode3 = SWIG_AsVal_int(obj2, &val3);
3662 if (!SWIG_IsOK(ecode3)) {
3663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3664 }
3665 arg3 = static_cast< wxTextAttrAlignment >(val3);
3666 }
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (wxRichTextAttr *)new wxRichTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,arg3);
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_NEW | 0 );
3674 return resultobj;
3675fail:
3676 return NULL;
3677}
3678
3679
3680SWIGINTERN PyObject *_wrap_delete_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3681 PyObject *resultobj = 0;
3682 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3683 void *argp1 = 0 ;
3684 int res1 = 0 ;
3685 PyObject *swig_obj[1] ;
3686
3687 if (!args) SWIG_fail;
3688 swig_obj[0] = args;
3689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_DISOWN | 0 );
3690 if (!SWIG_IsOK(res1)) {
3691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3692 }
3693 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 delete arg1;
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 resultobj = SWIG_Py_Void();
3702 return resultobj;
3703fail:
3704 return NULL;
3705}
3706
3707
3708SWIGINTERN PyObject *_wrap_RichTextAttr_CreateFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3709 PyObject *resultobj = 0;
3710 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3711 SwigValueWrapper<wxFont > result;
3712 void *argp1 = 0 ;
3713 int res1 = 0 ;
3714 PyObject *swig_obj[1] ;
3715
3716 if (!args) SWIG_fail;
3717 swig_obj[0] = args;
3718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3719 if (!SWIG_IsOK(res1)) {
3720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3721 }
3722 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = ((wxRichTextAttr const *)arg1)->CreateFont();
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
3730 return resultobj;
3731fail:
3732 return NULL;
3733}
3734
3735
3736SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj = 0;
3738 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3739 wxFont *arg2 = 0 ;
3740 bool result;
3741 void *argp1 = 0 ;
3742 int res1 = 0 ;
3743 void *argp2 = 0 ;
3744 int res2 = 0 ;
3745 PyObject * obj0 = 0 ;
3746 PyObject * obj1 = 0 ;
3747 char * kwnames[] = {
3748 (char *) "self",(char *) "font", NULL
3749 };
3750
3751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
3752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3753 if (!SWIG_IsOK(res1)) {
3754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3755 }
3756 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3757 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
3758 if (!SWIG_IsOK(res2)) {
3759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3760 }
3761 if (!argp2) {
3762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3763 }
3764 arg2 = reinterpret_cast< wxFont * >(argp2);
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (bool)(arg1)->GetFontAttributes((wxFont const &)*arg2);
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 {
3772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3773 }
3774 return resultobj;
3775fail:
3776 return NULL;
3777}
3778
3779
3780SWIGINTERN PyObject *_wrap_RichTextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj = 0;
3782 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3783 wxColour *arg2 = 0 ;
3784 void *argp1 = 0 ;
3785 int res1 = 0 ;
3786 wxColour temp2 ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 char * kwnames[] = {
3790 (char *) "self",(char *) "colText", NULL
3791 };
3792
3793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
3794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3795 if (!SWIG_IsOK(res1)) {
3796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3797 }
3798 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3799 {
3800 arg2 = &temp2;
3801 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3802 }
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 (arg1)->SetTextColour((wxColour const &)*arg2);
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = SWIG_Py_Void();
3810 return resultobj;
3811fail:
3812 return NULL;
3813}
3814
3815
3816SWIGINTERN PyObject *_wrap_RichTextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj = 0;
3818 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3819 wxColour *arg2 = 0 ;
3820 void *argp1 = 0 ;
3821 int res1 = 0 ;
3822 wxColour temp2 ;
3823 PyObject * obj0 = 0 ;
3824 PyObject * obj1 = 0 ;
3825 char * kwnames[] = {
3826 (char *) "self",(char *) "colBack", NULL
3827 };
3828
3829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
3830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3831 if (!SWIG_IsOK(res1)) {
3832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3833 }
3834 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3835 {
3836 arg2 = &temp2;
3837 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3838 }
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 resultobj = SWIG_Py_Void();
3846 return resultobj;
3847fail:
3848 return NULL;
3849}
3850
3851
3852SWIGINTERN PyObject *_wrap_RichTextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj = 0;
3854 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3855 wxTextAttrAlignment arg2 ;
3856 void *argp1 = 0 ;
3857 int res1 = 0 ;
3858 int val2 ;
3859 int ecode2 = 0 ;
3860 PyObject * obj0 = 0 ;
3861 PyObject * obj1 = 0 ;
3862 char * kwnames[] = {
3863 (char *) "self",(char *) "alignment", NULL
3864 };
3865
3866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
3867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3868 if (!SWIG_IsOK(res1)) {
3869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3870 }
3871 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3872 ecode2 = SWIG_AsVal_int(obj1, &val2);
3873 if (!SWIG_IsOK(ecode2)) {
3874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3875 }
3876 arg2 = static_cast< wxTextAttrAlignment >(val2);
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetAlignment(arg2);
3880 wxPyEndAllowThreads(__tstate);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 resultobj = SWIG_Py_Void();
3884 return resultobj;
3885fail:
3886 return NULL;
3887}
3888
3889
3890SWIGINTERN PyObject *_wrap_RichTextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj = 0;
3892 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3893 wxArrayInt *arg2 = 0 ;
3894 void *argp1 = 0 ;
3895 int res1 = 0 ;
3896 bool temp2 = false ;
3897 PyObject * obj0 = 0 ;
3898 PyObject * obj1 = 0 ;
3899 char * kwnames[] = {
3900 (char *) "self",(char *) "tabs", NULL
3901 };
3902
3903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
3904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3905 if (!SWIG_IsOK(res1)) {
3906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3907 }
3908 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3909 {
3910 if (! PySequence_Check(obj1)) {
3911 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
3912 SWIG_fail;
3913 }
3914 arg2 = new wxArrayInt;
3915 temp2 = true;
3916 int i, len=PySequence_Length(obj1);
3917 for (i=0; i<len; i++) {
3918 PyObject* item = PySequence_GetItem(obj1, i);
3919 PyObject* number = PyNumber_Int(item);
3920 arg2->Add(PyInt_AS_LONG(number));
3921 Py_DECREF(item);
3922 Py_DECREF(number);
3923 }
3924 }
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 (arg1)->SetTabs((wxArrayInt const &)*arg2);
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 resultobj = SWIG_Py_Void();
3932 {
3933 if (temp2) delete arg2;
3934 }
3935 return resultobj;
3936fail:
3937 {
3938 if (temp2) delete arg2;
3939 }
3940 return NULL;
3941}
3942
3943
3944SWIGINTERN PyObject *_wrap_RichTextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj = 0;
3946 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3947 int arg2 ;
3948 int arg3 = (int) 0 ;
3949 void *argp1 = 0 ;
3950 int res1 = 0 ;
3951 int val2 ;
3952 int ecode2 = 0 ;
3953 int val3 ;
3954 int ecode3 = 0 ;
3955 PyObject * obj0 = 0 ;
3956 PyObject * obj1 = 0 ;
3957 PyObject * obj2 = 0 ;
3958 char * kwnames[] = {
3959 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3960 };
3961
3962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3964 if (!SWIG_IsOK(res1)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3966 }
3967 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3968 ecode2 = SWIG_AsVal_int(obj1, &val2);
3969 if (!SWIG_IsOK(ecode2)) {
3970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3971 }
3972 arg2 = static_cast< int >(val2);
3973 if (obj2) {
3974 ecode3 = SWIG_AsVal_int(obj2, &val3);
3975 if (!SWIG_IsOK(ecode3)) {
3976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3977 }
3978 arg3 = static_cast< int >(val3);
3979 }
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 (arg1)->SetLeftIndent(arg2,arg3);
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 resultobj = SWIG_Py_Void();
3987 return resultobj;
3988fail:
3989 return NULL;
3990}
3991
3992
3993SWIGINTERN PyObject *_wrap_RichTextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj = 0;
3995 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3996 int arg2 ;
3997 void *argp1 = 0 ;
3998 int res1 = 0 ;
3999 int val2 ;
4000 int ecode2 = 0 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char * kwnames[] = {
4004 (char *) "self",(char *) "indent", NULL
4005 };
4006
4007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
4008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4009 if (!SWIG_IsOK(res1)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4011 }
4012 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4013 ecode2 = SWIG_AsVal_int(obj1, &val2);
4014 if (!SWIG_IsOK(ecode2)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
4016 }
4017 arg2 = static_cast< int >(val2);
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 (arg1)->SetRightIndent(arg2);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 resultobj = SWIG_Py_Void();
4025 return resultobj;
4026fail:
4027 return NULL;
4028}
4029
4030
4031SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj = 0;
4033 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4034 int arg2 ;
4035 void *argp1 = 0 ;
4036 int res1 = 0 ;
4037 int val2 ;
4038 int ecode2 = 0 ;
4039 PyObject * obj0 = 0 ;
4040 PyObject * obj1 = 0 ;
4041 char * kwnames[] = {
4042 (char *) "self",(char *) "pointSize", NULL
4043 };
4044
4045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4047 if (!SWIG_IsOK(res1)) {
4048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4049 }
4050 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4051 ecode2 = SWIG_AsVal_int(obj1, &val2);
4052 if (!SWIG_IsOK(ecode2)) {
4053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4054 }
4055 arg2 = static_cast< int >(val2);
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 (arg1)->SetFontSize(arg2);
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_Py_Void();
4063 return resultobj;
4064fail:
4065 return NULL;
4066}
4067
4068
4069SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4070 PyObject *resultobj = 0;
4071 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4072 int arg2 ;
4073 void *argp1 = 0 ;
4074 int res1 = 0 ;
4075 int val2 ;
4076 int ecode2 = 0 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079 char * kwnames[] = {
4080 (char *) "self",(char *) "fontStyle", NULL
4081 };
4082
4083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontStyle",kwnames,&obj0,&obj1)) SWIG_fail;
4084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4085 if (!SWIG_IsOK(res1)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4087 }
4088 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4089 ecode2 = SWIG_AsVal_int(obj1, &val2);
4090 if (!SWIG_IsOK(ecode2)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
4092 }
4093 arg2 = static_cast< int >(val2);
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 (arg1)->SetFontStyle(arg2);
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_Py_Void();
4101 return resultobj;
4102fail:
4103 return NULL;
4104}
4105
4106
4107SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj = 0;
4109 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4110 int arg2 ;
4111 void *argp1 = 0 ;
4112 int res1 = 0 ;
4113 int val2 ;
4114 int ecode2 = 0 ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 char * kwnames[] = {
4118 (char *) "self",(char *) "fontWeight", NULL
4119 };
4120
4121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontWeight",kwnames,&obj0,&obj1)) SWIG_fail;
4122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4123 if (!SWIG_IsOK(res1)) {
4124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4125 }
4126 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4127 ecode2 = SWIG_AsVal_int(obj1, &val2);
4128 if (!SWIG_IsOK(ecode2)) {
4129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4130 }
4131 arg2 = static_cast< int >(val2);
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 (arg1)->SetFontWeight(arg2);
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_Py_Void();
4139 return resultobj;
4140fail:
4141 return NULL;
4142}
4143
4144
4145SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4148 wxString *arg2 = 0 ;
4149 void *argp1 = 0 ;
4150 int res1 = 0 ;
4151 bool temp2 = false ;
4152 PyObject * obj0 = 0 ;
4153 PyObject * obj1 = 0 ;
4154 char * kwnames[] = {
4155 (char *) "self",(char *) "faceName", NULL
4156 };
4157
4158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames,&obj0,&obj1)) SWIG_fail;
4159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4160 if (!SWIG_IsOK(res1)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4162 }
4163 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4164 {
4165 arg2 = wxString_in_helper(obj1);
4166 if (arg2 == NULL) SWIG_fail;
4167 temp2 = true;
4168 }
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 (arg1)->SetFontFaceName((wxString const &)*arg2);
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
4175 resultobj = SWIG_Py_Void();
4176 {
4177 if (temp2)
4178 delete arg2;
4179 }
4180 return resultobj;
4181fail:
4182 {
4183 if (temp2)
4184 delete arg2;
4185 }
4186 return NULL;
4187}
4188
4189
4190SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj = 0;
4192 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4193 bool arg2 ;
4194 void *argp1 = 0 ;
4195 int res1 = 0 ;
4196 bool val2 ;
4197 int ecode2 = 0 ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 char * kwnames[] = {
4201 (char *) "self",(char *) "underlined", NULL
4202 };
4203
4204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4206 if (!SWIG_IsOK(res1)) {
4207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4208 }
4209 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4210 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4211 if (!SWIG_IsOK(ecode2)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4213 }
4214 arg2 = static_cast< bool >(val2);
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 (arg1)->SetFontUnderlined(arg2);
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 resultobj = SWIG_Py_Void();
4222 return resultobj;
4223fail:
4224 return NULL;
4225}
4226
4227
4228SWIGINTERN PyObject *_wrap_RichTextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4229 PyObject *resultobj = 0;
4230 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4231 long arg2 ;
4232 void *argp1 = 0 ;
4233 int res1 = 0 ;
4234 long val2 ;
4235 int ecode2 = 0 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char * kwnames[] = {
4239 (char *) "self",(char *) "flags", NULL
4240 };
4241
4242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
4243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4244 if (!SWIG_IsOK(res1)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4246 }
4247 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4248 ecode2 = SWIG_AsVal_long(obj1, &val2);
4249 if (!SWIG_IsOK(ecode2)) {
4250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4251 }
4252 arg2 = static_cast< long >(val2);
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 (arg1)->SetFlags(arg2);
4256 wxPyEndAllowThreads(__tstate);
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 resultobj = SWIG_Py_Void();
4260 return resultobj;
4261fail:
4262 return NULL;
4263}
4264
4265
4266SWIGINTERN PyObject *_wrap_RichTextAttr_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4267 PyObject *resultobj = 0;
4268 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4269 wxString *arg2 = 0 ;
4270 void *argp1 = 0 ;
4271 int res1 = 0 ;
4272 bool temp2 = false ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 char * kwnames[] = {
4276 (char *) "self",(char *) "name", NULL
4277 };
4278
4279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4281 if (!SWIG_IsOK(res1)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4283 }
4284 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4285 {
4286 arg2 = wxString_in_helper(obj1);
4287 if (arg2 == NULL) SWIG_fail;
4288 temp2 = true;
4289 }
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->SetCharacterStyleName((wxString const &)*arg2);
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 resultobj = SWIG_Py_Void();
4297 {
4298 if (temp2)
4299 delete arg2;
4300 }
4301 return resultobj;
4302fail:
4303 {
4304 if (temp2)
4305 delete arg2;
4306 }
4307 return NULL;
4308}
4309
4310
4311SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj = 0;
4313 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4314 wxString *arg2 = 0 ;
4315 void *argp1 = 0 ;
4316 int res1 = 0 ;
4317 bool temp2 = false ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 char * kwnames[] = {
4321 (char *) "self",(char *) "name", NULL
4322 };
4323
4324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4326 if (!SWIG_IsOK(res1)) {
4327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4328 }
4329 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4330 {
4331 arg2 = wxString_in_helper(obj1);
4332 if (arg2 == NULL) SWIG_fail;
4333 temp2 = true;
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->SetParagraphStyleName((wxString const &)*arg2);
4338 wxPyEndAllowThreads(__tstate);
4339 if (PyErr_Occurred()) SWIG_fail;
4340 }
4341 resultobj = SWIG_Py_Void();
4342 {
4343 if (temp2)
4344 delete arg2;
4345 }
4346 return resultobj;
4347fail:
4348 {
4349 if (temp2)
4350 delete arg2;
4351 }
4352 return NULL;
4353}
4354
4355
4356SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj = 0;
4358 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4359 int arg2 ;
4360 void *argp1 = 0 ;
4361 int res1 = 0 ;
4362 int val2 ;
4363 int ecode2 = 0 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 char * kwnames[] = {
4367 (char *) "self",(char *) "spacing", NULL
4368 };
4369
4370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail;
4371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4372 if (!SWIG_IsOK(res1)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4374 }
4375 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4376 ecode2 = SWIG_AsVal_int(obj1, &val2);
4377 if (!SWIG_IsOK(ecode2)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4379 }
4380 arg2 = static_cast< int >(val2);
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->SetParagraphSpacingAfter(arg2);
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_Py_Void();
4388 return resultobj;
4389fail:
4390 return NULL;
4391}
4392
4393
4394SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj = 0;
4396 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4397 int arg2 ;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "spacing", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4412 }
4413 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 (arg1)->SetParagraphSpacingBefore(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_Py_Void();
4426 return resultobj;
4427fail:
4428 return NULL;
4429}
4430
4431
4432SWIGINTERN PyObject *_wrap_RichTextAttr_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4435 int arg2 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 char * kwnames[] = {
4443 (char *) "self",(char *) "spacing", NULL
4444 };
4445
4446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
4447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4448 if (!SWIG_IsOK(res1)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4450 }
4451 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4452 ecode2 = SWIG_AsVal_int(obj1, &val2);
4453 if (!SWIG_IsOK(ecode2)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4455 }
4456 arg2 = static_cast< int >(val2);
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 (arg1)->SetLineSpacing(arg2);
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 resultobj = SWIG_Py_Void();
4464 return resultobj;
4465fail:
4466 return NULL;
4467}
4468
4469
4470SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj = 0;
4472 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4473 int arg2 ;
4474 void *argp1 = 0 ;
4475 int res1 = 0 ;
4476 int val2 ;
4477 int ecode2 = 0 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 char * kwnames[] = {
4481 (char *) "self",(char *) "style", NULL
4482 };
4483
4484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail;
4485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4486 if (!SWIG_IsOK(res1)) {
4487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4488 }
4489 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4490 ecode2 = SWIG_AsVal_int(obj1, &val2);
4491 if (!SWIG_IsOK(ecode2)) {
4492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4493 }
4494 arg2 = static_cast< int >(val2);
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 (arg1)->SetBulletStyle(arg2);
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 resultobj = SWIG_Py_Void();
4502 return resultobj;
4503fail:
4504 return NULL;
4505}
4506
4507
4508SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj = 0;
4510 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4511 int arg2 ;
4512 void *argp1 = 0 ;
4513 int res1 = 0 ;
4514 int val2 ;
4515 int ecode2 = 0 ;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 char * kwnames[] = {
4519 (char *) "self",(char *) "n", NULL
4520 };
4521
4522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail;
4523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4524 if (!SWIG_IsOK(res1)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4526 }
4527 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4528 ecode2 = SWIG_AsVal_int(obj1, &val2);
4529 if (!SWIG_IsOK(ecode2)) {
4530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4531 }
4532 arg2 = static_cast< int >(val2);
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 (arg1)->SetBulletNumber(arg2);
4536 wxPyEndAllowThreads(__tstate);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 }
4539 resultobj = SWIG_Py_Void();
4540 return resultobj;
4541fail:
4542 return NULL;
4543}
4544
4545
4546SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4547 PyObject *resultobj = 0;
4548 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4549 wxChar arg2 ;
4550 void *argp1 = 0 ;
4551 int res1 = 0 ;
4552 void *argp2 ;
4553 int res2 = 0 ;
4554 PyObject * obj0 = 0 ;
4555 PyObject * obj1 = 0 ;
4556 char * kwnames[] = {
4557 (char *) "self",(char *) "symbol", NULL
4558 };
4559
4560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
4561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4562 if (!SWIG_IsOK(res1)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4564 }
4565 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4566 {
4567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxChar, 0 | 0);
4568 if (!SWIG_IsOK(res2)) {
4569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4570 }
4571 if (!argp2) {
4572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4573 } else {
4574 wxChar * temp = reinterpret_cast< wxChar * >(argp2);
4575 arg2 = *temp;
4576 if (SWIG_IsNewObj(res2)) delete temp;
4577 }
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 (arg1)->SetBulletSymbol(arg2);
4582 wxPyEndAllowThreads(__tstate);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 resultobj = SWIG_Py_Void();
4586 return resultobj;
4587fail:
4588 return NULL;
4589}
4590
4591
4592SWIGINTERN PyObject *_wrap_RichTextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4593 PyObject *resultobj = 0;
4594 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4595 wxColour *result = 0 ;
4596 void *argp1 = 0 ;
4597 int res1 = 0 ;
4598 PyObject *swig_obj[1] ;
4599
4600 if (!args) SWIG_fail;
4601 swig_obj[0] = args;
4602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4603 if (!SWIG_IsOK(res1)) {
4604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4605 }
4606 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 {
4610 wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTextColour();
4611 result = (wxColour *) &_result_ref;
4612 }
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4617 return resultobj;
4618fail:
4619 return NULL;
4620}
4621
4622
4623SWIGINTERN PyObject *_wrap_RichTextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4624 PyObject *resultobj = 0;
4625 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4626 wxColour *result = 0 ;
4627 void *argp1 = 0 ;
4628 int res1 = 0 ;
4629 PyObject *swig_obj[1] ;
4630
4631 if (!args) SWIG_fail;
4632 swig_obj[0] = args;
4633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4634 if (!SWIG_IsOK(res1)) {
4635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4636 }
4637 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 {
4641 wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBackgroundColour();
4642 result = (wxColour *) &_result_ref;
4643 }
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4648 return resultobj;
4649fail:
4650 return NULL;
4651}
4652
4653
4654SWIGINTERN PyObject *_wrap_RichTextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4655 PyObject *resultobj = 0;
4656 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4657 wxTextAttrAlignment result;
4658 void *argp1 = 0 ;
4659 int res1 = 0 ;
4660 PyObject *swig_obj[1] ;
4661
4662 if (!args) SWIG_fail;
4663 swig_obj[0] = args;
4664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4665 if (!SWIG_IsOK(res1)) {
4666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4667 }
4668 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (wxTextAttrAlignment)((wxRichTextAttr const *)arg1)->GetAlignment();
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 resultobj = SWIG_From_int(static_cast< int >(result));
4676 return resultobj;
4677fail:
4678 return NULL;
4679}
4680
4681
4682SWIGINTERN PyObject *_wrap_RichTextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4683 PyObject *resultobj = 0;
4684 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4685 wxArrayInt *result = 0 ;
4686 void *argp1 = 0 ;
4687 int res1 = 0 ;
4688 PyObject *swig_obj[1] ;
4689
4690 if (!args) SWIG_fail;
4691 swig_obj[0] = args;
4692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4693 if (!SWIG_IsOK(res1)) {
4694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4695 }
4696 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 {
4700 wxArrayInt const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTabs();
4701 result = (wxArrayInt *) &_result_ref;
4702 }
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 {
4707 resultobj = PyList_New(0);
4708 size_t idx;
4709 for (idx = 0; idx < result->GetCount(); idx += 1) {
4710 PyObject* val = PyInt_FromLong( result->Item(idx) );
4711 PyList_Append(resultobj, val);
4712 Py_DECREF(val);
4713 }
4714 }
4715 return resultobj;
4716fail:
4717 return NULL;
4718}
4719
4720
4721SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4722 PyObject *resultobj = 0;
4723 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4724 long result;
4725 void *argp1 = 0 ;
4726 int res1 = 0 ;
4727 PyObject *swig_obj[1] ;
4728
4729 if (!args) SWIG_fail;
4730 swig_obj[0] = args;
4731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4732 if (!SWIG_IsOK(res1)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4734 }
4735 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (long)((wxRichTextAttr const *)arg1)->GetLeftIndent();
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = SWIG_From_long(static_cast< long >(result));
4743 return resultobj;
4744fail:
4745 return NULL;
4746}
4747
4748
4749SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4750 PyObject *resultobj = 0;
4751 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4752 long result;
4753 void *argp1 = 0 ;
4754 int res1 = 0 ;
4755 PyObject *swig_obj[1] ;
4756
4757 if (!args) SWIG_fail;
4758 swig_obj[0] = args;
4759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4760 if (!SWIG_IsOK(res1)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4762 }
4763 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (long)((wxRichTextAttr const *)arg1)->GetLeftSubIndent();
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 resultobj = SWIG_From_long(static_cast< long >(result));
4771 return resultobj;
4772fail:
4773 return NULL;
4774}
4775
4776
4777SWIGINTERN PyObject *_wrap_RichTextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4778 PyObject *resultobj = 0;
4779 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4780 long result;
4781 void *argp1 = 0 ;
4782 int res1 = 0 ;
4783 PyObject *swig_obj[1] ;
4784
4785 if (!args) SWIG_fail;
4786 swig_obj[0] = args;
4787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4788 if (!SWIG_IsOK(res1)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4790 }
4791 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 result = (long)((wxRichTextAttr const *)arg1)->GetRightIndent();
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 resultobj = SWIG_From_long(static_cast< long >(result));
4799 return resultobj;
4800fail:
4801 return NULL;
4802}
4803
4804
4805SWIGINTERN PyObject *_wrap_RichTextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4806 PyObject *resultobj = 0;
4807 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4808 long result;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 PyObject *swig_obj[1] ;
4812
4813 if (!args) SWIG_fail;
4814 swig_obj[0] = args;
4815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4816 if (!SWIG_IsOK(res1)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4818 }
4819 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 result = (long)((wxRichTextAttr const *)arg1)->GetFlags();
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 resultobj = SWIG_From_long(static_cast< long >(result));
4827 return resultobj;
4828fail:
4829 return NULL;
4830}
4831
4832
4833SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4834 PyObject *resultobj = 0;
4835 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4836 int result;
4837 void *argp1 = 0 ;
4838 int res1 = 0 ;
4839 PyObject *swig_obj[1] ;
4840
4841 if (!args) SWIG_fail;
4842 swig_obj[0] = args;
4843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4844 if (!SWIG_IsOK(res1)) {
4845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4846 }
4847 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4848 {
4849 PyThreadState* __tstate = wxPyBeginAllowThreads();
4850 result = (int)((wxRichTextAttr const *)arg1)->GetFontSize();
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 resultobj = SWIG_From_int(static_cast< int >(result));
4855 return resultobj;
4856fail:
4857 return NULL;
4858}
4859
4860
4861SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4862 PyObject *resultobj = 0;
4863 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4864 int result;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 PyObject *swig_obj[1] ;
4868
4869 if (!args) SWIG_fail;
4870 swig_obj[0] = args;
4871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4872 if (!SWIG_IsOK(res1)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4874 }
4875 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 result = (int)((wxRichTextAttr const *)arg1)->GetFontStyle();
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = SWIG_From_int(static_cast< int >(result));
4883 return resultobj;
4884fail:
4885 return NULL;
4886}
4887
4888
4889SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4890 PyObject *resultobj = 0;
4891 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4892 int result;
4893 void *argp1 = 0 ;
4894 int res1 = 0 ;
4895 PyObject *swig_obj[1] ;
4896
4897 if (!args) SWIG_fail;
4898 swig_obj[0] = args;
4899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4900 if (!SWIG_IsOK(res1)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4902 }
4903 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (int)((wxRichTextAttr const *)arg1)->GetFontWeight();
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = SWIG_From_int(static_cast< int >(result));
4911 return resultobj;
4912fail:
4913 return NULL;
4914}
4915
4916
4917SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4918 PyObject *resultobj = 0;
4919 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4920 bool result;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 PyObject *swig_obj[1] ;
4924
4925 if (!args) SWIG_fail;
4926 swig_obj[0] = args;
4927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4928 if (!SWIG_IsOK(res1)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4930 }
4931 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 result = (bool)((wxRichTextAttr const *)arg1)->GetFontUnderlined();
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 {
4939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4940 }
4941 return resultobj;
4942fail:
4943 return NULL;
4944}
4945
4946
4947SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4948 PyObject *resultobj = 0;
4949 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4950 wxString *result = 0 ;
4951 void *argp1 = 0 ;
4952 int res1 = 0 ;
4953 PyObject *swig_obj[1] ;
4954
4955 if (!args) SWIG_fail;
4956 swig_obj[0] = args;
4957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4958 if (!SWIG_IsOK(res1)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4960 }
4961 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 {
4965 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetFontFaceName();
4966 result = (wxString *) &_result_ref;
4967 }
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 {
4972#if wxUSE_UNICODE
4973 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4974#else
4975 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4976#endif
4977 }
4978 return resultobj;
4979fail:
4980 return NULL;
4981}
4982
4983
4984SWIGINTERN PyObject *_wrap_RichTextAttr_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4985 PyObject *resultobj = 0;
4986 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4987 wxString *result = 0 ;
4988 void *argp1 = 0 ;
4989 int res1 = 0 ;
4990 PyObject *swig_obj[1] ;
4991
4992 if (!args) SWIG_fail;
4993 swig_obj[0] = args;
4994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4995 if (!SWIG_IsOK(res1)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4997 }
4998 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 {
5002 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetCharacterStyleName();
5003 result = (wxString *) &_result_ref;
5004 }
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 {
5009#if wxUSE_UNICODE
5010 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5011#else
5012 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5013#endif
5014 }
5015 return resultobj;
5016fail:
5017 return NULL;
5018}
5019
5020
5021SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5022 PyObject *resultobj = 0;
5023 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5024 wxString *result = 0 ;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 PyObject *swig_obj[1] ;
5028
5029 if (!args) SWIG_fail;
5030 swig_obj[0] = args;
5031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5032 if (!SWIG_IsOK(res1)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5034 }
5035 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 {
5039 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetParagraphStyleName();
5040 result = (wxString *) &_result_ref;
5041 }
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046#if wxUSE_UNICODE
5047 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5048#else
5049 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5050#endif
5051 }
5052 return resultobj;
5053fail:
5054 return NULL;
5055}
5056
5057
5058SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5059 PyObject *resultobj = 0;
5060 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5061 int result;
5062 void *argp1 = 0 ;
5063 int res1 = 0 ;
5064 PyObject *swig_obj[1] ;
5065
5066 if (!args) SWIG_fail;
5067 swig_obj[0] = args;
5068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5069 if (!SWIG_IsOK(res1)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5071 }
5072 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingAfter();
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 resultobj = SWIG_From_int(static_cast< int >(result));
5080 return resultobj;
5081fail:
5082 return NULL;
5083}
5084
5085
5086SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5087 PyObject *resultobj = 0;
5088 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5089 int result;
5090 void *argp1 = 0 ;
5091 int res1 = 0 ;
5092 PyObject *swig_obj[1] ;
5093
5094 if (!args) SWIG_fail;
5095 swig_obj[0] = args;
5096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5097 if (!SWIG_IsOK(res1)) {
5098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5099 }
5100 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingBefore();
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 resultobj = SWIG_From_int(static_cast< int >(result));
5108 return resultobj;
5109fail:
5110 return NULL;
5111}
5112
5113
5114SWIGINTERN PyObject *_wrap_RichTextAttr_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5115 PyObject *resultobj = 0;
5116 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5117 int result;
5118 void *argp1 = 0 ;
5119 int res1 = 0 ;
5120 PyObject *swig_obj[1] ;
5121
5122 if (!args) SWIG_fail;
5123 swig_obj[0] = args;
5124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5125 if (!SWIG_IsOK(res1)) {
5126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5127 }
5128 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 result = (int)((wxRichTextAttr const *)arg1)->GetLineSpacing();
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 resultobj = SWIG_From_int(static_cast< int >(result));
5136 return resultobj;
5137fail:
5138 return NULL;
5139}
5140
5141
5142SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5143 PyObject *resultobj = 0;
5144 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5145 int result;
5146 void *argp1 = 0 ;
5147 int res1 = 0 ;
5148 PyObject *swig_obj[1] ;
5149
5150 if (!args) SWIG_fail;
5151 swig_obj[0] = args;
5152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5153 if (!SWIG_IsOK(res1)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5155 }
5156 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (int)((wxRichTextAttr const *)arg1)->GetBulletStyle();
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 resultobj = SWIG_From_int(static_cast< int >(result));
5164 return resultobj;
5165fail:
5166 return NULL;
5167}
5168
5169
5170SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5171 PyObject *resultobj = 0;
5172 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5173 int result;
5174 void *argp1 = 0 ;
5175 int res1 = 0 ;
5176 PyObject *swig_obj[1] ;
5177
5178 if (!args) SWIG_fail;
5179 swig_obj[0] = args;
5180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5181 if (!SWIG_IsOK(res1)) {
5182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5183 }
5184 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = (int)((wxRichTextAttr const *)arg1)->GetBulletNumber();
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 resultobj = SWIG_From_int(static_cast< int >(result));
5192 return resultobj;
5193fail:
5194 return NULL;
5195}
5196
5197
5198SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5199 PyObject *resultobj = 0;
5200 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5201 wxChar result;
5202 void *argp1 = 0 ;
5203 int res1 = 0 ;
5204 PyObject *swig_obj[1] ;
5205
5206 if (!args) SWIG_fail;
5207 swig_obj[0] = args;
5208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5209 if (!SWIG_IsOK(res1)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5211 }
5212 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = ((wxRichTextAttr const *)arg1)->GetBulletSymbol();
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = SWIG_NewPointerObj((new wxChar(static_cast< const wxChar& >(result))), SWIGTYPE_p_wxChar, SWIG_POINTER_OWN | 0 );
5220 return resultobj;
5221fail:
5222 return NULL;
5223}
5224
5225
5226SWIGINTERN PyObject *_wrap_RichTextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5227 PyObject *resultobj = 0;
5228 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5229 bool result;
5230 void *argp1 = 0 ;
5231 int res1 = 0 ;
5232 PyObject *swig_obj[1] ;
5233
5234 if (!args) SWIG_fail;
5235 swig_obj[0] = args;
5236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5237 if (!SWIG_IsOK(res1)) {
5238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5239 }
5240 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 result = (bool)((wxRichTextAttr const *)arg1)->HasTextColour();
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 {
5248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5249 }
5250 return resultobj;
5251fail:
5252 return NULL;
5253}
5254
5255
5256SWIGINTERN PyObject *_wrap_RichTextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5257 PyObject *resultobj = 0;
5258 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5259 bool result;
5260 void *argp1 = 0 ;
5261 int res1 = 0 ;
5262 PyObject *swig_obj[1] ;
5263
5264 if (!args) SWIG_fail;
5265 swig_obj[0] = args;
5266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5267 if (!SWIG_IsOK(res1)) {
5268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5269 }
5270 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = (bool)((wxRichTextAttr const *)arg1)->HasBackgroundColour();
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 {
5278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5279 }
5280 return resultobj;
5281fail:
5282 return NULL;
5283}
5284
5285
5286SWIGINTERN PyObject *_wrap_RichTextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5287 PyObject *resultobj = 0;
5288 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5289 bool result;
5290 void *argp1 = 0 ;
5291 int res1 = 0 ;
5292 PyObject *swig_obj[1] ;
5293
5294 if (!args) SWIG_fail;
5295 swig_obj[0] = args;
5296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5297 if (!SWIG_IsOK(res1)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5299 }
5300 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 result = (bool)((wxRichTextAttr const *)arg1)->HasAlignment();
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 {
5308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5309 }
5310 return resultobj;
5311fail:
5312 return NULL;
5313}
5314
5315
5316SWIGINTERN PyObject *_wrap_RichTextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5317 PyObject *resultobj = 0;
5318 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5319 bool result;
5320 void *argp1 = 0 ;
5321 int res1 = 0 ;
5322 PyObject *swig_obj[1] ;
5323
5324 if (!args) SWIG_fail;
5325 swig_obj[0] = args;
5326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5327 if (!SWIG_IsOK(res1)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5329 }
5330 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 result = (bool)((wxRichTextAttr const *)arg1)->HasTabs();
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 {
5338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5339 }
5340 return resultobj;
5341fail:
5342 return NULL;
5343}
5344
5345
5346SWIGINTERN PyObject *_wrap_RichTextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5347 PyObject *resultobj = 0;
5348 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5349 bool result;
5350 void *argp1 = 0 ;
5351 int res1 = 0 ;
5352 PyObject *swig_obj[1] ;
5353
5354 if (!args) SWIG_fail;
5355 swig_obj[0] = args;
5356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5357 if (!SWIG_IsOK(res1)) {
5358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5359 }
5360 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)((wxRichTextAttr const *)arg1)->HasLeftIndent();
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5369 }
5370 return resultobj;
5371fail:
5372 return NULL;
5373}
5374
5375
5376SWIGINTERN PyObject *_wrap_RichTextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5377 PyObject *resultobj = 0;
5378 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5379 bool result;
5380 void *argp1 = 0 ;
5381 int res1 = 0 ;
5382 PyObject *swig_obj[1] ;
5383
5384 if (!args) SWIG_fail;
5385 swig_obj[0] = args;
5386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5387 if (!SWIG_IsOK(res1)) {
5388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5389 }
5390 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (bool)((wxRichTextAttr const *)arg1)->HasRightIndent();
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 {
5398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5399 }
5400 return resultobj;
5401fail:
5402 return NULL;
5403}
5404
5405
5406SWIGINTERN PyObject *_wrap_RichTextAttr_HasWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5407 PyObject *resultobj = 0;
5408 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5409 bool result;
5410 void *argp1 = 0 ;
5411 int res1 = 0 ;
5412 PyObject *swig_obj[1] ;
5413
5414 if (!args) SWIG_fail;
5415 swig_obj[0] = args;
5416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5417 if (!SWIG_IsOK(res1)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5419 }
5420 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 result = (bool)((wxRichTextAttr const *)arg1)->HasWeight();
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 {
5428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5429 }
5430 return resultobj;
5431fail:
5432 return NULL;
5433}
5434
5435
5436SWIGINTERN PyObject *_wrap_RichTextAttr_HasSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5437 PyObject *resultobj = 0;
5438 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5439 bool result;
5440 void *argp1 = 0 ;
5441 int res1 = 0 ;
5442 PyObject *swig_obj[1] ;
5443
5444 if (!args) SWIG_fail;
5445 swig_obj[0] = args;
5446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5447 if (!SWIG_IsOK(res1)) {
5448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5449 }
5450 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (bool)((wxRichTextAttr const *)arg1)->HasSize();
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 {
5458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5459 }
5460 return resultobj;
5461fail:
5462 return NULL;
5463}
5464
5465
5466SWIGINTERN PyObject *_wrap_RichTextAttr_HasItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5467 PyObject *resultobj = 0;
5468 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5469 bool result;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 PyObject *swig_obj[1] ;
5473
5474 if (!args) SWIG_fail;
5475 swig_obj[0] = args;
5476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5477 if (!SWIG_IsOK(res1)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5479 }
5480 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (bool)((wxRichTextAttr const *)arg1)->HasItalic();
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491fail:
5492 return NULL;
5493}
5494
5495
5496SWIGINTERN PyObject *_wrap_RichTextAttr_HasUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5497 PyObject *resultobj = 0;
5498 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5499 bool result;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 PyObject *swig_obj[1] ;
5503
5504 if (!args) SWIG_fail;
5505 swig_obj[0] = args;
5506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5507 if (!SWIG_IsOK(res1)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5509 }
5510 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (bool)((wxRichTextAttr const *)arg1)->HasUnderlined();
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 return resultobj;
5521fail:
5522 return NULL;
5523}
5524
5525
5526SWIGINTERN PyObject *_wrap_RichTextAttr_HasFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5527 PyObject *resultobj = 0;
5528 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5529 bool result;
5530 void *argp1 = 0 ;
5531 int res1 = 0 ;
5532 PyObject *swig_obj[1] ;
5533
5534 if (!args) SWIG_fail;
5535 swig_obj[0] = args;
5536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5539 }
5540 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (bool)((wxRichTextAttr const *)arg1)->HasFaceName();
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5549 }
5550 return resultobj;
5551fail:
5552 return NULL;
5553}
5554
5555
5556SWIGINTERN PyObject *_wrap_RichTextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557 PyObject *resultobj = 0;
5558 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5559 bool result;
5560 void *argp1 = 0 ;
5561 int res1 = 0 ;
5562 PyObject *swig_obj[1] ;
5563
5564 if (!args) SWIG_fail;
5565 swig_obj[0] = args;
5566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5569 }
5570 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = (bool)((wxRichTextAttr const *)arg1)->HasFont();
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 {
5578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5579 }
5580 return resultobj;
5581fail:
5582 return NULL;
5583}
5584
5585
5586SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5587 PyObject *resultobj = 0;
5588 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5589 bool result;
5590 void *argp1 = 0 ;
5591 int res1 = 0 ;
5592 PyObject *swig_obj[1] ;
5593
5594 if (!args) SWIG_fail;
5595 swig_obj[0] = args;
5596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5597 if (!SWIG_IsOK(res1)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5599 }
5600 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingAfter();
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 {
5608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5609 }
5610 return resultobj;
5611fail:
5612 return NULL;
5613}
5614
5615
5616SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5617 PyObject *resultobj = 0;
5618 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5619 bool result;
5620 void *argp1 = 0 ;
5621 int res1 = 0 ;
5622 PyObject *swig_obj[1] ;
5623
5624 if (!args) SWIG_fail;
5625 swig_obj[0] = args;
5626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5627 if (!SWIG_IsOK(res1)) {
5628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5629 }
5630 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingBefore();
5634 wxPyEndAllowThreads(__tstate);
5635 if (PyErr_Occurred()) SWIG_fail;
5636 }
5637 {
5638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5639 }
5640 return resultobj;
5641fail:
5642 return NULL;
5643}
5644
5645
5646SWIGINTERN PyObject *_wrap_RichTextAttr_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5647 PyObject *resultobj = 0;
5648 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5649 bool result;
5650 void *argp1 = 0 ;
5651 int res1 = 0 ;
5652 PyObject *swig_obj[1] ;
5653
5654 if (!args) SWIG_fail;
5655 swig_obj[0] = args;
5656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5657 if (!SWIG_IsOK(res1)) {
5658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5659 }
5660 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (bool)((wxRichTextAttr const *)arg1)->HasLineSpacing();
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 {
5668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5669 }
5670 return resultobj;
5671fail:
5672 return NULL;
5673}
5674
5675
5676SWIGINTERN PyObject *_wrap_RichTextAttr_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5677 PyObject *resultobj = 0;
5678 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5679 bool result;
5680 void *argp1 = 0 ;
5681 int res1 = 0 ;
5682 PyObject *swig_obj[1] ;
5683
5684 if (!args) SWIG_fail;
5685 swig_obj[0] = args;
5686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5689 }
5690 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 result = (bool)((wxRichTextAttr const *)arg1)->HasCharacterStyleName();
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 {
5698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5699 }
5700 return resultobj;
5701fail:
5702 return NULL;
5703}
5704
5705
5706SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5707 PyObject *resultobj = 0;
5708 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5709 bool result;
5710 void *argp1 = 0 ;
5711 int res1 = 0 ;
5712 PyObject *swig_obj[1] ;
5713
5714 if (!args) SWIG_fail;
5715 swig_obj[0] = args;
5716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5717 if (!SWIG_IsOK(res1)) {
5718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5719 }
5720 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphStyleName();
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 {
5728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5729 }
5730 return resultobj;
5731fail:
5732 return NULL;
5733}
5734
5735
5736SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5737 PyObject *resultobj = 0;
5738 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5739 bool result;
5740 void *argp1 = 0 ;
5741 int res1 = 0 ;
5742 PyObject *swig_obj[1] ;
5743
5744 if (!args) SWIG_fail;
5745 swig_obj[0] = args;
5746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5747 if (!SWIG_IsOK(res1)) {
5748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5749 }
5750 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletStyle();
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 {
5758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5759 }
5760 return resultobj;
5761fail:
5762 return NULL;
5763}
5764
5765
5766SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5767 PyObject *resultobj = 0;
5768 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5769 bool result;
5770 void *argp1 = 0 ;
5771 int res1 = 0 ;
5772 PyObject *swig_obj[1] ;
5773
5774 if (!args) SWIG_fail;
5775 swig_obj[0] = args;
5776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5777 if (!SWIG_IsOK(res1)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5779 }
5780 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletNumber();
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5789 }
5790 return resultobj;
5791fail:
5792 return NULL;
5793}
5794
5795
5796SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5797 PyObject *resultobj = 0;
5798 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5799 bool result;
5800 void *argp1 = 0 ;
5801 int res1 = 0 ;
5802 PyObject *swig_obj[1] ;
5803
5804 if (!args) SWIG_fail;
5805 swig_obj[0] = args;
5806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5807 if (!SWIG_IsOK(res1)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5809 }
5810 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletSymbol();
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 {
5818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5819 }
5820 return resultobj;
5821fail:
5822 return NULL;
5823}
5824
5825
5826SWIGINTERN PyObject *_wrap_RichTextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj = 0;
5828 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5829 long arg2 ;
5830 bool result;
5831 void *argp1 = 0 ;
5832 int res1 = 0 ;
5833 long val2 ;
5834 int ecode2 = 0 ;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj1 = 0 ;
5837 char * kwnames[] = {
5838 (char *) "self",(char *) "flag", NULL
5839 };
5840
5841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5843 if (!SWIG_IsOK(res1)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5845 }
5846 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5847 ecode2 = SWIG_AsVal_long(obj1, &val2);
5848 if (!SWIG_IsOK(ecode2)) {
5849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5850 }
5851 arg2 = static_cast< long >(val2);
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)((wxRichTextAttr const *)arg1)->HasFlag(arg2);
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5860 }
5861 return resultobj;
5862fail:
5863 return NULL;
5864}
5865
5866
5867SWIGINTERN PyObject *_wrap_RichTextAttr_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5868 PyObject *resultobj = 0;
5869 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5870 bool result;
5871 void *argp1 = 0 ;
5872 int res1 = 0 ;
5873 PyObject *swig_obj[1] ;
5874
5875 if (!args) SWIG_fail;
5876 swig_obj[0] = args;
5877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5878 if (!SWIG_IsOK(res1)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5880 }
5881 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5882 {
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 result = (bool)((wxRichTextAttr const *)arg1)->IsCharacterStyle();
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 {
5889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5890 }
5891 return resultobj;
5892fail:
5893 return NULL;
5894}
5895
5896
5897SWIGINTERN PyObject *_wrap_RichTextAttr_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5898 PyObject *resultobj = 0;
5899 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5900 bool result;
5901 void *argp1 = 0 ;
5902 int res1 = 0 ;
5903 PyObject *swig_obj[1] ;
5904
5905 if (!args) SWIG_fail;
5906 swig_obj[0] = args;
5907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5908 if (!SWIG_IsOK(res1)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5910 }
5911 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = (bool)((wxRichTextAttr const *)arg1)->IsParagraphStyle();
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 {
5919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5920 }
5921 return resultobj;
5922fail:
5923 return NULL;
5924}
5925
5926
5927SWIGINTERN PyObject *_wrap_RichTextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5930 bool result;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 PyObject *swig_obj[1] ;
5934
5935 if (!args) SWIG_fail;
5936 swig_obj[0] = args;
5937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5938 if (!SWIG_IsOK(res1)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5940 }
5941 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (bool)((wxRichTextAttr const *)arg1)->IsDefault();
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 {
5949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5950 }
5951 return resultobj;
5952fail:
5953 return NULL;
5954}
5955
5956
5957SWIGINTERN PyObject *RichTextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5958 PyObject *obj;
5959 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5960 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr, SWIG_NewClientData(obj));
5961 return SWIG_Py_Void();
5962}
5963
5964SWIGINTERN PyObject *RichTextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5965 return SWIG_Python_InitShadowInstance(args);
5966}
5967
5968SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj = 0;
5970 wxWindow *arg1 = (wxWindow *) 0 ;
5971 int arg2 = (int) -1 ;
5972 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5973 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5974 wxSize const &arg4_defvalue = wxDefaultSize ;
5975 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5976 long arg5 = (long) wxRE_MULTILINE ;
5977 wxRichTextCtrl *result = 0 ;
5978 void *argp1 = 0 ;
5979 int res1 = 0 ;
5980 int val2 ;
5981 int ecode2 = 0 ;
5982 wxPoint temp3 ;
5983 wxSize temp4 ;
5984 long val5 ;
5985 int ecode5 = 0 ;
5986 PyObject * obj0 = 0 ;
5987 PyObject * obj1 = 0 ;
5988 PyObject * obj2 = 0 ;
5989 PyObject * obj3 = 0 ;
5990 PyObject * obj4 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5999 }
6000 arg1 = reinterpret_cast< wxWindow * >(argp1);
6001 if (obj1) {
6002 ecode2 = SWIG_AsVal_int(obj1, &val2);
6003 if (!SWIG_IsOK(ecode2)) {
6004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
6005 }
6006 arg2 = static_cast< int >(val2);
6007 }
6008 if (obj2) {
6009 {
6010 arg3 = &temp3;
6011 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6012 }
6013 }
6014 if (obj3) {
6015 {
6016 arg4 = &temp4;
6017 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6018 }
6019 }
6020 if (obj4) {
6021 ecode5 = SWIG_AsVal_long(obj4, &val5);
6022 if (!SWIG_IsOK(ecode5)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RichTextCtrl" "', expected argument " "5"" of type '" "long""'");
6024 }
6025 arg5 = static_cast< long >(val5);
6026 }
6027 {
6028 if (!wxPyCheckForApp()) SWIG_fail;
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_NEW | 0 );
6035 return resultobj;
6036fail:
6037 return NULL;
6038}
6039
6040
6041SWIGINTERN PyObject *_wrap_new_PreRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6042 PyObject *resultobj = 0;
6043 wxRichTextCtrl *result = 0 ;
6044
6045 if (!SWIG_Python_UnpackTuple(args,"new_PreRichTextCtrl",0,0,0)) SWIG_fail;
6046 {
6047 if (!wxPyCheckForApp()) SWIG_fail;
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 result = (wxRichTextCtrl *)new wxRichTextCtrl();
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_OWN | 0 );
6054 return resultobj;
6055fail:
6056 return NULL;
6057}
6058
6059
6060SWIGINTERN PyObject *_wrap_RichTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj = 0;
6062 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6063 wxWindow *arg2 = (wxWindow *) 0 ;
6064 int arg3 = (int) -1 ;
6065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6067 wxSize const &arg5_defvalue = wxDefaultSize ;
6068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6069 long arg6 = (long) wxRE_MULTILINE ;
6070 bool result;
6071 void *argp1 = 0 ;
6072 int res1 = 0 ;
6073 void *argp2 = 0 ;
6074 int res2 = 0 ;
6075 int val3 ;
6076 int ecode3 = 0 ;
6077 wxPoint temp4 ;
6078 wxSize temp5 ;
6079 long val6 ;
6080 int ecode6 = 0 ;
6081 PyObject * obj0 = 0 ;
6082 PyObject * obj1 = 0 ;
6083 PyObject * obj2 = 0 ;
6084 PyObject * obj3 = 0 ;
6085 PyObject * obj4 = 0 ;
6086 PyObject * obj5 = 0 ;
6087 char * kwnames[] = {
6088 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6089 };
6090
6091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
6092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6093 if (!SWIG_IsOK(res1)) {
6094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6095 }
6096 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6097 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6098 if (!SWIG_IsOK(res2)) {
6099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6100 }
6101 arg2 = reinterpret_cast< wxWindow * >(argp2);
6102 if (obj2) {
6103 ecode3 = SWIG_AsVal_int(obj2, &val3);
6104 if (!SWIG_IsOK(ecode3)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6106 }
6107 arg3 = static_cast< int >(val3);
6108 }
6109 if (obj3) {
6110 {
6111 arg4 = &temp4;
6112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6113 }
6114 }
6115 if (obj4) {
6116 {
6117 arg5 = &temp5;
6118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6119 }
6120 }
6121 if (obj5) {
6122 ecode6 = SWIG_AsVal_long(obj5, &val6);
6123 if (!SWIG_IsOK(ecode6)) {
6124 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
6125 }
6126 arg6 = static_cast< long >(val6);
6127 }
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 {
6135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6136 }
6137 return resultobj;
6138fail:
6139 return NULL;
6140}
6141
6142
6143SWIGINTERN PyObject *_wrap_RichTextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6144 PyObject *resultobj = 0;
6145 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6146 wxString result;
6147 void *argp1 = 0 ;
6148 int res1 = 0 ;
6149 PyObject *swig_obj[1] ;
6150
6151 if (!args) SWIG_fail;
6152 swig_obj[0] = args;
6153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6154 if (!SWIG_IsOK(res1)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6156 }
6157 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = ((wxRichTextCtrl const *)arg1)->GetValue();
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165#if wxUSE_UNICODE
6166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6167#else
6168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6169#endif
6170 }
6171 return resultobj;
6172fail:
6173 return NULL;
6174}
6175
6176
6177SWIGINTERN PyObject *_wrap_RichTextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj = 0;
6179 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6180 wxString *arg2 = 0 ;
6181 void *argp1 = 0 ;
6182 int res1 = 0 ;
6183 bool temp2 = false ;
6184 PyObject * obj0 = 0 ;
6185 PyObject * obj1 = 0 ;
6186 char * kwnames[] = {
6187 (char *) "self",(char *) "value", NULL
6188 };
6189
6190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
6191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6192 if (!SWIG_IsOK(res1)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6194 }
6195 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6196 {
6197 arg2 = wxString_in_helper(obj1);
6198 if (arg2 == NULL) SWIG_fail;
6199 temp2 = true;
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 (arg1)->SetValue((wxString const &)*arg2);
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 resultobj = SWIG_Py_Void();
6208 {
6209 if (temp2)
6210 delete arg2;
6211 }
6212 return resultobj;
6213fail:
6214 {
6215 if (temp2)
6216 delete arg2;
6217 }
6218 return NULL;
6219}
6220
6221
6222SWIGINTERN PyObject *_wrap_RichTextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj = 0;
6224 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6225 long arg2 ;
6226 long arg3 ;
6227 wxString result;
6228 void *argp1 = 0 ;
6229 int res1 = 0 ;
6230 long val2 ;
6231 int ecode2 = 0 ;
6232 long val3 ;
6233 int ecode3 = 0 ;
6234 PyObject * obj0 = 0 ;
6235 PyObject * obj1 = 0 ;
6236 PyObject * obj2 = 0 ;
6237 char * kwnames[] = {
6238 (char *) "self",(char *) "from",(char *) "to", NULL
6239 };
6240
6241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6245 }
6246 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6247 ecode2 = SWIG_AsVal_long(obj1, &val2);
6248 if (!SWIG_IsOK(ecode2)) {
6249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6250 }
6251 arg2 = static_cast< long >(val2);
6252 ecode3 = SWIG_AsVal_long(obj2, &val3);
6253 if (!SWIG_IsOK(ecode3)) {
6254 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6255 }
6256 arg3 = static_cast< long >(val3);
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = ((wxRichTextCtrl const *)arg1)->GetRange(arg2,arg3);
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 {
6264#if wxUSE_UNICODE
6265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6266#else
6267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6268#endif
6269 }
6270 return resultobj;
6271fail:
6272 return NULL;
6273}
6274
6275
6276SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj = 0;
6278 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6279 long arg2 ;
6280 int result;
6281 void *argp1 = 0 ;
6282 int res1 = 0 ;
6283 long val2 ;
6284 int ecode2 = 0 ;
6285 PyObject * obj0 = 0 ;
6286 PyObject * obj1 = 0 ;
6287 char * kwnames[] = {
6288 (char *) "self",(char *) "lineNo", NULL
6289 };
6290
6291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
6292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6293 if (!SWIG_IsOK(res1)) {
6294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6295 }
6296 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6297 ecode2 = SWIG_AsVal_long(obj1, &val2);
6298 if (!SWIG_IsOK(ecode2)) {
6299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6300 }
6301 arg2 = static_cast< long >(val2);
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (int)((wxRichTextCtrl const *)arg1)->GetLineLength(arg2);
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 resultobj = SWIG_From_int(static_cast< int >(result));
6309 return resultobj;
6310fail:
6311 return NULL;
6312}
6313
6314
6315SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj = 0;
6317 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6318 long arg2 ;
6319 wxString result;
6320 void *argp1 = 0 ;
6321 int res1 = 0 ;
6322 long val2 ;
6323 int ecode2 = 0 ;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 char * kwnames[] = {
6327 (char *) "self",(char *) "lineNo", NULL
6328 };
6329
6330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
6331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6332 if (!SWIG_IsOK(res1)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6334 }
6335 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6336 ecode2 = SWIG_AsVal_long(obj1, &val2);
6337 if (!SWIG_IsOK(ecode2)) {
6338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6339 }
6340 arg2 = static_cast< long >(val2);
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 result = ((wxRichTextCtrl const *)arg1)->GetLineText(arg2);
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 {
6348#if wxUSE_UNICODE
6349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6350#else
6351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6352#endif
6353 }
6354 return resultobj;
6355fail:
6356 return NULL;
6357}
6358
6359
6360SWIGINTERN PyObject *_wrap_RichTextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6361 PyObject *resultobj = 0;
6362 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6363 int result;
6364 void *argp1 = 0 ;
6365 int res1 = 0 ;
6366 PyObject *swig_obj[1] ;
6367
6368 if (!args) SWIG_fail;
6369 swig_obj[0] = args;
6370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6371 if (!SWIG_IsOK(res1)) {
6372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6373 }
6374 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (int)((wxRichTextCtrl const *)arg1)->GetNumberOfLines();
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 resultobj = SWIG_From_int(static_cast< int >(result));
6382 return resultobj;
6383fail:
6384 return NULL;
6385}
6386
6387
6388SWIGINTERN PyObject *_wrap_RichTextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6389 PyObject *resultobj = 0;
6390 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6391 bool result;
6392 void *argp1 = 0 ;
6393 int res1 = 0 ;
6394 PyObject *swig_obj[1] ;
6395
6396 if (!args) SWIG_fail;
6397 swig_obj[0] = args;
6398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6399 if (!SWIG_IsOK(res1)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6401 }
6402 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 result = (bool)((wxRichTextCtrl const *)arg1)->IsModified();
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 {
6410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6411 }
6412 return resultobj;
6413fail:
6414 return NULL;
6415}
6416
6417
6418SWIGINTERN PyObject *_wrap_RichTextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6419 PyObject *resultobj = 0;
6420 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6421 bool result;
6422 void *argp1 = 0 ;
6423 int res1 = 0 ;
6424 PyObject *swig_obj[1] ;
6425
6426 if (!args) SWIG_fail;
6427 swig_obj[0] = args;
6428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6429 if (!SWIG_IsOK(res1)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6431 }
6432 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 result = (bool)((wxRichTextCtrl const *)arg1)->IsEditable();
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 {
6440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6441 }
6442 return resultobj;
6443fail:
6444 return NULL;
6445}
6446
6447
6448SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6449 PyObject *resultobj = 0;
6450 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6451 bool result;
6452 void *argp1 = 0 ;
6453 int res1 = 0 ;
6454 PyObject *swig_obj[1] ;
6455
6456 if (!args) SWIG_fail;
6457 swig_obj[0] = args;
6458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6459 if (!SWIG_IsOK(res1)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6461 }
6462 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (bool)((wxRichTextCtrl const *)arg1)->IsSingleLine();
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 {
6470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6471 }
6472 return resultobj;
6473fail:
6474 return NULL;
6475}
6476
6477
6478SWIGINTERN PyObject *_wrap_RichTextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6479 PyObject *resultobj = 0;
6480 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6481 bool result;
6482 void *argp1 = 0 ;
6483 int res1 = 0 ;
6484 PyObject *swig_obj[1] ;
6485
6486 if (!args) SWIG_fail;
6487 swig_obj[0] = args;
6488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6489 if (!SWIG_IsOK(res1)) {
6490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6491 }
6492 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 result = (bool)((wxRichTextCtrl const *)arg1)->IsMultiLine();
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 {
6500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6501 }
6502 return resultobj;
6503fail:
6504 return NULL;
6505}
6506
6507
6508SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6509 PyObject *resultobj = 0;
6510 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6511 long *arg2 = (long *) 0 ;
6512 long *arg3 = (long *) 0 ;
6513 void *argp1 = 0 ;
6514 int res1 = 0 ;
6515 long temp2 ;
6516 int res2 = SWIG_TMPOBJ ;
6517 long temp3 ;
6518 int res3 = SWIG_TMPOBJ ;
6519 PyObject *swig_obj[1] ;
6520
6521 arg2 = &temp2;
6522 arg3 = &temp3;
6523 if (!args) SWIG_fail;
6524 swig_obj[0] = args;
6525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6526 if (!SWIG_IsOK(res1)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6528 }
6529 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 ((wxRichTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 resultobj = SWIG_Py_Void();
6537 if (SWIG_IsTmpObj(res2)) {
6538 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6539 } else {
6540 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6541 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6542 }
6543 if (SWIG_IsTmpObj(res3)) {
6544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6545 } else {
6546 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6548 }
6549 return resultobj;
6550fail:
6551 return NULL;
6552}
6553
6554
6555SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6556 PyObject *resultobj = 0;
6557 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6558 wxString result;
6559 void *argp1 = 0 ;
6560 int res1 = 0 ;
6561 PyObject *swig_obj[1] ;
6562
6563 if (!args) SWIG_fail;
6564 swig_obj[0] = args;
6565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6566 if (!SWIG_IsOK(res1)) {
6567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6568 }
6569 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = ((wxRichTextCtrl const *)arg1)->GetStringSelection();
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 {
6577#if wxUSE_UNICODE
6578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6579#else
6580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6581#endif
6582 }
6583 return resultobj;
6584fail:
6585 return NULL;
6586}
6587
6588
6589SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6590 PyObject *resultobj = 0;
6591 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6592 wxString result;
6593 void *argp1 = 0 ;
6594 int res1 = 0 ;
6595 PyObject *swig_obj[1] ;
6596
6597 if (!args) SWIG_fail;
6598 swig_obj[0] = args;
6599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6602 }
6603 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 result = ((wxRichTextCtrl const *)arg1)->GetFilename();
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 {
6611#if wxUSE_UNICODE
6612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6613#else
6614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6615#endif
6616 }
6617 return resultobj;
6618fail:
6619 return NULL;
6620}
6621
6622
6623SWIGINTERN PyObject *_wrap_RichTextCtrl_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj = 0;
6625 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6626 wxString *arg2 = 0 ;
6627 void *argp1 = 0 ;
6628 int res1 = 0 ;
6629 bool temp2 = false ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 char * kwnames[] = {
6633 (char *) "self",(char *) "filename", NULL
6634 };
6635
6636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
6637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6638 if (!SWIG_IsOK(res1)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6640 }
6641 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6642 {
6643 arg2 = wxString_in_helper(obj1);
6644 if (arg2 == NULL) SWIG_fail;
6645 temp2 = true;
6646 }
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 (arg1)->SetFilename((wxString const &)*arg2);
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 resultobj = SWIG_Py_Void();
6654 {
6655 if (temp2)
6656 delete arg2;
6657 }
6658 return resultobj;
6659fail:
6660 {
6661 if (temp2)
6662 delete arg2;
6663 }
6664 return NULL;
6665}
6666
6667
6668SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj = 0;
6670 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6671 long arg2 ;
6672 void *argp1 = 0 ;
6673 int res1 = 0 ;
6674 long val2 ;
6675 int ecode2 = 0 ;
6676 PyObject * obj0 = 0 ;
6677 PyObject * obj1 = 0 ;
6678 char * kwnames[] = {
6679 (char *) "self",(char *) "threshold", NULL
6680 };
6681
6682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames,&obj0,&obj1)) SWIG_fail;
6683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6684 if (!SWIG_IsOK(res1)) {
6685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6686 }
6687 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6688 ecode2 = SWIG_AsVal_long(obj1, &val2);
6689 if (!SWIG_IsOK(ecode2)) {
6690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6691 }
6692 arg2 = static_cast< long >(val2);
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 (arg1)->SetDelayedLayoutThreshold(arg2);
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 resultobj = SWIG_Py_Void();
6700 return resultobj;
6701fail:
6702 return NULL;
6703}
6704
6705
6706SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6707 PyObject *resultobj = 0;
6708 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6709 long result;
6710 void *argp1 = 0 ;
6711 int res1 = 0 ;
6712 PyObject *swig_obj[1] ;
6713
6714 if (!args) SWIG_fail;
6715 swig_obj[0] = args;
6716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6717 if (!SWIG_IsOK(res1)) {
6718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6719 }
6720 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = (long)((wxRichTextCtrl const *)arg1)->GetDelayedLayoutThreshold();
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 resultobj = SWIG_From_long(static_cast< long >(result));
6728 return resultobj;
6729fail:
6730 return NULL;
6731}
6732
6733
6734SWIGINTERN PyObject *_wrap_RichTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6735 PyObject *resultobj = 0;
6736 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6737 void *argp1 = 0 ;
6738 int res1 = 0 ;
6739 PyObject *swig_obj[1] ;
6740
6741 if (!args) SWIG_fail;
6742 swig_obj[0] = args;
6743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6744 if (!SWIG_IsOK(res1)) {
6745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6746 }
6747 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 (arg1)->Clear();
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 resultobj = SWIG_Py_Void();
6755 return resultobj;
6756fail:
6757 return NULL;
6758}
6759
6760
6761SWIGINTERN PyObject *_wrap_RichTextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj = 0;
6763 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6764 long arg2 ;
6765 long arg3 ;
6766 wxString *arg4 = 0 ;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 long val2 ;
6770 int ecode2 = 0 ;
6771 long val3 ;
6772 int ecode3 = 0 ;
6773 bool temp4 = false ;
6774 PyObject * obj0 = 0 ;
6775 PyObject * obj1 = 0 ;
6776 PyObject * obj2 = 0 ;
6777 PyObject * obj3 = 0 ;
6778 char * kwnames[] = {
6779 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6780 };
6781
6782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6784 if (!SWIG_IsOK(res1)) {
6785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6786 }
6787 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6788 ecode2 = SWIG_AsVal_long(obj1, &val2);
6789 if (!SWIG_IsOK(ecode2)) {
6790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6791 }
6792 arg2 = static_cast< long >(val2);
6793 ecode3 = SWIG_AsVal_long(obj2, &val3);
6794 if (!SWIG_IsOK(ecode3)) {
6795 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6796 }
6797 arg3 = static_cast< long >(val3);
6798 {
6799 arg4 = wxString_in_helper(obj3);
6800 if (arg4 == NULL) SWIG_fail;
6801 temp4 = true;
6802 }
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 resultobj = SWIG_Py_Void();
6810 {
6811 if (temp4)
6812 delete arg4;
6813 }
6814 return resultobj;
6815fail:
6816 {
6817 if (temp4)
6818 delete arg4;
6819 }
6820 return NULL;
6821}
6822
6823
6824SWIGINTERN PyObject *_wrap_RichTextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6825 PyObject *resultobj = 0;
6826 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6827 long arg2 ;
6828 long arg3 ;
6829 void *argp1 = 0 ;
6830 int res1 = 0 ;
6831 long val2 ;
6832 int ecode2 = 0 ;
6833 long val3 ;
6834 int ecode3 = 0 ;
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 PyObject * obj2 = 0 ;
6838 char * kwnames[] = {
6839 (char *) "self",(char *) "from",(char *) "to", NULL
6840 };
6841
6842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6844 if (!SWIG_IsOK(res1)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6846 }
6847 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6848 ecode2 = SWIG_AsVal_long(obj1, &val2);
6849 if (!SWIG_IsOK(ecode2)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6851 }
6852 arg2 = static_cast< long >(val2);
6853 ecode3 = SWIG_AsVal_long(obj2, &val3);
6854 if (!SWIG_IsOK(ecode3)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6856 }
6857 arg3 = static_cast< long >(val3);
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 (arg1)->Remove(arg2,arg3);
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 resultobj = SWIG_Py_Void();
6865 return resultobj;
6866fail:
6867 return NULL;
6868}
6869
6870
6871SWIGINTERN PyObject *_wrap_RichTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6872 PyObject *resultobj = 0;
6873 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6874 wxString *arg2 = 0 ;
6875 int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
6876 bool result;
6877 void *argp1 = 0 ;
6878 int res1 = 0 ;
6879 bool temp2 = false ;
6880 int val3 ;
6881 int ecode3 = 0 ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj2 = 0 ;
6885 char * kwnames[] = {
6886 (char *) "self",(char *) "file",(char *) "type", NULL
6887 };
6888
6889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6891 if (!SWIG_IsOK(res1)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6893 }
6894 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6895 {
6896 arg2 = wxString_in_helper(obj1);
6897 if (arg2 == NULL) SWIG_fail;
6898 temp2 = true;
6899 }
6900 if (obj2) {
6901 ecode3 = SWIG_AsVal_int(obj2, &val3);
6902 if (!SWIG_IsOK(ecode3)) {
6903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6904 }
6905 arg3 = static_cast< int >(val3);
6906 }
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 {
6914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6915 }
6916 {
6917 if (temp2)
6918 delete arg2;
6919 }
6920 return resultobj;
6921fail:
6922 {
6923 if (temp2)
6924 delete arg2;
6925 }
6926 return NULL;
6927}
6928
6929
6930SWIGINTERN PyObject *_wrap_RichTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj = 0;
6932 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6933 wxString const &arg2_defvalue = wxPyEmptyString ;
6934 wxString *arg2 = (wxString *) &arg2_defvalue ;
6935 int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
6936 bool result;
6937 void *argp1 = 0 ;
6938 int res1 = 0 ;
6939 bool temp2 = false ;
6940 int val3 ;
6941 int ecode3 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 PyObject * obj2 = 0 ;
6945 char * kwnames[] = {
6946 (char *) "self",(char *) "file",(char *) "type", NULL
6947 };
6948
6949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6951 if (!SWIG_IsOK(res1)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6953 }
6954 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6955 if (obj1) {
6956 {
6957 arg2 = wxString_in_helper(obj1);
6958 if (arg2 == NULL) SWIG_fail;
6959 temp2 = true;
6960 }
6961 }
6962 if (obj2) {
6963 ecode3 = SWIG_AsVal_int(obj2, &val3);
6964 if (!SWIG_IsOK(ecode3)) {
6965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6966 }
6967 arg3 = static_cast< int >(val3);
6968 }
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 {
6976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6977 }
6978 {
6979 if (temp2)
6980 delete arg2;
6981 }
6982 return resultobj;
6983fail:
6984 {
6985 if (temp2)
6986 delete arg2;
6987 }
6988 return NULL;
6989}
6990
6991
6992SWIGINTERN PyObject *_wrap_RichTextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6993 PyObject *resultobj = 0;
6994 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6995 void *argp1 = 0 ;
6996 int res1 = 0 ;
6997 PyObject *swig_obj[1] ;
6998
6999 if (!args) SWIG_fail;
7000 swig_obj[0] = args;
7001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7002 if (!SWIG_IsOK(res1)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7004 }
7005 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 (arg1)->MarkDirty();
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 resultobj = SWIG_Py_Void();
7013 return resultobj;
7014fail:
7015 return NULL;
7016}
7017
7018
7019SWIGINTERN PyObject *_wrap_RichTextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7020 PyObject *resultobj = 0;
7021 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 PyObject *swig_obj[1] ;
7025
7026 if (!args) SWIG_fail;
7027 swig_obj[0] = args;
7028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7029 if (!SWIG_IsOK(res1)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7031 }
7032 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 (arg1)->DiscardEdits();
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = SWIG_Py_Void();
7040 return resultobj;
7041fail:
7042 return NULL;
7043}
7044
7045
7046SWIGINTERN PyObject *_wrap_RichTextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj = 0;
7048 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7049 unsigned long arg2 ;
7050 void *argp1 = 0 ;
7051 int res1 = 0 ;
7052 unsigned long val2 ;
7053 int ecode2 = 0 ;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 char * kwnames[] = {
7057 (char *) "self",(char *) "len", NULL
7058 };
7059
7060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
7061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7062 if (!SWIG_IsOK(res1)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7064 }
7065 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7066 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
7067 if (!SWIG_IsOK(ecode2)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7069 }
7070 arg2 = static_cast< unsigned long >(val2);
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->SetMaxLength(arg2);
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = SWIG_Py_Void();
7078 return resultobj;
7079fail:
7080 return NULL;
7081}
7082
7083
7084SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj = 0;
7086 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7087 wxString *arg2 = 0 ;
7088 void *argp1 = 0 ;
7089 int res1 = 0 ;
7090 bool temp2 = false ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char * kwnames[] = {
7094 (char *) "self",(char *) "text", NULL
7095 };
7096
7097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
7098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7099 if (!SWIG_IsOK(res1)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7101 }
7102 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7103 {
7104 arg2 = wxString_in_helper(obj1);
7105 if (arg2 == NULL) SWIG_fail;
7106 temp2 = true;
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->WriteText((wxString const &)*arg2);
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 resultobj = SWIG_Py_Void();
7115 {
7116 if (temp2)
7117 delete arg2;
7118 }
7119 return resultobj;
7120fail:
7121 {
7122 if (temp2)
7123 delete arg2;
7124 }
7125 return NULL;
7126}
7127
7128
7129SWIGINTERN PyObject *_wrap_RichTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj = 0;
7131 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7132 wxString *arg2 = 0 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 bool temp2 = false ;
7136 PyObject * obj0 = 0 ;
7137 PyObject * obj1 = 0 ;
7138 char * kwnames[] = {
7139 (char *) "self",(char *) "text", NULL
7140 };
7141
7142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
7143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7144 if (!SWIG_IsOK(res1)) {
7145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7146 }
7147 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7148 {
7149 arg2 = wxString_in_helper(obj1);
7150 if (arg2 == NULL) SWIG_fail;
7151 temp2 = true;
7152 }
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 (arg1)->AppendText((wxString const &)*arg2);
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_Py_Void();
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return resultobj;
7165fail:
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return NULL;
7171}
7172
7173
7174SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj = 0;
7176 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7177 wxRichTextRange *arg2 = 0 ;
7178 wxRichTextAttr *arg3 = 0 ;
7179 bool result;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 wxRichTextRange temp2 ;
7183 void *argp3 = 0 ;
7184 int res3 = 0 ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 PyObject * obj2 = 0 ;
7188 char * kwnames[] = {
7189 (char *) "self",(char *) "range",(char *) "style", NULL
7190 };
7191
7192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7194 if (!SWIG_IsOK(res1)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7196 }
7197 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7198 {
7199 arg2 = &temp2;
7200 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7201 }
7202 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7203 if (!SWIG_IsOK(res3)) {
7204 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7205 }
7206 if (!argp3) {
7207 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7208 }
7209 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7218 }
7219 return resultobj;
7220fail:
7221 return NULL;
7222}
7223
7224
7225SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj = 0;
7227 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7228 long arg2 ;
7229 wxRichTextAttr *arg3 = 0 ;
7230 bool result;
7231 void *argp1 = 0 ;
7232 int res1 = 0 ;
7233 long val2 ;
7234 int ecode2 = 0 ;
7235 void *argp3 = 0 ;
7236 int res3 = 0 ;
7237 PyObject * obj0 = 0 ;
7238 PyObject * obj1 = 0 ;
7239 PyObject * obj2 = 0 ;
7240 char * kwnames[] = {
7241 (char *) "self",(char *) "position",(char *) "style", NULL
7242 };
7243
7244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7246 if (!SWIG_IsOK(res1)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7248 }
7249 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7250 ecode2 = SWIG_AsVal_long(obj1, &val2);
7251 if (!SWIG_IsOK(ecode2)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7253 }
7254 arg2 = static_cast< long >(val2);
7255 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 );
7256 if (!SWIG_IsOK(res3)) {
7257 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7258 }
7259 if (!argp3) {
7260 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7261 }
7262 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (bool)((wxRichTextCtrl const *)arg1)->GetStyle(arg2,*arg3);
7266 wxPyEndAllowThreads(__tstate);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
7269 {
7270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7271 }
7272 return resultobj;
7273fail:
7274 return NULL;
7275}
7276
7277
7278SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj = 0;
7280 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7281 wxRichTextAttr *arg2 = 0 ;
7282 bool result;
7283 void *argp1 = 0 ;
7284 int res1 = 0 ;
7285 void *argp2 = 0 ;
7286 int res2 = 0 ;
7287 PyObject * obj0 = 0 ;
7288 PyObject * obj1 = 0 ;
7289 char * kwnames[] = {
7290 (char *) "self",(char *) "style", NULL
7291 };
7292
7293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
7294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7295 if (!SWIG_IsOK(res1)) {
7296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7297 }
7298 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7299 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7300 if (!SWIG_IsOK(res2)) {
7301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7302 }
7303 if (!argp2) {
7304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7305 }
7306 arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (bool)(arg1)->SetDefaultStyle((wxRichTextAttr const &)*arg2);
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 {
7314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7315 }
7316 return resultobj;
7317fail:
7318 return NULL;
7319}
7320
7321
7322SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7323 PyObject *resultobj = 0;
7324 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7325 wxRichTextAttr result;
7326 void *argp1 = 0 ;
7327 int res1 = 0 ;
7328 PyObject *swig_obj[1] ;
7329
7330 if (!args) SWIG_fail;
7331 swig_obj[0] = args;
7332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7333 if (!SWIG_IsOK(res1)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7335 }
7336 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 result = ((wxRichTextCtrl const *)arg1)->GetDefaultStyleEx();
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 resultobj = SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr& >(result))), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_OWN | 0 );
7344 return resultobj;
7345fail:
7346 return NULL;
7347}
7348
7349
7350SWIGINTERN PyObject *_wrap_RichTextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7351 PyObject *resultobj = 0;
7352 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7353 long arg2 ;
7354 long arg3 ;
7355 long result;
7356 void *argp1 = 0 ;
7357 int res1 = 0 ;
7358 long val2 ;
7359 int ecode2 = 0 ;
7360 long val3 ;
7361 int ecode3 = 0 ;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 PyObject * obj2 = 0 ;
7365 char * kwnames[] = {
7366 (char *) "self",(char *) "x",(char *) "y", NULL
7367 };
7368
7369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7371 if (!SWIG_IsOK(res1)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7373 }
7374 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7375 ecode2 = SWIG_AsVal_long(obj1, &val2);
7376 if (!SWIG_IsOK(ecode2)) {
7377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7378 }
7379 arg2 = static_cast< long >(val2);
7380 ecode3 = SWIG_AsVal_long(obj2, &val3);
7381 if (!SWIG_IsOK(ecode3)) {
7382 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7383 }
7384 arg3 = static_cast< long >(val3);
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 result = (long)((wxRichTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 resultobj = SWIG_From_long(static_cast< long >(result));
7392 return resultobj;
7393fail:
7394 return NULL;
7395}
7396
7397
7398SWIGINTERN PyObject *_wrap_RichTextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7399 PyObject *resultobj = 0;
7400 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7401 long arg2 ;
7402 long *arg3 = (long *) 0 ;
7403 long *arg4 = (long *) 0 ;
7404 void *argp1 = 0 ;
7405 int res1 = 0 ;
7406 long val2 ;
7407 int ecode2 = 0 ;
7408 long temp3 ;
7409 int res3 = SWIG_TMPOBJ ;
7410 long temp4 ;
7411 int res4 = SWIG_TMPOBJ ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 char * kwnames[] = {
7415 (char *) "self",(char *) "pos", NULL
7416 };
7417
7418 arg3 = &temp3;
7419 arg4 = &temp4;
7420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
7421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7422 if (!SWIG_IsOK(res1)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7424 }
7425 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7426 ecode2 = SWIG_AsVal_long(obj1, &val2);
7427 if (!SWIG_IsOK(ecode2)) {
7428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7429 }
7430 arg2 = static_cast< long >(val2);
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 ((wxRichTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_Py_Void();
7438 if (SWIG_IsTmpObj(res3)) {
7439 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7440 } else {
7441 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7443 }
7444 if (SWIG_IsTmpObj(res4)) {
7445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
7446 } else {
7447 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
7449 }
7450 return resultobj;
7451fail:
7452 return NULL;
7453}
7454
7455
7456SWIGINTERN PyObject *_wrap_RichTextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj = 0;
7458 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7459 long arg2 ;
7460 void *argp1 = 0 ;
7461 int res1 = 0 ;
7462 long val2 ;
7463 int ecode2 = 0 ;
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466 char * kwnames[] = {
7467 (char *) "self",(char *) "position", NULL
7468 };
7469
7470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
7471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7472 if (!SWIG_IsOK(res1)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7474 }
7475 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7476 ecode2 = SWIG_AsVal_long(obj1, &val2);
7477 if (!SWIG_IsOK(ecode2)) {
7478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7479 }
7480 arg2 = static_cast< long >(val2);
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->ShowPosition(arg2);
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = SWIG_Py_Void();
7488 return resultobj;
7489fail:
7490 return NULL;
7491}
7492
7493
7494SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj = 0;
7496 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7497 wxPoint *arg2 = 0 ;
7498 long *arg3 = (long *) 0 ;
7499 wxTextCtrlHitTestResult result;
7500 void *argp1 = 0 ;
7501 int res1 = 0 ;
7502 wxPoint temp2 ;
7503 long temp3 ;
7504 int res3 = SWIG_TMPOBJ ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char * kwnames[] = {
7508 (char *) "self",(char *) "pt", NULL
7509 };
7510
7511 arg3 = &temp3;
7512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
7513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7514 if (!SWIG_IsOK(res1)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7516 }
7517 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7518 {
7519 arg2 = &temp2;
7520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 );
7529 if (SWIG_IsTmpObj(res3)) {
7530 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7531 } else {
7532 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7534 }
7535 return resultobj;
7536fail:
7537 return NULL;
7538}
7539
7540
7541SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj = 0;
7543 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7544 wxPoint *arg2 = 0 ;
7545 wxTextCoord *arg3 = (wxTextCoord *) 0 ;
7546 wxTextCoord *arg4 = (wxTextCoord *) 0 ;
7547 wxTextCtrlHitTestResult result;
7548 void *argp1 = 0 ;
7549 int res1 = 0 ;
7550 wxPoint temp2 ;
7551 void *argp3 = 0 ;
7552 int res3 = 0 ;
7553 void *argp4 = 0 ;
7554 int res4 = 0 ;
7555 PyObject * obj0 = 0 ;
7556 PyObject * obj1 = 0 ;
7557 PyObject * obj2 = 0 ;
7558 PyObject * obj3 = 0 ;
7559 char * kwnames[] = {
7560 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7561 };
7562
7563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7565 if (!SWIG_IsOK(res1)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7567 }
7568 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7569 {
7570 arg2 = &temp2;
7571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7572 }
7573 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCoord, 0 | 0 );
7574 if (!SWIG_IsOK(res3)) {
7575 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7576 }
7577 arg3 = reinterpret_cast< wxTextCoord * >(argp3);
7578 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextCoord, 0 | 0 );
7579 if (!SWIG_IsOK(res4)) {
7580 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7581 }
7582 arg4 = reinterpret_cast< wxTextCoord * >(argp4);
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 );
7590 return resultobj;
7591fail:
7592 return NULL;
7593}
7594
7595
7596SWIGINTERN PyObject *_wrap_RichTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7597 PyObject *resultobj = 0;
7598 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7599 void *argp1 = 0 ;
7600 int res1 = 0 ;
7601 PyObject *swig_obj[1] ;
7602
7603 if (!args) SWIG_fail;
7604 swig_obj[0] = args;
7605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7606 if (!SWIG_IsOK(res1)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7608 }
7609 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 (arg1)->Copy();
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 resultobj = SWIG_Py_Void();
7617 return resultobj;
7618fail:
7619 return NULL;
7620}
7621
7622
7623SWIGINTERN PyObject *_wrap_RichTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7624 PyObject *resultobj = 0;
7625 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7626 void *argp1 = 0 ;
7627 int res1 = 0 ;
7628 PyObject *swig_obj[1] ;
7629
7630 if (!args) SWIG_fail;
7631 swig_obj[0] = args;
7632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7633 if (!SWIG_IsOK(res1)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7635 }
7636 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 (arg1)->Cut();
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 resultobj = SWIG_Py_Void();
7644 return resultobj;
7645fail:
7646 return NULL;
7647}
7648
7649
7650SWIGINTERN PyObject *_wrap_RichTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7651 PyObject *resultobj = 0;
7652 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7653 void *argp1 = 0 ;
7654 int res1 = 0 ;
7655 PyObject *swig_obj[1] ;
7656
7657 if (!args) SWIG_fail;
7658 swig_obj[0] = args;
7659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7660 if (!SWIG_IsOK(res1)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7662 }
7663 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 (arg1)->Paste();
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 resultobj = SWIG_Py_Void();
7671 return resultobj;
7672fail:
7673 return NULL;
7674}
7675
7676
7677SWIGINTERN PyObject *_wrap_RichTextCtrl_DeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7678 PyObject *resultobj = 0;
7679 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7680 void *argp1 = 0 ;
7681 int res1 = 0 ;
7682 PyObject *swig_obj[1] ;
7683
7684 if (!args) SWIG_fail;
7685 swig_obj[0] = args;
7686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7687 if (!SWIG_IsOK(res1)) {
7688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7689 }
7690 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 (arg1)->DeleteSelection();
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 resultobj = SWIG_Py_Void();
7698 return resultobj;
7699fail:
7700 return NULL;
7701}
7702
7703
7704SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7705 PyObject *resultobj = 0;
7706 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7707 bool result;
7708 void *argp1 = 0 ;
7709 int res1 = 0 ;
7710 PyObject *swig_obj[1] ;
7711
7712 if (!args) SWIG_fail;
7713 swig_obj[0] = args;
7714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7715 if (!SWIG_IsOK(res1)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7717 }
7718 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = (bool)((wxRichTextCtrl const *)arg1)->CanCopy();
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 {
7726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7727 }
7728 return resultobj;
7729fail:
7730 return NULL;
7731}
7732
7733
7734SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7735 PyObject *resultobj = 0;
7736 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7737 bool result;
7738 void *argp1 = 0 ;
7739 int res1 = 0 ;
7740 PyObject *swig_obj[1] ;
7741
7742 if (!args) SWIG_fail;
7743 swig_obj[0] = args;
7744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7745 if (!SWIG_IsOK(res1)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7747 }
7748 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (bool)((wxRichTextCtrl const *)arg1)->CanCut();
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 {
7756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7757 }
7758 return resultobj;
7759fail:
7760 return NULL;
7761}
7762
7763
7764SWIGINTERN PyObject *_wrap_RichTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7765 PyObject *resultobj = 0;
7766 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7767 bool result;
7768 void *argp1 = 0 ;
7769 int res1 = 0 ;
7770 PyObject *swig_obj[1] ;
7771
7772 if (!args) SWIG_fail;
7773 swig_obj[0] = args;
7774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7775 if (!SWIG_IsOK(res1)) {
7776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7777 }
7778 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (bool)((wxRichTextCtrl const *)arg1)->CanPaste();
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 {
7786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7787 }
7788 return resultobj;
7789fail:
7790 return NULL;
7791}
7792
7793
7794SWIGINTERN PyObject *_wrap_RichTextCtrl_CanDeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7795 PyObject *resultobj = 0;
7796 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7797 bool result;
7798 void *argp1 = 0 ;
7799 int res1 = 0 ;
7800 PyObject *swig_obj[1] ;
7801
7802 if (!args) SWIG_fail;
7803 swig_obj[0] = args;
7804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7805 if (!SWIG_IsOK(res1)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7807 }
7808 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (bool)((wxRichTextCtrl const *)arg1)->CanDeleteSelection();
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 {
7816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7817 }
7818 return resultobj;
7819fail:
7820 return NULL;
7821}
7822
7823
7824SWIGINTERN PyObject *_wrap_RichTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7825 PyObject *resultobj = 0;
7826 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7827 void *argp1 = 0 ;
7828 int res1 = 0 ;
7829 PyObject *swig_obj[1] ;
7830
7831 if (!args) SWIG_fail;
7832 swig_obj[0] = args;
7833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7834 if (!SWIG_IsOK(res1)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7836 }
7837 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->Undo();
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_Py_Void();
7845 return resultobj;
7846fail:
7847 return NULL;
7848}
7849
7850
7851SWIGINTERN PyObject *_wrap_RichTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7852 PyObject *resultobj = 0;
7853 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7854 void *argp1 = 0 ;
7855 int res1 = 0 ;
7856 PyObject *swig_obj[1] ;
7857
7858 if (!args) SWIG_fail;
7859 swig_obj[0] = args;
7860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7861 if (!SWIG_IsOK(res1)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7863 }
7864 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 (arg1)->Redo();
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 resultobj = SWIG_Py_Void();
7872 return resultobj;
7873fail:
7874 return NULL;
7875}
7876
7877
7878SWIGINTERN PyObject *_wrap_RichTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7879 PyObject *resultobj = 0;
7880 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7881 bool result;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 PyObject *swig_obj[1] ;
7885
7886 if (!args) SWIG_fail;
7887 swig_obj[0] = args;
7888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7889 if (!SWIG_IsOK(res1)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7891 }
7892 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)((wxRichTextCtrl const *)arg1)->CanUndo();
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7901 }
7902 return resultobj;
7903fail:
7904 return NULL;
7905}
7906
7907
7908SWIGINTERN PyObject *_wrap_RichTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7909 PyObject *resultobj = 0;
7910 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7911 bool result;
7912 void *argp1 = 0 ;
7913 int res1 = 0 ;
7914 PyObject *swig_obj[1] ;
7915
7916 if (!args) SWIG_fail;
7917 swig_obj[0] = args;
7918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7921 }
7922 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (bool)((wxRichTextCtrl const *)arg1)->CanRedo();
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 {
7930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7931 }
7932 return resultobj;
7933fail:
7934 return NULL;
7935}
7936
7937
7938SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj = 0;
7940 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7941 long arg2 ;
7942 void *argp1 = 0 ;
7943 int res1 = 0 ;
7944 long val2 ;
7945 int ecode2 = 0 ;
7946 PyObject * obj0 = 0 ;
7947 PyObject * obj1 = 0 ;
7948 char * kwnames[] = {
7949 (char *) "self",(char *) "pos", NULL
7950 };
7951
7952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
7953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7954 if (!SWIG_IsOK(res1)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7956 }
7957 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7958 ecode2 = SWIG_AsVal_long(obj1, &val2);
7959 if (!SWIG_IsOK(ecode2)) {
7960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
7961 }
7962 arg2 = static_cast< long >(val2);
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 (arg1)->SetInsertionPoint(arg2);
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = SWIG_Py_Void();
7970 return resultobj;
7971fail:
7972 return NULL;
7973}
7974
7975
7976SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7977 PyObject *resultobj = 0;
7978 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7979 void *argp1 = 0 ;
7980 int res1 = 0 ;
7981 PyObject *swig_obj[1] ;
7982
7983 if (!args) SWIG_fail;
7984 swig_obj[0] = args;
7985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7986 if (!SWIG_IsOK(res1)) {
7987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7988 }
7989 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 (arg1)->SetInsertionPointEnd();
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_Py_Void();
7997 return resultobj;
7998fail:
7999 return NULL;
8000}
8001
8002
8003SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *resultobj = 0;
8005 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8006 long result;
8007 void *argp1 = 0 ;
8008 int res1 = 0 ;
8009 PyObject *swig_obj[1] ;
8010
8011 if (!args) SWIG_fail;
8012 swig_obj[0] = args;
8013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8014 if (!SWIG_IsOK(res1)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8016 }
8017 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (long)((wxRichTextCtrl const *)arg1)->GetInsertionPoint();
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = SWIG_From_long(static_cast< long >(result));
8025 return resultobj;
8026fail:
8027 return NULL;
8028}
8029
8030
8031SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8032 PyObject *resultobj = 0;
8033 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8034 long result;
8035 void *argp1 = 0 ;
8036 int res1 = 0 ;
8037 PyObject *swig_obj[1] ;
8038
8039 if (!args) SWIG_fail;
8040 swig_obj[0] = args;
8041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8042 if (!SWIG_IsOK(res1)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8044 }
8045 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (long)((wxRichTextCtrl const *)arg1)->GetLastPosition();
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 resultobj = SWIG_From_long(static_cast< long >(result));
8053 return resultobj;
8054fail:
8055 return NULL;
8056}
8057
8058
8059SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj = 0;
8061 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8062 long arg2 ;
8063 long arg3 ;
8064 void *argp1 = 0 ;
8065 int res1 = 0 ;
8066 long val2 ;
8067 int ecode2 = 0 ;
8068 long val3 ;
8069 int ecode3 = 0 ;
8070 PyObject * obj0 = 0 ;
8071 PyObject * obj1 = 0 ;
8072 PyObject * obj2 = 0 ;
8073 char * kwnames[] = {
8074 (char *) "self",(char *) "from",(char *) "to", NULL
8075 };
8076
8077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8079 if (!SWIG_IsOK(res1)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8081 }
8082 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8083 ecode2 = SWIG_AsVal_long(obj1, &val2);
8084 if (!SWIG_IsOK(ecode2)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8086 }
8087 arg2 = static_cast< long >(val2);
8088 ecode3 = SWIG_AsVal_long(obj2, &val3);
8089 if (!SWIG_IsOK(ecode3)) {
8090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8091 }
8092 arg3 = static_cast< long >(val3);
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 (arg1)->SetSelection(arg2,arg3);
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 resultobj = SWIG_Py_Void();
8100 return resultobj;
8101fail:
8102 return NULL;
8103}
8104
8105
8106SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8107 PyObject *resultobj = 0;
8108 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8109 void *argp1 = 0 ;
8110 int res1 = 0 ;
8111 PyObject *swig_obj[1] ;
8112
8113 if (!args) SWIG_fail;
8114 swig_obj[0] = args;
8115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8116 if (!SWIG_IsOK(res1)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8118 }
8119 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 (arg1)->SelectAll();
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 resultobj = SWIG_Py_Void();
8127 return resultobj;
8128fail:
8129 return NULL;
8130}
8131
8132
8133SWIGINTERN PyObject *_wrap_RichTextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj = 0;
8135 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8136 bool arg2 ;
8137 void *argp1 = 0 ;
8138 int res1 = 0 ;
8139 bool val2 ;
8140 int ecode2 = 0 ;
8141 PyObject * obj0 = 0 ;
8142 PyObject * obj1 = 0 ;
8143 char * kwnames[] = {
8144 (char *) "self",(char *) "editable", NULL
8145 };
8146
8147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
8148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8149 if (!SWIG_IsOK(res1)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8151 }
8152 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8153 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8154 if (!SWIG_IsOK(ecode2)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8156 }
8157 arg2 = static_cast< bool >(val2);
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 (arg1)->SetEditable(arg2);
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 resultobj = SWIG_Py_Void();
8165 return resultobj;
8166fail:
8167 return NULL;
8168}
8169
8170
8171SWIGINTERN PyObject *_wrap_RichTextCtrl_HasSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8172 PyObject *resultobj = 0;
8173 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8174 bool result;
8175 void *argp1 = 0 ;
8176 int res1 = 0 ;
8177 PyObject *swig_obj[1] ;
8178
8179 if (!args) SWIG_fail;
8180 swig_obj[0] = args;
8181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8182 if (!SWIG_IsOK(res1)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8184 }
8185 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = (bool)((wxRichTextCtrl const *)arg1)->HasSelection();
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 {
8193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8194 }
8195 return resultobj;
8196fail:
8197 return NULL;
8198}
8199
8200
8201SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj = 0;
8203 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8204 wxImage *arg2 = 0 ;
8205 int arg3 = (int) wxBITMAP_TYPE_PNG ;
8206 bool result;
8207 void *argp1 = 0 ;
8208 int res1 = 0 ;
8209 void *argp2 = 0 ;
8210 int res2 = 0 ;
8211 int val3 ;
8212 int ecode3 = 0 ;
8213 PyObject * obj0 = 0 ;
8214 PyObject * obj1 = 0 ;
8215 PyObject * obj2 = 0 ;
8216 char * kwnames[] = {
8217 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8218 };
8219
8220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8222 if (!SWIG_IsOK(res1)) {
8223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8224 }
8225 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8226 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
8227 if (!SWIG_IsOK(res2)) {
8228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8229 }
8230 if (!argp2) {
8231 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8232 }
8233 arg2 = reinterpret_cast< wxImage * >(argp2);
8234 if (obj2) {
8235 ecode3 = SWIG_AsVal_int(obj2, &val3);
8236 if (!SWIG_IsOK(ecode3)) {
8237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8238 }
8239 arg3 = static_cast< int >(val3);
8240 }
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 result = (bool)(arg1)->WriteImage((wxImage const &)*arg2,arg3);
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 {
8248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8249 }
8250 return resultobj;
8251fail:
8252 return NULL;
8253}
8254
8255
8256SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj = 0;
8258 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8259 wxBitmap *arg2 = 0 ;
8260 int arg3 = (int) wxBITMAP_TYPE_PNG ;
8261 bool result;
8262 void *argp1 = 0 ;
8263 int res1 = 0 ;
8264 void *argp2 = 0 ;
8265 int res2 = 0 ;
8266 int val3 ;
8267 int ecode3 = 0 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 PyObject * obj2 = 0 ;
8271 char * kwnames[] = {
8272 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8273 };
8274
8275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8277 if (!SWIG_IsOK(res1)) {
8278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8279 }
8280 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8281 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8282 if (!SWIG_IsOK(res2)) {
8283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8284 }
8285 if (!argp2) {
8286 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8287 }
8288 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8289 if (obj2) {
8290 ecode3 = SWIG_AsVal_int(obj2, &val3);
8291 if (!SWIG_IsOK(ecode3)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8293 }
8294 arg3 = static_cast< int >(val3);
8295 }
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = (bool)(arg1)->WriteImage((wxBitmap const &)*arg2,arg3);
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 {
8303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8304 }
8305 return resultobj;
8306fail:
8307 return NULL;
8308}
8309
8310
8311SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj = 0;
8313 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8314 wxString *arg2 = 0 ;
8315 int arg3 ;
8316 bool result;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 bool temp2 = false ;
8320 int val3 ;
8321 int ecode3 = 0 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 PyObject * obj2 = 0 ;
8325 char * kwnames[] = {
8326 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8327 };
8328
8329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8331 if (!SWIG_IsOK(res1)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8333 }
8334 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8335 {
8336 arg2 = wxString_in_helper(obj1);
8337 if (arg2 == NULL) SWIG_fail;
8338 temp2 = true;
8339 }
8340 ecode3 = SWIG_AsVal_int(obj2, &val3);
8341 if (!SWIG_IsOK(ecode3)) {
8342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8343 }
8344 arg3 = static_cast< int >(val3);
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 result = (bool)(arg1)->WriteImage((wxString const &)*arg2,arg3);
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 {
8352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8353 }
8354 {
8355 if (temp2)
8356 delete arg2;
8357 }
8358 return resultobj;
8359fail:
8360 {
8361 if (temp2)
8362 delete arg2;
8363 }
8364 return NULL;
8365}
8366
8367
8368SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj = 0;
8370 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8371 wxRichTextImageBlock *arg2 = 0 ;
8372 bool result;
8373 void *argp1 = 0 ;
8374 int res1 = 0 ;
8375 void *argp2 = 0 ;
8376 int res2 = 0 ;
8377 PyObject * obj0 = 0 ;
8378 PyObject * obj1 = 0 ;
8379 char * kwnames[] = {
8380 (char *) "self",(char *) "imageBlock", NULL
8381 };
8382
8383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames,&obj0,&obj1)) SWIG_fail;
8384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8385 if (!SWIG_IsOK(res1)) {
8386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8387 }
8388 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8389 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0);
8390 if (!SWIG_IsOK(res2)) {
8391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8392 }
8393 if (!argp2) {
8394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8395 }
8396 arg2 = reinterpret_cast< wxRichTextImageBlock * >(argp2);
8397 {
8398 PyThreadState* __tstate = wxPyBeginAllowThreads();
8399 result = (bool)(arg1)->WriteImage((wxRichTextImageBlock const &)*arg2);
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 {
8404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8405 }
8406 return resultobj;
8407fail:
8408 return NULL;
8409}
8410
8411
8412SWIGINTERN PyObject *_wrap_RichTextCtrl_Newline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8413 PyObject *resultobj = 0;
8414 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8415 bool result;
8416 void *argp1 = 0 ;
8417 int res1 = 0 ;
8418 PyObject *swig_obj[1] ;
8419
8420 if (!args) SWIG_fail;
8421 swig_obj[0] = args;
8422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8423 if (!SWIG_IsOK(res1)) {
8424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8425 }
8426 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (bool)(arg1)->Newline();
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 {
8434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8435 }
8436 return resultobj;
8437fail:
8438 return NULL;
8439}
8440
8441
8442SWIGINTERN PyObject *_wrap_RichTextCtrl_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj = 0;
8444 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8445 wxRichTextAttr *arg2 = 0 ;
8446 void *argp1 = 0 ;
8447 int res1 = 0 ;
8448 void *argp2 = 0 ;
8449 int res2 = 0 ;
8450 PyObject * obj0 = 0 ;
8451 PyObject * obj1 = 0 ;
8452 char * kwnames[] = {
8453 (char *) "self",(char *) "style", NULL
8454 };
8455
8456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
8457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8458 if (!SWIG_IsOK(res1)) {
8459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8460 }
8461 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8462 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
8463 if (!SWIG_IsOK(res2)) {
8464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8465 }
8466 if (!argp2) {
8467 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8468 }
8469 arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 (arg1)->SetBasicStyle((wxRichTextAttr const &)*arg2);
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_Py_Void();
8477 return resultobj;
8478fail:
8479 return NULL;
8480}
8481
8482
8483SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8484 PyObject *resultobj = 0;
8485 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8486 bool result;
8487 void *argp1 = 0 ;
8488 int res1 = 0 ;
8489 PyObject *swig_obj[1] ;
8490
8491 if (!args) SWIG_fail;
8492 swig_obj[0] = args;
8493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8494 if (!SWIG_IsOK(res1)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8496 }
8497 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 result = (bool)(arg1)->EndStyle();
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 {
8505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8506 }
8507 return resultobj;
8508fail:
8509 return NULL;
8510}
8511
8512
8513SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8514 PyObject *resultobj = 0;
8515 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8516 bool result;
8517 void *argp1 = 0 ;
8518 int res1 = 0 ;
8519 PyObject *swig_obj[1] ;
8520
8521 if (!args) SWIG_fail;
8522 swig_obj[0] = args;
8523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8524 if (!SWIG_IsOK(res1)) {
8525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8526 }
8527 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (bool)(arg1)->EndAllStyles();
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 {
8535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8536 }
8537 return resultobj;
8538fail:
8539 return NULL;
8540}
8541
8542
8543SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8544 PyObject *resultobj = 0;
8545 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8546 bool result;
8547 void *argp1 = 0 ;
8548 int res1 = 0 ;
8549 PyObject *swig_obj[1] ;
8550
8551 if (!args) SWIG_fail;
8552 swig_obj[0] = args;
8553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8556 }
8557 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (bool)(arg1)->BeginBold();
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 {
8565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8566 }
8567 return resultobj;
8568fail:
8569 return NULL;
8570}
8571
8572
8573SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8574 PyObject *resultobj = 0;
8575 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8576 bool result;
8577 void *argp1 = 0 ;
8578 int res1 = 0 ;
8579 PyObject *swig_obj[1] ;
8580
8581 if (!args) SWIG_fail;
8582 swig_obj[0] = args;
8583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8584 if (!SWIG_IsOK(res1)) {
8585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8586 }
8587 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 result = (bool)(arg1)->EndBold();
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 {
8595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8596 }
8597 return resultobj;
8598fail:
8599 return NULL;
8600}
8601
8602
8603SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8604 PyObject *resultobj = 0;
8605 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8606 bool result;
8607 void *argp1 = 0 ;
8608 int res1 = 0 ;
8609 PyObject *swig_obj[1] ;
8610
8611 if (!args) SWIG_fail;
8612 swig_obj[0] = args;
8613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8614 if (!SWIG_IsOK(res1)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8616 }
8617 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (bool)(arg1)->BeginItalic();
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 {
8625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8626 }
8627 return resultobj;
8628fail:
8629 return NULL;
8630}
8631
8632
8633SWIGINTERN PyObject *_wrap_RichTextCtrl_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8634 PyObject *resultobj = 0;
8635 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8636 bool result;
8637 void *argp1 = 0 ;
8638 int res1 = 0 ;
8639 PyObject *swig_obj[1] ;
8640
8641 if (!args) SWIG_fail;
8642 swig_obj[0] = args;
8643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8644 if (!SWIG_IsOK(res1)) {
8645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8646 }
8647 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (bool)(arg1)->EndItalic();
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 {
8655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8656 }
8657 return resultobj;
8658fail:
8659 return NULL;
8660}
8661
8662
8663SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8664 PyObject *resultobj = 0;
8665 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8666 bool result;
8667 void *argp1 = 0 ;
8668 int res1 = 0 ;
8669 PyObject *swig_obj[1] ;
8670
8671 if (!args) SWIG_fail;
8672 swig_obj[0] = args;
8673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8674 if (!SWIG_IsOK(res1)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8676 }
8677 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 result = (bool)(arg1)->BeginUnderline();
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 {
8685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8686 }
8687 return resultobj;
8688fail:
8689 return NULL;
8690}
8691
8692
8693SWIGINTERN PyObject *_wrap_RichTextCtrl_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8694 PyObject *resultobj = 0;
8695 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8696 bool result;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 PyObject *swig_obj[1] ;
8700
8701 if (!args) SWIG_fail;
8702 swig_obj[0] = args;
8703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8704 if (!SWIG_IsOK(res1)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8706 }
8707 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (bool)(arg1)->EndUnderline();
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 {
8715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8716 }
8717 return resultobj;
8718fail:
8719 return NULL;
8720}
8721
8722
8723SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj = 0;
8725 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8726 int arg2 ;
8727 bool result;
8728 void *argp1 = 0 ;
8729 int res1 = 0 ;
8730 int val2 ;
8731 int ecode2 = 0 ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 char * kwnames[] = {
8735 (char *) "self",(char *) "pointSize", NULL
8736 };
8737
8738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
8739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8740 if (!SWIG_IsOK(res1)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8742 }
8743 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8744 ecode2 = SWIG_AsVal_int(obj1, &val2);
8745 if (!SWIG_IsOK(ecode2)) {
8746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8747 }
8748 arg2 = static_cast< int >(val2);
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = (bool)(arg1)->BeginFontSize(arg2);
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 {
8756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8757 }
8758 return resultobj;
8759fail:
8760 return NULL;
8761}
8762
8763
8764SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8765 PyObject *resultobj = 0;
8766 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8767 bool result;
8768 void *argp1 = 0 ;
8769 int res1 = 0 ;
8770 PyObject *swig_obj[1] ;
8771
8772 if (!args) SWIG_fail;
8773 swig_obj[0] = args;
8774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8775 if (!SWIG_IsOK(res1)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8777 }
8778 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (bool)(arg1)->EndFontSize();
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 {
8786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8787 }
8788 return resultobj;
8789fail:
8790 return NULL;
8791}
8792
8793
8794SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj = 0;
8796 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8797 wxFont *arg2 = 0 ;
8798 bool result;
8799 void *argp1 = 0 ;
8800 int res1 = 0 ;
8801 void *argp2 = 0 ;
8802 int res2 = 0 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char * kwnames[] = {
8806 (char *) "self",(char *) "font", NULL
8807 };
8808
8809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
8810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8811 if (!SWIG_IsOK(res1)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8813 }
8814 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8815 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
8816 if (!SWIG_IsOK(res2)) {
8817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8818 }
8819 if (!argp2) {
8820 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8821 }
8822 arg2 = reinterpret_cast< wxFont * >(argp2);
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 {
8830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8831 }
8832 return resultobj;
8833fail:
8834 return NULL;
8835}
8836
8837
8838SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8839 PyObject *resultobj = 0;
8840 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8841 bool result;
8842 void *argp1 = 0 ;
8843 int res1 = 0 ;
8844 PyObject *swig_obj[1] ;
8845
8846 if (!args) SWIG_fail;
8847 swig_obj[0] = args;
8848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8849 if (!SWIG_IsOK(res1)) {
8850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8851 }
8852 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)(arg1)->EndFont();
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8861 }
8862 return resultobj;
8863fail:
8864 return NULL;
8865}
8866
8867
8868SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj = 0;
8870 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8871 wxColour *arg2 = 0 ;
8872 bool result;
8873 void *argp1 = 0 ;
8874 int res1 = 0 ;
8875 wxColour temp2 ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 char * kwnames[] = {
8879 (char *) "self",(char *) "colour", NULL
8880 };
8881
8882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8884 if (!SWIG_IsOK(res1)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8886 }
8887 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8888 {
8889 arg2 = &temp2;
8890 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 {
8899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8900 }
8901 return resultobj;
8902fail:
8903 return NULL;
8904}
8905
8906
8907SWIGINTERN PyObject *_wrap_RichTextCtrl_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8908 PyObject *resultobj = 0;
8909 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8910 bool result;
8911 void *argp1 = 0 ;
8912 int res1 = 0 ;
8913 PyObject *swig_obj[1] ;
8914
8915 if (!args) SWIG_fail;
8916 swig_obj[0] = args;
8917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8918 if (!SWIG_IsOK(res1)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8920 }
8921 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (bool)(arg1)->EndTextColour();
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 {
8929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8930 }
8931 return resultobj;
8932fail:
8933 return NULL;
8934}
8935
8936
8937SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj = 0;
8939 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8940 wxTextAttrAlignment arg2 ;
8941 bool result;
8942 void *argp1 = 0 ;
8943 int res1 = 0 ;
8944 int val2 ;
8945 int ecode2 = 0 ;
8946 PyObject * obj0 = 0 ;
8947 PyObject * obj1 = 0 ;
8948 char * kwnames[] = {
8949 (char *) "self",(char *) "alignment", NULL
8950 };
8951
8952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
8953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8954 if (!SWIG_IsOK(res1)) {
8955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8956 }
8957 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8958 ecode2 = SWIG_AsVal_int(obj1, &val2);
8959 if (!SWIG_IsOK(ecode2)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
8961 }
8962 arg2 = static_cast< wxTextAttrAlignment >(val2);
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 result = (bool)(arg1)->BeginAlignment(arg2);
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 {
8970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8971 }
8972 return resultobj;
8973fail:
8974 return NULL;
8975}
8976
8977
8978SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8979 PyObject *resultobj = 0;
8980 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8981 bool result;
8982 void *argp1 = 0 ;
8983 int res1 = 0 ;
8984 PyObject *swig_obj[1] ;
8985
8986 if (!args) SWIG_fail;
8987 swig_obj[0] = args;
8988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8989 if (!SWIG_IsOK(res1)) {
8990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8991 }
8992 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 result = (bool)(arg1)->EndAlignment();
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 {
9000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9001 }
9002 return resultobj;
9003fail:
9004 return NULL;
9005}
9006
9007
9008SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj = 0;
9010 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9011 int arg2 ;
9012 int arg3 = (int) 0 ;
9013 bool result;
9014 void *argp1 = 0 ;
9015 int res1 = 0 ;
9016 int val2 ;
9017 int ecode2 = 0 ;
9018 int val3 ;
9019 int ecode3 = 0 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 PyObject * obj2 = 0 ;
9023 char * kwnames[] = {
9024 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9025 };
9026
9027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9029 if (!SWIG_IsOK(res1)) {
9030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9031 }
9032 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9033 ecode2 = SWIG_AsVal_int(obj1, &val2);
9034 if (!SWIG_IsOK(ecode2)) {
9035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9036 }
9037 arg2 = static_cast< int >(val2);
9038 if (obj2) {
9039 ecode3 = SWIG_AsVal_int(obj2, &val3);
9040 if (!SWIG_IsOK(ecode3)) {
9041 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9042 }
9043 arg3 = static_cast< int >(val3);
9044 }
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 {
9052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9053 }
9054 return resultobj;
9055fail:
9056 return NULL;
9057}
9058
9059
9060SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9061 PyObject *resultobj = 0;
9062 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9063 bool result;
9064 void *argp1 = 0 ;
9065 int res1 = 0 ;
9066 PyObject *swig_obj[1] ;
9067
9068 if (!args) SWIG_fail;
9069 swig_obj[0] = args;
9070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9071 if (!SWIG_IsOK(res1)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9073 }
9074 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (bool)(arg1)->EndLeftIndent();
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 {
9082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9083 }
9084 return resultobj;
9085fail:
9086 return NULL;
9087}
9088
9089
9090SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj = 0;
9092 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9093 int arg2 ;
9094 bool result;
9095 void *argp1 = 0 ;
9096 int res1 = 0 ;
9097 int val2 ;
9098 int ecode2 = 0 ;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 char * kwnames[] = {
9102 (char *) "self",(char *) "rightIndent", NULL
9103 };
9104
9105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
9106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9107 if (!SWIG_IsOK(res1)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9109 }
9110 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9111 ecode2 = SWIG_AsVal_int(obj1, &val2);
9112 if (!SWIG_IsOK(ecode2)) {
9113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9114 }
9115 arg2 = static_cast< int >(val2);
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = (bool)(arg1)->BeginRightIndent(arg2);
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 {
9123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9124 }
9125 return resultobj;
9126fail:
9127 return NULL;
9128}
9129
9130
9131SWIGINTERN PyObject *_wrap_RichTextCtrl_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9132 PyObject *resultobj = 0;
9133 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9134 bool result;
9135 void *argp1 = 0 ;
9136 int res1 = 0 ;
9137 PyObject *swig_obj[1] ;
9138
9139 if (!args) SWIG_fail;
9140 swig_obj[0] = args;
9141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9142 if (!SWIG_IsOK(res1)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9144 }
9145 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 result = (bool)(arg1)->EndRightIndent();
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 {
9153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9154 }
9155 return resultobj;
9156fail:
9157 return NULL;
9158}
9159
9160
9161SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj = 0;
9163 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9164 int arg2 ;
9165 int arg3 ;
9166 bool result;
9167 void *argp1 = 0 ;
9168 int res1 = 0 ;
9169 int val2 ;
9170 int ecode2 = 0 ;
9171 int val3 ;
9172 int ecode3 = 0 ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 PyObject * obj2 = 0 ;
9176 char * kwnames[] = {
9177 (char *) "self",(char *) "before",(char *) "after", NULL
9178 };
9179
9180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9182 if (!SWIG_IsOK(res1)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9184 }
9185 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9186 ecode2 = SWIG_AsVal_int(obj1, &val2);
9187 if (!SWIG_IsOK(ecode2)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9189 }
9190 arg2 = static_cast< int >(val2);
9191 ecode3 = SWIG_AsVal_int(obj2, &val3);
9192 if (!SWIG_IsOK(ecode3)) {
9193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9194 }
9195 arg3 = static_cast< int >(val3);
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 {
9203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9204 }
9205 return resultobj;
9206fail:
9207 return NULL;
9208}
9209
9210
9211SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9212 PyObject *resultobj = 0;
9213 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9214 bool result;
9215 void *argp1 = 0 ;
9216 int res1 = 0 ;
9217 PyObject *swig_obj[1] ;
9218
9219 if (!args) SWIG_fail;
9220 swig_obj[0] = args;
9221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9222 if (!SWIG_IsOK(res1)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9224 }
9225 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (bool)(arg1)->EndParagraphSpacing();
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9234 }
9235 return resultobj;
9236fail:
9237 return NULL;
9238}
9239
9240
9241SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj = 0;
9243 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9244 int arg2 ;
9245 bool result;
9246 void *argp1 = 0 ;
9247 int res1 = 0 ;
9248 int val2 ;
9249 int ecode2 = 0 ;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 char * kwnames[] = {
9253 (char *) "self",(char *) "lineSpacing", NULL
9254 };
9255
9256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
9257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9258 if (!SWIG_IsOK(res1)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9260 }
9261 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9262 ecode2 = SWIG_AsVal_int(obj1, &val2);
9263 if (!SWIG_IsOK(ecode2)) {
9264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9265 }
9266 arg2 = static_cast< int >(val2);
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (bool)(arg1)->BeginLineSpacing(arg2);
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 {
9274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9275 }
9276 return resultobj;
9277fail:
9278 return NULL;
9279}
9280
9281
9282SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9283 PyObject *resultobj = 0;
9284 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9285 bool result;
9286 void *argp1 = 0 ;
9287 int res1 = 0 ;
9288 PyObject *swig_obj[1] ;
9289
9290 if (!args) SWIG_fail;
9291 swig_obj[0] = args;
9292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9293 if (!SWIG_IsOK(res1)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9295 }
9296 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (bool)(arg1)->EndLineSpacing();
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 {
9304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9305 }
9306 return resultobj;
9307fail:
9308 return NULL;
9309}
9310
9311
9312SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj = 0;
9314 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9315 int arg2 ;
9316 int arg3 ;
9317 int arg4 ;
9318 int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
9319 bool result;
9320 void *argp1 = 0 ;
9321 int res1 = 0 ;
9322 int val2 ;
9323 int ecode2 = 0 ;
9324 int val3 ;
9325 int ecode3 = 0 ;
9326 int val4 ;
9327 int ecode4 = 0 ;
9328 int val5 ;
9329 int ecode5 = 0 ;
9330 PyObject * obj0 = 0 ;
9331 PyObject * obj1 = 0 ;
9332 PyObject * obj2 = 0 ;
9333 PyObject * obj3 = 0 ;
9334 PyObject * obj4 = 0 ;
9335 char * kwnames[] = {
9336 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9337 };
9338
9339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9341 if (!SWIG_IsOK(res1)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9343 }
9344 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9345 ecode2 = SWIG_AsVal_int(obj1, &val2);
9346 if (!SWIG_IsOK(ecode2)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9348 }
9349 arg2 = static_cast< int >(val2);
9350 ecode3 = SWIG_AsVal_int(obj2, &val3);
9351 if (!SWIG_IsOK(ecode3)) {
9352 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9353 }
9354 arg3 = static_cast< int >(val3);
9355 ecode4 = SWIG_AsVal_int(obj3, &val4);
9356 if (!SWIG_IsOK(ecode4)) {
9357 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9358 }
9359 arg4 = static_cast< int >(val4);
9360 if (obj4) {
9361 ecode5 = SWIG_AsVal_int(obj4, &val5);
9362 if (!SWIG_IsOK(ecode5)) {
9363 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9364 }
9365 arg5 = static_cast< int >(val5);
9366 }
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 {
9374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9375 }
9376 return resultobj;
9377fail:
9378 return NULL;
9379}
9380
9381
9382SWIGINTERN PyObject *_wrap_RichTextCtrl_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9383 PyObject *resultobj = 0;
9384 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9385 bool result;
9386 void *argp1 = 0 ;
9387 int res1 = 0 ;
9388 PyObject *swig_obj[1] ;
9389
9390 if (!args) SWIG_fail;
9391 swig_obj[0] = args;
9392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9393 if (!SWIG_IsOK(res1)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9395 }
9396 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 result = (bool)(arg1)->EndNumberedBullet();
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 {
9404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9405 }
9406 return resultobj;
9407fail:
9408 return NULL;
9409}
9410
9411
9412SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj = 0;
9414 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9415 char arg2 ;
9416 int arg3 ;
9417 int arg4 ;
9418 int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
9419 bool result;
9420 void *argp1 = 0 ;
9421 int res1 = 0 ;
9422 char val2 ;
9423 int ecode2 = 0 ;
9424 int val3 ;
9425 int ecode3 = 0 ;
9426 int val4 ;
9427 int ecode4 = 0 ;
9428 int val5 ;
9429 int ecode5 = 0 ;
9430 PyObject * obj0 = 0 ;
9431 PyObject * obj1 = 0 ;
9432 PyObject * obj2 = 0 ;
9433 PyObject * obj3 = 0 ;
9434 PyObject * obj4 = 0 ;
9435 char * kwnames[] = {
9436 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9437 };
9438
9439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9441 if (!SWIG_IsOK(res1)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9443 }
9444 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9445 ecode2 = SWIG_AsVal_char(obj1, &val2);
9446 if (!SWIG_IsOK(ecode2)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'");
9448 }
9449 arg2 = static_cast< char >(val2);
9450 ecode3 = SWIG_AsVal_int(obj2, &val3);
9451 if (!SWIG_IsOK(ecode3)) {
9452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9453 }
9454 arg3 = static_cast< int >(val3);
9455 ecode4 = SWIG_AsVal_int(obj3, &val4);
9456 if (!SWIG_IsOK(ecode4)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9458 }
9459 arg4 = static_cast< int >(val4);
9460 if (obj4) {
9461 ecode5 = SWIG_AsVal_int(obj4, &val5);
9462 if (!SWIG_IsOK(ecode5)) {
9463 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9464 }
9465 arg5 = static_cast< int >(val5);
9466 }
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (bool)(arg1)->BeginSymbolBullet(arg2,arg3,arg4,arg5);
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 {
9474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9475 }
9476 return resultobj;
9477fail:
9478 return NULL;
9479}
9480
9481
9482SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9483 PyObject *resultobj = 0;
9484 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9485 bool result;
9486 void *argp1 = 0 ;
9487 int res1 = 0 ;
9488 PyObject *swig_obj[1] ;
9489
9490 if (!args) SWIG_fail;
9491 swig_obj[0] = args;
9492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9493 if (!SWIG_IsOK(res1)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9495 }
9496 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (bool)(arg1)->EndSymbolBullet();
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 {
9504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9505 }
9506 return resultobj;
9507fail:
9508 return NULL;
9509}
9510
9511
9512SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj = 0;
9514 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9515 wxString *arg2 = 0 ;
9516 bool result;
9517 void *argp1 = 0 ;
9518 int res1 = 0 ;
9519 bool temp2 = false ;
9520 PyObject * obj0 = 0 ;
9521 PyObject * obj1 = 0 ;
9522 char * kwnames[] = {
9523 (char *) "self",(char *) "characterStyle", NULL
9524 };
9525
9526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
9527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9528 if (!SWIG_IsOK(res1)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9530 }
9531 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9532 {
9533 arg2 = wxString_in_helper(obj1);
9534 if (arg2 == NULL) SWIG_fail;
9535 temp2 = true;
9536 }
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 {
9544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9545 }
9546 {
9547 if (temp2)
9548 delete arg2;
9549 }
9550 return resultobj;
9551fail:
9552 {
9553 if (temp2)
9554 delete arg2;
9555 }
9556 return NULL;
9557}
9558
9559
9560SWIGINTERN PyObject *_wrap_RichTextCtrl_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9561 PyObject *resultobj = 0;
9562 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9563 bool result;
9564 void *argp1 = 0 ;
9565 int res1 = 0 ;
9566 PyObject *swig_obj[1] ;
9567
9568 if (!args) SWIG_fail;
9569 swig_obj[0] = args;
9570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9571 if (!SWIG_IsOK(res1)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9573 }
9574 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (bool)(arg1)->EndCharacterStyle();
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 {
9582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9583 }
9584 return resultobj;
9585fail:
9586 return NULL;
9587}
9588
9589
9590SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj = 0;
9592 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9593 wxString *arg2 = 0 ;
9594 bool result;
9595 void *argp1 = 0 ;
9596 int res1 = 0 ;
9597 bool temp2 = false ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char * kwnames[] = {
9601 (char *) "self",(char *) "paragraphStyle", NULL
9602 };
9603
9604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
9605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9606 if (!SWIG_IsOK(res1)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9608 }
9609 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9610 {
9611 arg2 = wxString_in_helper(obj1);
9612 if (arg2 == NULL) SWIG_fail;
9613 temp2 = true;
9614 }
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9623 }
9624 {
9625 if (temp2)
9626 delete arg2;
9627 }
9628 return resultobj;
9629fail:
9630 {
9631 if (temp2)
9632 delete arg2;
9633 }
9634 return NULL;
9635}
9636
9637
9638SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9639 PyObject *resultobj = 0;
9640 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9641 bool result;
9642 void *argp1 = 0 ;
9643 int res1 = 0 ;
9644 PyObject *swig_obj[1] ;
9645
9646 if (!args) SWIG_fail;
9647 swig_obj[0] = args;
9648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9649 if (!SWIG_IsOK(res1)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9651 }
9652 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (bool)(arg1)->EndParagraphStyle();
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 {
9660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9661 }
9662 return resultobj;
9663fail:
9664 return NULL;
9665}
9666
9667
9668SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9669 PyObject *resultobj = 0;
9670 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9671 bool result;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 PyObject *swig_obj[1] ;
9675
9676 if (!args) SWIG_fail;
9677 swig_obj[0] = args;
9678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9679 if (!SWIG_IsOK(res1)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9681 }
9682 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (bool)(arg1)->SetDefaultStyleToCursorStyle();
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 {
9690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9691 }
9692 return resultobj;
9693fail:
9694 return NULL;
9695}
9696
9697
9698SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectNone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9699 PyObject *resultobj = 0;
9700 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9701 void *argp1 = 0 ;
9702 int res1 = 0 ;
9703 PyObject *swig_obj[1] ;
9704
9705 if (!args) SWIG_fail;
9706 swig_obj[0] = args;
9707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9708 if (!SWIG_IsOK(res1)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9710 }
9711 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 (arg1)->SelectNone();
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 }
9718 resultobj = SWIG_Py_Void();
9719 return resultobj;
9720fail:
9721 return NULL;
9722}
9723
9724
9725SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9726 PyObject *resultobj = 0;
9727 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9728 wxRichTextRange *result = 0 ;
9729 void *argp1 = 0 ;
9730 int res1 = 0 ;
9731 PyObject *swig_obj[1] ;
9732
9733 if (!args) SWIG_fail;
9734 swig_obj[0] = args;
9735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9736 if (!SWIG_IsOK(res1)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
9738 }
9739 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 {
9743 wxRichTextRange const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetSelectionRange();
9744 result = (wxRichTextRange *) &_result_ref;
9745 }
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 | 0 );
9750 return resultobj;
9751fail:
9752 return NULL;
9753}
9754
9755
9756SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj = 0;
9758 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9759 wxRichTextRange *arg2 = 0 ;
9760 void *argp1 = 0 ;
9761 int res1 = 0 ;
9762 wxRichTextRange temp2 ;
9763 PyObject * obj0 = 0 ;
9764 PyObject * obj1 = 0 ;
9765 char * kwnames[] = {
9766 (char *) "self",(char *) "range", NULL
9767 };
9768
9769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail;
9770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9771 if (!SWIG_IsOK(res1)) {
9772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9773 }
9774 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9775 {
9776 arg2 = &temp2;
9777 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
9778 }
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 (arg1)->SetSelectionRange((wxRichTextRange const &)*arg2);
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 resultobj = SWIG_Py_Void();
9786 return resultobj;
9787fail:
9788 return NULL;
9789}
9790
9791
9792SWIGINTERN PyObject *_wrap_RichTextCtrl_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj = 0;
9794 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9795 wxString *arg2 = 0 ;
9796 wxRichTextRange result;
9797 void *argp1 = 0 ;
9798 int res1 = 0 ;
9799 bool temp2 = false ;
9800 PyObject * obj0 = 0 ;
9801 PyObject * obj1 = 0 ;
9802 char * kwnames[] = {
9803 (char *) "self",(char *) "text", NULL
9804 };
9805
9806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
9807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9808 if (!SWIG_IsOK(res1)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9810 }
9811 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9812 {
9813 arg2 = wxString_in_helper(obj1);
9814 if (arg2 == NULL) SWIG_fail;
9815 temp2 = true;
9816 }
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (arg1)->AddParagraph((wxString const &)*arg2);
9820 wxPyEndAllowThreads(__tstate);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 }
9823 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9824 {
9825 if (temp2)
9826 delete arg2;
9827 }
9828 return resultobj;
9829fail:
9830 {
9831 if (temp2)
9832 delete arg2;
9833 }
9834 return NULL;
9835}
9836
9837
9838SWIGINTERN PyObject *_wrap_RichTextCtrl_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj = 0;
9840 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9841 wxImage *arg2 = 0 ;
9842 wxRichTextRange result;
9843 void *argp1 = 0 ;
9844 int res1 = 0 ;
9845 void *argp2 = 0 ;
9846 int res2 = 0 ;
9847 PyObject * obj0 = 0 ;
9848 PyObject * obj1 = 0 ;
9849 char * kwnames[] = {
9850 (char *) "self",(char *) "image", NULL
9851 };
9852
9853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddImage",kwnames,&obj0,&obj1)) SWIG_fail;
9854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9855 if (!SWIG_IsOK(res1)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9857 }
9858 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9859 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
9860 if (!SWIG_IsOK(res2)) {
9861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9862 }
9863 if (!argp2) {
9864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9865 }
9866 arg2 = reinterpret_cast< wxImage * >(argp2);
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 result = (arg1)->AddImage((wxImage const &)*arg2);
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9874 return resultobj;
9875fail:
9876 return NULL;
9877}
9878
9879
9880SWIGINTERN PyObject *_wrap_RichTextCtrl_LayoutContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj = 0;
9882 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9883 bool arg2 = (bool) false ;
9884 bool result;
9885 void *argp1 = 0 ;
9886 int res1 = 0 ;
9887 bool val2 ;
9888 int ecode2 = 0 ;
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9891 char * kwnames[] = {
9892 (char *) "self",(char *) "onlyVisibleRect", NULL
9893 };
9894
9895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames,&obj0,&obj1)) SWIG_fail;
9896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9897 if (!SWIG_IsOK(res1)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9899 }
9900 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9901 if (obj1) {
9902 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9903 if (!SWIG_IsOK(ecode2)) {
9904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
9905 }
9906 arg2 = static_cast< bool >(val2);
9907 }
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (bool)(arg1)->LayoutContent(arg2);
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 {
9915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9916 }
9917 return resultobj;
9918fail:
9919 return NULL;
9920}
9921
9922
9923SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj = 0;
9925 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9926 long arg2 ;
9927 bool arg3 = (bool) false ;
9928 bool result;
9929 void *argp1 = 0 ;
9930 int res1 = 0 ;
9931 long val2 ;
9932 int ecode2 = 0 ;
9933 bool val3 ;
9934 int ecode3 = 0 ;
9935 PyObject * obj0 = 0 ;
9936 PyObject * obj1 = 0 ;
9937 PyObject * obj2 = 0 ;
9938 char * kwnames[] = {
9939 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
9940 };
9941
9942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9944 if (!SWIG_IsOK(res1)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9946 }
9947 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9948 ecode2 = SWIG_AsVal_long(obj1, &val2);
9949 if (!SWIG_IsOK(ecode2)) {
9950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
9951 }
9952 arg2 = static_cast< long >(val2);
9953 if (obj2) {
9954 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9955 if (!SWIG_IsOK(ecode3)) {
9956 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
9957 }
9958 arg3 = static_cast< bool >(val3);
9959 }
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (bool)(arg1)->MoveCaret(arg2,arg3);
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 {
9967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9968 }
9969 return resultobj;
9970fail:
9971 return NULL;
9972}
9973
9974
9975SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj = 0;
9977 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9978 int arg2 = (int) 1 ;
9979 int arg3 = (int) 0 ;
9980 bool result;
9981 void *argp1 = 0 ;
9982 int res1 = 0 ;
9983 int val2 ;
9984 int ecode2 = 0 ;
9985 int val3 ;
9986 int ecode3 = 0 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 PyObject * obj2 = 0 ;
9990 char * kwnames[] = {
9991 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
9992 };
9993
9994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9996 if (!SWIG_IsOK(res1)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9998 }
9999 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10000 if (obj1) {
10001 ecode2 = SWIG_AsVal_int(obj1, &val2);
10002 if (!SWIG_IsOK(ecode2)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
10004 }
10005 arg2 = static_cast< int >(val2);
10006 }
10007 if (obj2) {
10008 ecode3 = SWIG_AsVal_int(obj2, &val3);
10009 if (!SWIG_IsOK(ecode3)) {
10010 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
10011 }
10012 arg3 = static_cast< int >(val3);
10013 }
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (bool)(arg1)->MoveRight(arg2,arg3);
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 {
10021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10022 }
10023 return resultobj;
10024fail:
10025 return NULL;
10026}
10027
10028
10029SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj = 0;
10031 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10032 int arg2 = (int) 1 ;
10033 int arg3 = (int) 0 ;
10034 bool result;
10035 void *argp1 = 0 ;
10036 int res1 = 0 ;
10037 int val2 ;
10038 int ecode2 = 0 ;
10039 int val3 ;
10040 int ecode3 = 0 ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 PyObject * obj2 = 0 ;
10044 char * kwnames[] = {
10045 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10046 };
10047
10048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10050 if (!SWIG_IsOK(res1)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10052 }
10053 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10054 if (obj1) {
10055 ecode2 = SWIG_AsVal_int(obj1, &val2);
10056 if (!SWIG_IsOK(ecode2)) {
10057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10058 }
10059 arg2 = static_cast< int >(val2);
10060 }
10061 if (obj2) {
10062 ecode3 = SWIG_AsVal_int(obj2, &val3);
10063 if (!SWIG_IsOK(ecode3)) {
10064 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10065 }
10066 arg3 = static_cast< int >(val3);
10067 }
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (bool)(arg1)->MoveLeft(arg2,arg3);
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10076 }
10077 return resultobj;
10078fail:
10079 return NULL;
10080}
10081
10082
10083SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = 0;
10085 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10086 int arg2 = (int) 1 ;
10087 int arg3 = (int) 0 ;
10088 bool result;
10089 void *argp1 = 0 ;
10090 int res1 = 0 ;
10091 int val2 ;
10092 int ecode2 = 0 ;
10093 int val3 ;
10094 int ecode3 = 0 ;
10095 PyObject * obj0 = 0 ;
10096 PyObject * obj1 = 0 ;
10097 PyObject * obj2 = 0 ;
10098 char * kwnames[] = {
10099 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10100 };
10101
10102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10104 if (!SWIG_IsOK(res1)) {
10105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10106 }
10107 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10108 if (obj1) {
10109 ecode2 = SWIG_AsVal_int(obj1, &val2);
10110 if (!SWIG_IsOK(ecode2)) {
10111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10112 }
10113 arg2 = static_cast< int >(val2);
10114 }
10115 if (obj2) {
10116 ecode3 = SWIG_AsVal_int(obj2, &val3);
10117 if (!SWIG_IsOK(ecode3)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10119 }
10120 arg3 = static_cast< int >(val3);
10121 }
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (bool)(arg1)->MoveUp(arg2,arg3);
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 {
10129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10130 }
10131 return resultobj;
10132fail:
10133 return NULL;
10134}
10135
10136
10137SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj = 0;
10139 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10140 int arg2 = (int) 1 ;
10141 int arg3 = (int) 0 ;
10142 bool result;
10143 void *argp1 = 0 ;
10144 int res1 = 0 ;
10145 int val2 ;
10146 int ecode2 = 0 ;
10147 int val3 ;
10148 int ecode3 = 0 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 PyObject * obj2 = 0 ;
10152 char * kwnames[] = {
10153 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10154 };
10155
10156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10158 if (!SWIG_IsOK(res1)) {
10159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10160 }
10161 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10162 if (obj1) {
10163 ecode2 = SWIG_AsVal_int(obj1, &val2);
10164 if (!SWIG_IsOK(ecode2)) {
10165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10166 }
10167 arg2 = static_cast< int >(val2);
10168 }
10169 if (obj2) {
10170 ecode3 = SWIG_AsVal_int(obj2, &val3);
10171 if (!SWIG_IsOK(ecode3)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10173 }
10174 arg3 = static_cast< int >(val3);
10175 }
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (bool)(arg1)->MoveDown(arg2,arg3);
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 {
10183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10184 }
10185 return resultobj;
10186fail:
10187 return NULL;
10188}
10189
10190
10191SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj = 0;
10193 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10194 int arg2 = (int) 0 ;
10195 bool result;
10196 void *argp1 = 0 ;
10197 int res1 = 0 ;
10198 int val2 ;
10199 int ecode2 = 0 ;
10200 PyObject * obj0 = 0 ;
10201 PyObject * obj1 = 0 ;
10202 char * kwnames[] = {
10203 (char *) "self",(char *) "flags", NULL
10204 };
10205
10206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10208 if (!SWIG_IsOK(res1)) {
10209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10210 }
10211 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10212 if (obj1) {
10213 ecode2 = SWIG_AsVal_int(obj1, &val2);
10214 if (!SWIG_IsOK(ecode2)) {
10215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10216 }
10217 arg2 = static_cast< int >(val2);
10218 }
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (bool)(arg1)->MoveToLineEnd(arg2);
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 {
10226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10227 }
10228 return resultobj;
10229fail:
10230 return NULL;
10231}
10232
10233
10234SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj = 0;
10236 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10237 int arg2 = (int) 0 ;
10238 bool result;
10239 void *argp1 = 0 ;
10240 int res1 = 0 ;
10241 int val2 ;
10242 int ecode2 = 0 ;
10243 PyObject * obj0 = 0 ;
10244 PyObject * obj1 = 0 ;
10245 char * kwnames[] = {
10246 (char *) "self",(char *) "flags", NULL
10247 };
10248
10249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames,&obj0,&obj1)) SWIG_fail;
10250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10251 if (!SWIG_IsOK(res1)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10253 }
10254 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10255 if (obj1) {
10256 ecode2 = SWIG_AsVal_int(obj1, &val2);
10257 if (!SWIG_IsOK(ecode2)) {
10258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10259 }
10260 arg2 = static_cast< int >(val2);
10261 }
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (bool)(arg1)->MoveToLineStart(arg2);
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
10271 return resultobj;
10272fail:
10273 return NULL;
10274}
10275
10276
10277SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj = 0;
10279 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10280 int arg2 = (int) 0 ;
10281 bool result;
10282 void *argp1 = 0 ;
10283 int res1 = 0 ;
10284 int val2 ;
10285 int ecode2 = 0 ;
10286 PyObject * obj0 = 0 ;
10287 PyObject * obj1 = 0 ;
10288 char * kwnames[] = {
10289 (char *) "self",(char *) "flags", NULL
10290 };
10291
10292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10294 if (!SWIG_IsOK(res1)) {
10295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10296 }
10297 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10298 if (obj1) {
10299 ecode2 = SWIG_AsVal_int(obj1, &val2);
10300 if (!SWIG_IsOK(ecode2)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10302 }
10303 arg2 = static_cast< int >(val2);
10304 }
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (bool)(arg1)->MoveToParagraphEnd(arg2);
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 {
10312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10313 }
10314 return resultobj;
10315fail:
10316 return NULL;
10317}
10318
10319
10320SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj = 0;
10322 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10323 int arg2 = (int) 0 ;
10324 bool result;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
10327 int val2 ;
10328 int ecode2 = 0 ;
10329 PyObject * obj0 = 0 ;
10330 PyObject * obj1 = 0 ;
10331 char * kwnames[] = {
10332 (char *) "self",(char *) "flags", NULL
10333 };
10334
10335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames,&obj0,&obj1)) SWIG_fail;
10336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10337 if (!SWIG_IsOK(res1)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10339 }
10340 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10341 if (obj1) {
10342 ecode2 = SWIG_AsVal_int(obj1, &val2);
10343 if (!SWIG_IsOK(ecode2)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10345 }
10346 arg2 = static_cast< int >(val2);
10347 }
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 result = (bool)(arg1)->MoveToParagraphStart(arg2);
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 {
10355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10356 }
10357 return resultobj;
10358fail:
10359 return NULL;
10360}
10361
10362
10363SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj = 0;
10365 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10366 int arg2 = (int) 0 ;
10367 bool result;
10368 void *argp1 = 0 ;
10369 int res1 = 0 ;
10370 int val2 ;
10371 int ecode2 = 0 ;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char * kwnames[] = {
10375 (char *) "self",(char *) "flags", NULL
10376 };
10377
10378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveHome",kwnames,&obj0,&obj1)) SWIG_fail;
10379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10380 if (!SWIG_IsOK(res1)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10382 }
10383 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10384 if (obj1) {
10385 ecode2 = SWIG_AsVal_int(obj1, &val2);
10386 if (!SWIG_IsOK(ecode2)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10388 }
10389 arg2 = static_cast< int >(val2);
10390 }
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)(arg1)->MoveHome(arg2);
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 {
10398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10399 }
10400 return resultobj;
10401fail:
10402 return NULL;
10403}
10404
10405
10406SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj = 0;
10408 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10409 int arg2 = (int) 0 ;
10410 bool result;
10411 void *argp1 = 0 ;
10412 int res1 = 0 ;
10413 int val2 ;
10414 int ecode2 = 0 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 char * kwnames[] = {
10418 (char *) "self",(char *) "flags", NULL
10419 };
10420
10421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10423 if (!SWIG_IsOK(res1)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10425 }
10426 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10427 if (obj1) {
10428 ecode2 = SWIG_AsVal_int(obj1, &val2);
10429 if (!SWIG_IsOK(ecode2)) {
10430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10431 }
10432 arg2 = static_cast< int >(val2);
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (bool)(arg1)->MoveEnd(arg2);
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10442 }
10443 return resultobj;
10444fail:
10445 return NULL;
10446}
10447
10448
10449SWIGINTERN PyObject *_wrap_RichTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj = 0;
10451 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10452 int arg2 = (int) 1 ;
10453 int arg3 = (int) 0 ;
10454 bool result;
10455 void *argp1 = 0 ;
10456 int res1 = 0 ;
10457 int val2 ;
10458 int ecode2 = 0 ;
10459 int val3 ;
10460 int ecode3 = 0 ;
10461 PyObject * obj0 = 0 ;
10462 PyObject * obj1 = 0 ;
10463 PyObject * obj2 = 0 ;
10464 char * kwnames[] = {
10465 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10466 };
10467
10468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10470 if (!SWIG_IsOK(res1)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10472 }
10473 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10474 if (obj1) {
10475 ecode2 = SWIG_AsVal_int(obj1, &val2);
10476 if (!SWIG_IsOK(ecode2)) {
10477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10478 }
10479 arg2 = static_cast< int >(val2);
10480 }
10481 if (obj2) {
10482 ecode3 = SWIG_AsVal_int(obj2, &val3);
10483 if (!SWIG_IsOK(ecode3)) {
10484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10485 }
10486 arg3 = static_cast< int >(val3);
10487 }
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 result = (bool)(arg1)->PageUp(arg2,arg3);
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 {
10495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10496 }
10497 return resultobj;
10498fail:
10499 return NULL;
10500}
10501
10502
10503SWIGINTERN PyObject *_wrap_RichTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj = 0;
10505 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10506 int arg2 = (int) 1 ;
10507 int arg3 = (int) 0 ;
10508 bool result;
10509 void *argp1 = 0 ;
10510 int res1 = 0 ;
10511 int val2 ;
10512 int ecode2 = 0 ;
10513 int val3 ;
10514 int ecode3 = 0 ;
10515 PyObject * obj0 = 0 ;
10516 PyObject * obj1 = 0 ;
10517 PyObject * obj2 = 0 ;
10518 char * kwnames[] = {
10519 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10520 };
10521
10522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10524 if (!SWIG_IsOK(res1)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10526 }
10527 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10528 if (obj1) {
10529 ecode2 = SWIG_AsVal_int(obj1, &val2);
10530 if (!SWIG_IsOK(ecode2)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10532 }
10533 arg2 = static_cast< int >(val2);
10534 }
10535 if (obj2) {
10536 ecode3 = SWIG_AsVal_int(obj2, &val3);
10537 if (!SWIG_IsOK(ecode3)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10539 }
10540 arg3 = static_cast< int >(val3);
10541 }
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
10544 result = (bool)(arg1)->PageDown(arg2,arg3);
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 {
10549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10550 }
10551 return resultobj;
10552fail:
10553 return NULL;
10554}
10555
10556
10557SWIGINTERN PyObject *_wrap_RichTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10558 PyObject *resultobj = 0;
10559 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10560 int arg2 = (int) 1 ;
10561 int arg3 = (int) 0 ;
10562 bool result;
10563 void *argp1 = 0 ;
10564 int res1 = 0 ;
10565 int val2 ;
10566 int ecode2 = 0 ;
10567 int val3 ;
10568 int ecode3 = 0 ;
10569 PyObject * obj0 = 0 ;
10570 PyObject * obj1 = 0 ;
10571 PyObject * obj2 = 0 ;
10572 char * kwnames[] = {
10573 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10574 };
10575
10576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10578 if (!SWIG_IsOK(res1)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10580 }
10581 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10582 if (obj1) {
10583 ecode2 = SWIG_AsVal_int(obj1, &val2);
10584 if (!SWIG_IsOK(ecode2)) {
10585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10586 }
10587 arg2 = static_cast< int >(val2);
10588 }
10589 if (obj2) {
10590 ecode3 = SWIG_AsVal_int(obj2, &val3);
10591 if (!SWIG_IsOK(ecode3)) {
10592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10593 }
10594 arg3 = static_cast< int >(val3);
10595 }
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = (bool)(arg1)->WordLeft(arg2,arg3);
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606fail:
10607 return NULL;
10608}
10609
10610
10611SWIGINTERN PyObject *_wrap_RichTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj = 0;
10613 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10614 int arg2 = (int) 1 ;
10615 int arg3 = (int) 0 ;
10616 bool result;
10617 void *argp1 = 0 ;
10618 int res1 = 0 ;
10619 int val2 ;
10620 int ecode2 = 0 ;
10621 int val3 ;
10622 int ecode3 = 0 ;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 PyObject * obj2 = 0 ;
10626 char * kwnames[] = {
10627 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10628 };
10629
10630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10632 if (!SWIG_IsOK(res1)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10634 }
10635 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10636 if (obj1) {
10637 ecode2 = SWIG_AsVal_int(obj1, &val2);
10638 if (!SWIG_IsOK(ecode2)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10640 }
10641 arg2 = static_cast< int >(val2);
10642 }
10643 if (obj2) {
10644 ecode3 = SWIG_AsVal_int(obj2, &val3);
10645 if (!SWIG_IsOK(ecode3)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10647 }
10648 arg3 = static_cast< int >(val3);
10649 }
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (bool)(arg1)->WordRight(arg2,arg3);
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 {
10657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10658 }
10659 return resultobj;
10660fail:
10661 return NULL;
10662}
10663
10664
10665SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10666 PyObject *resultobj = 0;
10667 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10668 wxRichTextBuffer *result = 0 ;
10669 void *argp1 = 0 ;
10670 int res1 = 0 ;
10671 PyObject *swig_obj[1] ;
10672
10673 if (!args) SWIG_fail;
10674 swig_obj[0] = args;
10675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10676 if (!SWIG_IsOK(res1)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10678 }
10679 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 {
10683 wxRichTextBuffer const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetBuffer();
10684 result = (wxRichTextBuffer *) &_result_ref;
10685 }
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
10690 return resultobj;
10691fail:
10692 return NULL;
10693}
10694
10695
10696SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj = 0;
10698 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10699 wxString *arg2 = 0 ;
10700 bool result;
10701 void *argp1 = 0 ;
10702 int res1 = 0 ;
10703 bool temp2 = false ;
10704 PyObject * obj0 = 0 ;
10705 PyObject * obj1 = 0 ;
10706 char * kwnames[] = {
10707 (char *) "self",(char *) "cmdName", NULL
10708 };
10709
10710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
10711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10712 if (!SWIG_IsOK(res1)) {
10713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10714 }
10715 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10716 {
10717 arg2 = wxString_in_helper(obj1);
10718 if (arg2 == NULL) SWIG_fail;
10719 temp2 = true;
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 {
10728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10729 }
10730 {
10731 if (temp2)
10732 delete arg2;
10733 }
10734 return resultobj;
10735fail:
10736 {
10737 if (temp2)
10738 delete arg2;
10739 }
10740 return NULL;
10741}
10742
10743
10744SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10745 PyObject *resultobj = 0;
10746 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10747 bool result;
10748 void *argp1 = 0 ;
10749 int res1 = 0 ;
10750 PyObject *swig_obj[1] ;
10751
10752 if (!args) SWIG_fail;
10753 swig_obj[0] = args;
10754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10755 if (!SWIG_IsOK(res1)) {
10756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10757 }
10758 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (bool)(arg1)->EndBatchUndo();
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 {
10766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10767 }
10768 return resultobj;
10769fail:
10770 return NULL;
10771}
10772
10773
10774SWIGINTERN PyObject *_wrap_RichTextCtrl_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10775 PyObject *resultobj = 0;
10776 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10777 bool result;
10778 void *argp1 = 0 ;
10779 int res1 = 0 ;
10780 PyObject *swig_obj[1] ;
10781
10782 if (!args) SWIG_fail;
10783 swig_obj[0] = args;
10784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10785 if (!SWIG_IsOK(res1)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10787 }
10788 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10789 {
10790 PyThreadState* __tstate = wxPyBeginAllowThreads();
10791 result = (bool)((wxRichTextCtrl const *)arg1)->BatchingUndo();
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 {
10796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10797 }
10798 return resultobj;
10799fail:
10800 return NULL;
10801}
10802
10803
10804SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10805 PyObject *resultobj = 0;
10806 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10807 bool result;
10808 void *argp1 = 0 ;
10809 int res1 = 0 ;
10810 PyObject *swig_obj[1] ;
10811
10812 if (!args) SWIG_fail;
10813 swig_obj[0] = args;
10814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10815 if (!SWIG_IsOK(res1)) {
10816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10817 }
10818 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (bool)(arg1)->BeginSuppressUndo();
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 {
10826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10827 }
10828 return resultobj;
10829fail:
10830 return NULL;
10831}
10832
10833
10834SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10835 PyObject *resultobj = 0;
10836 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10837 bool result;
10838 void *argp1 = 0 ;
10839 int res1 = 0 ;
10840 PyObject *swig_obj[1] ;
10841
10842 if (!args) SWIG_fail;
10843 swig_obj[0] = args;
10844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10845 if (!SWIG_IsOK(res1)) {
10846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10847 }
10848 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 result = (bool)(arg1)->EndSuppressUndo();
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 {
10856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10857 }
10858 return resultobj;
10859fail:
10860 return NULL;
10861}
10862
10863
10864SWIGINTERN PyObject *_wrap_RichTextCtrl_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10865 PyObject *resultobj = 0;
10866 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10867 bool result;
10868 void *argp1 = 0 ;
10869 int res1 = 0 ;
10870 PyObject *swig_obj[1] ;
10871
10872 if (!args) SWIG_fail;
10873 swig_obj[0] = args;
10874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10875 if (!SWIG_IsOK(res1)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10877 }
10878 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 result = (bool)((wxRichTextCtrl const *)arg1)->SuppressingUndo();
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 {
10886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10887 }
10888 return resultobj;
10889fail:
10890 return NULL;
10891}
10892
10893
10894SWIGINTERN PyObject *_wrap_RichTextCtrl_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10895 PyObject *resultobj = 0;
10896 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10897 wxRichTextRange *arg2 = 0 ;
10898 wxRichTextAttr *arg3 = 0 ;
10899 bool result;
10900 void *argp1 = 0 ;
10901 int res1 = 0 ;
10902 wxRichTextRange temp2 ;
10903 void *argp3 = 0 ;
10904 int res3 = 0 ;
10905 PyObject * obj0 = 0 ;
10906 PyObject * obj1 = 0 ;
10907 PyObject * obj2 = 0 ;
10908 char * kwnames[] = {
10909 (char *) "self",(char *) "range",(char *) "style", NULL
10910 };
10911
10912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10914 if (!SWIG_IsOK(res1)) {
10915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10916 }
10917 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10918 {
10919 arg2 = &temp2;
10920 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10921 }
10922 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
10923 if (!SWIG_IsOK(res3)) {
10924 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10925 }
10926 if (!argp3) {
10927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10928 }
10929 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
10930 {
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 {
10937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10938 }
10939 return resultobj;
10940fail:
10941 return NULL;
10942}
10943
10944
10945SWIGINTERN PyObject *_wrap_RichTextCtrl_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj = 0;
10947 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10948 wxRichTextRange *arg2 = 0 ;
10949 wxRichTextAttr *arg3 = 0 ;
10950 bool result;
10951 void *argp1 = 0 ;
10952 int res1 = 0 ;
10953 wxRichTextRange temp2 ;
10954 void *argp3 = 0 ;
10955 int res3 = 0 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 PyObject * obj2 = 0 ;
10959 char * kwnames[] = {
10960 (char *) "self",(char *) "range",(char *) "style", NULL
10961 };
10962
10963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10965 if (!SWIG_IsOK(res1)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10967 }
10968 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10969 {
10970 arg2 = &temp2;
10971 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10972 }
10973 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
10974 if (!SWIG_IsOK(res3)) {
10975 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10976 }
10977 if (!argp3) {
10978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10979 }
10980 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 {
10988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10989 }
10990 return resultobj;
10991fail:
10992 return NULL;
10993}
10994
10995
10996SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10997 PyObject *resultobj = 0;
10998 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10999 bool result;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 PyObject *swig_obj[1] ;
11003
11004 if (!args) SWIG_fail;
11005 swig_obj[0] = args;
11006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11007 if (!SWIG_IsOK(res1)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11009 }
11010 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionBold();
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11019 }
11020 return resultobj;
11021fail:
11022 return NULL;
11023}
11024
11025
11026SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionItalics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11027 PyObject *resultobj = 0;
11028 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11029 bool result;
11030 void *argp1 = 0 ;
11031 int res1 = 0 ;
11032 PyObject *swig_obj[1] ;
11033
11034 if (!args) SWIG_fail;
11035 swig_obj[0] = args;
11036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11037 if (!SWIG_IsOK(res1)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11039 }
11040 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionItalics();
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051fail:
11052 return NULL;
11053}
11054
11055
11056SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11057 PyObject *resultobj = 0;
11058 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 PyObject *swig_obj[1] ;
11063
11064 if (!args) SWIG_fail;
11065 swig_obj[0] = args;
11066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionUnderlined();
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
11080 return resultobj;
11081fail:
11082 return NULL;
11083}
11084
11085
11086SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionAligned(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj = 0;
11088 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11089 wxTextAttrAlignment arg2 ;
11090 bool result;
11091 void *argp1 = 0 ;
11092 int res1 = 0 ;
11093 int val2 ;
11094 int ecode2 = 0 ;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 char * kwnames[] = {
11098 (char *) "self",(char *) "alignment", NULL
11099 };
11100
11101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames,&obj0,&obj1)) SWIG_fail;
11102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11103 if (!SWIG_IsOK(res1)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11105 }
11106 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11107 ecode2 = SWIG_AsVal_int(obj1, &val2);
11108 if (!SWIG_IsOK(ecode2)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11110 }
11111 arg2 = static_cast< wxTextAttrAlignment >(val2);
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionAligned(arg2);
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 {
11119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11120 }
11121 return resultobj;
11122fail:
11123 return NULL;
11124}
11125
11126
11127SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11128 PyObject *resultobj = 0;
11129 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11130 bool result;
11131 void *argp1 = 0 ;
11132 int res1 = 0 ;
11133 PyObject *swig_obj[1] ;
11134
11135 if (!args) SWIG_fail;
11136 swig_obj[0] = args;
11137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11138 if (!SWIG_IsOK(res1)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11140 }
11141 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 result = (bool)(arg1)->ApplyBoldToSelection();
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 {
11149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11150 }
11151 return resultobj;
11152fail:
11153 return NULL;
11154}
11155
11156
11157SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11158 PyObject *resultobj = 0;
11159 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11160 bool result;
11161 void *argp1 = 0 ;
11162 int res1 = 0 ;
11163 PyObject *swig_obj[1] ;
11164
11165 if (!args) SWIG_fail;
11166 swig_obj[0] = args;
11167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11168 if (!SWIG_IsOK(res1)) {
11169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11170 }
11171 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)(arg1)->ApplyItalicToSelection();
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182fail:
11183 return NULL;
11184}
11185
11186
11187SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11188 PyObject *resultobj = 0;
11189 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11190 bool result;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 PyObject *swig_obj[1] ;
11194
11195 if (!args) SWIG_fail;
11196 swig_obj[0] = args;
11197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11198 if (!SWIG_IsOK(res1)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11200 }
11201 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (bool)(arg1)->ApplyUnderlineToSelection();
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 {
11209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11210 }
11211 return resultobj;
11212fail:
11213 return NULL;
11214}
11215
11216
11217SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj = 0;
11219 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11220 wxTextAttrAlignment arg2 ;
11221 bool result;
11222 void *argp1 = 0 ;
11223 int res1 = 0 ;
11224 int val2 ;
11225 int ecode2 = 0 ;
11226 PyObject * obj0 = 0 ;
11227 PyObject * obj1 = 0 ;
11228 char * kwnames[] = {
11229 (char *) "self",(char *) "alignment", NULL
11230 };
11231
11232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11234 if (!SWIG_IsOK(res1)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11236 }
11237 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11238 ecode2 = SWIG_AsVal_int(obj1, &val2);
11239 if (!SWIG_IsOK(ecode2)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11241 }
11242 arg2 = static_cast< wxTextAttrAlignment >(val2);
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (bool)(arg1)->ApplyAlignmentToSelection(arg2);
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 {
11250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11251 }
11252 return resultobj;
11253fail:
11254 return NULL;
11255}
11256
11257
11258SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj = 0;
11260 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11261 wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
11262 void *argp1 = 0 ;
11263 int res1 = 0 ;
11264 void *argp2 = 0 ;
11265 int res2 = 0 ;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
11268 char * kwnames[] = {
11269 (char *) "self",(char *) "styleSheet", NULL
11270 };
11271
11272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
11273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11274 if (!SWIG_IsOK(res1)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11276 }
11277 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11278 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11279 if (!SWIG_IsOK(res2)) {
11280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11281 }
11282 arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->SetStyleSheet(arg2);
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_Py_Void();
11290 return resultobj;
11291fail:
11292 return NULL;
11293}
11294
11295
11296SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11297 PyObject *resultobj = 0;
11298 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11299 wxRichTextStyleSheet *result = 0 ;
11300 void *argp1 = 0 ;
11301 int res1 = 0 ;
11302 PyObject *swig_obj[1] ;
11303
11304 if (!args) SWIG_fail;
11305 swig_obj[0] = args;
11306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11307 if (!SWIG_IsOK(res1)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11309 }
11310 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (wxRichTextStyleSheet *)((wxRichTextCtrl const *)arg1)->GetStyleSheet();
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11318 return resultobj;
11319fail:
11320 return NULL;
11321}
11322
11323
11324SWIGINTERN PyObject *RichTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11325 PyObject *obj;
11326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11327 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl, SWIG_NewClientData(obj));
11328 return SWIG_Py_Void();
11329}
11330
11331SWIGINTERN PyObject *RichTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11332 return SWIG_Python_InitShadowInstance(args);
11333}
11334
11335SWIGINTERN PyObject *_wrap_new_RichTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj = 0;
11337 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11338 int arg2 = (int) 0 ;
11339 wxRichTextEvent *result = 0 ;
11340 int val1 ;
11341 int ecode1 = 0 ;
11342 int val2 ;
11343 int ecode2 = 0 ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346 char * kwnames[] = {
11347 (char *) "commandType",(char *) "winid", NULL
11348 };
11349
11350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11351 if (obj0) {
11352 ecode1 = SWIG_AsVal_int(obj0, &val1);
11353 if (!SWIG_IsOK(ecode1)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11355 }
11356 arg1 = static_cast< wxEventType >(val1);
11357 }
11358 if (obj1) {
11359 ecode2 = SWIG_AsVal_int(obj1, &val2);
11360 if (!SWIG_IsOK(ecode2)) {
11361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11362 }
11363 arg2 = static_cast< int >(val2);
11364 }
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 result = (wxRichTextEvent *)new wxRichTextEvent(arg1,arg2);
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextEvent, SWIG_POINTER_NEW | 0 );
11372 return resultobj;
11373fail:
11374 return NULL;
11375}
11376
11377
11378SWIGINTERN PyObject *_wrap_RichTextEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11379 PyObject *resultobj = 0;
11380 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11381 int result;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 PyObject *swig_obj[1] ;
11385
11386 if (!args) SWIG_fail;
11387 swig_obj[0] = args;
11388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11389 if (!SWIG_IsOK(res1)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11391 }
11392 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (int)((wxRichTextEvent const *)arg1)->GetIndex();
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_From_int(static_cast< int >(result));
11400 return resultobj;
11401fail:
11402 return NULL;
11403}
11404
11405
11406SWIGINTERN PyObject *_wrap_RichTextEvent_SetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj = 0;
11408 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11409 int arg2 ;
11410 void *argp1 = 0 ;
11411 int res1 = 0 ;
11412 int val2 ;
11413 int ecode2 = 0 ;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char * kwnames[] = {
11417 (char *) "self",(char *) "n", NULL
11418 };
11419
11420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetIndex",kwnames,&obj0,&obj1)) SWIG_fail;
11421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11422 if (!SWIG_IsOK(res1)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11424 }
11425 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11426 ecode2 = SWIG_AsVal_int(obj1, &val2);
11427 if (!SWIG_IsOK(ecode2)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11429 }
11430 arg2 = static_cast< int >(val2);
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetIndex(arg2);
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_Py_Void();
11438 return resultobj;
11439fail:
11440 return NULL;
11441}
11442
11443
11444SWIGINTERN PyObject *_wrap_RichTextEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11445 PyObject *resultobj = 0;
11446 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11447 int result;
11448 void *argp1 = 0 ;
11449 int res1 = 0 ;
11450 PyObject *swig_obj[1] ;
11451
11452 if (!args) SWIG_fail;
11453 swig_obj[0] = args;
11454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11455 if (!SWIG_IsOK(res1)) {
11456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11457 }
11458 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 result = (int)((wxRichTextEvent const *)arg1)->GetFlags();
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 resultobj = SWIG_From_int(static_cast< int >(result));
11466 return resultobj;
11467fail:
11468 return NULL;
11469}
11470
11471
11472SWIGINTERN PyObject *_wrap_RichTextEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj = 0;
11474 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11475 int arg2 ;
11476 void *argp1 = 0 ;
11477 int res1 = 0 ;
11478 int val2 ;
11479 int ecode2 = 0 ;
11480 PyObject * obj0 = 0 ;
11481 PyObject * obj1 = 0 ;
11482 char * kwnames[] = {
11483 (char *) "self",(char *) "flags", NULL
11484 };
11485
11486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11488 if (!SWIG_IsOK(res1)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11490 }
11491 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11492 ecode2 = SWIG_AsVal_int(obj1, &val2);
11493 if (!SWIG_IsOK(ecode2)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11495 }
11496 arg2 = static_cast< int >(val2);
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 (arg1)->SetFlags(arg2);
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_Py_Void();
11504 return resultobj;
11505fail:
11506 return NULL;
11507}
11508
11509
11510SWIGINTERN PyObject *RichTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *obj;
11512 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11513 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent, SWIG_NewClientData(obj));
11514 return SWIG_Py_Void();
11515}
11516
11517SWIGINTERN PyObject *RichTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11518 return SWIG_Python_InitShadowInstance(args);
11519}
11520
11521static PyMethodDef SwigMethods[] = {
11522 { (char *)"new_RichTextRange", (PyCFunction) _wrap_new_RichTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
11523 { (char *)"delete_RichTextRange", (PyCFunction)_wrap_delete_RichTextRange, METH_O, NULL},
11524 { (char *)"RichTextRange___eq__", (PyCFunction) _wrap_RichTextRange___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
11525 { (char *)"RichTextRange___sub__", (PyCFunction) _wrap_RichTextRange___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"RichTextRange___add__", (PyCFunction) _wrap_RichTextRange___add__, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"RichTextRange_SetRange", (PyCFunction) _wrap_RichTextRange_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"RichTextRange_SetStart", (PyCFunction) _wrap_RichTextRange_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"RichTextRange_GetStart", (PyCFunction)_wrap_RichTextRange_GetStart, METH_O, NULL},
11530 { (char *)"RichTextRange_SetEnd", (PyCFunction) _wrap_RichTextRange_SetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11531 { (char *)"RichTextRange_GetEnd", (PyCFunction)_wrap_RichTextRange_GetEnd, METH_O, NULL},
11532 { (char *)"RichTextRange_IsOutside", (PyCFunction) _wrap_RichTextRange_IsOutside, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"RichTextRange_IsWithin", (PyCFunction) _wrap_RichTextRange_IsWithin, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"RichTextRange_Contains", (PyCFunction) _wrap_RichTextRange_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL},
11537 { (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL},
11538 { (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL},
11539 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL},
11540 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL},
11541 { (char *)"new_RichTextAttr", (PyCFunction) _wrap_new_RichTextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"delete_RichTextAttr", (PyCFunction)_wrap_delete_RichTextAttr, METH_O, NULL},
11543 { (char *)"RichTextAttr_CreateFont", (PyCFunction)_wrap_RichTextAttr_CreateFont, METH_O, NULL},
11544 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction) _wrap_RichTextAttr_GetFontAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"RichTextAttr_SetTextColour", (PyCFunction) _wrap_RichTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction) _wrap_RichTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"RichTextAttr_SetAlignment", (PyCFunction) _wrap_RichTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"RichTextAttr_SetTabs", (PyCFunction) _wrap_RichTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction) _wrap_RichTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction) _wrap_RichTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11551 { (char *)"RichTextAttr_SetFontSize", (PyCFunction) _wrap_RichTextAttr_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
11552 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction) _wrap_RichTextAttr_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction) _wrap_RichTextAttr_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction) _wrap_RichTextAttr_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction) _wrap_RichTextAttr_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"RichTextAttr_SetFlags", (PyCFunction) _wrap_RichTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
11557 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction) _wrap_RichTextAttr_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11558 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction) _wrap_RichTextAttr_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction) _wrap_RichTextAttr_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction) _wrap_RichTextAttr_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11563 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction) _wrap_RichTextAttr_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
11564 { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction) _wrap_RichTextAttr_SetBulletSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"RichTextAttr_GetTextColour", (PyCFunction)_wrap_RichTextAttr_GetTextColour, METH_O, NULL},
11566 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction)_wrap_RichTextAttr_GetBackgroundColour, METH_O, NULL},
11567 { (char *)"RichTextAttr_GetAlignment", (PyCFunction)_wrap_RichTextAttr_GetAlignment, METH_O, NULL},
11568 { (char *)"RichTextAttr_GetTabs", (PyCFunction)_wrap_RichTextAttr_GetTabs, METH_O, NULL},
11569 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftIndent, METH_O, NULL},
11570 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftSubIndent, METH_O, NULL},
11571 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction)_wrap_RichTextAttr_GetRightIndent, METH_O, NULL},
11572 { (char *)"RichTextAttr_GetFlags", (PyCFunction)_wrap_RichTextAttr_GetFlags, METH_O, NULL},
11573 { (char *)"RichTextAttr_GetFontSize", (PyCFunction)_wrap_RichTextAttr_GetFontSize, METH_O, NULL},
11574 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction)_wrap_RichTextAttr_GetFontStyle, METH_O, NULL},
11575 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction)_wrap_RichTextAttr_GetFontWeight, METH_O, NULL},
11576 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction)_wrap_RichTextAttr_GetFontUnderlined, METH_O, NULL},
11577 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction)_wrap_RichTextAttr_GetFontFaceName, METH_O, NULL},
11578 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_GetCharacterStyleName, METH_O, NULL},
11579 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_GetParagraphStyleName, METH_O, NULL},
11580 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingAfter, METH_O, NULL},
11581 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingBefore, METH_O, NULL},
11582 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction)_wrap_RichTextAttr_GetLineSpacing, METH_O, NULL},
11583 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction)_wrap_RichTextAttr_GetBulletStyle, METH_O, NULL},
11584 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction)_wrap_RichTextAttr_GetBulletNumber, METH_O, NULL},
11585 { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction)_wrap_RichTextAttr_GetBulletSymbol, METH_O, NULL},
11586 { (char *)"RichTextAttr_HasTextColour", (PyCFunction)_wrap_RichTextAttr_HasTextColour, METH_O, NULL},
11587 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction)_wrap_RichTextAttr_HasBackgroundColour, METH_O, NULL},
11588 { (char *)"RichTextAttr_HasAlignment", (PyCFunction)_wrap_RichTextAttr_HasAlignment, METH_O, NULL},
11589 { (char *)"RichTextAttr_HasTabs", (PyCFunction)_wrap_RichTextAttr_HasTabs, METH_O, NULL},
11590 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction)_wrap_RichTextAttr_HasLeftIndent, METH_O, NULL},
11591 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction)_wrap_RichTextAttr_HasRightIndent, METH_O, NULL},
11592 { (char *)"RichTextAttr_HasWeight", (PyCFunction)_wrap_RichTextAttr_HasWeight, METH_O, NULL},
11593 { (char *)"RichTextAttr_HasSize", (PyCFunction)_wrap_RichTextAttr_HasSize, METH_O, NULL},
11594 { (char *)"RichTextAttr_HasItalic", (PyCFunction)_wrap_RichTextAttr_HasItalic, METH_O, NULL},
11595 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction)_wrap_RichTextAttr_HasUnderlined, METH_O, NULL},
11596 { (char *)"RichTextAttr_HasFaceName", (PyCFunction)_wrap_RichTextAttr_HasFaceName, METH_O, NULL},
11597 { (char *)"RichTextAttr_HasFont", (PyCFunction)_wrap_RichTextAttr_HasFont, METH_O, NULL},
11598 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingAfter, METH_O, NULL},
11599 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingBefore, METH_O, NULL},
11600 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction)_wrap_RichTextAttr_HasLineSpacing, METH_O, NULL},
11601 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_HasCharacterStyleName, METH_O, NULL},
11602 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_HasParagraphStyleName, METH_O, NULL},
11603 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction)_wrap_RichTextAttr_HasBulletStyle, METH_O, NULL},
11604 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction)_wrap_RichTextAttr_HasBulletNumber, METH_O, NULL},
11605 { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction)_wrap_RichTextAttr_HasBulletSymbol, METH_O, NULL},
11606 { (char *)"RichTextAttr_HasFlag", (PyCFunction) _wrap_RichTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
11607 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction)_wrap_RichTextAttr_IsCharacterStyle, METH_O, NULL},
11608 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction)_wrap_RichTextAttr_IsParagraphStyle, METH_O, NULL},
11609 { (char *)"RichTextAttr_IsDefault", (PyCFunction)_wrap_RichTextAttr_IsDefault, METH_O, NULL},
11610 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister, METH_VARARGS, NULL},
11611 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit, METH_VARARGS, NULL},
11612 { (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11613 { (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL},
11614 { (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11615 { (char *)"RichTextCtrl_GetValue", (PyCFunction)_wrap_RichTextCtrl_GetValue, METH_O, NULL},
11616 { (char *)"RichTextCtrl_SetValue", (PyCFunction) _wrap_RichTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11617 { (char *)"RichTextCtrl_GetRange", (PyCFunction) _wrap_RichTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
11618 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction) _wrap_RichTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
11619 { (char *)"RichTextCtrl_GetLineText", (PyCFunction) _wrap_RichTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
11620 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction)_wrap_RichTextCtrl_GetNumberOfLines, METH_O, NULL},
11621 { (char *)"RichTextCtrl_IsModified", (PyCFunction)_wrap_RichTextCtrl_IsModified, METH_O, NULL},
11622 { (char *)"RichTextCtrl_IsEditable", (PyCFunction)_wrap_RichTextCtrl_IsEditable, METH_O, NULL},
11623 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction)_wrap_RichTextCtrl_IsSingleLine, METH_O, NULL},
11624 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction)_wrap_RichTextCtrl_IsMultiLine, METH_O, NULL},
11625 { (char *)"RichTextCtrl_GetSelection", (PyCFunction)_wrap_RichTextCtrl_GetSelection, METH_O, NULL},
11626 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction)_wrap_RichTextCtrl_GetStringSelection, METH_O, NULL},
11627 { (char *)"RichTextCtrl_GetFilename", (PyCFunction)_wrap_RichTextCtrl_GetFilename, METH_O, NULL},
11628 { (char *)"RichTextCtrl_SetFilename", (PyCFunction) _wrap_RichTextCtrl_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
11629 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction) _wrap_RichTextCtrl_SetDelayedLayoutThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
11630 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction)_wrap_RichTextCtrl_GetDelayedLayoutThreshold, METH_O, NULL},
11631 { (char *)"RichTextCtrl_Clear", (PyCFunction)_wrap_RichTextCtrl_Clear, METH_O, NULL},
11632 { (char *)"RichTextCtrl_Replace", (PyCFunction) _wrap_RichTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
11633 { (char *)"RichTextCtrl_Remove", (PyCFunction) _wrap_RichTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
11634 { (char *)"RichTextCtrl_LoadFile", (PyCFunction) _wrap_RichTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
11635 { (char *)"RichTextCtrl_SaveFile", (PyCFunction) _wrap_RichTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
11636 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction)_wrap_RichTextCtrl_MarkDirty, METH_O, NULL},
11637 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction)_wrap_RichTextCtrl_DiscardEdits, METH_O, NULL},
11638 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction) _wrap_RichTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
11639 { (char *)"RichTextCtrl_WriteText", (PyCFunction) _wrap_RichTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
11640 { (char *)"RichTextCtrl_AppendText", (PyCFunction) _wrap_RichTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
11641 { (char *)"RichTextCtrl_SetStyle", (PyCFunction) _wrap_RichTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11642 { (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11643 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11644 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetDefaultStyle, METH_O, NULL},
11645 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction) _wrap_RichTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
11646 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction) _wrap_RichTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
11647 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction) _wrap_RichTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
11648 { (char *)"RichTextCtrl_HitTest", (PyCFunction) _wrap_RichTextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11649 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction) _wrap_RichTextCtrl_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
11650 { (char *)"RichTextCtrl_Copy", (PyCFunction)_wrap_RichTextCtrl_Copy, METH_O, NULL},
11651 { (char *)"RichTextCtrl_Cut", (PyCFunction)_wrap_RichTextCtrl_Cut, METH_O, NULL},
11652 { (char *)"RichTextCtrl_Paste", (PyCFunction)_wrap_RichTextCtrl_Paste, METH_O, NULL},
11653 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction)_wrap_RichTextCtrl_DeleteSelection, METH_O, NULL},
11654 { (char *)"RichTextCtrl_CanCopy", (PyCFunction)_wrap_RichTextCtrl_CanCopy, METH_O, NULL},
11655 { (char *)"RichTextCtrl_CanCut", (PyCFunction)_wrap_RichTextCtrl_CanCut, METH_O, NULL},
11656 { (char *)"RichTextCtrl_CanPaste", (PyCFunction)_wrap_RichTextCtrl_CanPaste, METH_O, NULL},
11657 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction)_wrap_RichTextCtrl_CanDeleteSelection, METH_O, NULL},
11658 { (char *)"RichTextCtrl_Undo", (PyCFunction)_wrap_RichTextCtrl_Undo, METH_O, NULL},
11659 { (char *)"RichTextCtrl_Redo", (PyCFunction)_wrap_RichTextCtrl_Redo, METH_O, NULL},
11660 { (char *)"RichTextCtrl_CanUndo", (PyCFunction)_wrap_RichTextCtrl_CanUndo, METH_O, NULL},
11661 { (char *)"RichTextCtrl_CanRedo", (PyCFunction)_wrap_RichTextCtrl_CanRedo, METH_O, NULL},
11662 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_RichTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
11663 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_RichTextCtrl_SetInsertionPointEnd, METH_O, NULL},
11664 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction)_wrap_RichTextCtrl_GetInsertionPoint, METH_O, NULL},
11665 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction)_wrap_RichTextCtrl_GetLastPosition, METH_O, NULL},
11666 { (char *)"RichTextCtrl_SetSelection", (PyCFunction) _wrap_RichTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
11667 { (char *)"RichTextCtrl_SelectAll", (PyCFunction)_wrap_RichTextCtrl_SelectAll, METH_O, NULL},
11668 { (char *)"RichTextCtrl_SetEditable", (PyCFunction) _wrap_RichTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11669 { (char *)"RichTextCtrl_HasSelection", (PyCFunction)_wrap_RichTextCtrl_HasSelection, METH_O, NULL},
11670 { (char *)"RichTextCtrl_WriteImage", (PyCFunction) _wrap_RichTextCtrl_WriteImage, METH_VARARGS | METH_KEYWORDS, NULL},
11671 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction) _wrap_RichTextCtrl_WriteBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11672 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction) _wrap_RichTextCtrl_WriteImageFile, METH_VARARGS | METH_KEYWORDS, NULL},
11673 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction) _wrap_RichTextCtrl_WriteImageBlock, METH_VARARGS | METH_KEYWORDS, NULL},
11674 { (char *)"RichTextCtrl_Newline", (PyCFunction)_wrap_RichTextCtrl_Newline, METH_O, NULL},
11675 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction) _wrap_RichTextCtrl_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11676 { (char *)"RichTextCtrl_EndStyle", (PyCFunction)_wrap_RichTextCtrl_EndStyle, METH_O, NULL},
11677 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction)_wrap_RichTextCtrl_EndAllStyles, METH_O, NULL},
11678 { (char *)"RichTextCtrl_BeginBold", (PyCFunction)_wrap_RichTextCtrl_BeginBold, METH_O, NULL},
11679 { (char *)"RichTextCtrl_EndBold", (PyCFunction)_wrap_RichTextCtrl_EndBold, METH_O, NULL},
11680 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction)_wrap_RichTextCtrl_BeginItalic, METH_O, NULL},
11681 { (char *)"RichTextCtrl_EndItalic", (PyCFunction)_wrap_RichTextCtrl_EndItalic, METH_O, NULL},
11682 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction)_wrap_RichTextCtrl_BeginUnderline, METH_O, NULL},
11683 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction)_wrap_RichTextCtrl_EndUnderline, METH_O, NULL},
11684 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction) _wrap_RichTextCtrl_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
11685 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction)_wrap_RichTextCtrl_EndFontSize, METH_O, NULL},
11686 { (char *)"RichTextCtrl_BeginFont", (PyCFunction) _wrap_RichTextCtrl_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
11687 { (char *)"RichTextCtrl_EndFont", (PyCFunction)_wrap_RichTextCtrl_EndFont, METH_O, NULL},
11688 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction) _wrap_RichTextCtrl_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11689 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction)_wrap_RichTextCtrl_EndTextColour, METH_O, NULL},
11690 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction) _wrap_RichTextCtrl_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11691 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction)_wrap_RichTextCtrl_EndAlignment, METH_O, NULL},
11692 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction) _wrap_RichTextCtrl_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11693 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction)_wrap_RichTextCtrl_EndLeftIndent, METH_O, NULL},
11694 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction) _wrap_RichTextCtrl_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11695 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction)_wrap_RichTextCtrl_EndRightIndent, METH_O, NULL},
11696 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11697 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction)_wrap_RichTextCtrl_EndParagraphSpacing, METH_O, NULL},
11698 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11699 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction)_wrap_RichTextCtrl_EndLineSpacing, METH_O, NULL},
11700 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction) _wrap_RichTextCtrl_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
11701 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction)_wrap_RichTextCtrl_EndNumberedBullet, METH_O, NULL},
11702 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction) _wrap_RichTextCtrl_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
11703 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction)_wrap_RichTextCtrl_EndSymbolBullet, METH_O, NULL},
11704 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction) _wrap_RichTextCtrl_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11705 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction)_wrap_RichTextCtrl_EndCharacterStyle, METH_O, NULL},
11706 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11707 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction)_wrap_RichTextCtrl_EndParagraphStyle, METH_O, NULL},
11708 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle, METH_O, NULL},
11709 { (char *)"RichTextCtrl_SelectNone", (PyCFunction)_wrap_RichTextCtrl_SelectNone, METH_O, NULL},
11710 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetSelectionRange, METH_O, NULL},
11711 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL},
11712 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction) _wrap_RichTextCtrl_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
11713 { (char *)"RichTextCtrl_AddImage", (PyCFunction) _wrap_RichTextCtrl_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
11714 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction) _wrap_RichTextCtrl_LayoutContent, METH_VARARGS | METH_KEYWORDS, NULL},
11715 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction) _wrap_RichTextCtrl_MoveCaret, METH_VARARGS | METH_KEYWORDS, NULL},
11716 { (char *)"RichTextCtrl_MoveRight", (PyCFunction) _wrap_RichTextCtrl_MoveRight, METH_VARARGS | METH_KEYWORDS, NULL},
11717 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction) _wrap_RichTextCtrl_MoveLeft, METH_VARARGS | METH_KEYWORDS, NULL},
11718 { (char *)"RichTextCtrl_MoveUp", (PyCFunction) _wrap_RichTextCtrl_MoveUp, METH_VARARGS | METH_KEYWORDS, NULL},
11719 { (char *)"RichTextCtrl_MoveDown", (PyCFunction) _wrap_RichTextCtrl_MoveDown, METH_VARARGS | METH_KEYWORDS, NULL},
11720 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToLineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11721 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction) _wrap_RichTextCtrl_MoveToLineStart, METH_VARARGS | METH_KEYWORDS, NULL},
11722 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11723 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphStart, METH_VARARGS | METH_KEYWORDS, NULL},
11724 { (char *)"RichTextCtrl_MoveHome", (PyCFunction) _wrap_RichTextCtrl_MoveHome, METH_VARARGS | METH_KEYWORDS, NULL},
11725 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction) _wrap_RichTextCtrl_MoveEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11726 { (char *)"RichTextCtrl_PageUp", (PyCFunction) _wrap_RichTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
11727 { (char *)"RichTextCtrl_PageDown", (PyCFunction) _wrap_RichTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
11728 { (char *)"RichTextCtrl_WordLeft", (PyCFunction) _wrap_RichTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
11729 { (char *)"RichTextCtrl_WordRight", (PyCFunction) _wrap_RichTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
11730 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction)_wrap_RichTextCtrl_GetBuffer, METH_O, NULL},
11731 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction) _wrap_RichTextCtrl_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
11732 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction)_wrap_RichTextCtrl_EndBatchUndo, METH_O, NULL},
11733 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction)_wrap_RichTextCtrl_BatchingUndo, METH_O, NULL},
11734 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_BeginSuppressUndo, METH_O, NULL},
11735 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_EndSuppressUndo, METH_O, NULL},
11736 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction)_wrap_RichTextCtrl_SuppressingUndo, METH_O, NULL},
11737 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction) _wrap_RichTextCtrl_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11738 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction) _wrap_RichTextCtrl_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11739 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction)_wrap_RichTextCtrl_IsSelectionBold, METH_O, NULL},
11740 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction)_wrap_RichTextCtrl_IsSelectionItalics, METH_O, NULL},
11741 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction)_wrap_RichTextCtrl_IsSelectionUnderlined, METH_O, NULL},
11742 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction) _wrap_RichTextCtrl_IsSelectionAligned, METH_VARARGS | METH_KEYWORDS, NULL},
11743 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyBoldToSelection, METH_O, NULL},
11744 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyItalicToSelection, METH_O, NULL},
11745 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyUnderlineToSelection, METH_O, NULL},
11746 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction) _wrap_RichTextCtrl_ApplyAlignmentToSelection, METH_VARARGS | METH_KEYWORDS, NULL},
11747 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction) _wrap_RichTextCtrl_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
11748 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction)_wrap_RichTextCtrl_GetStyleSheet, METH_O, NULL},
11749 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister, METH_VARARGS, NULL},
11750 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit, METH_VARARGS, NULL},
11751 { (char *)"new_RichTextEvent", (PyCFunction) _wrap_new_RichTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11752 { (char *)"RichTextEvent_GetIndex", (PyCFunction)_wrap_RichTextEvent_GetIndex, METH_O, NULL},
11753 { (char *)"RichTextEvent_SetIndex", (PyCFunction) _wrap_RichTextEvent_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
11754 { (char *)"RichTextEvent_GetFlags", (PyCFunction)_wrap_RichTextEvent_GetFlags, METH_O, NULL},
11755 { (char *)"RichTextEvent_SetFlags", (PyCFunction) _wrap_RichTextEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
11756 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister, METH_VARARGS, NULL},
11757 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit, METH_VARARGS, NULL},
11758 { NULL, NULL, 0, NULL }
11759};
11760
11761
11762/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11763
11764static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11765 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11766}
11767static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11768 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11769}
11770static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11771 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11772}
11773static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11774 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11775}
11776static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11777 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11778}
11779static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11780 return (void *)((wxPanel *) ((wxPyPanel *) x));
11781}
11782static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x) {
11783 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxRichTextCtrl *) x));
11784}
11785static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11786 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11787}
11788static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11789 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11790}
11791static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11792 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11793}
11794static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) {
11795 return (void *)((wxNotifyEvent *) ((wxRichTextEvent *) x));
11796}
11797static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
11798 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
11799}
11800static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11801 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11802}
11803static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x) {
11804 return (void *)((wxScrolledWindow *) ((wxRichTextCtrl *) x));
11805}
11806static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11807 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11808}
11809static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11810 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11811}
11812static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11813 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11814}
11815static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11816 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11817}
11818static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11819 return (void *)((wxWindow *) ((wxMenuBar *) x));
11820}
11821static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11823}
11824static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11826}
11827static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11829}
11830static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11832}
11833static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11834 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11835}
11836static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11837 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11838}
11839static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11840 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11841}
11842static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11844}
11845static void *_p_wxPanelTo_p_wxWindow(void *x) {
11846 return (void *)((wxWindow *) ((wxPanel *) x));
11847}
11848static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11849 return (void *)((wxWindow *) ((wxStatusBar *) x));
11850}
11851static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11852 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11853}
11854static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11855 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11856}
11857static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11858 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11859}
11860static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11861 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11862}
11863static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11864 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11865}
11866static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11867 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11868}
11869static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11870 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11871}
11872static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11873 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11874}
11875static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11876 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11877}
11878static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11879 return (void *)((wxWindow *) ((wxSashWindow *) x));
11880}
11881static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11882 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11883}
11884static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11885 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11886}
11887static void *_p_wxControlTo_p_wxWindow(void *x) {
11888 return (void *)((wxWindow *) ((wxControl *) x));
11889}
11890static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11891 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11892}
11893static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11894 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11895}
11896static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11897 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11898}
11899static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11900 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11901}
11902static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11903 return (void *)((wxWindow *) ((wxPyWindow *) x));
11904}
11905static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11906 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11907}
11908static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11909 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11910}
11911static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11912 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11913}
11914static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11915 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11916}
11917static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11918 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11919}
11920static void *_p_wxFrameTo_p_wxWindow(void *x) {
11921 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11922}
11923static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11924 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11925}
11926static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11928}
11929static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11930 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11931}
11932static void *_p_wxDialogTo_p_wxWindow(void *x) {
11933 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11934}
11935static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11936 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11937}
11938static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) {
11939 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
11940}
11941static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11943}
11944static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11945 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11946}
11947static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11948 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11949}
11950static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11951 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11952}
11953static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11954 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11955}
11956static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11957 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11958}
11959static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11960 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11961}
11962static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11963 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11964}
11965static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11966 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11967}
11968static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11970}
11971static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11973}
11974static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11975 return (void *)((wxEvent *) ((wxPyEvent *) x));
11976}
11977static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11978 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11979}
11980static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11981 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11982}
11983static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11984 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11985}
11986static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11987 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11988}
11989static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11990 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11991}
11992static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11993 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11994}
11995static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11996 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11997}
11998static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11999 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12000}
12001static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12002 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12003}
12004static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12005 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12006}
12007static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12008 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12009}
12010static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12011 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12012}
12013static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12014 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12015}
12016static void *_p_wxRichTextEventTo_p_wxEvent(void *x) {
12017 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
12018}
12019static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12020 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12021}
12022static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12023 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12024}
12025static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12026 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12027}
12028static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12029 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12030}
12031static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12032 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12033}
12034static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12035 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12036}
12037static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12038 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12039}
12040static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12041 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12042}
12043static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12044 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12045}
12046static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12047 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12048}
12049static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12050 return (void *)((wxEvent *) ((wxShowEvent *) x));
12051}
12052static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12053 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12054}
12055static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12056 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12057}
12058static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12059 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12060}
12061static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12062 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12063}
12064static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12065 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12066}
12067static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12068 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12069}
12070static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12071 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12072}
12073static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12074 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12075}
12076static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12078}
12079static void *_p_wxEventTo_p_wxObject(void *x) {
12080 return (void *)((wxObject *) ((wxEvent *) x));
12081}
12082static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12084}
12085static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12086 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12087}
12088static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12089 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12090}
12091static void *_p_wxMetaFileTo_p_wxObject(void *x) {
12092 return (void *)((wxObject *) ((wxMetaFile *) x));
12093}
12094static void *_p_wxIconTo_p_wxObject(void *x) {
12095 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
12096}
12097static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12099}
12100static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12102}
12103static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12104 return (void *)((wxObject *) ((wxMenuItem *) x));
12105}
12106static void *_p_wxImageTo_p_wxObject(void *x) {
12107 return (void *)((wxObject *) ((wxImage *) x));
12108}
12109static void *_p_wxPySizerTo_p_wxObject(void *x) {
12110 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12111}
12112static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
12113 return (void *)((wxObject *) ((wxEncodingConverter *) x));
12114}
12115static void *_p_wxEffectsTo_p_wxObject(void *x) {
12116 return (void *)((wxObject *) ((wxEffects *) x));
12117}
12118static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12119 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12120}
12121static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12122 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12123}
12124static void *_p_wxPyAppTo_p_wxObject(void *x) {
12125 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12126}
12127static void *_p_wxFontTo_p_wxObject(void *x) {
12128 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
12129}
12130static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12132}
12133static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12135}
12136static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
12137 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
12138}
12139static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12140 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12141}
12142static void *_p_wxValidatorTo_p_wxObject(void *x) {
12143 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12144}
12145static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12146 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12147}
12148static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12149 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12150}
12151static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12152 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12153}
12154static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12155 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12156}
12157static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12158 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12159}
12160static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12161 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12162}
12163static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12164 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12165}
12166static void *_p_wxPrinterTo_p_wxObject(void *x) {
12167 return (void *)((wxObject *) ((wxPrinter *) x));
12168}
12169static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12171}
12172static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
12173 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
12174}
12175static void *_p_wxImageListTo_p_wxObject(void *x) {
12176 return (void *)((wxObject *) ((wxImageList *) x));
12177}
12178static void *_p_wxDCTo_p_wxObject(void *x) {
12179 return (void *)((wxObject *) ((wxDC *) x));
12180}
12181static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12182 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12183}
12184static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12185 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12186}
12187static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12188 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12189}
12190static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
12191 return (void *)((wxObject *) ((wxRegionIterator *) x));
12192}
12193static void *_p_wxControlTo_p_wxObject(void *x) {
12194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12195}
12196static void *_p_wxColourDataTo_p_wxObject(void *x) {
12197 return (void *)((wxObject *) ((wxColourData *) x));
12198}
12199static void *_p_wxMaskTo_p_wxObject(void *x) {
12200 return (void *)((wxObject *) ((wxMask *) x));
12201}
12202static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12203 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12204}
12205static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12206 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12207}
12208static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12209 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12210}
12211static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12212 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12213}
12214static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12215 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12216}
12217static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12218 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12219}
12220static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12222}
12223static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12224 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12225}
12226static void *_p_wxDateEventTo_p_wxObject(void *x) {
12227 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12228}
12229static void *_p_wxBrushTo_p_wxObject(void *x) {
12230 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
12231}
12232static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12233 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12234}
12235static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12236 return (void *)((wxObject *) ((wxPyPrintout *) x));
12237}
12238static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12240}
12241static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
12242 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
12243}
12244static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12245 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12246}
12247static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
12248 return (void *)((wxObject *) ((wxGDIObject *) x));
12249}
12250static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12251 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12252}
12253static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12254 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12255}
12256static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12258}
12259static void *_p_wxScreenDCTo_p_wxObject(void *x) {
12260 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
12261}
12262static void *_p_wxSashEventTo_p_wxObject(void *x) {
12263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12264}
12265static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12267}
12268static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12270}
12271static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12272 return (void *)((wxObject *) ((wxPrintData *) x));
12273}
12274static void *_p_wxFontDataTo_p_wxObject(void *x) {
12275 return (void *)((wxObject *) ((wxFontData *) x));
12276}
12277static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12279}
12280static void *_p_wxFrameTo_p_wxObject(void *x) {
12281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12282}
12283static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12285}
12286static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12287 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12288}
12289static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12291}
12292static void *_p_wxColourTo_p_wxObject(void *x) {
12293 return (void *)((wxObject *) ((wxColour *) x));
12294}
12295static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12296 return (void *)((wxObject *) ((wxFileSystem *) x));
12297}
12298static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12299 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12300}
12301static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12302 return (void *)((wxObject *) ((wxPrintPreview *) x));
12303}
12304static void *_p_wxPaintDCTo_p_wxObject(void *x) {
12305 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
12306}
12307static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
12308 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
12309}
12310static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12311 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12312}
12313static void *_p_wxSizerTo_p_wxObject(void *x) {
12314 return (void *)((wxObject *) ((wxSizer *) x));
12315}
12316static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12317 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12318}
12319static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12320 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12321}
12322static void *_p_wxCursorTo_p_wxObject(void *x) {
12323 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
12324}
12325static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12326 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12327}
12328static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12329 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12330}
12331static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12332 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12333}
12334static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12336}
12337static void *_p_wxRichTextEventTo_p_wxObject(void *x) {
12338 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
12339}
12340static void *_p_wxFSFileTo_p_wxObject(void *x) {
12341 return (void *)((wxObject *) ((wxFSFile *) x));
12342}
12343static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12344 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12345}
12346static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12347 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12348}
12349static void *_p_wxRichTextCtrlTo_p_wxObject(void *x) {
12350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
12351}
12352static void *_p_wxPenTo_p_wxObject(void *x) {
12353 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
12354}
12355static void *_p_wxMenuTo_p_wxObject(void *x) {
12356 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12357}
12358static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12359 return (void *)((wxObject *) ((wxSizerItem *) x));
12360}
12361static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12362 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12363}
12364static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12365 return (void *)((wxObject *) ((wxPrintDialog *) x));
12366}
12367static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12368 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12369}
12370static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12372}
12373static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12375}
12376static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12378}
12379static void *_p_wxDialogTo_p_wxObject(void *x) {
12380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12381}
12382static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12384}
12385static void *_p_wxPyEventTo_p_wxObject(void *x) {
12386 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12387}
12388static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12389 return (void *)((wxObject *) ((wxEvtHandler *) x));
12390}
12391static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12392 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12393}
12394static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12395 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12396}
12397static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12398 return (void *)((wxObject *) ((wxImageHandler *) x));
12399}
12400static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12401 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12402}
12403static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12404 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12405}
12406static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12407 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12408}
12409static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12410 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12411}
12412static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12413 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12414}
12415static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12416 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12417}
12418static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12419 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12420}
12421static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12422 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12423}
12424static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12425 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12426}
12427static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12428 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12429}
12430static void *_p_wxShowEventTo_p_wxObject(void *x) {
12431 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12432}
12433static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12435}
12436static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12438}
12439static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12441}
12442static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12444}
12445static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12447}
12448static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12450}
12451static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12453}
12454static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12456}
12457static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12459}
12460static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12462}
12463static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12465}
12466static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12468}
12469static void *_p_wxWindowTo_p_wxObject(void *x) {
12470 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12471}
12472static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
12473 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
12474}
12475static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
12476 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
12477}
12478static void *_p_wxWindowDCTo_p_wxObject(void *x) {
12479 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
12480}
12481static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
12482 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
12483}
12484static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12486}
12487static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12489}
12490static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12492}
12493static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12495}
12496static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12498}
12499static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12501}
12502static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12504}
12505static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12507}
12508static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12510}
12511static void *_p_wxRegionTo_p_wxObject(void *x) {
12512 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
12513}
12514static void *_p_wxPaletteTo_p_wxObject(void *x) {
12515 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
12516}
12517static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12518 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12519}
12520static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12521 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12522}
12523static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12524 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12525}
12526static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12527 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12528}
12529static void *_p_wxClientDCTo_p_wxObject(void *x) {
12530 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
12531}
12532static void *_p_wxPanelTo_p_wxObject(void *x) {
12533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12534}
12535static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12536 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12537}
12538static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12539 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12540}
12541static void *_p_wxBitmapTo_p_wxObject(void *x) {
12542 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
12543}
12544static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12545 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12546}
12547static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12549}
12550static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12551 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12552}
12553static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12555}
12556static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12558}
12559static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12560 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12561}
12562static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12563 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12564}
12565static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12566 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12567}
12568static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12570}
12571static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12573}
12574static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12576}
12577static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12579}
12580static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12581 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12582}
12583static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12584 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12585}
12586static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12587 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12588}
12589static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12590 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12591}
12592static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12593 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12594}
12595static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12596 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12597}
12598static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12599 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12600}
12601static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12602 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12603}
12604static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12605 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12606}
12607static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12608 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12609}
12610static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12612}
12613static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12615}
12616static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12618}
12619static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12620 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12621}
12622static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12623 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12624}
12625static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12626 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12627}
12628static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12629 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12630}
12631static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12632 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12633}
12634static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12635 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12636}
12637static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12638 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12639}
12640static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12641 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12642}
12643static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12644 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12645}
12646static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12647 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12648}
12649static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12650 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12651}
12652static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12653 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12654}
12655static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12656 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12657}
12658static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12659 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12660}
12661static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12662 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12663}
12664static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12666}
12667static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12668 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12669}
12670static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12671 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12672}
12673static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12674 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12675}
12676static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12677 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12678}
12679static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12680 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12681}
12682static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12683 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12684}
12685static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12686 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12687}
12688static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12689 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12690}
12691static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12692 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12693}
12694static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12695 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12696}
12697static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12698 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12699}
12700static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12701 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12702}
12703static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12704 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12705}
12706static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12707 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12708}
12709static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12710 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12711}
12712static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12713 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12714}
12715static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12716 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12717}
12718static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12719 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12720}
12721static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) {
12722 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
12723}
12724static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12725 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12726}
12727static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12728 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12729}
12730static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12731 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12732}
12733static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x) {
12734 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxRichTextEvent *) x));
12735}
12736static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12737 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12738}
12739static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12740 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12741}
12742static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12743 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12744}
12745static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12746 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12747}
12748static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12749 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12750}
12751static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12752 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12753}
12754static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12755 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12756}
12757static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12758 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12759}
12760static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12761 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12762}
12763static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12764 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12765}
12766static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12767static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
12768static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
12769static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
12770static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12771static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12772static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12773static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
12774static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12775static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
12776static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12777static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12778static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12779static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12780static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12781static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12782static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12783static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12784static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12785static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12786static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12787static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12788static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12789static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12790static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12791static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12792static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12793static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12794static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12795static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12796static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12797static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12798static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12799static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12800static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12801static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12802static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12803static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12804static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12805static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12806static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12807static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12808static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12809static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12810static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12811static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12812static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12813static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12814static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12815static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12816static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12817static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12818static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12819static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12820static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12821static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12822static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12823static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12824static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12825static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12826static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
12827static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12828static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12829static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12830static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12831static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12832static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12833static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12834static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12835static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12836static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12837static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12838static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12839static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12840static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
12841static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12842static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12843static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12844static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12845static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12846static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12847static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12848static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12849static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12850static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
12851static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12852static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12853static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12854static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12855static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12856static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12857static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12858static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12859static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12860static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12861static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12862static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12863static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12864static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12865static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12866static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12867static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12868static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12869static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
12870static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
12871static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12872static swig_type_info _swigt__p_wxMetaFile = {"_p_wxMetaFile", 0, 0, 0, 0, 0};
12873static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12874static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12875static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12876static swig_type_info _swigt__p_wxEncodingConverter = {"_p_wxEncodingConverter", 0, 0, 0, 0, 0};
12877static swig_type_info _swigt__p_wxEffects = {"_p_wxEffects", 0, 0, 0, 0, 0};
12878static swig_type_info _swigt__p_wxDC = {"_p_wxDC", 0, 0, 0, 0, 0};
12879static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12880static swig_type_info _swigt__p_wxBufferedDC = {"_p_wxBufferedDC", 0, 0, 0, 0, 0};
12881static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12882static swig_type_info _swigt__p_wxMask = {"_p_wxMask", 0, 0, 0, 0, 0};
12883static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12884static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12885static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12886static swig_type_info _swigt__p_wxMetaFileDC = {"_p_wxMetaFileDC", 0, 0, 0, 0, 0};
12887static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", 0, 0, 0, 0, 0};
12888static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12889static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12890static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12891static swig_type_info _swigt__p_wxPen = {"_p_wxPen", 0, 0, 0, 0, 0};
12892static swig_type_info _swigt__p_wxRegionIterator = {"_p_wxRegionIterator", 0, 0, 0, 0, 0};
12893static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12894static swig_type_info _swigt__p_wxBrush = {"_p_wxBrush", 0, 0, 0, 0, 0};
12895static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12896static swig_type_info _swigt__p_wxPostScriptDC = {"_p_wxPostScriptDC", 0, 0, 0, 0, 0};
12897static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12898static swig_type_info _swigt__p_wxGDIObject = {"_p_wxGDIObject", 0, 0, 0, 0, 0};
12899static swig_type_info _swigt__p_wxScreenDC = {"_p_wxScreenDC", 0, 0, 0, 0, 0};
12900static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12901static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12902static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12903static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12904static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12905static swig_type_info _swigt__p_wxPaintDC = {"_p_wxPaintDC", 0, 0, 0, 0, 0};
12906static swig_type_info _swigt__p_wxBufferedPaintDC = {"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0};
12907static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12908static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12909static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12910static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12911static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", 0, 0, 0, 0, 0};
12912static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12913static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12914static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12915static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12916static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12917static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12918static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12919static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12920static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12921static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12922static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12923static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12924static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12925static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12926static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12927static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12928static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12929static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12930static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12931static swig_type_info _swigt__p_wxMirrorDC = {"_p_wxMirrorDC", 0, 0, 0, 0, 0};
12932static swig_type_info _swigt__p_wxPrinterDC = {"_p_wxPrinterDC", 0, 0, 0, 0, 0};
12933static swig_type_info _swigt__p_wxWindowDC = {"_p_wxWindowDC", 0, 0, 0, 0, 0};
12934static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", 0, 0, 0, 0, 0};
12935static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", 0, 0, 0, 0, 0};
12936static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", 0, 0, 0, 0, 0};
12937static swig_type_info _swigt__p_wxClientDC = {"_p_wxClientDC", 0, 0, 0, 0, 0};
12938static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", 0, 0, 0, 0, 0};
12939static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12940static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12941static swig_type_info _swigt__p_wxRichTextAttr = {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
12942static swig_type_info _swigt__p_wxRichTextBuffer = {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
12943static swig_type_info _swigt__p_wxRichTextCtrl = {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
12944static swig_type_info _swigt__p_wxRichTextEvent = {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
12945static swig_type_info _swigt__p_wxRichTextImageBlock = {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
12946static swig_type_info _swigt__p_wxRichTextRange = {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
12947static swig_type_info _swigt__p_wxRichTextStyleSheet = {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
12948static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12949static swig_type_info _swigt__p_wxTextCoord = {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
12950static swig_type_info _swigt__p_wxTextCtrlHitTestResult = {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
12951static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12952
12953static swig_type_info *swig_type_initial[] = {
12954 &_swigt__p_char,
12955 &_swigt__p_form_ops_t,
12956 &_swigt__p_int,
12957 &_swigt__p_long,
12958 &_swigt__p_unsigned_char,
12959 &_swigt__p_unsigned_int,
12960 &_swigt__p_unsigned_long,
12961 &_swigt__p_wxANIHandler,
12962 &_swigt__p_wxAcceleratorTable,
12963 &_swigt__p_wxActivateEvent,
12964 &_swigt__p_wxArrayInt,
12965 &_swigt__p_wxBMPHandler,
12966 &_swigt__p_wxBitmap,
12967 &_swigt__p_wxBoxSizer,
12968 &_swigt__p_wxBrush,
12969 &_swigt__p_wxBufferedDC,
12970 &_swigt__p_wxBufferedPaintDC,
12971 &_swigt__p_wxCURHandler,
12972 &_swigt__p_wxCalculateLayoutEvent,
12973 &_swigt__p_wxChar,
12974 &_swigt__p_wxChildFocusEvent,
12975 &_swigt__p_wxClientDC,
12976 &_swigt__p_wxClipboardTextEvent,
12977 &_swigt__p_wxCloseEvent,
12978 &_swigt__p_wxColour,
12979 &_swigt__p_wxColourData,
12980 &_swigt__p_wxColourDialog,
12981 &_swigt__p_wxCommandEvent,
12982 &_swigt__p_wxContextMenuEvent,
12983 &_swigt__p_wxControl,
12984 &_swigt__p_wxControlWithItems,
12985 &_swigt__p_wxCursor,
12986 &_swigt__p_wxDC,
12987 &_swigt__p_wxDateEvent,
12988 &_swigt__p_wxDialog,
12989 &_swigt__p_wxDirDialog,
12990 &_swigt__p_wxDisplayChangedEvent,
12991 &_swigt__p_wxDropFilesEvent,
12992 &_swigt__p_wxDuplexMode,
12993 &_swigt__p_wxEffects,
12994 &_swigt__p_wxEncodingConverter,
12995 &_swigt__p_wxEraseEvent,
12996 &_swigt__p_wxEvent,
12997 &_swigt__p_wxEvtHandler,
12998 &_swigt__p_wxFSFile,
12999 &_swigt__p_wxFileDialog,
13000 &_swigt__p_wxFileSystem,
13001 &_swigt__p_wxFindDialogEvent,
13002 &_swigt__p_wxFindReplaceData,
13003 &_swigt__p_wxFindReplaceDialog,
13004 &_swigt__p_wxFlexGridSizer,
13005 &_swigt__p_wxFocusEvent,
13006 &_swigt__p_wxFont,
13007 &_swigt__p_wxFontData,
13008 &_swigt__p_wxFontDialog,
13009 &_swigt__p_wxFrame,
13010 &_swigt__p_wxGBSizerItem,
13011 &_swigt__p_wxGDIObject,
13012 &_swigt__p_wxGIFHandler,
13013 &_swigt__p_wxGridBagSizer,
13014 &_swigt__p_wxGridSizer,
13015 &_swigt__p_wxICOHandler,
13016 &_swigt__p_wxIcon,
13017 &_swigt__p_wxIconizeEvent,
13018 &_swigt__p_wxIdleEvent,
13019 &_swigt__p_wxImage,
13020 &_swigt__p_wxImageHandler,
13021 &_swigt__p_wxImageList,
13022 &_swigt__p_wxIndividualLayoutConstraint,
13023 &_swigt__p_wxInitDialogEvent,
13024 &_swigt__p_wxJPEGHandler,
13025 &_swigt__p_wxKeyEvent,
13026 &_swigt__p_wxLayoutAlgorithm,
13027 &_swigt__p_wxLayoutConstraints,
13028 &_swigt__p_wxMDIChildFrame,
13029 &_swigt__p_wxMDIClientWindow,
13030 &_swigt__p_wxMDIParentFrame,
13031 &_swigt__p_wxMask,
13032 &_swigt__p_wxMaximizeEvent,
13033 &_swigt__p_wxMemoryDC,
13034 &_swigt__p_wxMenu,
13035 &_swigt__p_wxMenuBar,
13036 &_swigt__p_wxMenuEvent,
13037 &_swigt__p_wxMenuItem,
13038 &_swigt__p_wxMessageDialog,
13039 &_swigt__p_wxMetaFile,
13040 &_swigt__p_wxMetaFileDC,
13041 &_swigt__p_wxMiniFrame,
13042 &_swigt__p_wxMirrorDC,
13043 &_swigt__p_wxMouseCaptureChangedEvent,
13044 &_swigt__p_wxMouseEvent,
13045 &_swigt__p_wxMoveEvent,
13046 &_swigt__p_wxMultiChoiceDialog,
13047 &_swigt__p_wxNavigationKeyEvent,
13048 &_swigt__p_wxNcPaintEvent,
13049 &_swigt__p_wxNotifyEvent,
13050 &_swigt__p_wxObject,
13051 &_swigt__p_wxPCXHandler,
13052 &_swigt__p_wxPNGHandler,
13053 &_swigt__p_wxPNMHandler,
13054 &_swigt__p_wxPageSetupDialog,
13055 &_swigt__p_wxPageSetupDialogData,
13056 &_swigt__p_wxPaintDC,
13057 &_swigt__p_wxPaintEvent,
13058 &_swigt__p_wxPalette,
13059 &_swigt__p_wxPaletteChangedEvent,
13060 &_swigt__p_wxPanel,
13061 &_swigt__p_wxPaperSize,
13062 &_swigt__p_wxPasswordEntryDialog,
13063 &_swigt__p_wxPen,
13064 &_swigt__p_wxPopupWindow,
13065 &_swigt__p_wxPostScriptDC,
13066 &_swigt__p_wxPreviewCanvas,
13067 &_swigt__p_wxPreviewControlBar,
13068 &_swigt__p_wxPreviewFrame,
13069 &_swigt__p_wxPrintData,
13070 &_swigt__p_wxPrintDialog,
13071 &_swigt__p_wxPrintDialogData,
13072 &_swigt__p_wxPrintPreview,
13073 &_swigt__p_wxPrinter,
13074 &_swigt__p_wxPrinterDC,
13075 &_swigt__p_wxProgressDialog,
13076 &_swigt__p_wxPyApp,
13077 &_swigt__p_wxPyCommandEvent,
13078 &_swigt__p_wxPyEvent,
13079 &_swigt__p_wxPyHtmlListBox,
13080 &_swigt__p_wxPyImageHandler,
13081 &_swigt__p_wxPyPanel,
13082 &_swigt__p_wxPyPopupTransientWindow,
13083 &_swigt__p_wxPyPreviewControlBar,
13084 &_swigt__p_wxPyPreviewFrame,
13085 &_swigt__p_wxPyPrintPreview,
13086 &_swigt__p_wxPyPrintout,
13087 &_swigt__p_wxPyScrolledWindow,
13088 &_swigt__p_wxPySizer,
13089 &_swigt__p_wxPyTaskBarIcon,
13090 &_swigt__p_wxPyVListBox,
13091 &_swigt__p_wxPyVScrolledWindow,
13092 &_swigt__p_wxPyValidator,
13093 &_swigt__p_wxPyWindow,
13094 &_swigt__p_wxQueryLayoutInfoEvent,
13095 &_swigt__p_wxQueryNewPaletteEvent,
13096 &_swigt__p_wxRegion,
13097 &_swigt__p_wxRegionIterator,
13098 &_swigt__p_wxRichTextAttr,
13099 &_swigt__p_wxRichTextBuffer,
13100 &_swigt__p_wxRichTextCtrl,
13101 &_swigt__p_wxRichTextEvent,
13102 &_swigt__p_wxRichTextImageBlock,
13103 &_swigt__p_wxRichTextRange,
13104 &_swigt__p_wxRichTextStyleSheet,
13105 &_swigt__p_wxSashEvent,
13106 &_swigt__p_wxSashLayoutWindow,
13107 &_swigt__p_wxSashWindow,
13108 &_swigt__p_wxScreenDC,
13109 &_swigt__p_wxScrollEvent,
13110 &_swigt__p_wxScrollWinEvent,
13111 &_swigt__p_wxScrolledWindow,
13112 &_swigt__p_wxSetCursorEvent,
13113 &_swigt__p_wxShowEvent,
13114 &_swigt__p_wxSingleChoiceDialog,
13115 &_swigt__p_wxSizeEvent,
13116 &_swigt__p_wxSizer,
13117 &_swigt__p_wxSizerItem,
13118 &_swigt__p_wxSplashScreen,
13119 &_swigt__p_wxSplashScreenWindow,
13120 &_swigt__p_wxSplitterEvent,
13121 &_swigt__p_wxSplitterWindow,
13122 &_swigt__p_wxStaticBoxSizer,
13123 &_swigt__p_wxStatusBar,
13124 &_swigt__p_wxStdDialogButtonSizer,
13125 &_swigt__p_wxSysColourChangedEvent,
13126 &_swigt__p_wxTIFFHandler,
13127 &_swigt__p_wxTaskBarIconEvent,
13128 &_swigt__p_wxTextCoord,
13129 &_swigt__p_wxTextCtrlHitTestResult,
13130 &_swigt__p_wxTextEntryDialog,
13131 &_swigt__p_wxTipWindow,
13132 &_swigt__p_wxTopLevelWindow,
13133 &_swigt__p_wxUpdateUIEvent,
13134 &_swigt__p_wxValidator,
13135 &_swigt__p_wxWindow,
13136 &_swigt__p_wxWindowCreateEvent,
13137 &_swigt__p_wxWindowDC,
13138 &_swigt__p_wxWindowDestroyEvent,
13139 &_swigt__p_wxXPMHandler,
13140};
13141
13142static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13143static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13144static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13145static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
13146static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13147static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13148static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13149static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
13150static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13151static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
13152static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13153static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13154static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13155static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13156static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13157static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13158static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13159static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13160static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13161static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13162static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13163static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13164static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13165static 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}};
13166static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13167static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13168static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13169static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13170static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13171static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13172static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13173static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13174static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13175static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13176static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13177static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13178static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13179static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13180static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13181static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13182static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13183static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13184static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13185static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13186static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13187static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13188static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13189static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13190static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13191static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13192static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13193static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13194static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13195static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13196static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13197static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13198static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13199static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13200static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13201static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
13202static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13203static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13204static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13205static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13206static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13207static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13208static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13209static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13210static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13211static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13212static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13213static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13214static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13215static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13216static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13217static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13218static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13219static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13220static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13221static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13222static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13223static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13224static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13225static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
13226static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13227static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13228static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13229static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13230static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13231static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13232static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13233static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13234static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13235static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13236static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13237static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13238static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13239static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13240static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13241static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13242static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13243static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13244static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13245static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13246static 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}};
13247static swig_cast_info _swigc__p_wxMetaFile[] = {{&_swigt__p_wxMetaFile, 0, 0, 0},{0, 0, 0, 0}};
13248static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13249static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13250static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13251static swig_cast_info _swigc__p_wxEncodingConverter[] = {{&_swigt__p_wxEncodingConverter, 0, 0, 0},{0, 0, 0, 0}};
13252static swig_cast_info _swigc__p_wxEffects[] = {{&_swigt__p_wxEffects, 0, 0, 0},{0, 0, 0, 0}};
13253static swig_cast_info _swigc__p_wxDC[] = {{&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
13254static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13255static swig_cast_info _swigc__p_wxBufferedDC[] = {{&_swigt__p_wxBufferedDC, 0, 0, 0},{0, 0, 0, 0}};
13256static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13257static swig_cast_info _swigc__p_wxMask[] = {{&_swigt__p_wxMask, 0, 0, 0},{0, 0, 0, 0}};
13258static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13259static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13260static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13261static swig_cast_info _swigc__p_wxMetaFileDC[] = {{&_swigt__p_wxMetaFileDC, 0, 0, 0},{0, 0, 0, 0}};
13262static swig_cast_info _swigc__p_wxImageList[] = {{&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13263static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13264static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13265static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13266static swig_cast_info _swigc__p_wxPen[] = {{&_swigt__p_wxPen, 0, 0, 0},{0, 0, 0, 0}};
13267static swig_cast_info _swigc__p_wxRegionIterator[] = {{&_swigt__p_wxRegionIterator, 0, 0, 0},{0, 0, 0, 0}};
13268static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13269static swig_cast_info _swigc__p_wxBrush[] = {{&_swigt__p_wxBrush, 0, 0, 0},{0, 0, 0, 0}};
13270static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13271static swig_cast_info _swigc__p_wxPostScriptDC[] = {{&_swigt__p_wxPostScriptDC, 0, 0, 0},{0, 0, 0, 0}};
13272static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13273static swig_cast_info _swigc__p_wxGDIObject[] = {{&_swigt__p_wxGDIObject, 0, 0, 0},{0, 0, 0, 0}};
13274static swig_cast_info _swigc__p_wxScreenDC[] = {{&_swigt__p_wxScreenDC, 0, 0, 0},{0, 0, 0, 0}};
13275static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13276static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13277static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13278static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13279static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13280static swig_cast_info _swigc__p_wxPaintDC[] = {{&_swigt__p_wxPaintDC, 0, 0, 0},{0, 0, 0, 0}};
13281static swig_cast_info _swigc__p_wxBufferedPaintDC[] = {{&_swigt__p_wxBufferedPaintDC, 0, 0, 0},{0, 0, 0, 0}};
13282static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13283static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13284static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13285static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13286static swig_cast_info _swigc__p_wxCursor[] = {{&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
13287static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13288static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13289static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13290static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13291static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13292static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13293static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13294static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13295static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13296static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13297static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13298static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13299static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13300static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13301static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13302static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13303static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13304static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13305static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13306static swig_cast_info _swigc__p_wxMirrorDC[] = {{&_swigt__p_wxMirrorDC, 0, 0, 0},{0, 0, 0, 0}};
13307static swig_cast_info _swigc__p_wxPrinterDC[] = {{&_swigt__p_wxPrinterDC, 0, 0, 0},{0, 0, 0, 0}};
13308static swig_cast_info _swigc__p_wxWindowDC[] = {{&_swigt__p_wxWindowDC, 0, 0, 0},{0, 0, 0, 0}};
13309static swig_cast_info _swigc__p_wxMemoryDC[] = {{&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
13310static swig_cast_info _swigc__p_wxRegion[] = {{&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
13311static swig_cast_info _swigc__p_wxPalette[] = {{&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}};
13312static swig_cast_info _swigc__p_wxClientDC[] = {{&_swigt__p_wxClientDC, 0, 0, 0},{0, 0, 0, 0}};
13313static swig_cast_info _swigc__p_wxIcon[] = {{&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13314static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFont, _p_wxFontTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMetaFile, _p_wxMetaFileTo_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_wxEncodingConverter, _p_wxEncodingConverterTo_p_wxObject, 0, 0}, {&_swigt__p_wxEffects, _p_wxEffectsTo_p_wxObject, 0, 0}, {&_swigt__p_wxDC, _p_wxDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_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_wxMask, _p_wxMaskTo_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_wxMetaFileDC, _p_wxMetaFileDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxImageList, _p_wxImageListTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPen, _p_wxPenTo_p_wxObject, 0, 0}, {&_swigt__p_wxRegionIterator, _p_wxRegionIteratorTo_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_wxBrush, _p_wxBrushTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxPostScriptDC, _p_wxPostScriptDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGDIObject, _p_wxGDIObjectTo_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_wxScreenDC, _p_wxScreenDCTo_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_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_wxColour, _p_wxColourTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintDC, _p_wxPaintDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCursor, _p_wxCursorTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_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_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMirrorDC, _p_wxMirrorDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinterDC, _p_wxPrinterDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDC, _p_wxWindowDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxMemoryDC, _p_wxMemoryDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxRegion, _p_wxRegionTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPalette, _p_wxPaletteTo_p_wxObject, 0, 0}, {&_swigt__p_wxClientDC, _p_wxClientDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxIcon, _p_wxIconTo_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_wxBitmap, _p_wxBitmapTo_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_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_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}};
13315static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
13316static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13317static swig_cast_info _swigc__p_wxRichTextAttr[] = { {&_swigt__p_wxRichTextAttr, 0, 0, 0},{0, 0, 0, 0}};
13318static swig_cast_info _swigc__p_wxRichTextBuffer[] = { {&_swigt__p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
13319static swig_cast_info _swigc__p_wxRichTextCtrl[] = { {&_swigt__p_wxRichTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13320static swig_cast_info _swigc__p_wxRichTextEvent[] = { {&_swigt__p_wxRichTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13321static swig_cast_info _swigc__p_wxRichTextImageBlock[] = { {&_swigt__p_wxRichTextImageBlock, 0, 0, 0},{0, 0, 0, 0}};
13322static swig_cast_info _swigc__p_wxRichTextRange[] = { {&_swigt__p_wxRichTextRange, 0, 0, 0},{0, 0, 0, 0}};
13323static swig_cast_info _swigc__p_wxRichTextStyleSheet[] = { {&_swigt__p_wxRichTextStyleSheet, 0, 0, 0},{0, 0, 0, 0}};
13324static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
13325static swig_cast_info _swigc__p_wxTextCoord[] = { {&_swigt__p_wxTextCoord, 0, 0, 0},{0, 0, 0, 0}};
13326static swig_cast_info _swigc__p_wxTextCtrlHitTestResult[] = { {&_swigt__p_wxTextCtrlHitTestResult, 0, 0, 0},{0, 0, 0, 0}};
13327static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
13328
13329static swig_cast_info *swig_cast_initial[] = {
13330 _swigc__p_char,
13331 _swigc__p_form_ops_t,
13332 _swigc__p_int,
13333 _swigc__p_long,
13334 _swigc__p_unsigned_char,
13335 _swigc__p_unsigned_int,
13336 _swigc__p_unsigned_long,
13337 _swigc__p_wxANIHandler,
13338 _swigc__p_wxAcceleratorTable,
13339 _swigc__p_wxActivateEvent,
13340 _swigc__p_wxArrayInt,
13341 _swigc__p_wxBMPHandler,
13342 _swigc__p_wxBitmap,
13343 _swigc__p_wxBoxSizer,
13344 _swigc__p_wxBrush,
13345 _swigc__p_wxBufferedDC,
13346 _swigc__p_wxBufferedPaintDC,
13347 _swigc__p_wxCURHandler,
13348 _swigc__p_wxCalculateLayoutEvent,
13349 _swigc__p_wxChar,
13350 _swigc__p_wxChildFocusEvent,
13351 _swigc__p_wxClientDC,
13352 _swigc__p_wxClipboardTextEvent,
13353 _swigc__p_wxCloseEvent,
13354 _swigc__p_wxColour,
13355 _swigc__p_wxColourData,
13356 _swigc__p_wxColourDialog,
13357 _swigc__p_wxCommandEvent,
13358 _swigc__p_wxContextMenuEvent,
13359 _swigc__p_wxControl,
13360 _swigc__p_wxControlWithItems,
13361 _swigc__p_wxCursor,
13362 _swigc__p_wxDC,
13363 _swigc__p_wxDateEvent,
13364 _swigc__p_wxDialog,
13365 _swigc__p_wxDirDialog,
13366 _swigc__p_wxDisplayChangedEvent,
13367 _swigc__p_wxDropFilesEvent,
13368 _swigc__p_wxDuplexMode,
13369 _swigc__p_wxEffects,
13370 _swigc__p_wxEncodingConverter,
13371 _swigc__p_wxEraseEvent,
13372 _swigc__p_wxEvent,
13373 _swigc__p_wxEvtHandler,
13374 _swigc__p_wxFSFile,
13375 _swigc__p_wxFileDialog,
13376 _swigc__p_wxFileSystem,
13377 _swigc__p_wxFindDialogEvent,
13378 _swigc__p_wxFindReplaceData,
13379 _swigc__p_wxFindReplaceDialog,
13380 _swigc__p_wxFlexGridSizer,
13381 _swigc__p_wxFocusEvent,
13382 _swigc__p_wxFont,
13383 _swigc__p_wxFontData,
13384 _swigc__p_wxFontDialog,
13385 _swigc__p_wxFrame,
13386 _swigc__p_wxGBSizerItem,
13387 _swigc__p_wxGDIObject,
13388 _swigc__p_wxGIFHandler,
13389 _swigc__p_wxGridBagSizer,
13390 _swigc__p_wxGridSizer,
13391 _swigc__p_wxICOHandler,
13392 _swigc__p_wxIcon,
13393 _swigc__p_wxIconizeEvent,
13394 _swigc__p_wxIdleEvent,
13395 _swigc__p_wxImage,
13396 _swigc__p_wxImageHandler,
13397 _swigc__p_wxImageList,
13398 _swigc__p_wxIndividualLayoutConstraint,
13399 _swigc__p_wxInitDialogEvent,
13400 _swigc__p_wxJPEGHandler,
13401 _swigc__p_wxKeyEvent,
13402 _swigc__p_wxLayoutAlgorithm,
13403 _swigc__p_wxLayoutConstraints,
13404 _swigc__p_wxMDIChildFrame,
13405 _swigc__p_wxMDIClientWindow,
13406 _swigc__p_wxMDIParentFrame,
13407 _swigc__p_wxMask,
13408 _swigc__p_wxMaximizeEvent,
13409 _swigc__p_wxMemoryDC,
13410 _swigc__p_wxMenu,
13411 _swigc__p_wxMenuBar,
13412 _swigc__p_wxMenuEvent,
13413 _swigc__p_wxMenuItem,
13414 _swigc__p_wxMessageDialog,
13415 _swigc__p_wxMetaFile,
13416 _swigc__p_wxMetaFileDC,
13417 _swigc__p_wxMiniFrame,
13418 _swigc__p_wxMirrorDC,
13419 _swigc__p_wxMouseCaptureChangedEvent,
13420 _swigc__p_wxMouseEvent,
13421 _swigc__p_wxMoveEvent,
13422 _swigc__p_wxMultiChoiceDialog,
13423 _swigc__p_wxNavigationKeyEvent,
13424 _swigc__p_wxNcPaintEvent,
13425 _swigc__p_wxNotifyEvent,
13426 _swigc__p_wxObject,
13427 _swigc__p_wxPCXHandler,
13428 _swigc__p_wxPNGHandler,
13429 _swigc__p_wxPNMHandler,
13430 _swigc__p_wxPageSetupDialog,
13431 _swigc__p_wxPageSetupDialogData,
13432 _swigc__p_wxPaintDC,
13433 _swigc__p_wxPaintEvent,
13434 _swigc__p_wxPalette,
13435 _swigc__p_wxPaletteChangedEvent,
13436 _swigc__p_wxPanel,
13437 _swigc__p_wxPaperSize,
13438 _swigc__p_wxPasswordEntryDialog,
13439 _swigc__p_wxPen,
13440 _swigc__p_wxPopupWindow,
13441 _swigc__p_wxPostScriptDC,
13442 _swigc__p_wxPreviewCanvas,
13443 _swigc__p_wxPreviewControlBar,
13444 _swigc__p_wxPreviewFrame,
13445 _swigc__p_wxPrintData,
13446 _swigc__p_wxPrintDialog,
13447 _swigc__p_wxPrintDialogData,
13448 _swigc__p_wxPrintPreview,
13449 _swigc__p_wxPrinter,
13450 _swigc__p_wxPrinterDC,
13451 _swigc__p_wxProgressDialog,
13452 _swigc__p_wxPyApp,
13453 _swigc__p_wxPyCommandEvent,
13454 _swigc__p_wxPyEvent,
13455 _swigc__p_wxPyHtmlListBox,
13456 _swigc__p_wxPyImageHandler,
13457 _swigc__p_wxPyPanel,
13458 _swigc__p_wxPyPopupTransientWindow,
13459 _swigc__p_wxPyPreviewControlBar,
13460 _swigc__p_wxPyPreviewFrame,
13461 _swigc__p_wxPyPrintPreview,
13462 _swigc__p_wxPyPrintout,
13463 _swigc__p_wxPyScrolledWindow,
13464 _swigc__p_wxPySizer,
13465 _swigc__p_wxPyTaskBarIcon,
13466 _swigc__p_wxPyVListBox,
13467 _swigc__p_wxPyVScrolledWindow,
13468 _swigc__p_wxPyValidator,
13469 _swigc__p_wxPyWindow,
13470 _swigc__p_wxQueryLayoutInfoEvent,
13471 _swigc__p_wxQueryNewPaletteEvent,
13472 _swigc__p_wxRegion,
13473 _swigc__p_wxRegionIterator,
13474 _swigc__p_wxRichTextAttr,
13475 _swigc__p_wxRichTextBuffer,
13476 _swigc__p_wxRichTextCtrl,
13477 _swigc__p_wxRichTextEvent,
13478 _swigc__p_wxRichTextImageBlock,
13479 _swigc__p_wxRichTextRange,
13480 _swigc__p_wxRichTextStyleSheet,
13481 _swigc__p_wxSashEvent,
13482 _swigc__p_wxSashLayoutWindow,
13483 _swigc__p_wxSashWindow,
13484 _swigc__p_wxScreenDC,
13485 _swigc__p_wxScrollEvent,
13486 _swigc__p_wxScrollWinEvent,
13487 _swigc__p_wxScrolledWindow,
13488 _swigc__p_wxSetCursorEvent,
13489 _swigc__p_wxShowEvent,
13490 _swigc__p_wxSingleChoiceDialog,
13491 _swigc__p_wxSizeEvent,
13492 _swigc__p_wxSizer,
13493 _swigc__p_wxSizerItem,
13494 _swigc__p_wxSplashScreen,
13495 _swigc__p_wxSplashScreenWindow,
13496 _swigc__p_wxSplitterEvent,
13497 _swigc__p_wxSplitterWindow,
13498 _swigc__p_wxStaticBoxSizer,
13499 _swigc__p_wxStatusBar,
13500 _swigc__p_wxStdDialogButtonSizer,
13501 _swigc__p_wxSysColourChangedEvent,
13502 _swigc__p_wxTIFFHandler,
13503 _swigc__p_wxTaskBarIconEvent,
13504 _swigc__p_wxTextCoord,
13505 _swigc__p_wxTextCtrlHitTestResult,
13506 _swigc__p_wxTextEntryDialog,
13507 _swigc__p_wxTipWindow,
13508 _swigc__p_wxTopLevelWindow,
13509 _swigc__p_wxUpdateUIEvent,
13510 _swigc__p_wxValidator,
13511 _swigc__p_wxWindow,
13512 _swigc__p_wxWindowCreateEvent,
13513 _swigc__p_wxWindowDC,
13514 _swigc__p_wxWindowDestroyEvent,
13515 _swigc__p_wxXPMHandler,
13516};
13517
13518
13519/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13520
13521static swig_const_info swig_const_table[] = {
13522{0, 0, 0, 0.0, 0, 0}};
13523
13524#ifdef __cplusplus
13525}
13526#endif
13527/* -----------------------------------------------------------------------------
13528 * Type initialization:
13529 * This problem is tough by the requirement that no dynamic
13530 * memory is used. Also, since swig_type_info structures store pointers to
13531 * swig_cast_info structures and swig_cast_info structures store pointers back
13532 * to swig_type_info structures, we need some lookup code at initialization.
13533 * The idea is that swig generates all the structures that are needed.
13534 * The runtime then collects these partially filled structures.
13535 * The SWIG_InitializeModule function takes these initial arrays out of
13536 * swig_module, and does all the lookup, filling in the swig_module.types
13537 * array with the correct data and linking the correct swig_cast_info
13538 * structures together.
13539 *
13540 * The generated swig_type_info structures are assigned staticly to an initial
13541 * array. We just loop though that array, and handle each type individually.
13542 * First we lookup if this type has been already loaded, and if so, use the
13543 * loaded structure instead of the generated one. Then we have to fill in the
13544 * cast linked list. The cast data is initially stored in something like a
13545 * two-dimensional array. Each row corresponds to a type (there are the same
13546 * number of rows as there are in the swig_type_initial array). Each entry in
13547 * a column is one of the swig_cast_info structures for that type.
13548 * The cast_initial array is actually an array of arrays, because each row has
13549 * a variable number of columns. So to actually build the cast linked list,
13550 * we find the array of casts associated with the type, and loop through it
13551 * adding the casts to the list. The one last trick we need to do is making
13552 * sure the type pointer in the swig_cast_info struct is correct.
13553 *
13554 * First off, we lookup the cast->type name to see if it is already loaded.
13555 * There are three cases to handle:
13556 * 1) If the cast->type has already been loaded AND the type we are adding
13557 * casting info to has not been loaded (it is in this module), THEN we
13558 * replace the cast->type pointer with the type pointer that has already
13559 * been loaded.
13560 * 2) If BOTH types (the one we are adding casting info to, and the
13561 * cast->type) are loaded, THEN the cast info has already been loaded by
13562 * the previous module so we just ignore it.
13563 * 3) Finally, if cast->type has not already been loaded, then we add that
13564 * swig_cast_info to the linked list (because the cast->type) pointer will
13565 * be correct.
13566 * ----------------------------------------------------------------------------- */
13567
13568#ifdef __cplusplus
13569extern "C" {
13570#if 0
13571} /* c-mode */
13572#endif
13573#endif
13574
13575#if 0
13576#define SWIGRUNTIME_DEBUG
13577#endif
13578
13579SWIGRUNTIME void
13580SWIG_InitializeModule(void *clientdata) {
13581 size_t i;
13582 swig_module_info *module_head;
13583 static int init_run = 0;
13584
13585 clientdata = clientdata;
13586
13587 if (init_run) return;
13588 init_run = 1;
13589
13590 /* Initialize the swig_module */
13591 swig_module.type_initial = swig_type_initial;
13592 swig_module.cast_initial = swig_cast_initial;
13593
13594 /* Try and load any already created modules */
13595 module_head = SWIG_GetModule(clientdata);
13596 if (module_head) {
13597 swig_module.next = module_head->next;
13598 module_head->next = &swig_module;
13599 } else {
13600 /* This is the first module loaded */
13601 swig_module.next = &swig_module;
13602 SWIG_SetModule(clientdata, &swig_module);
13603 }
13604
13605 /* Now work on filling in swig_module.types */
13606#ifdef SWIGRUNTIME_DEBUG
13607 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13608#endif
13609 for (i = 0; i < swig_module.size; ++i) {
13610 swig_type_info *type = 0;
13611 swig_type_info *ret;
13612 swig_cast_info *cast;
13613
13614#ifdef SWIGRUNTIME_DEBUG
13615 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13616#endif
13617
13618 /* if there is another module already loaded */
13619 if (swig_module.next != &swig_module) {
13620 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13621 }
13622 if (type) {
13623 /* Overwrite clientdata field */
13624#ifdef SWIGRUNTIME_DEBUG
13625 printf("SWIG_InitializeModule: found type %s\n", type->name);
13626#endif
13627 if (swig_module.type_initial[i]->clientdata) {
13628 type->clientdata = swig_module.type_initial[i]->clientdata;
13629#ifdef SWIGRUNTIME_DEBUG
13630 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13631#endif
13632 }
13633 } else {
13634 type = swig_module.type_initial[i];
13635 }
13636
13637 /* Insert casting types */
13638 cast = swig_module.cast_initial[i];
13639 while (cast->type) {
13640 /* Don't need to add information already in the list */
13641 ret = 0;
13642#ifdef SWIGRUNTIME_DEBUG
13643 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13644#endif
13645 if (swig_module.next != &swig_module) {
13646 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13647#ifdef SWIGRUNTIME_DEBUG
13648 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13649#endif
13650 }
13651 if (ret) {
13652 if (type == swig_module.type_initial[i]) {
13653#ifdef SWIGRUNTIME_DEBUG
13654 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13655#endif
13656 cast->type = ret;
13657 ret = 0;
13658 } else {
13659 /* Check for casting already in the list */
13660 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13661#ifdef SWIGRUNTIME_DEBUG
13662 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13663#endif
13664 if (!ocast) ret = 0;
13665 }
13666 }
13667
13668 if (!ret) {
13669#ifdef SWIGRUNTIME_DEBUG
13670 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13671#endif
13672 if (type->cast) {
13673 type->cast->prev = cast;
13674 cast->next = type->cast;
13675 }
13676 type->cast = cast;
13677 }
13678 cast++;
13679 }
13680 /* Set entry in modules->types array equal to the type */
13681 swig_module.types[i] = type;
13682 }
13683 swig_module.types[i] = 0;
13684
13685#ifdef SWIGRUNTIME_DEBUG
13686 printf("**** SWIG_InitializeModule: Cast List ******\n");
13687 for (i = 0; i < swig_module.size; ++i) {
13688 int j = 0;
13689 swig_cast_info *cast = swig_module.cast_initial[i];
13690 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13691 while (cast->type) {
13692 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13693 cast++;
13694 ++j;
13695 }
13696 printf("---- Total casts: %d\n",j);
13697 }
13698 printf("**** SWIG_InitializeModule: Cast List ******\n");
13699#endif
13700}
13701
13702/* This function will propagate the clientdata field of type to
13703* any new swig_type_info structures that have been added into the list
13704* of equivalent types. It is like calling
13705* SWIG_TypeClientData(type, clientdata) a second time.
13706*/
13707SWIGRUNTIME void
13708SWIG_PropagateClientData(void) {
13709 size_t i;
13710 swig_cast_info *equiv;
13711 static int init_run = 0;
13712
13713 if (init_run) return;
13714 init_run = 1;
13715
13716 for (i = 0; i < swig_module.size; i++) {
13717 if (swig_module.types[i]->clientdata) {
13718 equiv = swig_module.types[i]->cast;
13719 while (equiv) {
13720 if (!equiv->converter) {
13721 if (equiv->type && !equiv->type->clientdata)
13722 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13723 }
13724 equiv = equiv->next;
13725 }
13726 }
13727 }
13728}
13729
13730#ifdef __cplusplus
13731#if 0
13732{
13733 /* c-mode */
13734#endif
13735}
13736#endif
13737
13738
13739
13740#ifdef __cplusplus
13741extern "C" {
13742#endif
13743
13744 /* Python-specific SWIG API */
13745#define SWIG_newvarlink() SWIG_Python_newvarlink()
13746#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13747#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13748
13749 /* -----------------------------------------------------------------------------
13750 * global variable support code.
13751 * ----------------------------------------------------------------------------- */
13752
13753 typedef struct swig_globalvar {
13754 char *name; /* Name of global variable */
13755 PyObject *(*get_attr)(void); /* Return the current value */
13756 int (*set_attr)(PyObject *); /* Set the value */
13757 struct swig_globalvar *next;
13758 } swig_globalvar;
13759
13760 typedef struct swig_varlinkobject {
13761 PyObject_HEAD
13762 swig_globalvar *vars;
13763 } swig_varlinkobject;
13764
13765 SWIGINTERN PyObject *
13766 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13767 return PyString_FromString("<Swig global variables>");
13768 }
13769
13770 SWIGINTERN PyObject *
13771 swig_varlink_str(swig_varlinkobject *v) {
13772 PyObject *str = PyString_FromString("(");
13773 swig_globalvar *var;
13774 for (var = v->vars; var; var=var->next) {
13775 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13776 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13777 }
13778 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13779 return str;
13780 }
13781
13782 SWIGINTERN int
13783 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13784 PyObject *str = swig_varlink_str(v);
13785 fprintf(fp,"Swig global variables ");
13786 fprintf(fp,"%s\n", PyString_AsString(str));
13787 Py_DECREF(str);
13788 return 0;
13789 }
13790
13791 SWIGINTERN void
13792 swig_varlink_dealloc(swig_varlinkobject *v) {
13793 swig_globalvar *var = v->vars;
13794 while (var) {
13795 swig_globalvar *n = var->next;
13796 free(var->name);
13797 free(var);
13798 var = n;
13799 }
13800 }
13801
13802 SWIGINTERN PyObject *
13803 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13804 PyObject *res = NULL;
13805 swig_globalvar *var = v->vars;
13806 while (var) {
13807 if (strcmp(var->name,n) == 0) {
13808 res = (*var->get_attr)();
13809 break;
13810 }
13811 var = var->next;
13812 }
13813 if (res == NULL && !PyErr_Occurred()) {
13814 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13815 }
13816 return res;
13817 }
13818
13819 SWIGINTERN int
13820 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13821 int res = 1;
13822 swig_globalvar *var = v->vars;
13823 while (var) {
13824 if (strcmp(var->name,n) == 0) {
13825 res = (*var->set_attr)(p);
13826 break;
13827 }
13828 var = var->next;
13829 }
13830 if (res == 1 && !PyErr_Occurred()) {
13831 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13832 }
13833 return res;
13834 }
13835
13836 SWIGINTERN PyTypeObject*
13837 swig_varlink_type(void) {
13838 static char varlink__doc__[] = "Swig var link object";
13839 static PyTypeObject varlink_type;
13840 static int type_init = 0;
13841 if (!type_init) {
13842 const PyTypeObject tmp
13843 = {
13844 PyObject_HEAD_INIT(NULL)
13845 0, /* Number of items in variable part (ob_size) */
13846 (char *)"swigvarlink", /* Type name (tp_name) */
13847 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13848 0, /* Itemsize (tp_itemsize) */
13849 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13850 (printfunc) swig_varlink_print, /* Print (tp_print) */
13851 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13852 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13853 0, /* tp_compare */
13854 (reprfunc) swig_varlink_repr, /* tp_repr */
13855 0, /* tp_as_number */
13856 0, /* tp_as_sequence */
13857 0, /* tp_as_mapping */
13858 0, /* tp_hash */
13859 0, /* tp_call */
13860 (reprfunc)swig_varlink_str, /* tp_str */
13861 0, /* tp_getattro */
13862 0, /* tp_setattro */
13863 0, /* tp_as_buffer */
13864 0, /* tp_flags */
13865 varlink__doc__, /* tp_doc */
13866 0, /* tp_traverse */
13867 0, /* tp_clear */
13868 0, /* tp_richcompare */
13869 0, /* tp_weaklistoffset */
13870#if PY_VERSION_HEX >= 0x02020000
13871 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13872#endif
13873#if PY_VERSION_HEX >= 0x02030000
13874 0, /* tp_del */
13875#endif
13876#ifdef COUNT_ALLOCS
13877 0,0,0,0 /* tp_alloc -> tp_next */
13878#endif
13879 };
13880 varlink_type = tmp;
13881 varlink_type.ob_type = &PyType_Type;
13882 type_init = 1;
13883 }
13884 return &varlink_type;
13885 }
13886
13887 /* Create a variable linking object for use later */
13888 SWIGINTERN PyObject *
13889 SWIG_Python_newvarlink(void) {
13890 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
13891 if (result) {
13892 result->vars = 0;
13893 }
13894 return ((PyObject*) result);
13895 }
13896
13897 SWIGINTERN void
13898 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13899 swig_varlinkobject *v = (swig_varlinkobject *) p;
13900 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13901 if (gv) {
13902 size_t size = strlen(name)+1;
13903 gv->name = (char *)malloc(size);
13904 if (gv->name) {
13905 strncpy(gv->name,name,size);
13906 gv->get_attr = get_attr;
13907 gv->set_attr = set_attr;
13908 gv->next = v->vars;
13909 }
13910 }
13911 v->vars = gv;
13912 }
13913
13914 SWIGINTERN PyObject *
13915 SWIG_globals() {
13916 static PyObject *_SWIG_globals = 0;
13917 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
13918 return _SWIG_globals;
13919 }
13920
13921 /* -----------------------------------------------------------------------------
13922 * constants/methods manipulation
13923 * ----------------------------------------------------------------------------- */
13924
13925 /* Install Constants */
13926 SWIGINTERN void
13927 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13928 PyObject *obj = 0;
13929 size_t i;
13930 for (i = 0; constants[i].type; ++i) {
13931 switch(constants[i].type) {
13932 case SWIG_PY_POINTER:
13933 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13934 break;
13935 case SWIG_PY_BINARY:
13936 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13937 break;
13938 default:
13939 obj = 0;
13940 break;
13941 }
13942 if (obj) {
13943 PyDict_SetItemString(d, constants[i].name, obj);
13944 Py_DECREF(obj);
13945 }
13946 }
13947 }
13948
13949 /* -----------------------------------------------------------------------------*/
13950 /* Fix SwigMethods to carry the callback ptrs when needed */
13951 /* -----------------------------------------------------------------------------*/
13952
13953 SWIGINTERN void
13954 SWIG_Python_FixMethods(PyMethodDef *methods,
13955 swig_const_info *const_table,
13956 swig_type_info **types,
13957 swig_type_info **types_initial) {
13958 size_t i;
13959 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 13960 const char *c = methods[i].ml_doc;
f05326ba
RD
13961 if (c && (c = strstr(c, "swig_ptr: "))) {
13962 int j;
13963 swig_const_info *ci = 0;
453fb36b 13964 const char *name = c + 10;
f05326ba
RD
13965 for (j = 0; const_table[j].type; ++j) {
13966 if (strncmp(const_table[j].name, name,
13967 strlen(const_table[j].name)) == 0) {
13968 ci = &(const_table[j]);
13969 break;
13970 }
13971 }
13972 if (ci) {
13973 size_t shift = (ci->ptype) - types;
13974 swig_type_info *ty = types_initial[shift];
13975 size_t ldoc = (c - methods[i].ml_doc);
13976 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13977 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13978 if (ndoc) {
13979 char *buff = ndoc;
13980 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
13981 if (ptr) {
13982 strncpy(buff, methods[i].ml_doc, ldoc);
13983 buff += ldoc;
13984 strncpy(buff, "swig_ptr: ", 10);
13985 buff += 10;
13986 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13987 methods[i].ml_doc = ndoc;
13988 }
13989 }
13990 }
13991 }
13992 }
13993 }
13994
13995#ifdef __cplusplus
13996}
13997#endif
13998
13999/* -----------------------------------------------------------------------------*
14000 * Partial Init method
14001 * -----------------------------------------------------------------------------*/
14002
14003#ifdef __cplusplus
14004extern "C"
14005#endif
14006SWIGEXPORT void SWIG_init(void) {
14007 PyObject *m, *d;
14008
14009 /* Fix SwigMethods to carry the callback ptrs when needed */
14010 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14011
14012 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14013 d = PyModule_GetDict(m);
14014
14015 SWIG_InitializeModule(0);
14016 SWIG_InstallConstants(d,swig_const_table);
14017
14018
14019 SWIG_Python_SetConstant(d, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
14020 SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY)));
14021 SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE)));
14022 SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN)));
14023 SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN)));
14024 SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN)));
14025 SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED)));
14026 SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED)));
14027 SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED)));
14028 SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS)));
14029 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY)));
14030 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT)));
14031 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML)));
14032 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML)));
14033 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF)));
14034 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF)));
14035 SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH)));
14036 SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT)));
14037 SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH)));
14038 SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT)));
14039 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE)));
14040 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE)));
14041 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER)));
14042 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON)));
14043 SWIG_Python_SetConstant(d, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED)));
14044 SWIG_Python_SetConstant(d, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED)));
14045 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
14046 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
14047 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
14048 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
14049 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
14050 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
14051 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
14052 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
14053 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
14054 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
14055 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
14056 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
14057 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER)));
14058 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE)));
14059 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING)));
14060 SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME)));
14061 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME)));
14062 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE)));
14063 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER)));
14064 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL)));
14065 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE)));
14066 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC)));
14067 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER)));
14068 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER)));
14069 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER)));
14070 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER)));
14071 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL)));
14072 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP)));
14073 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES)));
14074 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD)));
14075 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL)));
14076 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF)));
14077 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE)));
14078 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
14079 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
14080 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
14081 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
14082 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
14083 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
14084 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14085 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get, RICHTEXT_ALL_set);
14086 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get, RICHTEXT_NONE_set);
14087 SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER)));
14088 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH)));
14089 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL)));
14090 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED));
14091 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED));
14092 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK));
14093 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK));
14094 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK));
14095 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK));
14096 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN));
14097
14098
14099}
14100